commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt (JIRA)" <j...@apache.org>
Subject [jira] Closed: (SANDBOX-106) [jci] Remove utils package
Date Wed, 21 Feb 2007 08:35:06 GMT

     [ https://issues.apache.org/jira/browse/SANDBOX-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Torsten Curdt closed SANDBOX-106.
---------------------------------

    Resolution: Fixed

> [jci] Remove utils package
> --------------------------
>
>                 Key: SANDBOX-106
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-106
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: JCI
>         Environment: Operating System: All
> Platform: Other
>            Reporter: elharo
>         Assigned To: Torsten Curdt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message