Skip to content

Commit

Permalink
fix some lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rokob committed May 16, 2018
1 parent 12747e5 commit 4bd9767
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ There is an Android specific part of the library. Therefore for Android you shou
interface which requires you to add this dependency to your build process. For example,

```groovy
compile('com.rollbar:rollbar-api:1.1.0')
compile('com.rollbar:rollbar-java:1.1.0')
compile('com.rollbar:rollbar-android:1.1.0@aar')
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ public class RequestProvider implements Provider<Request> {
private final String userIpHeaderName;
private final int captureIp;

static final String CAPTURE_IP_ANONYMIZE = "anonymize";
static final String CAPTURE_IP_NONE = "none";
static final int CAPTURE_IP_TYPE_FULL = 0;
static final int CAPTURE_IP_TYPE_ANONYMIZE = 1;
static final int CAPTURE_IP_TYPE_NONE = 2;
// CAPTURE_IP_ANONYMIZE is the string value used to signify anonymizing captured IP addresses
public static final String CAPTURE_IP_ANONYMIZE = "anonymize";
// CAPTURE_IP_NONE is the string value used to signify not capturing IP addresses
public static final String CAPTURE_IP_NONE = "none";

private static final int CAPTURE_IP_TYPE_FULL = 0;
private static final int CAPTURE_IP_TYPE_ANONYMIZE = 1;
private static final int CAPTURE_IP_TYPE_NONE = 2;

/**
* Constructor.
Expand Down

0 comments on commit 4bd9767

Please sign in to comment.