Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfogell2006-04-18 22:54:40 +0000
committerjfogell2006-04-18 22:54:40 +0000
commit6c3e3bbb7f873dddd9aa54f134b329f9488938ef (patch)
tree3850fd885aa0b0e797b925dd5021f2dec5981990
parent0a3cc22640ff0d22af8320b58685eab2ff2ad545 (diff)
downloadrt.equinox.bundles-6c3e3bbb7f873dddd9aa54f134b329f9488938ef.tar.gz
rt.equinox.bundles-6c3e3bbb7f873dddd9aa54f134b329f9488938ef.tar.xz
rt.equinox.bundles-6c3e3bbb7f873dddd9aa54f134b329f9488938ef.zip
fix for 130443 - compiler warnings
-rw-r--r--bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/StaticDataReader.java8
-rw-r--r--bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/servlet/HttpSessionContextImpl.java4
2 files changed, 7 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/StaticDataReader.java b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/StaticDataReader.java
index 571af8ab7..5a75a76b6 100644
--- a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/StaticDataReader.java
+++ b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/StaticDataReader.java
@@ -163,13 +163,14 @@ public class StaticDataReader {
return (resultStatusCodes);
}
- /**
+ /* TODO: Consider Removing this method
* Read alias data and populate a Hashtable.
* The inputstream is always closed.
*
* @param in InputStream from which to read alias data.
* @return Hashtable of aliases.
*/
+ /*
private static Hashtable parseAliases(InputStream in) {
Hashtable aliases = new Hashtable(37);
@@ -181,9 +182,9 @@ public class StaticDataReader {
while (true) {
String line = br.readLine();
- if (line == null) /* EOF */
+ if (line == null) // EOF
{
- break; /* done */
+ break; // done
}
Tokenizer tokenizer = new Tokenizer(line);
@@ -222,5 +223,6 @@ public class StaticDataReader {
return (aliases);
}
+ */
}
diff --git a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/servlet/HttpSessionContextImpl.java b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/servlet/HttpSessionContextImpl.java
index 03e9d6948..6f7712c74 100644
--- a/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/servlet/HttpSessionContextImpl.java
+++ b/bundles/org.eclipse.equinox.http/src/org/eclipse/equinox/http/servlet/HttpSessionContextImpl.java
@@ -25,7 +25,7 @@ import javax.servlet.http.HttpSessionContext;
* method of HttpSession.
*
* @see HttpSession
- * @depracated
+ * @deprecated
*/
public class HttpSessionContextImpl implements HttpSessionContext {
@@ -45,7 +45,7 @@ public class HttpSessionContextImpl implements HttpSessionContext {
* @param sessionID the ID of a particular session object
* @return the session name. Returns null if the session ID does not refer
* to a valid session.
- * @depracated
+ * @deprecated
*/
public HttpSession getSession(String sessionId) {
return (null);

Back to the top