You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Remove empty lines around braces with the formatting script
This commit is contained in:
@@ -760,9 +760,7 @@ public class Godot extends Fragment implements SensorEventListener, IDownloaderC
|
||||
|
||||
/*
|
||||
@Override public boolean dispatchKeyEvent(KeyEvent event) {
|
||||
|
||||
if (event.getKeyCode()==KeyEvent.KEYCODE_BACK) {
|
||||
|
||||
System.out.printf("** BACK REQUEST!\n");
|
||||
|
||||
GodotLib.quit();
|
||||
|
||||
@@ -52,7 +52,6 @@ import org.godotengine.godot.plugin.GodotPluginRegistry
|
||||
* @see [VkSurfaceView.startRenderer]
|
||||
*/
|
||||
internal class VkRenderer {
|
||||
|
||||
private val pluginRegistry: GodotPluginRegistry = GodotPluginRegistry.getPluginRegistry()
|
||||
|
||||
/**
|
||||
|
||||
@@ -50,7 +50,6 @@ import android.view.SurfaceView
|
||||
* </ul>
|
||||
*/
|
||||
open internal class VkSurfaceView(context: Context) : SurfaceView(context), SurfaceHolder.Callback {
|
||||
|
||||
companion object {
|
||||
fun checkState(expression: Boolean, errorMessage: Any) {
|
||||
check(expression) { errorMessage.toString() }
|
||||
|
||||
@@ -41,7 +41,6 @@ import kotlin.concurrent.withLock
|
||||
* The implementation is modeled after [android.opengl.GLSurfaceView]'s GLThread.
|
||||
*/
|
||||
internal class VkThread(private val vkSurfaceView: VkSurfaceView, private val vkRenderer: VkRenderer) : Thread(TAG) {
|
||||
|
||||
companion object {
|
||||
private val TAG = VkThread::class.java.simpleName
|
||||
}
|
||||
@@ -226,5 +225,4 @@ internal class VkThread(private val vkSurfaceView: VkSurfaceView, private val vk
|
||||
threadExiting()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user