fix warnings
[nikiroo-utils.git] / src / be / nikiroo / fanfix / supported / BasicSupport_Deprecated.java
index 591ba58d1f630727283762de72f9c27a0e4df664..f8ea9d469570cfd4a1a63148b6167bfdf028ac44 100644 (file)
@@ -40,7 +40,6 @@ import be.nikiroo.utils.StringUtils;
 @Deprecated
 public abstract class BasicSupport_Deprecated extends BasicSupport {
        private InputStream in;
-       private URL currentReferer; // with only one 'r', as in 'HTTP'...
 
        // quote chars
        private char openQuote = Instance.getTrans().getCharacter(
@@ -1129,7 +1128,7 @@ public abstract class BasicSupport_Deprecated extends BasicSupport {
         *            the line to return based upon the target line position (-1 =
         *            the line before, 0 = the target line...)
         * 
-        * @return the line
+        * @return the line, or NULL if not found
         */
        static protected String getLine(InputStream in, String needle,
                        int relativeLine) {
@@ -1153,7 +1152,7 @@ public abstract class BasicSupport_Deprecated extends BasicSupport {
         *            takes the first result (as opposed to the last one, which will
         *            also always spend the input)
         * 
-        * @return the line
+        * @return the line, or NULL if not found
         */
        static protected String getLine(InputStream in, String needle,
                        int relativeLine, boolean first) {