From 487cb10cf0d79e11c745578181513faa6e2069b1 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 28 Feb 2018 14:57:18 +0100 Subject: [PATCH] Rename ScrCpyServer to Server The Server class is in package scrcpy, there is no need to repeat the name in the classname. --- app/src/server.c | 2 +- .../com/genymobile/scrcpy/{ScrCpyServer.java => Server.java} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename server/src/main/java/com/genymobile/scrcpy/{ScrCpyServer.java => Server.java} (97%) diff --git a/app/src/server.c b/app/src/server.c index 18388a93..c1ffa1f4 100644 --- a/app/src/server.c +++ b/app/src/server.c @@ -50,7 +50,7 @@ static process_t execute_server(const char *serial, Uint16 max_size, Uint32 bit_ "CLASSPATH=/data/local/tmp/scrcpy-server.jar", "app_process", "/", // unused - "com.genymobile.scrcpy.ScrCpyServer", + "com.genymobile.scrcpy.Server", max_size_string, bit_rate_string, }; diff --git a/server/src/main/java/com/genymobile/scrcpy/ScrCpyServer.java b/server/src/main/java/com/genymobile/scrcpy/Server.java similarity index 97% rename from server/src/main/java/com/genymobile/scrcpy/ScrCpyServer.java rename to server/src/main/java/com/genymobile/scrcpy/Server.java index 1476d22f..5df436d1 100644 --- a/server/src/main/java/com/genymobile/scrcpy/ScrCpyServer.java +++ b/server/src/main/java/com/genymobile/scrcpy/Server.java @@ -2,9 +2,9 @@ package com.genymobile.scrcpy; import java.io.IOException; -public final class ScrCpyServer { +public final class Server { - private ScrCpyServer() { + private Server() { // not instantiable }