gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 823f42e)
raw | patch | inline | side by side (parent: 823f42e)
author | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 8 Nov 2015 13:58:14 +0000 (14:58 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 8 Nov 2015 13:58:14 +0000 (14:58 +0100) |
Hash/Kancelarija.java | patch | blob | history |
diff --git a/Hash/Kancelarija.java b/Hash/Kancelarija.java
index 1772ec49e2dd1566f026818791112a18f3273fd0..9447969d471e50d22528492d5f5ece5b388e7d36 100644 (file)
--- a/Hash/Kancelarija.java
+++ b/Hash/Kancelarija.java
+import java.util.Objects;
+
import org.svetovid.io.SvetovidReader;
/**
Kancelarija k2 = (Kancelarija) o;
// Prvo proveravamo broj
- if (broj != other.broj) {
+ if (broj != k2.broj) {
return false;
}
// A potom prezime
- if (!Objects.equals(prezime, other.prezime)) {
+ if (!Objects.equals(prezime, k2.prezime)) {
return false;
}