Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: components/safe_json/android/java/src/org/chromium/components/safejson/JsonSanitizer.java

Issue 2548013002: Remove redundant field initialization in Java code. (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/safe_json/android/java/src/org/chromium/components/safejson/JsonSanitizer.java
diff --git a/components/safe_json/android/java/src/org/chromium/components/safejson/JsonSanitizer.java b/components/safe_json/android/java/src/org/chromium/components/safejson/JsonSanitizer.java
index 9ab07a7c762d0a40aeb43777525153671d78a68b..d47db130c9100274944ec661fa6ddf1b28c83634 100644
--- a/components/safe_json/android/java/src/org/chromium/components/safejson/JsonSanitizer.java
+++ b/components/safe_json/android/java/src/org/chromium/components/safejson/JsonSanitizer.java
@@ -127,7 +127,7 @@ public class JsonSanitizer {
* Helper class to check nesting depth of JSON expressions.
*/
private static class StackChecker {
- private int mStackDepth = 0;
+ private int mStackDepth;
public void increaseAndCheck() {
if (++mStackDepth >= MAX_NESTING_DEPTH) {

Powered by Google App Engine
This is Rietveld 408576698