You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by jo...@apache.org on 2004/01/01 18:47:00 UTC
cvs commit: ws-jaxme/src/jaxme/org/apache/ws/jaxme/impl Configuration.java
jochen 2004/01/01 09:47:00
Modified: src/jaxme/org/apache/ws/jaxme/impl Configuration.java
Log:
Eliminated warning in Eclipse.
Revision Changes Path
1.3 +7 -7 ws-jaxme/src/jaxme/org/apache/ws/jaxme/impl/Configuration.java
Index: Configuration.java
===================================================================
RCS file: /home/cvs/ws-jaxme/src/jaxme/org/apache/ws/jaxme/impl/Configuration.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Configuration.java 20 Oct 2003 20:32:43 -0000 1.2
+++ Configuration.java 1 Jan 2004 17:47:00 -0000 1.3
@@ -79,15 +79,15 @@
public class Manager implements JMManager {
public class Property {
- private String name;
+ private String managerName;
private String value;
- public String getName() { return name; }
- public void setName(String pName) { name = pName; }
+ public String getName() { return managerName; }
+ public void setName(String pName) { managerName = pName; }
public String getValue() { return value; }
public void setValue(String pValue) { value = pValue; }
public void finish() throws SAXException {
- if (name == null) {
+ if (managerName == null) {
throw new NullPointerException("Missing 'name' attribute in 'property' element.");
}
if (value == null) {
@@ -96,8 +96,8 @@
if (properties == null) {
properties = new HashMap();
}
- if (properties.put(name, value) != null) {
- throw new IllegalStateException("The property " + name + " was specified more than once.");
+ if (properties.put(managerName, value) != null) {
+ throw new IllegalStateException("The property " + managerName + " was specified more than once.");
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org