summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-17 20:28:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-17 20:28:53 +0000
commit0ae488e1cb64318906397a40d8be4866e81e4860 (patch)
tree2e3eb3aec975732ffe3715eb01378c0b422a1ed4
parent4d9076437c0270cd863493f505e734a3108e89ea (diff)
parente1b9262084362c2001b421d6ed2b2e14083870ef (diff)
downloadframeworks_base-0ae488e1cb64318906397a40d8be4866e81e4860.zip
frameworks_base-0ae488e1cb64318906397a40d8be4866e81e4860.tar.gz
frameworks_base-0ae488e1cb64318906397a40d8be4866e81e4860.tar.bz2
Merge "Frameworks/base: Use || instead of |"
-rw-r--r--core/java/android/util/PathParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/util/PathParser.java b/core/java/android/util/PathParser.java
index 92b19be..18dc262 100644
--- a/core/java/android/util/PathParser.java
+++ b/core/java/android/util/PathParser.java
@@ -164,7 +164,7 @@ public class PathParser {
* @return array of floats
*/
private static float[] getFloats(String s) {
- if (s.charAt(0) == 'z' | s.charAt(0) == 'Z') {
+ if (s.charAt(0) == 'z' || s.charAt(0) == 'Z') {
return new float[0];
}
try {