View | Details | Raw Unified | Return to bug 46822
Collapse All | Expand All

(-)StandardContext.java (-39 / +39 lines)
Lines 849-856 Link Here
849
849
850
        boolean oldDelegate = this.delegate;
850
        boolean oldDelegate = this.delegate;
851
        this.delegate = delegate;
851
        this.delegate = delegate;
852
        support.firePropertyChange("delegate", new Boolean(oldDelegate),
852
        support.firePropertyChange("delegate", oldDelegate,
853
                                   new Boolean(this.delegate));
853
                                   this.delegate);
854
854
855
    }
855
    }
856
856
Lines 964-971 Link Here
964
        boolean oldAntiJARLocking = this.antiJARLocking;
964
        boolean oldAntiJARLocking = this.antiJARLocking;
965
        this.antiJARLocking = antiJARLocking;
965
        this.antiJARLocking = antiJARLocking;
966
        support.firePropertyChange("antiJARLocking",
966
        support.firePropertyChange("antiJARLocking",
967
                                   new Boolean(oldAntiJARLocking),
967
                                   oldAntiJARLocking,
968
                                   new Boolean(this.antiJARLocking));
968
                                   this.antiJARLocking);
969
969
970
    }
970
    }
971
971
Lines 980-987 Link Here
980
        boolean oldAntiResourceLocking = this.antiResourceLocking;
980
        boolean oldAntiResourceLocking = this.antiResourceLocking;
981
        this.antiResourceLocking = antiResourceLocking;
981
        this.antiResourceLocking = antiResourceLocking;
982
        support.firePropertyChange("antiResourceLocking",
982
        support.firePropertyChange("antiResourceLocking",
983
                                   new Boolean(oldAntiResourceLocking),
983
                                   oldAntiResourceLocking,
984
                                   new Boolean(this.antiResourceLocking));
984
                                   this.antiResourceLocking);
985
985
986
    }
986
    }
987
987
Lines 1006-1013 Link Here
1006
        boolean oldAvailable = this.available;
1006
        boolean oldAvailable = this.available;
1007
        this.available = available;
1007
        this.available = available;
1008
        support.firePropertyChange("available",
1008
        support.firePropertyChange("available",
1009
                                   new Boolean(oldAvailable),
1009
                                   oldAvailable,
1010
                                   new Boolean(this.available));
1010
                                   this.available);
1011
1011
1012
    }
1012
    }
1013
1013
Lines 1091-1098 Link Here
1091
        boolean oldConfigured = this.configured;
1091
        boolean oldConfigured = this.configured;
1092
        this.configured = configured;
1092
        this.configured = configured;
1093
        support.firePropertyChange("configured",
1093
        support.firePropertyChange("configured",
1094
                                   new Boolean(oldConfigured),
1094
                                   oldConfigured,
1095
                                   new Boolean(this.configured));
1095
                                   this.configured);
1096
1096
1097
    }
1097
    }
1098
1098
Lines 1117-1124 Link Here
1117
        boolean oldCookies = this.cookies;
1117
        boolean oldCookies = this.cookies;
1118
        this.cookies = cookies;
1118
        this.cookies = cookies;
1119
        support.firePropertyChange("cookies",
1119
        support.firePropertyChange("cookies",
1120
                                   new Boolean(oldCookies),
1120
                                   oldCookies,
1121
                                   new Boolean(this.cookies));
1121
                                   this.cookies);
1122
1122
1123
    }
1123
    }
1124
    
1124
    
Lines 1143-1150 Link Here
1143
        boolean oldUseHttpOnly = this.useHttpOnly;
1143
        boolean oldUseHttpOnly = this.useHttpOnly;
1144
        this.useHttpOnly = useHttpOnly;
1144
        this.useHttpOnly = useHttpOnly;
1145
        support.firePropertyChange("useHttpOnly",
1145
        support.firePropertyChange("useHttpOnly",
1146
                new Boolean(oldUseHttpOnly),
1146
                oldUseHttpOnly,
1147
                new Boolean(this.useHttpOnly));
1147
                this.useHttpOnly);
1148
    }
1148
    }
1149
    
1149
    
1150
    
1150
    
Lines 1170-1177 Link Here
1170
        boolean oldCrossContext = this.crossContext;
1170
        boolean oldCrossContext = this.crossContext;
1171
        this.crossContext = crossContext;
1171
        this.crossContext = crossContext;
