Revision 2527
org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/dynobject/impl/DefaultTags.java | ||
---|---|---|
90 | 90 |
|
91 | 91 |
@Override |
92 | 92 |
public int getInt(String name) throws CoercionException { |
93 |
Object x = this.get(name.toLowerCase(), DataTypes.INT);
|
|
93 |
Object x = this.get(name, DataTypes.INT); |
|
94 | 94 |
if (x == null) { |
95 | 95 |
return 0; |
96 | 96 |
} |
... | ... | |
104 | 104 |
|
105 | 105 |
@Override |
106 | 106 |
public boolean getBoolean(String name) throws CoercionException { |
107 |
Object x = this.get(name.toLowerCase(), DataTypes.BOOLEAN);
|
|
107 |
Object x = this.get(name, DataTypes.BOOLEAN); |
|
108 | 108 |
if (x == null) { |
109 | 109 |
return false; |
110 | 110 |
} |
... | ... | |
118 | 118 |
|
119 | 119 |
@Override |
120 | 120 |
public String getString(String name) throws CoercionException { |
121 |
Object x = this.get(name.toLowerCase(), DataTypes.STRING);
|
|
121 |
Object x = this.get(name, DataTypes.STRING); |
|
122 | 122 |
return (String) x; |
123 | 123 |
} |
124 | 124 |
|
Also available in: Unified diff