private void readFromVersion2Stream(StatusFromBytesStream dis) throws IOException {
  String urlString=dis.readUTF();
  if (urlString.equals("")) {
    url=null;
  }
 else {
    url=urlString;
  }
  lastChangedRevision=dis.readLong();
  lastChangedDate=dis.readLong();
  String lastCommitAuthorString=dis.readUTF();
  if ((url == null) || (lastCommitAuthorString.equals(""))) {
    lastCommitAuthor=null;
  }
 else {
    lastCommitAuthor=lastCommitAuthorString;
  }
  textStatus=dis.readInt();
  propStatus=dis.readInt();
  setRevisionNumber(dis.readLong());
  nodeKind=dis.readInt();
}

private void readFromVersion2Stream ( StatusFromBytesStream dis ) throws IOException { String urlString = dis . readUTF ( ) ; if ( urlString . equals ( "" ) ) { url = null ; } else { url = urlString ; } lastChangedRevision = dis . readLong ( ) ; lastChangedDate = dis . readLong ( ) ; String lastCommitAuthorString = dis . readUTF ( ) ; if ( ( url == null ) || ( lastCommitAuthorString . equals ( "" ) ) ) { lastCommitAuthor = null ; } else { lastCommitAuthor = lastCommitAuthorString ; } textStatus = dis . readInt ( ) ; propStatus = dis . readInt ( ) ; setRevisionNumber ( dis . readLong ( ) ) ; nodeKind = dis . readInt ( ) ; }
just for backwards compatibility with workspaces stored with previous version