1172
        support.firePropertyChange("crossContext",
1172
        support.firePropertyChange("crossContext",
1173
                                   new Boolean(oldCrossContext),
1173
                                   oldCrossContext,
1174
                                   new Boolean(this.crossContext));
1174
                                   this.crossContext);
1175
1175
1176
    }
1176
    }
1177
1177
Lines 1303-1310 Link Here
1303
        boolean oldDistributable = this.distributable;
1303
        boolean oldDistributable = this.distributable;
1304
        this.distributable = distributable;
1304
        this.distributable = distributable;
1305
        support.firePropertyChange("distributable",
1305
        support.firePropertyChange("distributable",
1306
                                   new Boolean(oldDistributable),
1306
                                   oldDistributable,
1307
                                   new Boolean(this.distributable));
1307
                                   this.distributable);
1308
1308
1309
        // Bugzilla 32866
1309
        // Bugzilla 32866
1310
        if(getManager() != null) {
1310
        if(getManager() != null) {
Lines 1416-1423 Link Here
1416
    public void setIgnoreAnnotations(boolean ignoreAnnotations) {
1416
    public void setIgnoreAnnotations(boolean ignoreAnnotations) {
1417
        boolean oldIgnoreAnnotations = this.ignoreAnnotations;
1417
        boolean oldIgnoreAnnotations = this.ignoreAnnotations;
1418
        this.ignoreAnnotations = ignoreAnnotations;
1418
        this.ignoreAnnotations = ignoreAnnotations;
1419
        support.firePropertyChange("ignoreAnnotations", Boolean.valueOf(oldIgnoreAnnotations),
1419
        support.firePropertyChange("ignoreAnnotations", oldIgnoreAnnotations,
1420
                Boolean.valueOf(this.ignoreAnnotations));
1420
                this.ignoreAnnotations);
1421
    }
1421
    }
1422
    
1422
    
1423
    
1423
    
Lines 1651-1658 Link Here
1651
        boolean oldPrivileged = this.privileged;
1651
        boolean oldPrivileged = this.privileged;
1652
        this.privileged = privileged;
1652
        this.privileged = privileged;
1653
        support.firePropertyChange("privileged",
1653
        support.firePropertyChange("privileged",
1654
                                   new Boolean(oldPrivileged),
1654
                                   oldPrivileged,
1655
                                   new Boolean(this.privileged));
1655
                                   this.privileged);
1656
1656
1657
    }
1657
    }
1658
1658
Lines 1667-1674 Link Here
1667
        boolean oldReloadable = this.reloadable;
1667
        boolean oldReloadable = this.reloadable;
1668
        this.reloadable = reloadable;
1668
        this.reloadable = reloadable;
1669
        support.firePropertyChange("reloadable",
1669
        support.firePropertyChange("reloadable",
1670
                                   new Boolean(oldReloadable),
1670
                                   oldReloadable,
1671
                                   new Boolean(this.reloadable));
1671
                                   this.reloadable);
1672
1672
1673
    }
1673
    }
1674
1674
Lines 1683-1690 Link Here
1683
        boolean oldOverride = this.override;
1683
        boolean oldOverride = this.override;
1684
        this.override = override;
1684
        this.override = override;
1685
        support.firePropertyChange("override",
1685
        support.firePropertyChange("override",
1686
                                   new Boolean(oldOverride),
1686
                                   oldOverride,
1687
                                   new Boolean(this.override));
1687
                                   this.override);
1688
1688
1689
    }
1689
    }
1690
1690
Lines 1709-1716 Link Here
1709
        boolean oldReplaceWelcomeFiles = this.replaceWelcomeFiles;
1709
        boolean oldReplaceWelcomeFiles = this.replaceWelcomeFiles;
1710
        this.replaceWelcomeFiles = replaceWelcomeFiles;
1710
        this.replaceWelcomeFiles = replaceWelcomeFiles;
1711
        support.firePropertyChange("replaceWelcomeFiles",
1711
        support.firePropertyChange("replaceWelcomeFiles",
1712
                                   new Boolean(oldReplaceWelcomeFiles),
1712
                                   oldReplaceWelcomeFiles,
1713
                                   new Boolean(this.replaceWelcomeFiles));
1713
                                   this.replaceWelcomeFiles);
1714
1714
1715
    }
1715
    }
1716
1716
Lines 1757-1764 Link Here
1757
         */
1757
         */
1758
        this.sessionTimeout = (timeout == 0) ? -1 : timeout;
1758
        this.sessionTimeout = (timeout == 0) ? -1 : timeout;
