Changeset 6725


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

Nettoyage

Location:
trunk/Jav_FW/com/scenari
Files:
5 deleted
4 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 { 
  • trunk/Jav_FW/com/scenari/s/fw/properties/loaders/xml/HInitAppSaxHandler.java

    r1702 r6725  
    6969        public static final String TAG_DECLARETAG_ATT_PARSER = "classParser"; 
    7070         
    71          
    72         public static final String TAG_KSP = "ksp"; 
    7371        public static final String TAG_BOOT = "boot"; 
    7472        public static final String TAG_BOOT_ATT_CLASS = "class"; 
     
    259257                } 
    260258 
    261                 //Paramétrage des KSP 
    262                 else if (pLocalName.equals(TAG_KSP)) { 
    263                         try { 
    264                                 XKspSaxHandler vLogSaxHAndler = new XKspSaxHandler(); 
    265                                 vLogSaxHAndler.hSetTagRoot(TAG_KSP); 
    266                                 vLogSaxHAndler.hSetXmlReader(fXMLReader); 
    267                                 vLogSaxHAndler.startElement(pUri, pLocalName, pQName, pAttributes); 
    268                         } catch (Exception e) { 
    269                                 HLogMgr.hPublishException(e, "Ksp properties defined in the xml init file failed."); 
    270                         } 
    271  
    272                 } 
    273  
    274259                //Paramétrage d'un pool de connection 
    275260                else if (pLocalName.equals(TAG_POOLJDBC)) { 
  • trunk/Jav_FW/com/scenari/s/fw/utils/HIntArrayList.java

    r1702 r6725  
    528528        if (a.length < size) a = (Object[]) java.lang.reflect.Array.newInstance(a.getClass().getComponentType(), size); 
    529529 
    530         if (a.getClass().getComponentType().equals(String.class)) { 
     530        if (a.getClass().getComponentType() == String.class) { 
    531531            for (int i = 0; i < size; i++) { 
    532532                a[i] = Integer.toString(elementData[i]); 
  • trunk/Jav_FW/com/scenari/s/fw/utils/HUrl.java

    r1862 r6725  
    8282 
    8383        /** 
    84          * Retourne vrai si l'url et tous les paramètres sont identiques, quelquesoit l'ordre de leur déclaration. 
     84         * Retourne vrai si l'url et tous les paramètres sont identiques et dans le même ordre. 
    8585         *  
    8686         * @return boolean 
Note: See TracChangeset for help on using the changeset viewer.