[Mulgara-svn] r508 - branches/nw-interface/src/jar/server/java/org/mulgara/server

pag at mulgara.org pag at mulgara.org
Fri Nov 2 21:13:42 UTC 2007


Author: pag
Date: 2007-11-02 15:13:41 -0600 (Fri, 02 Nov 2007)
New Revision: 508

Modified:
   branches/nw-interface/src/jar/server/java/org/mulgara/server/ServerInfo.java
Log:
Cleanup on generics

Modified: branches/nw-interface/src/jar/server/java/org/mulgara/server/ServerInfo.java
===================================================================
--- branches/nw-interface/src/jar/server/java/org/mulgara/server/ServerInfo.java	2007-11-02 21:13:13 UTC (rev 507)
+++ branches/nw-interface/src/jar/server/java/org/mulgara/server/ServerInfo.java	2007-11-02 21:13:41 UTC (rev 508)
@@ -32,8 +32,9 @@
 import java.util.Set;
 
 // log4j packages
-import org.apache.log4j.*;
-import org.apache.log4j.xml.DOMConfigurator;
+// import org.apache.log4j.*;
+// import org.apache.log4j.xml.DOMConfigurator;
+
 import org.mulgara.server.SessionFactory;
 
 /**
@@ -74,7 +75,7 @@
   private static int httpPort = 0;
 
   /** The set of hostname aliases. */
-  private static Set hostnames = null;
+  private static Set<String> hostnames = null;
 
 
   /**
@@ -151,7 +152,7 @@
    *
    * @return the set of host names
    */
-  public static Set getHostnameAliases() {
+  public static Set<String> getHostnameAliases() {
     return hostnames;
   }
 
@@ -163,7 +164,7 @@
    * @param hostnames The set of host names
    * @throws IllegalStateException If the host names have already been set 
    */
-  public static void setHostnameAliases(Set hostnames) {
+  public static void setHostnameAliases(Set<String> hostnames) {
     if (ServerInfo.hostnames != null) {
       throw new IllegalStateException("Host names have already been set");
     }




More information about the Mulgara-svn mailing list