Ignore:
Timestamp:
10/01/06 12:01:26 (6 years ago)
Author:
sys
Message:

Nettoyage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_FW/com/scenari/s/fw/properties/alone/XPropAloneProperties.java

    r1702 r6725  
    167167            try { 
    168168 
    169                 if (fTypeObject.equals(String.class)) { 
     169                if (fTypeObject == String.class) { 
    170170                    hSetValue(pValue, pLevel); 
    171                 } else if (fTypeObject.equals(int.class)) { 
     171                } else if (fTypeObject == int.class) { 
    172172                    hSetValue(new Integer(pValue), pLevel); 
    173                 } else if (fTypeObject.equals(boolean.class)) { 
     173                } else if (fTypeObject == boolean.class) { 
    174174                    hSetValue(new Boolean(pValue), pLevel); 
    175                 } else if (fTypeObject.equals(double.class)) { 
     175                } else if (fTypeObject == double.class) { 
    176176                    hSetValue(new Double(pValue), pLevel); 
    177                 } else if (fTypeObject.equals(float.class)) { 
     177                } else if (fTypeObject == float.class) { 
    178178                    hSetValue(new Float(pValue), pLevel); 
    179                 } else if (fTypeObject.equals(long.class)) { 
     179                } else if (fTypeObject == long.class) { 
    180180                    hSetValue(new Long(pValue), pLevel); 
    181                 } else if (fTypeObject.equals(short.class)) { 
     181                } else if (fTypeObject == short.class) { 
    182182                    hSetValue(new Short(pValue), pLevel); 
    183                 } else if (fTypeObject.equals(char.class)) { 
     183                } else if (fTypeObject == char.class) { 
    184184                    hSetValue(new Character(pValue.charAt(0)), pLevel); 
    185                 } else if (fTypeObject.equals(byte.class)) { 
     185                } else if (fTypeObject == byte.class) { 
    186186                    hSetValue(new Byte(pValue), pLevel); 
    187187                } else { 
Note: See TracChangeset for help on using the changeset viewer.