Skip to content

Commit 483a60e

Browse files
simplify, remove unnecessary "this." prefixes
1 parent 921dbd7 commit 483a60e

6 files changed

Lines changed: 31 additions & 31 deletions

File tree

sqldev/src/main/java/org/utplsql/sqldev/model/oddgen/GenContext.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class GenContext extends AbstractModel {
3535
private int indentSpaces;
3636

3737
public Connection getConn() {
38-
return this.conn;
38+
return conn;
3939
}
4040

4141
@Override
@@ -61,87 +61,87 @@ public void setConn(final Connection conn) {
6161
}
6262

6363
public String getObjectType() {
64-
return this.objectType;
64+
return objectType;
6565
}
6666

6767
public void setObjectType(final String objectType) {
6868
this.objectType = objectType;
6969
}
7070

7171
public String getObjectName() {
72-
return this.objectName;
72+
return objectName;
7373
}
7474

7575
public void setObjectName(final String objectName) {
7676
this.objectName = objectName;
7777
}
7878

7979
public String getTestPackagePrefix() {
80-
return this.testPackagePrefix;
80+
return testPackagePrefix;
8181
}
8282

8383
public void setTestPackagePrefix(final String testPackagePrefix) {
8484
this.testPackagePrefix = testPackagePrefix;
8585
}
8686

8787
public String getTestPackageSuffix() {
88-
return this.testPackageSuffix;
88+
return testPackageSuffix;
8989
}
9090

9191
public void setTestPackageSuffix(final String testPackageSuffix) {
9292
this.testPackageSuffix = testPackageSuffix;
9393
}
9494

9595
public String getTestUnitPrefix() {
96-
return this.testUnitPrefix;
96+
return testUnitPrefix;
9797
}
9898

9999
public void setTestUnitPrefix(final String testUnitPrefix) {
100100
this.testUnitPrefix = testUnitPrefix;
101101
}
102102

103103
public String getTestUnitSuffix() {
104-
return this.testUnitSuffix;
104+
return testUnitSuffix;
105105
}
106106

107107
public void setTestUnitSuffix(final String testUnitSuffix) {
108108
this.testUnitSuffix = testUnitSuffix;
109109
}
110110

111111
public int getNumberOfTestsPerUnit() {
112-
return this.numberOfTestsPerUnit;
112+
return numberOfTestsPerUnit;
113113
}
114114

115115
public void setNumberOfTestsPerUnit(final int numberOfTestsPerUnit) {
116116
this.numberOfTestsPerUnit = numberOfTestsPerUnit;
117117
}
118118

119119
public boolean isGenerateComments() {
120-
return this.generateComments;
120+
return generateComments;
121121
}
122122

123123
public void setGenerateComments(final boolean generateComments) {
124124
this.generateComments = generateComments;
125125
}
126126

127127
public boolean isDisableTests() {
128-
return this.disableTests;
128+
return disableTests;
129129
}
130130

131131
public void setDisableTests(final boolean disableTests) {
132132
this.disableTests = disableTests;
133133
}
134134

135135
public String getSuitePath() {
136-
return this.suitePath;
136+
return suitePath;
137137
}
138138

139139
public void setSuitePath(final String suitePath) {
140140
this.suitePath = suitePath;
141141
}
142142

143143
public int getIndentSpaces() {
144-
return this.indentSpaces;
144+
return indentSpaces;
145145
}
146146

147147
public void setIndentSpaces(final int indentSpaces) {

sqldev/src/main/java/org/utplsql/sqldev/model/parser/PlsqlObject.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,31 +38,31 @@ public String toString() {
3838
}
3939

4040
public String getName() {
41-
return this.name;
41+
return name;
4242
}
4343

4444
public void setName(final String name) {
4545
this.name = name;
4646
}
4747

4848
public String getType() {
49-
return this.type;
49+
return type;
5050
}
5151

5252
public void setType(final String type) {
5353
this.type = type;
5454
}
5555

5656
public Integer getPosition() {
57-
return this.position;
57+
return position;
5858
}
5959

6060
public void setPosition(final Integer position) {
6161
this.position = position;
6262
}
6363

6464
public List<Annotation> getAnnotations() {
65-
return this.annotations;
65+
return annotations;
6666
}
6767

6868
public void setAnnotations(final List<Annotation> annotations) {

sqldev/src/main/java/org/utplsql/sqldev/model/parser/Unit.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ public String toString() {
3333
}
3434

3535
public String getName() {
36-
return this.name;
36+
return name;
3737
}
3838

3939
public void setName(final String name) {
4040
this.name = name;
4141
}
4242

4343
public Integer getPosition() {
44-
return this.position;
44+
return position;
4545
}
4646

4747
public void setPosition(final Integer position) {
4848
this.position = position;
4949
}
5050

5151
public Integer getPositionOfName() {
52-
return this.positionOfName;
52+
return positionOfName;
5353
}
5454

5555
public void setPositionOfName(final Integer positionOfName) {

sqldev/src/main/java/org/utplsql/sqldev/model/runner/Counter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,39 @@ public String toString() {
3737
}
3838

3939
public Integer getDisabled() {
40-
return this.disabled;
40+
return disabled;
4141
}
4242

4343
public void setDisabled(final Integer disabled) {
4444
this.disabled = disabled;
4545
}
4646

4747
public Integer getSuccess() {
48-
return this.success;
48+
return success;
4949
}
5050

5151
public void setSuccess(final Integer success) {
5252
this.success = success;
5353
}
5454

5555
public Integer getFailure() {
56-
return this.failure;
56+
return failure;
5757
}
5858

5959
public void setFailure(final Integer failure) {
6060
this.failure = failure;
6161
}
6262

6363
public Integer getError() {
64-
return this.error;
64+
return error;
6565
}
6666

6767
public void setError(final Integer error) {
6868
this.error = error;
6969
}
7070

7171
public Integer getWarning() {
72-
return this.warning;
72+
return warning;
7373
}
7474

7575
public void setWarning(final Integer warning) {

sqldev/src/main/java/org/utplsql/sqldev/model/ut/Annotation.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,39 @@ public String toString() {
3737
}
3838

3939
public String getObjectOwner() {
40-
return this.objectOwner;
40+
return objectOwner;
4141
}
4242

4343
public void setObjectOwner(final String objectOwner) {
4444
this.objectOwner = objectOwner;
4545
}
4646

4747
public String getObjectName() {
48-
return this.objectName;
48+
return objectName;
4949
}
5050

5151
public void setObjectName(final String objectName) {
5252
this.objectName = objectName;
5353
}
5454

5555
public String getName() {
56-
return this.name;
56+
return name;
5757
}
5858

5959
public void setName(final String name) {
6060
this.name = name;
6161
}
6262

6363
public String getText() {
64-
return this.text;
64+
return text;
6565
}
6666

6767
public void setText(final String text) {
6868
this.text = text;
6969
}
7070

7171
public String getSubobjectName() {
72-
return this.subobjectName;
72+
return subobjectName;
7373
}
7474

7575
public void setSubobjectName(final String subobjectName) {

sqldev/src/main/java/org/utplsql/sqldev/model/ut/OutputLines.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ public String toString() {
3131
}
3232

3333
public String[] getLines() {
34-
return this.lines;
34+
return lines;
3535
}
3636

3737
public void setLines(final String[] lines) {
3838
this.lines = lines;
3939
}
4040

4141
public Integer getNumlines() {
42-
return this.numlines;
42+
return numlines;
4343
}
4444

4545
public void setNumlines(final Integer numlines) {

0 commit comments

Comments
 (0)