File tree Expand file tree Collapse file tree
main/java/de/variantsync/evolution/repository
test/java/de/variantsync/evolution/repository Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 */
2626public class BusyboxRepository extends SPLRepository {
2727
28- public BusyboxRepository (Path path ) {
28+ public BusyboxRepository (final Path path ) {
2929 super (path );
3030 }
3131
3232 @ Override
33- public SPLCommit checkoutCommit (final SPLCommit c , boolean forced ) throws GitAPIException , IOException {
34- SPLCommit previousCommit = super .checkoutCommit (c , forced );
33+ public SPLCommit checkoutCommit (final SPLCommit c , final boolean forced ) throws GitAPIException , IOException {
34+ final SPLCommit previousCommit = super .checkoutCommit (c , forced );
3535 this .preprocess ();
3636 return previousCommit ;
3737 }
@@ -47,7 +47,7 @@ public void preprocess() throws IOException {
4747 Logger .debug ("Normalizing Busybox files." );
4848 BusyboxRepository .normalizeDir (this .getPath ().toFile ());
4949 Logger .debug ("Finished normalization of Busybox files." );
50- } catch (IOException e ) {
50+ } catch (final IOException e ) {
5151 Logger .error ("Was not able to normalize Busybox files." , e );
5252 throw e ;
5353 }
Original file line number Diff line number Diff line change 11package de .variantsync .evolution .repository ;
22
33import de .variantsync .evolution .Main ;
4- import de .variantsync .evolution .util .Logger ;
54import de .variantsync .evolution .variability .SPLCommit ;
65import org .eclipse .jgit .api .errors .GitAPIException ;
76import org .junit .After ;
@@ -35,8 +34,8 @@ public void normalize() throws IOException {
3534
3635 @ Test
3736 public void checkoutCommit () throws GitAPIException , IOException {
38- SPLCommit simpleCommit = new SPLCommit ("f27a6a94a7fb172a6768bc450dbdec68f15bc78f" );
39- SPLCommit previousCommit = BUSYBOX .checkoutCommit (simpleCommit );
37+ final SPLCommit simpleCommit = new SPLCommit ("f27a6a94a7fb172a6768bc450dbdec68f15bc78f" );
38+ final SPLCommit previousCommit = BUSYBOX .checkoutCommit (simpleCommit );
4039 BUSYBOX .checkoutCommit (previousCommit , true );
4140 }
4241
You can’t perform that action at this time.
0 commit comments