Bug 33843 - jni_utility.[cpp|h] and jni_utility_private.[cpp|h] should be renamed
Summary: jni_utility.[cpp|h] and jni_utility_private.[cpp|h] should be renamed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Steve Block
URL:
Keywords:
Depends on: 33870
Blocks: 33712 33901
  Show dependency treegraph
 
Reported: 2010-01-19 08:00 PST by Steve Block
Modified: 2010-02-02 08:19 PST (History)
3 users (show)

See Also:


Attachments
Patch 1 for Bug 33843 (88.58 KB, patch)
2010-01-19 08:13 PST, Steve Block
levin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Block 2010-01-19 08:00:43 PST
WebCore/bridge/jni/jni_utility.[cpp|h] and WebCore/bridge/jni/jsc/jni_utility_private.[cpp|h] should be renamed to follow standard naming conventions.
Comment 1 Steve Block 2010-01-19 08:13:56 PST
Created attachment 46909 [details]
Patch 1 for Bug 33843
Comment 2 WebKit Review Bot 2010-01-19 08:15:23 PST
Attachment 46909 [details] did not pass style-queue:

Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
Last 3072 characters of output:
ore/bridge/jni/JNIUtility.cpp:185:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
WebCore/bridge/jni/JNIUtility.cpp:187:  Missing space after ,  [whitespace/comma] [3]
WebCore/bridge/jni/JNIUtility.cpp:187:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
WebCore/bridge/jni/JNIUtility.cpp:200:  A case label should not be indented, but line up with its switch statement.  [whitespace/indent] [4]
WebCore/bridge/jni/JNIUtility.cpp:199:  Missing space before {  [whitespace/braces] [5]
WebCore/bridge/jni/JNIUtility.cpp:243:  A case label should not be indented, but line up with its switch statement.  [whitespace/indent] [4]
WebCore/bridge/jni/JNIUtility.cpp:242:  Missing space before {  [whitespace/braces] [5]
WebCore/bridge/jni/JNIUtility.cpp:282:  Extra space after ( in function call  [whitespace/parens] [4]
WebCore/bridge/jni/JNIUtility.cpp:284:  Declaration has space between type name and * in JavaVM *jvm  [whitespace/declaration] [3]
WebCore/bridge/jni/JNIUtility.cpp:285:  Declaration has space between type name and * in JNIEnv *env  [whitespace/declaration] [3]
WebCore/bridge/jni/JNIUtility.cpp:288:  Extra space before ( in function call  [whitespace/parens] [4]
WebCore/bridge/jni/JNIUtility.cpp:289:  Mismatching spaces inside () in if  [whitespace/parens] [5]
WebCore/bridge/jni/JNIUtility.cpp:289:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
WebCore/bridge/jni/JNIUtility.cpp:289:  Use 0 instead of NULL.  [readability/null] [5]
WebCore/bridge/jni/JNIUtility.cpp:291:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
WebCore/bridge/jni/JNIUtility.cpp:291:  Use 0 instead of NULL.  [readability/null] [5]
WebCore/bridge/jni/JNIUtility.cpp:293:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
WebCore/bridge/jni/JNIUtility.cpp:293:  Use 0 instead of NULL.  [readability/null] [5]
WebCore/bridge/jni/JNIUtility.cpp:327:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
WebCore/bridge/jni/JNIUtility.cpp:328:  This { should be at the end of the previous line  [whitespace/braces] [4]
WebCore/bridge/jni/JNIUtility.cpp:332:  Extra space before ( in function call  [whitespace/parens] [4]
WebCore/bridge/jni/JNIUtility.cpp:337:  An else should appear on the same line as the preceding }  [whitespace/newline] [4]
WebCore/bridge/jni/JNIUtility.cpp:339:  One line control clauses should not use braces.  [whitespace/braces] [4]
WebCore/bridge/jni/JNIUtility.cpp:345:  One space before end of line comments  [whitespace/comments] [5]
Skipping input 'WebCore/bridge/jni/jsc/jni_utility_private.cpp': Can't open for reading
Total errors found: 85


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Steve Block 2010-01-19 08:44:19 PST
(In reply to comment #2)
> Attachment 46909 [details] did not pass style-queue:
I'll fix the style in the moved code in a separate patch.
Comment 4 Steve Block 2010-01-19 14:37:22 PST
Landed manually as http://trac.webkit.org/changeset/53497

Opened Bug 33870 to fix style in moved code.
Comment 5 Steve Block 2010-01-20 02:01:44 PST
Style is now fixed

Closing bug as resolved