Compiler warnings

pull/1016/head
Dave Syer 11 years ago
parent 77eaa9b24e
commit bc5a4bcc1e

@ -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);
}
}

Loading…
Cancel
Save