Revision: 17431
          http://sourceforge.net/p/gate/code/17431
Author:   markagreenwood
Date:     2014-02-26 14:27:59 +0000 (Wed, 26 Feb 2014)
Log Message:
-----------
a little more deprecation clean up

Modified Paths:
--------------
    gate/trunk/src/main/gate/jape/ComplexPatternElement.java
    gate/trunk/src/main/gate/jape/Constraint.java

Modified: gate/trunk/src/main/gate/jape/ComplexPatternElement.java
===================================================================
--- gate/trunk/src/main/gate/jape/ComplexPatternElement.java    2014-02-26 
13:58:26 UTC (rev 17430)
+++ gate/trunk/src/main/gate/jape/ComplexPatternElement.java    2014-02-26 
14:27:59 UTC (rev 17431)
@@ -49,20 +49,8 @@
   /** The recursive definition of what pattern elements make up this one. */
   private ConstraintGroup constraintGroup;
 
-  /** Construction from ConstraintGroup, Kleene operator type and binding
-    * name. Kleene types are defined in JapeConstants.
-    * @deprecated Use {@link #ComplexPatternElement(ConstraintGroup, 
KleeneOperator.Type, String)} instead.
-    */
   public ComplexPatternElement(
     ConstraintGroup constraintGroup,
-    int kleeneOp,
-    String bindingName
-  ) {
-    this(constraintGroup, KleeneOperator.Type.getFromJapeConstant(kleeneOp), 
bindingName);
-  }
-
-  public ComplexPatternElement(
-    ConstraintGroup constraintGroup,
     KleeneOperator.Type kleeneType,
     String bindingName
   ) {

Modified: gate/trunk/src/main/gate/jape/Constraint.java
===================================================================
--- gate/trunk/src/main/gate/jape/Constraint.java       2014-02-26 13:58:26 UTC 
(rev 17430)
+++ gate/trunk/src/main/gate/jape/Constraint.java       2014-02-26 14:27:59 UTC 
(rev 17431)
@@ -62,20 +62,6 @@
     }
   } // Construction from annot type and attribute sequence
 
-  /**
-   * Construction from annot type and array of JdmAttributes.
-   *
-   * @deprecated JdmAttributes are no longer used. Use
-   *             {@link ConstraintPredicate}s instead.
-   */
-  @Deprecated
-  public Constraint(String annotType, List<JdmAttribute> attrsArray) {
-    this(annotType);
-    for(JdmAttribute attr : attrsArray) {
-      addAttribute(attr.getName(), attr.getValue());
-    }
-  }
-
   /** The type of annotation we're looking for. */
   private String annotType;
 
@@ -157,15 +143,6 @@
     return ontFeatureMap;
   }
 
-  /**
-   * Legacy support for adding an attribute using a jdm attribute.
-   *
-   * @deprecated
-   */
-  public void addAttribute(JdmAttribute attr) {
-    addAttribute(attr.getName(), attr.getValue());
-  } // addAttribute
-
   /** Create and add an attribute. */
   public void addAttribute(String name, Object value) {
     ConstraintPredicate attr = Factory.getConstraintFactory().createPredicate(

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to