RESOLVED FIXED Bug 33843
jni_utility.[cpp|h] and jni_utility_private.[cpp|h] should be renamed
https://bugs.webkit.org/show_bug.cgi?id=33843
Summary jni_utility.[cpp|h] and jni_utility_private.[cpp|h] should be renamed
Steve Block
Reported 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.
Attachments
Patch 1 for Bug 33843 (88.58 KB, patch)
2010-01-19 08:13 PST, Steve Block
levin: review+
Steve Block
Comment 1 2010-01-19 08:13:56 PST
WebKit Review Bot
Comment 2 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.
Steve Block
Comment 3 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.
Steve Block
Comment 4 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.
Steve Block
Comment 5 2010-01-20 02:01:44 PST
Style is now fixed Closing bug as resolved
Note You need to log in before you can comment on or make changes to this bug.