| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
- Enable checkstyle for unneeded imports.
- Move VideoCaptureFormat to its own class.
- Add java lang classes to jni_generator.py
BUG=424792
Review URL: https://codereview.chromium.org/1205653004
Cr-Commit-Position: refs/heads/master@{#336014}
|
|
|
|
|
|
|
|
|
|
|
| |
NeedBraces will now check for {} in if, while, and for statements.
It will still allow one line inline statements.
BUG=None
Review URL: https://codereview.chromium.org/1054203002
Cr-Commit-Position: refs/heads/master@{#323823}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relevant changes:
- New allowSingleLineStatement property for NeedBraces check to allow
one-line statements.
- New option to Indentation to avoid C style.
See full release notes here:
http://checkstyle.sourceforge.net/releasenotes.html
BUG=None
R=newt@chromium.org
Review URL: https://codereview.chromium.org/1055973002
Cr-Commit-Position: refs/heads/master@{#323564}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit allows the use of checkstyle outside of the main PRESUBMIT
script in src. Since checkstyle can possibly be called from a subfolder
of src the absolute path to the java files are used instead of relative
to src.
We also honor the EXCLUDED_PATH blacklist for Java files.
BUG=446633
Review URL: https://codereview.chromium.org/839583006
Cr-Commit-Position: refs/heads/master@{#312287}
|
|
|
|
|
|
|
|
|
| |
BUG=318404
TBR=samuong@chromium.org
Review URL: https://codereview.chromium.org/744453002
Cr-Commit-Position: refs/heads/master@{#305047}
|
|
|
|
|
|
|
|
|
| |
BUG=None
R=newt@chromium.org
Review URL: https://codereview.chromium.org/740643002
Cr-Commit-Position: refs/heads/master@{#304742}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating to get performance improvements in 6.1
Detailed release notes:
http://checkstyle.sourceforge.net/releasenotes.html
BUG=None
R=newt@chromium.org
Review URL: https://codereview.chromium.org/737963002
Cr-Commit-Position: refs/heads/master@{#304735}
|
|
|
|
|
|
|
|
|
| |
BUG=318404
TBR=boliu@chromium.org,mef@chromium.org,zea@chromium.org,kollas@chromium.org
Review URL: https://codereview.chromium.org/672533002
Cr-Commit-Position: refs/heads/master@{#300753}
|
|
|
|
|
|
|
|
|
|
| |
There are currently 1072 violations of this check in chromium codebase.
BUG=318404
Review URL: https://codereview.chromium.org/650693003
Cr-Commit-Position: refs/heads/master@{#300563}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Release notes for Checkstyle 5.9
http://checkstyle.sourceforge.net/releasenotes.html
The most important part is all the fixes for Indentation check that allows
us to finally enable it for presubmit.
Also adding OWNERS file to checkstyle directory.
BUG=318404
TBR=yfriedman@chromium.org
Review URL: https://codereview.chromium.org/661153003
Cr-Commit-Position: refs/heads/master@{#300353}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After this change we are down to:
- 3 redundant import warnings (due to JNI generator)
- 69 JavaDoc warnings
BUG=318404
R=agl@chromium.org, blundell@chromium.org, boliu@chromium.org, lambroslambrou@chromium.org, nyquist@chromium.org, qinmin@chromium.org, rmcilroy@chromium.org, tedchoc@chromium.org
TBR=yfriedman@chromium.org
Review URL: https://codereview.chromium.org/652603004
Cr-Commit-Position: refs/heads/master@{#299540}
|
|
|
|
|
|
|
|
|
| |
BUG=318404
R=maruel@chromium.org
Review URL: https://codereview.chromium.org/652433004
Cr-Commit-Position: refs/heads/master@{#299513}
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes in 5.8 are described here:
http://checkstyle.sourceforge.net/releasenotes.html
BUG=318404
R=yfriedman@chromium.org
Review URL: https://codereview.chromium.org/644133002
Cr-Commit-Position: refs/heads/master@{#299207}
|
|
|
|
|
|
|
|
|
| |
BUG=318404
TBR=zea@chromium.org,mkosiba@chromium.org
Review URL: https://codereview.chromium.org/600983002
Cr-Commit-Position: refs/heads/master@{#296734}
|
|
|
|
|
|
|
|
|
|
|
| |
Fix up some issues along the way.
BUG=318404
TBR=nyquist@chromium.org,boliu@chromium.org
Review URL: https://codereview.chromium.org/587893002
Cr-Commit-Position: refs/heads/master@{#295884}
|
|
|
|
|
|
|
|
|
| |
BUG=318404,320774
R=newt@chromium.org
Review URL: https://codereview.chromium.org/582303002
Cr-Commit-Position: refs/heads/master@{#295639}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Start checking the following names:
- Method names
- Method parameter names
- Local variables
BUG=318404
TRB=qinmin@chromium.org
R=boliu@chromium.org, qinmin@chromium.org, tedchoc@chromium.org
Review URL: https://codereview.chromium.org/543553002
Cr-Commit-Position: refs/heads/master@{#293354}
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/517403002
Cr-Commit-Position: refs/heads/master@{#292730}
|
|
|
|
|
|
|
|
|
|
| |
BUG=318404
NOTRY=true
Review URL: https://codereview.chromium.org/472503003
Cr-Commit-Position: refs/heads/master@{#289422}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289422 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Start including Checkstyle 5.7 binary to use for Java style presubmit
checks.
BUG=318404
NOTRY=true
R=brettw@chromium.org, yfriedman@chromium.org
Review URL: https://codereview.chromium.org/451313002
Cr-Commit-Position: refs/heads/master@{#289117}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289117 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Static field names start with s.
- static final fields (constants) are ALL_CAPS_WITH_UNDERSCORES.
http://source.android.com/source/code-style.html#follow-field-naming-conventions
BUG=318404
TBR=qinmin
Review URL: https://codereview.chromium.org/455523002
Cr-Commit-Position: refs/heads/master@{#288416}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288416 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Non-public, non-static field names start with m.
http://source.android.com/source/code-style.html#follow-field-naming-conventions
BUG=318404
Review URL: https://codereview.chromium.org/452613002
Cr-Commit-Position: refs/heads/master@{#288299}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288299 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Static final fields can either be "true" constants, e.g.
static final int HEIGHT_PX = 30;
static final String TAG = "MyClass"
or can have mutable state or not "feel" like a constant, e.g.
static final AtomicInteger sNextId;
static final Runnable sSuspendTask;
This allows either naming convention, FIELD_NAME or sFieldName, at the
programmer's discretion.
NOTRY=true
Review URL: https://codereview.chromium.org/112023009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243316 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=320711
Review URL: https://codereview.chromium.org/110773002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239824 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=newt@chromium.org
Review URL: https://codereview.chromium.org/102603002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238488 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
NOTRY=true
Review URL: https://codereview.chromium.org/100183003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238275 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow imports even if it used only for Javadoc.
Making dtrainor@ happy.
BUG=318404
NOTRY=true
Review URL: https://codereview.chromium.org/79423005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236699 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Change catching Exepction and Throwable as warnings.
- Allow comments for EmptyBlocks
- Allow empty methods and contructors.
- Set using finalizer as a warning.
BUG=318404
NOTRY=true
Review URL: https://codereview.chromium.org/81903002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236630 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Make sure that a Java file has Chromium copyright header.
BUG=318404
Review URL: https://codereview.chromium.org/80053002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236481 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing LCURLY and RCURLY from WhitespaceAround rule
as it is already covered by LeftCurly and RightCurly.
BUG=320774
NOTRY=true
Review URL: https://codereview.chromium.org/62803012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235911 0039d316-1c4b-4281-b951-d872f2087c98
|
|
* Added checkstyle configuration file. Checkstyle checks
Java code against our style guide. It integrates with
Eclipse/Eclim or can be run as a standalone script. (See
http://checkstyle.sourceforge.net/)
BUG=318404
Review URL: https://codereview.chromium.org/68333003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234774 0039d316-1c4b-4281-b951-d872f2087c98
|