code: @Deprecated
      public static boolean writeObjectIfChanged(Object obj, String filepath) {
          try {
              return writeObjectIfChangedOrDie(obj, filepath, LOGGER);
          } catch (Exception e) {
              LOGGER.error(e.getClass() + ": writeObjectIfChanged(" + filepath + ") encountered exception: " + e.getMessage(), e);
              return false;
          }
      }
docs: Writes an object to a file only if it is different from the current
  contents of the file, or if the file does not exist.  Note that you must
  have enough heap to contain the entire contents of the object graph.
  
  @return true if the file was actually written, false otherwise
  @deprecated use {@link #writeObjectIfChangedOrDie(Object, String, org.apache.log4j.Logger)} instead