Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix warnings #16

Merged
merged 1 commit into from

2 participants

@atambo
Collaborator

No description provided.

@desmos desmos merged commit 9b3d474 into desmos:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 23, 2011
  1. @atambo

    Fix warnings

    atambo authored
This page is out of date. Refresh to see the latest.
View
3  app/src/common/logging/AppLogger.java
@@ -1,8 +1,5 @@
package common.logging;
-import java.util.Map;
-
-import com.google.common.collect.ImmutableMap;
import common.annotations.Nullable;
import android.util.Log;
View
3  app/src/frontend/ui/main/MainActivity.java
@@ -7,7 +7,6 @@
import com.google.common.collect.ImmutableSet;
import common.annotations.Nullable;
import common.logging.AppLogger;
-import frontend.ui.run.GameThread;
import frontend.ui.run.GameView;
/**
@@ -26,7 +25,7 @@ public void onCreate(Bundle savedInstanceState) {
gameView = (GameView) findViewById(R.id.gameView);
// Use Immutable collections everywhere!
- ImmutableSet environmentSet = ImmutableSet.of(testEnvironment("Test that you have guava setup correctly"));
+ ImmutableSet<String> environmentSet = ImmutableSet.of(testEnvironment("Test that you have guava setup correctly"));
// Use AppLogger it is better than {@link Log}
AppLogger.log(android.util.Log.INFO, environmentSet.toString());
}
View
1  app/src/frontend/ui/run/GameView.java
@@ -2,7 +2,6 @@
import static com.google.common.base.Preconditions.checkState;
import static common.logging.AppLogger.logMethod;
-import static frontend.ui.run.GameThread.ThreadState.STATE_READY;
import static frontend.ui.run.GameThread.ThreadState.STATE_TERMINATED;
import android.content.Context;
Something went wrong with that request. Please try again.