Compiler warnings

This commit is contained in:
Dave Syer 2014-06-03 08:44:19 +01:00
parent 77eaa9b24e
commit bc5a4bcc1e
3 changed files with 4 additions and 3 deletions

View File

@ -16,6 +16,8 @@
package org.springframework.boot.autoconfigure.batch;
import static org.junit.Assert.assertEquals;
import org.junit.Before;
import org.junit.Test;
import org.springframework.batch.core.Job;
@ -44,8 +46,6 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.core.task.SyncTaskExecutor;
import org.springframework.transaction.PlatformTransactionManager;
import static org.junit.Assert.assertEquals;
/**
* Tests for {@link JobLauncherCommandLineRunner}.
*

View File

@ -262,6 +262,7 @@ public abstract class AbstractJpaAutoConfigurationTests {
}
@SuppressWarnings("serial")
static class CustomJpaTransactionManager extends JpaTransactionManager {
}

View File

@ -43,7 +43,7 @@ public abstract class AgentAttacher {
vmClass.getDeclaredMethod("detach").invoke(vm);
}
catch (Exception ex) {
throw new RuntimeException("Unable to attach Spring Loaded to the JVM", ex);
throw new RuntimeException("Unable to attach agent to the JVM", ex);
}
}