Commit bc5a4bcc authored by Dave Syer's avatar Dave Syer

Compiler warnings

parent 77eaa9b2
......@@ -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}.
*
......
......@@ -262,6 +262,7 @@ public abstract class AbstractJpaAutoConfigurationTests {
}
@SuppressWarnings("serial")
static class CustomJpaTransactionManager extends JpaTransactionManager {
}
......
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment