geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/deployment GeronimoTargetModule.java ServerTarget.java
Date Sat, 22 Nov 2003 20:01:46 GMT
ammulder    2003/11/22 12:01:46

  Modified:    modules/kernel/src/java/org/apache/geronimo/kernel/deployment
                        GeronimoTargetModule.java ServerTarget.java
  Log:
  Intelligent toString for Target and TargetModuleID impls
  
  Revision  Changes    Path
  1.2       +5 -1      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/deployment/GeronimoTargetModule.java
  
  Index: GeronimoTargetModule.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/deployment/GeronimoTargetModule.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GeronimoTargetModule.java	17 Nov 2003 10:57:40 -0000	1.1
  +++ GeronimoTargetModule.java	22 Nov 2003 20:01:46 -0000	1.2
  @@ -193,4 +193,8 @@
           result = 29 * result + deploymentID;
           return result;
       }
  +
  +    public String toString() {
  +        return getModuleID()+"@"+target;
  +    }
   }
  
  
  
  1.2       +5 -1      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/deployment/ServerTarget.java
  
  Index: ServerTarget.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/deployment/ServerTarget.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServerTarget.java	17 Nov 2003 10:57:40 -0000	1.1
  +++ ServerTarget.java	22 Nov 2003 20:01:46 -0000	1.2
  @@ -113,4 +113,8 @@
           result = 29 * result + homeDir.hashCode();
           return result;
       }
  +
  +    public String toString() {
  +        return hostname+(homeDir == null ? "" : ":"+homeDir);
  +    }
   }
  
  
  

Mime
View raw message