From eb8d4ee87c5f681caf8a1c9b4c03c90b71ff851f Mon Sep 17 00:00:00 2001 From: WeichenXu Date: Wed, 7 Sep 2016 21:46:27 -0700 Subject: [PATCH] fix_InterpreterProperty.equals --- .../org/apache/zeppelin/interpreter/InterpreterProperty.java | 1 + 1 file changed, 1 insertion(+) diff --git a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterProperty.java b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterProperty.java index c69de5d4a20..92a23d6054f 100644 --- a/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterProperty.java +++ b/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterProperty.java @@ -75,6 +75,7 @@ public int hashCode() { } public boolean equals(Object o) { + if (o == null) return false; return this.toString().equals(o.toString()); }