Skip to content

Commit

Permalink
Reformat code with Android Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
markusfisch committed Jun 2, 2024
1 parent 4993782 commit b351181
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import android.os.Handler;
import android.os.Looper;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
Expand Down Expand Up @@ -56,8 +55,6 @@

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.concurrent.Executors;
Expand Down Expand Up @@ -109,7 +106,6 @@ public void run() {
private volatile int fps;
private float[] qualityValues;
private float quality = 1f;
private final List<String> currentCompletions = new ArrayList<>();
private Adapter completionsAdapter;

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package de.markusfisch.android.shadereditor.adapter;public class CompletionsAdapter {
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ public Cursor getShaders(boolean sortByLastModification) {
SHADERS_MODIFIED +
" FROM " + SHADERS +
" ORDER BY " + (sortByLastModification
? SHADERS_MODIFIED + " DESC"
: SHADERS_ID),
? SHADERS_MODIFIED + " DESC"
: SHADERS_ID),
null);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ public TokenizeCalculation(@NonNull String text, @NonNull OnTokenized onTokenize
this.text = text;
this.onTokenized = onTokenized;
}

@Override
public List<Token> call() {
Lexer lexer = new Lexer(text);
Expand Down

0 comments on commit b351181

Please sign in to comment.