Reorder static final modifier

This commit is contained in:
AsamK 2023-11-10 14:03:13 +01:00
parent b20978e08e
commit c0aa338d7c
91 changed files with 137 additions and 137 deletions

View file

@ -2,14 +2,14 @@ package org.asamk.signal;
public class BaseConfig {
public final static String PROJECT_NAME = BaseConfig.class.getPackage().getImplementationTitle();
public final static String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion();
public static final String PROJECT_NAME = BaseConfig.class.getPackage().getImplementationTitle();
public static final String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion();
final static String USER_AGENT_SIGNAL_ANDROID = "Signal-Android/6.39.1";
final static String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null
static final String USER_AGENT_SIGNAL_ANDROID = "Signal-Android/6.39.1";
static final String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null
? "signal-cli"
: PROJECT_NAME + "/" + PROJECT_VERSION;
final static String USER_AGENT = USER_AGENT_SIGNAL_ANDROID + " " + USER_AGENT_SIGNAL_CLI;
static final String USER_AGENT = USER_AGENT_SIGNAL_ANDROID + " " + USER_AGENT_SIGNAL_CLI;
private BaseConfig() {
}