Skip to content

Commit

Permalink
changed setLastSeen(long rd) to setLastSeen();
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@949 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
borg-0300 committed Oct 17, 2005
1 parent cdbaf63 commit bcb0d6d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/de/anomic/yacy/yacySeed.java
Expand Up @@ -184,11 +184,11 @@ public String get(String key, String dflt) {
if (o == null) { return dflt; } else { return (String) o; }
}

public void setIP(String ip) { put(IP, ip); }
public void setJunior() { put(PEERTYPE, PEERTYPE_JUNIOR); }
public void setSenior() { put(PEERTYPE, PEERTYPE_SENIOR); }
public void setPrincipal() { put(PEERTYPE, PEERTYPE_PRINCIPAL); }
public void setLastSeen(long rd) { put(LASTSEEN, yacyCore.shortFormatter.format(new Date(System.currentTimeMillis() + serverDate.UTCDiff() - rd))); }
public void setIP(String ip) { put(IP, ip); }
public void setJunior() { put(PEERTYPE, PEERTYPE_JUNIOR); }
public void setSenior() { put(PEERTYPE, PEERTYPE_SENIOR); }
public void setPrincipal() { put(PEERTYPE, PEERTYPE_PRINCIPAL); }
public void setLastSeen() { put(LASTSEEN, yacyCore.shortFormatter.format(new Date(System.currentTimeMillis() + serverDate.UTCDiff() - getUTCDiff()))); }

public void put(String key, String value) {
dna.put(key, value);
Expand Down

0 comments on commit bcb0d6d

Please sign in to comment.