FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

removed unnecessary usage of `public` on interface methods by jccarrillo · Pull Request #172 · aws/aws-lambda-java-libs · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (6) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
    • Client.java
    • ClientContext.java
    • CognitoIdentity.java
    • LambdaLogger.java
    • RequestHandler.java
    • RequestStreamHandler.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,28 @@ public interface Client {
/**
* Gets the application's installation id
*/
public String getInstallationId();
String getInstallationId();

/**
* Gets the application's title
*
*/
public String getAppTitle();
String getAppTitle();

/**
* Gets the application's version
*
*/
public String getAppVersionName();
String getAppVersionName();

/**
* Gets the application's version code
*
*/
public String getAppVersionCode();
String getAppVersionCode();

/**
* Gets the application's package name
*/
public String getAppPackageName();
String getAppPackageName();
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ public interface ClientContext {
* Gets the client information provided by the AWS Mobile SDK
*
*/
public Client getClient();
Client getClient();

/**
* Gets custom values set by the client application
* <p>
* This map is mutable (and not thread-safe if mutated)
* </p>
*/
public Map<String, String> getCustom();
Map<String, String> getCustom();

/**
* Gets environment information provided by mobile SDK, immutable.
*
*/
public Map<String, String> getEnvironment();
Map<String, String> getEnvironment();

}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public interface CognitoIdentity {
* Gets the Amazon Cognito identity ID
*
*/
public String getIdentityId();
String getIdentityId();

/**
* Gets the Amazon Cognito identity pool ID
*
*/
public String getIdentityPoolId();
String getIdentityPoolId();
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ public interface LambdaLogger {
*
* @param message A string containing the event to log.
*/
public void log(String message);
void log(String message);

/**
* Logs a byte array to AWS CloudWatch Logs
* @param message byte array containing logs
*/
public void log(byte[] message);
void log(byte[] message);
}

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ public interface RequestHandler<I, O> {
* @param context The Lambda execution environment context object.
* @return The Lambda Function output
*/
public O handleRequest(I input, Context context);
O handleRequest(I input, Context context);
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ public interface RequestStreamHandler {
* @param context The Lambda execution environment context object.
* @throws IOException
*/
public void handleRequest(InputStream input, OutputStream output, Context context) throws IOException;
void handleRequest(InputStream input, OutputStream output, Context context) throws IOException;
}

Back | FazBrowse Home | New Git URL