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

Side by Side Diff: tools/android/findbugs_plugin/test/java/src/org/chromium/tools/findbugs/plugin/SimpleSynchronizedStaticMethod.java

Issue 600983002: [Checkstyle] Fix misc style issues in Java files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 2 months 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.tools.findbugs.plugin; 5 package org.chromium.tools.findbugs.plugin;
6 6
7 /** 7 /**
8 * This class is used to test SynchronizedMethodDetector 8 * This class is used to test SynchronizedMethodDetector
9 */ 9 */
10 class SimpleSynchronizedStaticMethod { 10 class SimpleSynchronizedStaticMethod {
11 private static int i = 0; 11 private static int sCounter = 0;
12 synchronized static void synchronizedStaticMethod() { 12
13 i++; 13 static synchronized void synchronizedStaticMethod() {
14 } 14 sCounter++;
15 }
15 } 16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698