Refactoring: Files

Hi George,

I removed constants because not is more use. I can back it. But I prefer
put in another place, we can create a interface to put it. WDYT?

Yeah, we can refactoring the delete with Files.

Me and my rush. Sorry.

--
Daniel Cunha (soro)
Sent from my cell phone.
Em 18/06/2014 01:55, "George Gastaldi" <notifications@github.com> escreveu:

In container/src/main/java/org/jboss/forge/furnace/impl/util/Files.java:

> -   public static final long ONE_KB = 1024;
> -
> -   /**
> -    * The number of bytes in a megabyte.
> -    */
> -   public static final long ONE_MB = ONE_KB * ONE_KB;
> -
> -   /**
> -    * The number of bytes in a 50 MB.
> -    */
> -   private static final long FIFTY_MB = ONE_MB * 50;
> -
> -   /**
> -    * The number of bytes in a gigabyte.
> -    */
> -   public static final long ONE_GB = ONE_KB * ONE_MB;
>
>     public static boolean delete(File file)
>     {

This could be replaced by this code:
http://www.adam-bien.com/roller/abien/entry/java_7_deleting_recursively_a

—
Reply to this email directly or view it on GitHub
<https://github.com/forge/furnace/pull/14/files#r13899425>.