converting Inline if to if else
I am new to java and i want some help  on converting the below inline if java code to if else.
    public boolean equals(final Object obj) {
      boolean result = true;
     
     if (level != null ? !level.equals(log.level) : log.level != null)
     {
          result = false;
     }
      
      return result;
    }
converting Inline if to if else
===

I am new to java and i want some help  on converting the below inline if java code to if else.
    public boolean equals(final Object obj) {
      boolean result = true;
     
     if (level != null ? !level.equals(log.level) : log.level != null)
     {
          result = false;
     }
      
      return result;
    }