Frameworks/base: Use || instead of |
Nothing wrong with | in this case, but || is canonical. Bug: 19797138 Change-Id: I5f145736a5470f7cde06efce9a217d86eda2135f
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user