yueh
500fc47490
Reduces visibility of internal fields/methods
...
Reduces the visibility of all fields to private and create setters/getters
when necessary. Exceptions are fields with GuiSync as these need to be
public.
Reduces the visibility of internal methods to private/protected/default when possible.
2015-10-30 18:52:20 +01:00
thatsIch
410d2f1e0d
final variables and parameters
...
seeing some methods it does actually help to enforce the parameters
2015-09-26 21:08:18 +02:00
thatsIch
4b3d7c7d03
Replace with array initializer
...
this can be done through http://docs.oracle.com/javase/specs/jls/se6/html/arrays.html#10.6
2015-09-25 23:04:36 +02:00
yueh
0de7a2d83a
Closes #1283 : Add custom Callable to prevent memory leaks
2015-08-20 21:04:06 +02:00
yueh
a5287f6779
Qualified field and method access
2015-08-06 19:08:04 +02:00
yueh
1c2df4f380
Reset the lastUsedChannels on a gridstorage change
2015-07-06 09:54:05 +02:00
yueh
85de600d16
Splitted channeldata into two ints
...
Previously it did encode the current and previous used channels into the
same as well as mask it with 0xFF. Which lead to an overflow every 256
gridnodes requiring a channel. This will not happen at > 2^31
Also removes the need to bitshift them for every access.
Fixes #1510
2015-06-16 14:57:04 +02:00
thatsIch
d1e4ea6579
Improves the message generated when generating the folder for the compass data.
...
Outsources the encoding of the compass data into the file name
Written tests for the encoding
Did some internal cleaning of the class
2015-06-13 16:05:59 +02:00
thatsIch
1d737c3167
Merge pull request #1425 from thatsIch/e-weaker-collection-type
...
Use weaker collection types
2015-05-09 15:57:57 +02:00
thatsIch
7c9b734948
reduces overly strong type cast
2015-05-09 12:45:46 +02:00
thatsIch
16c0fbe3c1
Use weaker collection types
2015-05-09 12:33:16 +02:00
thatsIch
64ed05a1b4
Puts everywhere brackets
2015-04-29 18:38:24 +02:00
thatsIch
3783ae8619
Improved exceptions
...
Many exceptions got an improvement due to changed class or description or details it is providing.
Is not complete, needs to be done in patches in the regions, where it is needed, since some are just
swallowed.
Removed total usage of pure RuntimeExceptions to 0.
2015-04-21 17:43:24 +02:00
thatsIch
d34c988c88
Basic reformat, hit once, hope never again
2015-04-03 15:07:13 +02:00
thatsIch
52c512635d
Renamed constants
2015-01-01 22:13:10 +01:00
thatsIch
8abf2ed8ac
Basic enhancement of the grid for overall usage
...
has some performance improvement
replaced outdated classes
2014-12-05 23:51:01 +01:00
thatsIch
7505f9b66a
Added copyright to all java files
2014-11-14 12:03:00 +01:00
thatsIch
474596f095
Make fields final if possible to ensure immutability
2014-09-30 09:52:57 +02:00
Andrew
5c5aaa21ee
Merge remote-tracking branch 'upstream/rv2' into rv2
...
Conflicts:
src/main/java/appeng/items/tools/powered/ToolMassCannon.java
2014-09-29 00:26:15 -07:00
thatsIch
f1ffbf08a2
Resolved some unchecked Types
2014-09-28 22:20:14 +02:00
Andrew
da63aca95c
Deleted unnecessary casts with Eclipse
2014-09-28 11:56:16 -07:00
thatsIch
76b147fd5b
Improved readability of variables
...
Hopefully improved semantics of variables
Fixed typos
Added hyphenations
2014-09-28 12:21:34 +02:00
AlgorithmX2
386d18a059
Relocate Source to proper directory.
2014-09-23 19:26:27 -05:00