< prev index next >

src/java.base/share/classes/com/sun/java/util/jar/pack/Package.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 474,484 **** changed = 1; // added more tuples } } else if (localICs.isEmpty()) { // It was a non-empty diff, but the local ICs were absent. actualICs = null; ! changed = 0; // [] => null, no tuple change } else { // Non-trivial diff was transmitted. actualICs = computeICdiff(); // If we only added more ICs, return +1. changed = actualICs.containsAll(localICs)? +1: -1; --- 474,484 ---- changed = 1; // added more tuples } } else if (localICs.isEmpty()) { // It was a non-empty diff, but the local ICs were absent. actualICs = null; ! changed = -1; // [] => null, no tuple change, force recomputation } else { // Non-trivial diff was transmitted. actualICs = computeICdiff(); // If we only added more ICs, return +1. changed = actualICs.containsAll(localICs)? +1: -1;
< prev index next >