/** * Writes the given resource to the given stream. * * @throws OseeCoreException */ private void writeArtifact(DataOutputStream dataOut, Artifact artifact) throws IOException, OseeCoreException { dataOut.writeInt(artifact.getArtId()); dataOut.writeInt(artifact.getFullBranch().getId()); }