Skip to content

Commit 7211c05

Browse files
committed
No boxing
1 parent 0564b42 commit 7211c05

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/com/inet/gradle/setup/dmg/Dmg.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class Dmg extends AbstractUnixSetupTask {
4242

4343
private Object backgroundImage, setupDarkBackground, setupBackground, setupIcon;
4444

45-
private Integer windowWidth = 400, windowHeight = 300, iconSize = 128, fontSize = 14, windowWidthCorrection = 0, windowHeightCorrection = 22;
45+
private int windowWidth = 400, windowHeight = 300, iconSize = 128, fontSize = 14, windowWidthCorrection = 0, windowHeightCorrection = 22;
4646

4747
private Color backgroundColor;
4848

@@ -115,7 +115,7 @@ public void build() {
115115
*
116116
* @return width of Finder view
117117
*/
118-
public Integer getWindowWidth() {
118+
public int getWindowWidth() {
119119
return windowWidth + windowWidthCorrection;
120120
}
121121

@@ -124,7 +124,7 @@ public Integer getWindowWidth() {
124124
*
125125
* @param windowWidth width of Finder view
126126
*/
127-
public void setWindowWidth( Integer windowWidth ) {
127+
public void setWindowWidth( int windowWidth ) {
128128
this.windowWidth = windowWidth;
129129
}
130130

@@ -135,7 +135,7 @@ public void setWindowWidth( Integer windowWidth ) {
135135
*
136136
* @return width correction of Finder view
137137
*/
138-
public Integer getWindowWidthCorrection() {
138+
public int getWindowWidthCorrection() {
139139
return windowWidthCorrection;
140140
}
141141

@@ -146,7 +146,7 @@ public Integer getWindowWidthCorrection() {
146146
*
147147
* @param windowWidthCorrection width of Finder view
148148
*/
149-
public void setWindowWidthCorrection( Integer windowWidthCorrection ) {
149+
public void setWindowWidthCorrection( int windowWidthCorrection ) {
150150
this.windowWidthCorrection = windowWidthCorrection;
151151
}
152152

@@ -155,7 +155,7 @@ public void setWindowWidthCorrection( Integer windowWidthCorrection ) {
155155
*
156156
* @return height of Finder view
157157
*/
158-
public Integer getWindowHeight() {
158+
public int getWindowHeight() {
159159
return windowHeight + windowHeightCorrection;
160160
}
161161

@@ -164,7 +164,7 @@ public Integer getWindowHeight() {
164164
*
165165
* @param windowHeight of Finder view
166166
*/
167-
public void setWindowHeight( Integer windowHeight ) {
167+
public void setWindowHeight( int windowHeight ) {
168168
this.windowHeight = windowHeight;
169169
}
170170

@@ -175,7 +175,7 @@ public void setWindowHeight( Integer windowHeight ) {
175175
*
176176
* @return width correction of Finder view
177177
*/
178-
public Integer getWindowHeightCorrection() {
178+
public int getWindowHeightCorrection() {
179179
return windowHeightCorrection;
180180
}
181181

@@ -186,7 +186,7 @@ public Integer getWindowHeightCorrection() {
186186
*
187187
* @param windowHeightCorrection height of Finder view
188188
*/
189-
public void setWindowHeightCorrection( Integer windowHeightCorrection ) {
189+
public void setWindowHeightCorrection( int windowHeightCorrection ) {
190190
this.windowHeightCorrection = windowHeightCorrection;
191191
}
192192

@@ -195,7 +195,7 @@ public void setWindowHeightCorrection( Integer windowHeightCorrection ) {
195195
*
196196
* @return size of icons in Finder view
197197
*/
198-
public Integer getIconSize() {
198+
public int getIconSize() {
199199
return iconSize;
200200
}
201201

@@ -204,7 +204,7 @@ public Integer getIconSize() {
204204
*
205205
* @param iconSize of icons in Finder view
206206
*/
207-
public void setIconSize( Integer iconSize ) {
207+
public void setIconSize( int iconSize ) {
208208
this.iconSize = iconSize;
209209
}
210210

@@ -234,7 +234,7 @@ public void setBackgroundImage( File backgroundFile ) {
234234
*
235235
* @return font size for Finder View
236236
*/
237-
public Integer getFontSize() {
237+
public int getFontSize() {
238238
return fontSize;
239239
}
240240

@@ -243,7 +243,7 @@ public Integer getFontSize() {
243243
*
244244
* @param fontSize size for Finder View
245245
*/
246-
public void setFontSize( Integer fontSize ) {
246+
public void setFontSize( int fontSize ) {
247247
this.fontSize = fontSize;
248248
}
249249

0 commit comments

Comments
 (0)