Skip to content

Commit 68d3326

Browse files
committed
Formatting: Removed trailing whitespaces/tabs.
Removed trailing whitespaces and tabs.
1 parent 232db3a commit 68d3326

44 files changed

Lines changed: 138 additions & 139 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/com/laytonsmith/PureUtilities/ArgumentParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ private ArgumentParserResults parse(List<String> args) throws ValidationExceptio
10131013
}
10141014
}
10151015
}
1016-
//These are arguments that are not flags.
1016+
//These are arguments that are not flags.
10171017
List<String> looseArgs = new ArrayList<>();
10181018
Argument lastArg = null;
10191019
for (String arg : args) {
@@ -1100,7 +1100,7 @@ private Argument validateArgument(Argument arg, List<String> looseArgs) throws V
11001100
}
11011101
Argument finishedArgument = new Argument(arg);
11021102
if (arg.isSingle()) {
1103-
//Just the first loose argument is associated with this argument,
1103+
//Just the first loose argument is associated with this argument,
11041104
//the rest (if any) belong to the default loose argument list.
11051105
//Of course, looseArgs could be empty, in which case we won't add anything to the list.
11061106
if (looseArgs.size() > 0) {

src/main/java/com/laytonsmith/PureUtilities/ClassLoading/ClassDiscoveryCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public ClassDiscoveryURLCache getURLCache(URL fromClassLocation) {
9595
if(cacheOutputName.exists()) {
9696
//Cool, already exists, so we'll just return this.
9797
//Note that we write the data out as a zip, since it is
98-
//huge otherwise, and compresses quite well, so we have
98+
//huge otherwise, and compresses quite well, so we have
9999
//to read it in as a zip now.
100100
ZipReader cacheReader = new ZipReader(new File(cacheOutputName, "data"));
101101
return new ClassDiscoveryURLCache(fromClassLocation, cacheReader.getInputStream());

src/main/java/com/laytonsmith/PureUtilities/Common/WinRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ private static Map<String, String> readStringValues(Preferences root, int hkey,
293293
int[] info = (int[]) regQueryInfoKey.invoke(root,
294294
new Object[]{new Integer(handles[0])});
295295

296-
int count = info[0]; // count
296+
int count = info[0]; // count
297297
int maxlen = info[3]; // value length max
298298
for(int index = 0; index < count; index++) {
299299
byte[] name = (byte[]) regEnumValue.invoke(root, new Object[]{

src/main/java/com/laytonsmith/PureUtilities/HeapDumper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class HeapDumper {
99

1010
private static final String HOTSPOT_BEAN_NAME
1111
= "com.sun.management:type=HotSpotDiagnostic";
12-
// field to store the hotspot diagnostic MBean
12+
// field to store the hotspot diagnostic MBean
1313
private static volatile HotSpotDiagnosticMXBean hotspotMBean;
1414

1515
/**

src/main/java/com/laytonsmith/PureUtilities/ZipMaker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private static void MakeZip(Set<File> files, File output, File base, String topL
8181
for(File f : files) {
8282
FileInputStream in = new FileInputStream(new File(base, f.getPath()));
8383

84-
// Add ZIP entry to output stream.
84+
// Add ZIP entry to output stream.
8585
out.putNextEntry(new ZipEntry(topLevel + GetUnabsoluteFile(base, f).getPath()));
8686

8787
// Transfer bytes from the file to the ZIP file

src/main/java/com/laytonsmith/PureUtilities/rParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static String lastColor(String findColor) {
2828
}
2929
}
3030

31-
/*
31+
/*
3232
*
3333
*/
3434
public static String combineSplit(int beginHere, String[] split, String seperator) {
@@ -187,7 +187,7 @@ private static int charLength(char x) {
187187
//=====================================================================
188188
//Function: colorChange
189189
//Input: char colour: The color code to find the color for
190-
//Output: String: The color that the code identified
190+
//Output: String: The color that the code identified
191191
//Use: Finds a color giving a color code
192192
//=====================================================================
193193
public static String colorChange(char colour) {

src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCBeaconInventory.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010
import com.laytonsmith.abstraction.bukkit.blocks.BukkitMCBeacon;
1111

1212
public class BukkitMCBeaconInventory extends BukkitMCInventory implements MCBeaconInventory {
13-
13+
1414
private BeaconInventory inv;
15-
15+
1616
public BukkitMCBeaconInventory(BeaconInventory inv) {
1717
super(inv);
1818
this.inv = inv;
1919
}
20-
20+
2121
@Override
2222
public MCItemStack getItem() {
2323
return new BukkitMCItemStack(this.inv.getItem());
2424
}
25-
25+
2626
@Override
2727
public void setItem(MCItemStack stack) {
2828
this.inv.setItem((ItemStack) stack.getHandle());
2929
}
30-
30+
3131
@Override
3232
public MCBeacon getHolder() {
3333
return new BukkitMCBeacon((Beacon) this.inv.getHolder());

src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCBrewerInventory.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,64 +10,64 @@
1010
import com.laytonsmith.abstraction.bukkit.blocks.BukkitMCBrewingStand;
1111

1212
public class BukkitMCBrewerInventory extends BukkitMCInventory implements MCBrewerInventory {
13-
13+
1414
private BrewerInventory inv;
15-
15+
1616
public BukkitMCBrewerInventory(BrewerInventory inv) {
1717
super(inv);
1818
this.inv = inv;
1919
}
20-
20+
2121
@Override
2222
public MCItemStack getFuel() {
2323
return new BukkitMCItemStack(this.inv.getFuel());
2424
}
25-
25+
2626
@Override
2727
public MCItemStack getIngredient() {
2828
return new BukkitMCItemStack(this.inv.getIngredient());
2929
}
30-
30+
3131
@Override
3232
public MCItemStack getLeftBottle() {
3333
return new BukkitMCItemStack(this.inv.getItem(0));
3434
}
35-
35+
3636
@Override
3737
public MCItemStack getMiddleBottle() {
3838
return new BukkitMCItemStack(this.inv.getItem(1));
3939
}
40-
40+
4141
@Override
4242
public MCItemStack getRightBottle() {
4343
return new BukkitMCItemStack(this.inv.getItem(2));
4444
}
45-
45+
4646
@Override
4747
public void setFuel(MCItemStack stack) {
4848
this.inv.setFuel((ItemStack) stack.getHandle());
4949
}
50-
50+
5151
@Override
5252
public void setIngredient(MCItemStack stack) {
5353
this.inv.setIngredient((ItemStack) stack.getHandle());
5454
}
55-
55+
5656
@Override
5757
public void setLeftBottle(MCItemStack stack) {
5858
this.inv.setItem(0, (ItemStack) stack.getHandle());
5959
}
60-
60+
6161
@Override
6262
public void setMiddleBottle(MCItemStack stack) {
6363
this.inv.setItem(1, (ItemStack) stack.getHandle());
6464
}
65-
65+
6666
@Override
6767
public void setRightBottle(MCItemStack stack) {
6868
this.inv.setItem(2, (ItemStack) stack.getHandle());
6969
}
70-
70+
7171
@Override
7272
public MCBrewingStand getHolder() {
7373
return new BukkitMCBrewingStand((BrewingStand) this.inv.getHolder());

src/main/java/com/laytonsmith/abstraction/bukkit/BukkitMCFurnaceInventory.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,44 @@
99
import com.laytonsmith.abstraction.bukkit.blocks.BukkitMCFurnace;
1010

1111
public class BukkitMCFurnaceInventory extends BukkitMCInventory implements MCFurnaceInventory {
12-
12+
1313
private FurnaceInventory inv;
14-
14+
1515
public BukkitMCFurnaceInventory(FurnaceInventory inv) {
1616
super(inv);
1717
this.inv = inv;
1818
}
19-
19+
2020
@Override
2121
public MCItemStack getResult() {
2222
return new BukkitMCItemStack(this.inv.getResult());
2323
}
24-
24+
2525
@Override
2626
public MCItemStack getFuel() {
2727
return new BukkitMCItemStack(this.inv.getFuel());
2828
}
29-
29+
3030
@Override
3131
public MCItemStack getSmelting() {
3232
return new BukkitMCItemStack(this.inv.getSmelting());
3333
}
34-
34+
3535
@Override
3636
public void setFuel(MCItemStack stack) {
3737
this.inv.setFuel((ItemStack) stack.getHandle());
3838
}
39-
39+
4040
@Override
4141
public void setResult(MCItemStack stack) {
4242
this.inv.setResult((ItemStack) stack.getHandle());
4343
}
44-
44+
4545
@Override
4646
public void setSmelting(MCItemStack stack) {
4747
this.inv.setSmelting((ItemStack) stack.getHandle());
4848
}
49-
49+
5050
@Override
5151
public MCFurnace getHolder() {
5252
return new BukkitMCFurnace(this.inv.getHolder());

src/main/java/com/laytonsmith/abstraction/bukkit/blocks/BukkitMCBeacon.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
import org.bukkit.entity.LivingEntity;
1414

1515
public class BukkitMCBeacon extends BukkitMCBlockState implements MCBeacon {
16-
16+
1717
private Beacon beacon;
18-
18+
1919
public BukkitMCBeacon(Beacon block) {
2020
super(block);
2121
this.beacon = block;
2222
}
23-
23+
2424
@Override
2525
public MCBeaconInventory getInventory() {
2626
return new BukkitMCBeaconInventory(this.beacon.getInventory());
2727
}
28-
28+
2929
@Override
3030
public Collection<MCLivingEntity> getEntitiesInRange() {
3131
HashSet<MCLivingEntity> ret = new HashSet<>();
@@ -34,29 +34,29 @@ public Collection<MCLivingEntity> getEntitiesInRange() {
3434
}
3535
return ret;
3636
}
37-
37+
3838
// @Override
3939
// public MCPotionEffect getPrimaryEffect() {
4040
// // TODO Implement.
4141
// return null;
4242
// }
43-
//
43+
//
4444
// @Override
4545
// public MCPotionEffect getSecondaryEffect() {
4646
// // TODO Implement.
4747
// return null;
4848
// }
49-
49+
5050
@Override
5151
public int getTier() {
5252
return this.beacon.getTier();
5353
}
54-
54+
5555
// @Override
5656
// public void setPrimaryEffect(MCPotionEffect effect) {
5757
// this.beacon.setPrimaryEffect(effect.getHandle());
5858
// }
59-
//
59+
//
6060
// @Override
6161
// public void setSecondaryEffect(MCPotionEffect effect) {
6262
// this.beacon.setSecondaryEffect(effect.getHandle());

0 commit comments

Comments
 (0)