svn commit: r18552 - trunk/src/argouml-core-model/src/org/argouml/model/UUIDManager.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: linus
Date: 2010-07-23 22:38:58-0700
New Revision: 18552
Modified:
trunk/src/argouml-core-model/src/org/argouml/model/UUIDManager.java
Log:
Fixed findbugs warnings.
Modified: trunk/src/argouml-core-model/src/org/argouml/model/UUIDManager.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/UUIDManager.java?view=diff&pathrev=18552&r1=18551&r2=18552
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/UUIDManager.java (original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/UUIDManager.java 2010-07-23 22:38:58-0700
@@ -1,6 +1,6 @@
/* $Id$
*******************************************************************************
- * Copyright (c) 2009 Contributors - see below
+ * Copyright (c) 2009-2010 Contributors - see below
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,6 +8,7 @@
*
* Contributors:
* mvw
+ * linus - Linus Tolke
*******************************************************************************
*
* Some portions of this file was previously release using the BSD License:
@@ -100,7 +101,7 @@
if (address != null) {
byte[] b = address.getAddress();
for (int i = 0; i < b.length; i++) {
- s.append((new Byte(b[i])).longValue()).append("-");
+ s.append((long) b[i]).append("-");
}
}
s.append(uid.toString());
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2637566
To unsubscribe from this discussion, e-mail: [[email protected]].