Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions jme3-core/src/main/java/com/jme3/material/MatParam.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,10 @@ public void read(JmeImporter im) throws IOException {

@Override
public boolean equals(Object obj) {
// Optimization for same instance
if (this == obj) {
return true;
if (obj == null) {
return false;
}
if (obj == null || getClass() != obj.getClass()) {
if (getClass() != obj.getClass()) {
return false;
}

Expand Down