Fixed more typos.

This commit is contained in:
Relintai 2023-01-16 01:22:29 +01:00
parent 5d2cd49139
commit ee1a7ad8ce
5 changed files with 12 additions and 12 deletions

View File

@ -140,7 +140,7 @@ public class APKExpansionPolicy implements Policy {
}
// Update server policy data
RBMap<String, String> extras = decodeExtras(rawData);
Map<String, String> extras = decodeExtras(rawData);
if (response == Policy.LICENSED) {
mLastResponse = response;
// Reset the licensing URL since it is only applicable for NOT_LICENSED responses.
@ -395,9 +395,9 @@ public class APKExpansionPolicy implements Policy {
return false;
}
private RBMap<String, String> decodeExtras(
private Map<String, String> decodeExtras(
com.google.android.vending.licensing.ResponseData rawData) {
RBMap<String, String> results = new HashMap<String, String>();
Map<String, String> results = new HashMap<String, String>();
if (rawData == null) {
return results;
}

View File

@ -112,7 +112,7 @@ public class ServerManagedPolicy implements Policy {
}
// Update server policy data
RBMap<String, String> extras = decodeExtras(rawData);
Map<String, String> extras = decodeExtras(rawData);
if (response == Policy.LICENSED) {
mLastResponse = response;
// Reset the licensing URL since it is only applicable for NOT_LICENSED responses.
@ -281,9 +281,9 @@ public class ServerManagedPolicy implements Policy {
return false;
}
private RBMap<String, String> decodeExtras(
private Map<String, String> decodeExtras(
com.google.android.vending.licensing.ResponseData rawData) {
RBMap<String, String> results = new HashMap<String, String>();
Map<String, String> results = new HashMap<String, String>();
if (rawData == null) {
return results;
}

View File

@ -62,7 +62,7 @@ public class StrictPolicy implements Policy {
mLastResponse = response;
if (response == Policy.NOT_LICENSED) {
RBMap<String, String> extras = decodeExtras(rawData);
Map<String, String> extras = decodeExtras(rawData);
mLicensingUrl = extras.get("LU");
}
}
@ -81,9 +81,9 @@ public class StrictPolicy implements Policy {
return mLicensingUrl;
}
private RBMap<String, String> decodeExtras(
private Map<String, String> decodeExtras(
com.google.android.vending.licensing.ResponseData rawData) {
RBMap<String, String> results = new HashMap<String, String>();
Map<String, String> results = new HashMap<String, String>();
if (rawData == null) {
return results;
}

View File

@ -34,7 +34,7 @@ public class URIQueryDecoder {
* @param results a map containing all query parameters. Query parameters that do not have a
* value will map to a null string
*/
static public void DecodeQuery(URI encodedURI, RBMap<String, String> results) {
static public void DecodeQuery(URI encodedURI, Map<String, String> results) {
Scanner scanner = new Scanner(encodedURI.getRawQuery());
scanner.useDelimiter("&");
try {

View File

@ -129,7 +129,7 @@ public abstract class PandemoniumPlugin {
pluginInfoProvider.onPluginRegistered();
}
private static RBMap<String, SignalInfo> registerPluginWithPandemoniumNative(Object pluginObject,
private static Map<String, SignalInfo> registerPluginWithPandemoniumNative(Object pluginObject,
String pluginName, List<String> pluginMethods, RBSet<SignalInfo> pluginSignals,
RBSet<String> pluginGDNativeLibrariesPaths) {
nativeRegisterSingleton(pluginName, pluginObject);
@ -168,7 +168,7 @@ public abstract class PandemoniumPlugin {
}
// Register the signals for this plugin.
RBMap<String, SignalInfo> registeredSignals = new HashMap<>();
Map<String, SignalInfo> registeredSignals = new HashMap<>();
for (SignalInfo signalInfo : pluginSignals) {
String signalName = signalInfo.getName();
nativeRegisterSignal(pluginName, signalName, signalInfo.getParamTypesNames());