Skip to content

Commit 9a38510

Browse files
author
luke czapla
committed
fixed minor issue with lack of this keyword, re-ran tests
1 parent 361a023 commit 9a38510

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

biojava-structure/src/main/java/org/biojava/nbio/structure/basepairs/MismatchedBasePairParameters.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public double getMaxStagger() {
139139
* @param maxStagger The maximum propeller (in Å) allowed to consider two bases paired
140140
*/
141141
public void setMaxStagger(double maxStagger) {
142-
maxStagger = maxStagger;
142+
this.maxStagger = maxStagger;
143143
}
144144

145145
/**
@@ -155,7 +155,7 @@ public double getMaxShear() {
155155
* @param maxShear The maximum shear (in Å) allowed to consider two bases paired
156156
*/
157157
public void setMaxShear(double maxShear) {
158-
maxShear = maxShear;
158+
this.maxShear = maxShear;
159159
}
160160

161161
/**
@@ -170,8 +170,8 @@ public double getMaxStretch() {
170170
* This method sets the maximum stretch allowed for a base pair, prior to analyze() call.
171171
* @param maxStretch The maximum stretch (in Å) allowed to consider two bases paired
172172
*/
173-
public static void setMaxStretch(double maxStretch) {
174-
maxStretch = maxStretch;
173+
public void setMaxStretch(double maxStretch) {
174+
this.maxStretch = maxStretch;
175175
}
176176

177177
/**
@@ -187,6 +187,6 @@ public double getMaxPropeller() {
187187
* @param maxPropeller The maximum propeller ("propeller-twist", in degrees) allowed to consider two bases paired
188188
*/
189189
public void setMaxPropeller(double maxPropeller) {
190-
maxPropeller = maxPropeller;
190+
this.maxPropeller = maxPropeller;
191191
}
192192
}

biojava-structure/src/main/java/org/biojava/nbio/structure/basepairs/TertiaryBasePairParameters.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public double getMaxStagger() {
117117
* @param maxStagger The maximum stagger (in Å) allowed to consider two bases paired
118118
*/
119119
public void setMaxStagger(double maxStagger) {
120-
maxStagger = maxStagger;
120+
this.maxStagger = maxStagger;
121121
}
122122

123123
/**
@@ -133,6 +133,6 @@ public double getMaxPropeller() {
133133
* @param maxPropeller The maximum propeller ("propeller-twist", in degrees) allowed to consider two bases paired
134134
*/
135135
public void setMaxPropeller(double maxPropeller) {
136-
maxPropeller = maxPropeller;
136+
this.maxPropeller = maxPropeller;
137137
}
138138
}

0 commit comments

Comments
 (0)