Changeset 12004 for trunk/Jav_BDP_FS


Ignore:
Timestamp:
11/03/08 09:10:01 (4 years ago)
Author:
sys
Message:

Review java mineur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_BDP_FS/com/scenari/m/bdp/item/fs/HRepositoryFs2.java

    r11362 r12004  
    374374                                                for (int i = 0; i < vListSpaces.size(); i++) { 
    375375                                                        WspType.SystemSpace vSystSpace = (WspType.SystemSpace) vListSpaces.get(i); 
    376                                                         if(vSystSpace.fUpdateKey != null) { 
     376                                                        if (vSystSpace.fUpdateKey != null) { 
    377377                                                                IUpdtRes vNewRes = null; 
    378378                                                                UpdtVersion vOldVersion = new UpdtVersion(vSystSpace.fCurrentVersion); 
     
    396396                                                for (int i = 0; i < vNewListSpaces.size(); i++) { 
    397397                                                        WspType.SystemSpace vSystSpace = (WspType.SystemSpace) vNewListSpaces.get(i); 
    398                                                         if(vSystSpace.fUpdateKey != null) { 
     398                                                        if (vSystSpace.fUpdateKey != null) { 
    399399                                                                // On recherche cet espace dans l'ancien WspType 
    400400                                                                WspType.SystemSpace vOldSystSpace = null; 
     
    474474                                        WspType.SystemSpace vSystSpace = (WspType.SystemSpace) vNewListSpaces.get(i); 
    475475                                        // On recherche cet espace dans l'ancien WspType 
    476                                         if(vSystSpace.fUpdateKey != null) { 
     476                                        if (vSystSpace.fUpdateKey != null) { 
    477477                                                IUpdtRes vNewRes = null; 
    478478                                                vNewRes = fNewWspType.fUpdtProvider.lookForUpdates(vSystSpace.fUpdateKey, true, true, UpdtVersion.UNDEFINED_VERSION, UpdtVersion.UNDEFINED_VERSION); 
     
    11981198                        if (fTypeGenerations == SOURCETYPE_FS) { 
    11991199                                fFolderGeneration = new HSourceFs(null, fPathGeneration, ""); 
    1200                         } else if (fTypeContent == SOURCETYPE_REL) { 
     1200                        } else if (fTypeGenerations == SOURCETYPE_REL) { 
    12011201                                IHSource vRoot = (fDomain.fFolderGenerations != null) ? fDomain.fFolderGenerations : fDomain.fFolderWspContents; 
    12021202                                fFolderGeneration = vRoot.hFindRootSource(fPathGeneration); 
     
    12781278                        for (int i = 0; i < vListSpaces.size(); i++) { 
    12791279                                WspType.SystemSpace vSSpace = (WspType.SystemSpace) vListSpaces.get(i); 
    1280                                 if(vSSpace.fUpdateKey != null) { 
     1280                                if (vSSpace.fUpdateKey != null) { 
    12811281                                        UpdtVersion vVersion = new UpdtVersion(vSSpace.fCurrentVersion); 
    12821282                                        // Mise à jour automatique 
     
    13461346                                                } 
    13471347                                        } 
    1348          
     1348 
    13491349                                        if (vRes != null) { 
    13501350                                                // Note vRes == null dans le cas où un download est initié. 
     
    13631363                                                vSSpace.fCurrentVersion = null; 
    13641364                                        } 
    1365                                 } else if(vSSpace.fSource!=null){ 
     1365                                } else if (vSSpace.fSource != null) { 
    13661366                                        //SystemSpace issu d'une source externe 
    13671367                                        HSystemSpaceDef vSpaceDef = new HSystemSpaceDef(); 
     
    23282328         * @param pPathGen Personnalisation du chemin des génération (Paramètre sans effet en mode server). 
    23292329         * @param pXmlWspType 
    2330          *            Xml Stream du wspType. Si null cherche le fichier.wspmeta à la 
     2330         *            Xml Stream du wspType. Si null cherche le fichier .wspmeta à la 
    23312331         *            racine des sources (pPathContent) 
    2332          * @param pkeyResMap 
     2332         * @param pKeyResMap 
    23332333         *            Map de keyRes/java.io.File pour créer un atelier spécifiant 
    23342334         *            ses propres chemins d'accès aux ressources. 
    23352335         *            Paramètre sans effet en mode server 
    2336          * @return le WspHandler si il a été créé. Null, si le code existe déjà. 
     2336         * @return Le WspHandler si il a été créé. Null, si le code existe déjà. 
    23372337         * @exception Exception 
    23382338         *                En cas de paramètres "path" incohérents ou impossibles. 
    23392339         */ 
    2340         public WspHandler hCreateWsp(String pCode, String pPathContent, String pPathGen, InputStream pXmlWspType, Map pkeyResMap) throws Exception { 
     2340        public WspHandler hCreateWsp(String pCode, String pPathContent, String pPathGen, InputStream pXmlWspType, Map pKeyResMap) throws Exception { 
    23412341                DomainFs2 vDomain = xGetDomain(); 
    23422342                List vWspHandlerList = vDomain.fListWsp; 
     
    24162416                                vHandler.fTypeGenerations = SOURCETYPE_FS; 
    24172417                                vHandler.fPathGeneration = vPathGen; 
    2418                                 vHandler.fUpdtMgrMapRes = pkeyResMap; 
     2418                                vHandler.fUpdtMgrMapRes = pKeyResMap; 
    24192419                        } 
    24202420 
Note: See TracChangeset for help on using the changeset viewer.