Skip to content

Commit be1f629

Browse files
committed
Correct mock method visibility for newer JRuby tests
Only affects appraisals/rails tests right now it seems where the MockHttpSession is used.
1 parent d35b122 commit be1f629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spec/java/org/jruby/rack/mock/MockHttpSession.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public String getId() {
101101
return this.id;
102102
}
103103

104-
void setId(String id) {
104+
public void setId(String id) {
105105
this.id = id;
106106
}
107107

@@ -256,7 +256,7 @@ public String toString() {
256256
return getClass().getName() + "@" + Integer.toHexString(hashCode()) + this.attributes;
257257
}
258258

259-
Map<String, Object> getAttributes() {
259+
public Map<String, Object> getAttributes() {
260260
return attributes;
261261
}
262262

0 commit comments

Comments
 (0)