|
From: <lh...@us...> - 2008-09-04 11:46:43
|
Revision: 154
http://tinytim.svn.sourceforge.net/tinytim/?rev=154&view=rev
Author: lheuer
Date: 2008-09-04 11:46:52 +0000 (Thu, 04 Sep 2008)
Log Message:
-----------
- Added private constructors (again) :(
Modified Paths:
--------------
tinytim/trunk/src/main/java/org/tinytim/core/CopyUtils.java
tinytim/trunk/src/main/java/org/tinytim/internal/utils/Check.java
Modified: tinytim/trunk/src/main/java/org/tinytim/core/CopyUtils.java
===================================================================
--- tinytim/trunk/src/main/java/org/tinytim/core/CopyUtils.java 2008-09-04 11:43:42 UTC (rev 153)
+++ tinytim/trunk/src/main/java/org/tinytim/core/CopyUtils.java 2008-09-04 11:46:52 UTC (rev 154)
@@ -47,6 +47,10 @@
*/
final class CopyUtils {
+ private CopyUtils() {
+ // noop.
+ }
+
/**
* Copies the topics and associations from the <tt>source</tt> to the
* <tt>target</tt> topic map.
Modified: tinytim/trunk/src/main/java/org/tinytim/internal/utils/Check.java
===================================================================
--- tinytim/trunk/src/main/java/org/tinytim/internal/utils/Check.java 2008-09-04 11:43:42 UTC (rev 153)
+++ tinytim/trunk/src/main/java/org/tinytim/internal/utils/Check.java 2008-09-04 11:46:52 UTC (rev 154)
@@ -35,6 +35,17 @@
*/
public final class Check {
+ private Check() {
+ // noop.
+ }
+
+ /**
+ * Throws a {@link ModelConstraintException} with the specified <tt>sender</tt>
+ * and <tt>msg</tt>
+ *
+ * @param sender The sender
+ * @param msg The error message
+ */
private static void _reportError(Construct sender, String msg) {
throw new ModelConstraintException(sender, msg);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|