Skip to content

Commit

Permalink
[JENKINS-9367] revisting the fix --- changing the access modifier is …
Browse files Browse the repository at this point in the history
…an incompatible change.
  • Loading branch information
kohsuke committed May 13, 2011
1 parent 4bfdb1e commit 8c8f4d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/hudson/model/ListView.java
Expand Up @@ -91,8 +91,7 @@ public ListView(String name, ViewGroup owner) {
this.owner = owner;
}

protected Object readResolve() {
super.readResolve();
private Object readResolve() {
if(includeRegex!=null)
includePattern = Pattern.compile(includeRegex);
initColumns();
Expand Down
9 changes: 0 additions & 9 deletions core/src/main/java/hudson/model/View.java
Expand Up @@ -129,15 +129,6 @@ protected View(String name, ViewGroup owner) {
this.owner = owner;
}

protected Object readResolve() {
if (properties == null) {
properties = new PropertyList(this);
} else {
properties.setOwner(this);
}
return this;
}

/**
* Gets all the items in this collection in a read-only view.
*/
Expand Down

0 comments on commit 8c8f4d2

Please sign in to comment.