diff src/goodjava/util/GoodUtils.java @ 1870:e3a8568a11be

swing
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 02 Apr 2025 21:18:25 -0600
parents 1725fdb6c4f5
children
line wrap: on
line diff
--- a/src/goodjava/util/GoodUtils.java	Wed Apr 02 17:41:21 2025 -0600
+++ b/src/goodjava/util/GoodUtils.java	Wed Apr 02 21:18:25 2025 -0600
@@ -87,4 +87,8 @@
 		return sb.toString();
 	}
 
+	public static boolean equal(Object o1,Object o2) {
+		return o1==null ? o2==null : o1.equals(o2);
+	}
+
 }