Apply appropriate @SuppressWarnings annotations for rawtypes usages.

Format source code.

Optimize imports.
This commit is contained in:
John Blum
2020-03-03 03:52:23 +01:00
parent baec05dfba
commit 59323f7f04
3 changed files with 1 additions and 5 deletions

View File

@@ -1352,7 +1352,6 @@ public abstract class AbstractGemFireOperationsSessionRepository
}
@Override
@SuppressWarnings("all")
public Set<Entry<String, Object>> entrySet() {
synchronized (getLock()) {

View File

@@ -69,7 +69,6 @@ public class GemFireOperationsSessionRepository extends AbstractGemFireOperation
* @see #configure(Session)
*/
@NonNull
@SuppressWarnings("all")
public Session createSession() {
return configure(GemFireSession.create());
}
@@ -161,7 +160,6 @@ public class GemFireOperationsSessionRepository extends AbstractGemFireOperation
* @see #commit(Session)
* @see #touch(Session)
*/
@SuppressWarnings("all")
private Session prepare(Session session) {
return touch(commit(registerInterest(configure(session))));
}
@@ -179,7 +177,6 @@ public class GemFireOperationsSessionRepository extends AbstractGemFireOperation
* @see #isNonNullAndDirty(Session)
* @see #doSave(Session)
*/
@SuppressWarnings("all")
public void save(@Nullable Session session) {
if (isNonNullAndDirty(session)) {

View File

@@ -141,7 +141,7 @@ import org.springframework.util.StringUtils;
* @since 1.1.0
*/
@Configuration
@SuppressWarnings("unused")
@SuppressWarnings({ "rawtypes", "unused" })
public class GemFireHttpSessionConfiguration extends AbstractGemFireHttpSessionConfiguration implements ImportAware {
/**