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

(-)model/org/eclipse/jdt/internal/core/builder/State.java (-3 / +3 lines)
Lines 43-49 Link Here
43
private StringSet structurallyChangedTypes;
43
private StringSet structurallyChangedTypes;
44
public static int MaxStructurallyChangedTypes = 100; // keep track of ? structurally changed types, otherwise consider all to be changed
44
public static int MaxStructurallyChangedTypes = 100; // keep track of ? structurally changed types, otherwise consider all to be changed
45
45
46
public static final byte VERSION = 0x0014; // changed access rule presentation
46
public static final byte VERSION = 0x0015; // changed access rule presentation
47
47
48
static final byte SOURCE_FOLDER = 1;
48
static final byte SOURCE_FOLDER = 1;
49
static final byte BINARY_FOLDER = 2;
49
static final byte BINARY_FOLDER = 2;
Lines 331-337 Link Here
331
		accessRules[i] = new ClasspathAccessRule(pattern, problemId);
331
		accessRules[i] = new ClasspathAccessRule(pattern, problemId);
332
	}
332
	}
333
	String[] messageTemplates = new String[AccessRuleSet.MESSAGE_TEMPLATES_LENGTH];
333
	String[] messageTemplates = new String[AccessRuleSet.MESSAGE_TEMPLATES_LENGTH];
334
	for (int i = 0; i < 3; i++) {
334
	for (int i = 0; i < AccessRuleSet.MESSAGE_TEMPLATES_LENGTH; i++) {
335
		messageTemplates[i] = in.readUTF();
335
		messageTemplates[i] = in.readUTF();
336
	}
336
	}
337
	AccessRuleSet accessRuleSet = new AccessRuleSet(accessRules);
337
	AccessRuleSet accessRuleSet = new AccessRuleSet(accessRules);
Lines 604-610 Link Here
604
				writeName(accessRule.pattern, out);
604
				writeName(accessRule.pattern, out);
605
				out.writeInt(accessRule.problemId);
605
				out.writeInt(accessRule.problemId);
606
			}
606
			}
607
			for (int i = 0; i < accessRuleSet.messageTemplates.length; i++)
607
			for (int i = 0; i < AccessRuleSet.MESSAGE_TEMPLATES_LENGTH; i++)
608
				out.writeUTF(accessRuleSet.messageTemplates[i]);
608
				out.writeUTF(accessRuleSet.messageTemplates[i]);
609
		}
609
		}
610
	}
610
	}

Return to bug 122763