Skip to content

Commit

Permalink
implemented default hasCode
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Jan 7, 2025
1 parent c25151a commit 3c5a95d
Show file tree
Hide file tree
Showing 21 changed files with 123 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,20 @@ public void onSuccess(Void result) {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}

@Override
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -853,4 +853,9 @@ public void onChanged(ChangedEvent event) {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,9 @@ public void addFolderChangeListener(FolderChangeListener listener) {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,9 @@ public int getSelectionHeight() {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,9 @@ public void zoom(double zoomLevel) {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,9 @@ public List<Canvas> getCanvases() {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,9 @@ public void setClickHandler(ClickHandler clickHandler) {
public boolean equals(Object other) {
return super.equals(other);
}
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,9 @@ public void setAlignLeft(boolean alignLeft) {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,9 @@ protected FormItem preparePasswordItem() {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,9 @@ public void onSelect(long id) {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,9 @@ public String getText() {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,9 @@ public void destroy() {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}

/**
* Saves the actual item content in a global Javascript variable that can be
* accessed by the HTML editor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,14 @@ public String getColorFieldName() {
public void setColorFieldName(String colorFieldName) {
this.colorFieldName = colorFieldName;
}

@Override
public boolean equals(Object obj) {
return super.equals(obj);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,9 @@ else if (iconName.contains("workspace"))
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,14 @@ public void onSuccess(GUIDocument doc) {

return contextMenu;
}

@Override
public boolean equals(Object obj) {
return super.equals(obj);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import java.util.List;

import com.google.gwt.http.client.URL;
import com.logicaldoc.gui.common.client.Feature;
import com.logicaldoc.gui.common.client.DefaultAsyncCallback;
import com.logicaldoc.gui.common.client.Feature;
import com.logicaldoc.gui.common.client.Menu;
import com.logicaldoc.gui.common.client.Session;
import com.logicaldoc.gui.common.client.beans.GUIDocument;
Expand Down Expand Up @@ -417,7 +417,12 @@ private void showConfirmReadingPanel() {
public boolean equals(Object other) {
return super.equals(other);
}


@Override
public int hashCode() {
return super.hashCode();
}

/**
* Declares the javascript function used to notify when the document has
* been completely read
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,9 @@ private void reloadPreview(GUIDocument doc) {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,9 @@ private void initGUI() {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,9 @@ public void refresh() {
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -421,4 +421,9 @@ else if (!emailForm2.validate())
public boolean equals(Object other) {
return super.equals(other);
}

@Override
public int hashCode() {
return super.hashCode();
}
}

0 comments on commit 3c5a95d

Please sign in to comment.