1759
        support.firePropertyChange("sessionTimeout",
1759
        support.firePropertyChange("sessionTimeout",
1760
                                   new Integer(oldSessionTimeout),
1760
                                   oldSessionTimeout,
1761
                                   new Integer(this.sessionTimeout));
1761
                                   this.sessionTimeout);
1762
1762
1763
    }
1763
    }
1764
1764
Lines 1785-1792 Link Here
1785
        boolean oldSwallowOutput = this.swallowOutput;
1785
        boolean oldSwallowOutput = this.swallowOutput;
1786
        this.swallowOutput = swallowOutput;
1786
        this.swallowOutput = swallowOutput;
1787
        support.firePropertyChange("swallowOutput",
1787
        support.firePropertyChange("swallowOutput",
1788
                                   new Boolean(oldSwallowOutput),
1788
                                   oldSwallowOutput,
1789
                                   new Boolean(this.swallowOutput));
1789
                                   this.swallowOutput);
1790
1790
1791
    }
1791
    }
1792
1792
Lines 1814-1821 Link Here
1814
        long oldUnloadDelay = this.unloadDelay;
1814
        long oldUnloadDelay = this.unloadDelay;
1815
        this.unloadDelay = unloadDelay;
1815
        this.unloadDelay = unloadDelay;
1816
        support.firePropertyChange("unloadDelay",
1816
        support.firePropertyChange("unloadDelay",
1817
                                   new Long(oldUnloadDelay),
1817
                                   Long.valueOf(oldUnloadDelay),
1818
                                   new Long(this.unloadDelay));
1818
                                   Long.valueOf(this.unloadDelay));
1819
1819
1820
    }
1820
    }
1821
1821
Lines 2193-2199 Link Here
2193
                if (errorPage.getErrorCode() == 200) {
2193
                if (errorPage.getErrorCode() == 200) {
2194
                    this.okErrorPage = errorPage;
2194
                    this.okErrorPage = errorPage;
2195
                }
2195
                }
2196
                statusPages.put(new Integer(errorPage.getErrorCode()),
2196
                statusPages.put(Integer.valueOf(errorPage.getErrorCode()),
2197
                                errorPage);
2197
                                errorPage);
2198
            }
2198
            }
2199
        }
2199
        }
Lines 2739-2745 Link Here
2739
        if (errorCode == 200) {
2739
        if (errorCode == 200) {
2740
            return (okErrorPage);
2740
            return (okErrorPage);
2741
        } else {
2741
        } else {
2742
            return (statusPages.get(new Integer(errorCode)));
2742
            return (statusPages.get(Integer.valueOf(errorCode)));
2743
        }
2743
        }
2744
2744
2745
    }
2745
    }
Lines 3047-3053 Link Here
3047
     */
3047
     */
3048
    public String findStatusPage(int status) {
3048
    public String findStatusPage(int status) {
3049
3049
3050
        ErrorPage errorPage = statusPages.get(new Integer(status));
3050
        ErrorPage errorPage = statusPages.get(Integer.valueOf(status));
3051
        if (errorPage!=null) {
3051
        if (errorPage!=null) {
3052
            return errorPage.getLocation();
3052
            return errorPage.getLocation();
3053
        }
3053
        }
Lines 3368-3374 Link Here
3368
                if (errorPage.getErrorCode() == 200) {
3368
                if (errorPage.getErrorCode() == 200) {
3369
                    this.okErrorPage = null;
3369
                    this.okErrorPage = null;
3370
                }
3370
                }
3371
                statusPages.remove(new Integer(errorPage.getErrorCode()));
3371
                statusPages.remove(Integer.valueOf(errorPage.getErrorCode()));
3372
            }
3372
            }
3373
        }
3373
        }
3374
        fireContainerEvent("removeErrorPage", errorPage);
3374
        fireContainerEvent("removeErrorPage", errorPage);
Lines 4136-4142 Link Here
4136
            int loadOnStartup = wrapper.getLoadOnStartup();
4136
            int loadOnStartup = wrapper.getLoadOnStartup();
4137
            if (loadOnStartup < 0)
4137
            if (loadOnStartup < 0)
4138
                continue;
4138
                continue;
4139
            Integer key = new Integer(loadOnStartup);
4139
            Integer key = Integer.valueOf(loadOnStartup);
4140
            ArrayList<Wrapper> list = map.get(key);
4140
            ArrayList<Wrapper> list = map.get(key);
4141
            if (list == null) {
4141
            if (list == null) {
4142
                list = new ArrayList<Wrapper>();
4142
                list = new ArrayList<Wrapper>();

Return to bug 46822