JAL-3130 mark some deprecated methods in Regex as @Deprecated to stop warnings
authorBen Soares <bsoares@dundee.ac.uk>
Fri, 22 Mar 2019 16:22:45 +0000 (16:22 +0000)
committerBen Soares <bsoares@dundee.ac.uk>
Fri, 22 Mar 2019 16:22:45 +0000 (16:22 +0000)
src/com/stevesoft/pat/RegexReader.java

index 837821e..a0b42ce 100755 (executable)
@@ -233,6 +233,7 @@ public class RegexReader extends Reader
    * 
    * @deprecated
    */
+  @Deprecated
   public int getMaxLines()
   {
     return max_lines;
@@ -243,6 +244,7 @@ public class RegexReader extends Reader
    * 
    * @deprecated
    */
+  @Deprecated
   public void setMaxLines(int ml)
   {
     max_lines = ml;
@@ -255,6 +257,7 @@ public class RegexReader extends Reader
    * 
    * @deprecated
    */
+  @Deprecated
   public char getEOLchar()
   {
     return EOLchar;
@@ -265,6 +268,7 @@ public class RegexReader extends Reader
    * 
    * @deprecated
    */
+  @Deprecated
   public void setEOLchar(char c)
   {
     EOLchar = c;