You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/10/18 10:53:50 UTC

DO NOT REPLY [Bug 37137] New: - [jci] Remove utils package

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37137>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37137

           Summary: [jci] Remove utils package
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: elharo@metalab.unc.edu


The org.apache.commons.jci.utils package contains one simple class that does this:

package org.apache.commons.jci.utils;


public final class ThreadUtils {

    public static void sleep( final long pDelay ) {
        try {
            Thread.sleep(pDelay);
        } catch (final InterruptedException e) {
        }
    }
    
}


That's way too little to justify a package. This class is:

1. Trivial.
2. Outside the scope of the JCI Project

There is little reason for this to be a public API. This method should be
inlined and the package removed; or, at the very least, this class could be
duplicated as a non-public class within whichever other packages actually use it. 

Keeping the public API footprint to a minimum is important for future
extensibility and maintainability.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org