Code format

This commit is contained in:
yueh
2015-08-06 18:49:57 +02:00
parent c21a44d8c0
commit 9c8deac9de
119 changed files with 430 additions and 401 deletions
@@ -220,7 +220,6 @@ public final class CompassService
}
}
private class CMDirectionRequest implements Runnable
{
@@ -91,7 +91,7 @@ public final class VersionChecker implements Runnable
/**
* checks if enough time since last check has expired
*
* @param nowInMs now in milli seconds
* @param nowInMs now in milli seconds
* @param lastAfterInterval last version check including the interval defined in the config
*/
private void processInterval( long nowInMs, long lastAfterInterval )
@@ -118,7 +118,7 @@ public final class VersionChecker implements Runnable
* Checks if the retrieved version is newer as the current mod version.
* Will notify player if config is enabled.
*
* @param modVersion version of mod
* @param modVersion version of mod
* @param githubRelease release retrieved through github
*/
private void processVersions( Version modVersion, FormattedRelease githubRelease )
@@ -153,8 +153,8 @@ public final class VersionChecker implements Runnable
* Checks if the version checker mod is installed and handles it depending on that information
*
* @param modFormatted mod version formatted as rv2-beta-8
* @param ghFormatted retrieved github version formatted as rv2-beta-8
* @param changelog retrieved github changelog
* @param ghFormatted retrieved github version formatted as rv2-beta-8
* @param changelog retrieved github changelog
*/
private void interactWithVersionCheckerMod( String modFormatted, String ghFormatted, String changelog )
{
@@ -87,7 +87,7 @@ public final class CompassRegion
private File getFile()
{
final String fileName = this.encoder.encode( this.world, this.lowX, this.lowZ);
final String fileName = this.encoder.encode( this.world, this.lowX, this.lowZ );
return new File( this.worldCompassFolder, fileName );
}
@@ -26,9 +26,9 @@ public interface ICompassCallback
* Called from another thread.
*
* @param hasResult true if found a target
* @param spin true if should spin
* @param radians radians
* @param dist distance
* @param spin true if should spin
* @param radians radians
* @param dist distance
*/
void calculatedDirection( boolean hasResult, boolean spin, double radians, double dist );
}
@@ -1,3 +1,4 @@
package appeng.services.version;
@@ -14,8 +15,8 @@ public abstract class BaseVersion implements Version
/**
* @param revision revision in natural number
* @param channel channel
* @param build build in natural number
* @param channel channel
* @param build build in natural number
*
* @throws AssertionError if assertion are enabled and revision or build are not natural numbers
*/
@@ -1,3 +1,4 @@
package appeng.services.version;
@@ -9,8 +10,8 @@ public final class DefaultVersion extends BaseVersion
{
/**
* @param revision natural number
* @param channel either alpha, beta or release
* @param build natural number
* @param channel either alpha, beta or release
* @param build natural number
*/
public DefaultVersion( int revision, Channel channel, int build )
{
@@ -1,3 +1,4 @@
package appeng.services.version;
@@ -1,3 +1,4 @@
package appeng.services.version;
@@ -1,3 +1,4 @@
package appeng.services.version;
@@ -1,3 +1,4 @@
package appeng.services.version.github;
@@ -1,3 +1,4 @@
package appeng.services.version.github;
@@ -1,3 +1,4 @@
package appeng.services.version.github;
@@ -1,3 +1,4 @@
package appeng.services.version.github;
@@ -1,3 +1,4 @@
package appeng.services.version.github;