now 100% less readable

This commit is contained in:
buthed010203
2020-12-10 11:54:47 -05:00
committed by GitHub
parent 3b3daf0e25
commit 0f8304674f

View File

@@ -50,7 +50,7 @@ public class BeControl{
Fi dest = Fi.get(System.getProperty("becopy"));
Fi self = Fi.get(BeControl.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());
for(Fi file : self.parent().findAll(f -> f != self)) file.delete();
self.parent().findAll(f -> f != self).forEach(Fi::delete);
self.copyTo(dest);
}catch(Throwable e){