mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Compiler warnings
This commit is contained in:
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…
Reference in New Issue
Block a user