language
stringclasses
1 value
owner
stringlengths
2
15
repo
stringlengths
2
21
sha
stringlengths
45
45
message
stringlengths
7
36.3k
path
stringlengths
1
199
patch
stringlengths
15
102k
is_multipart
bool
2 classes
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-context/src/main/java/org/springframework/scheduling/annotation/SchedulingConfigurer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,6 +36,7 @@ * @see EnableScheduling *...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-context/src/main/java/org/springframework/scripting/groovy/GroovyObjectCustomizer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @since 2.0.2 * @see Gro...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/MethodIntrospector.java
@@ -146,6 +146,7 @@ public static Method selectInvocableMethod(Method method, Class<?> targetType) { * A callback interface for metadata lookup on a given method. * @param <T> the type of metadata returned */ + @FunctionalInterface public interface MetadataLookup<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/OrderComparator.java
@@ -203,6 +203,7 @@ else if (value instanceof List) { * Strategy interface to provide an order source for a given object. * @since 4.1 */ + @FunctionalInterface public interface OrderSourceProvider { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/convert/converter/Converter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ * @param <S> the source typ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/io/ProtocolResolver.java
@@ -27,6 +27,7 @@ * @since 4.3 * @see DefaultResourceLoader#addProtocolResolver */ +@FunctionalInterface public interface ProtocolResolver { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/serializer/Deserializer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ * @author Mark Fisher * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/serializer/Serializer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ * @author Mark Fisher * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/task/TaskDecorator.java
@@ -32,6 +32,7 @@ * @see TaskExecutor#execute(Runnable) * @see SimpleAsyncTaskExecutor#setTaskDecorator */ +@FunctionalInterface public interface TaskDecorator { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/task/TaskExecutor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ * @since 2.0 * @see java....
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/core/type/filter/TypeFilter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @author Mark Fisher * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/AutoPopulatingList.java
@@ -243,6 +243,7 @@ public int hashCode() { * Factory interface for creating elements for an index-based access * data structure such as a {@link java.util.List}. */ + @FunctionalInterface public interface ElementFactory<E> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/ErrorHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ * @author Mark Fisher * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/PropertyPlaceholderHelper.java
@@ -212,7 +212,8 @@ else if (StringUtils.substringMatch(buf, index, this.simplePrefix)) { /** * Strategy interface used to resolve replacement values for placeholders contained in Strings. */ - public static interface PlaceholderResolver { + @FunctionalInterface + public interface PlaceholderResolver { /**...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/ReflectionUtils.java
@@ -755,6 +755,7 @@ public static void clearCache() { /** * Action to take on each method. */ + @FunctionalInterface public interface MethodCallback { /** @@ -768,6 +769,7 @@ public interface MethodCallback { /** * Callback optionally used to filter methods to be operated on by a method callback. ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/StringValueResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2007 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ * @see org.springframework....
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/backoff/BackOff.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,6 +43,7 @@ * @since 4.1 * @see BackO...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/backoff/BackOffExecution.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ * @since 4.1 * @see BackO...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/concurrent/FailureCallback.java
@@ -22,6 +22,7 @@ * @author Sebastien Deleuze * @since 4.1 */ +@FunctionalInterface public interface FailureCallback { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-core/src/main/java/org/springframework/util/concurrent/SuccessCallback.java
@@ -22,6 +22,7 @@ * @author Sebastien Deleuze * @since 4.1 */ +@FunctionalInterface public interface SuccessCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-expression/src/main/java/org/springframework/expression/ConstructorResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ * @author Andy Clement * ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-expression/src/main/java/org/springframework/expression/MethodFilter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @author Andy Clement * ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-expression/src/main/java/org/springframework/expression/TypeLocator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ * @author Andy Clement * ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-expression/src/main/java/org/springframework/expression/spel/CodeFlow.java
@@ -838,12 +838,14 @@ public String getClassname() { return clazzName; } + @FunctionalInterface public interface FieldAdder { - public void generateField(ClassWriter cw, CodeFlow codeflow); + void generateField(ClassWriter cw, CodeFlow codeflow); } + @FunctionalInterface public interface ClinitAdder { ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/CallableStatementCallback.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,7 @@ * @see JdbcTemplate#execute...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/CallableStatementCreator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,7 @@ * @see JdbcTemplate#call ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/ConnectionCallback.java
@@ -37,6 +37,7 @@ * @see JdbcTemplate#query * @see JdbcTemplate#update */ +@FunctionalInterface public interface ConnectionCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/ParameterMapper.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @see CallableStatementCre...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/ParameterizedPreparedStatementSetter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,6 +37,7 @@ * @since 3.1 * @see JdbcT...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/PreparedStatementCallback.java
@@ -40,6 +40,7 @@ * @see JdbcTemplate#execute(String, PreparedStatementCallback) * @see JdbcTemplate#execute(PreparedStatementCreator, PreparedStatementCallback) */ +@FunctionalInterface public interface PreparedStatementCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/PreparedStatementCreator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,7 @@ * @see JdbcTemplate#update(...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/PreparedStatementSetter.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,6 +40,7 @@ * @see JdbcTemplate#update(...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/ResultSetExtractor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,6 +46,7 @@ * @see RowMapper * @see o...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/RowCallbackHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ * @see ResultSetExtractor ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/RowMapper.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ * @see ResultSetExtractor ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/core/StatementCallback.java
@@ -33,6 +33,7 @@ * @since 16.03.2004 * @see JdbcTemplate#execute(StatementCallback) */ +@FunctionalInterface public interface StatementCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/init/DatabasePopulator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ * @see DatabasePopulatorUti...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/lookup/DataSourceLookup.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ * @since 2.0 * @see org.s...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/support/DatabaseMetaDataCallback.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ * @author Thomas Risberg ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLExceptionTranslator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ * @author Juergen Hoeller ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jms/src/main/java/org/springframework/jms/annotation/JmsListenerConfigurer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,6 +33,7 @@ * @see EnableJms * @see J...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jms/src/main/java/org/springframework/jms/core/BrowserCallback.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ * @see JmsTemplate#browse(B...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jms/src/main/java/org/springframework/jms/core/MessageCreator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ * @author Mark Pollack * ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jms/src/main/java/org/springframework/jms/core/ProducerCallback.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ * @see JmsTemplate#execute(...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jms/src/main/java/org/springframework/jms/core/SessionCallback.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @since 1.1 * @see JmsTe...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jms/src/main/java/org/springframework/jms/listener/SessionAwareMessageListener.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,6 +41,7 @@ * @see org.springframework....
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-jms/src/main/java/org/springframework/jms/support/destination/DestinationResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ * @see org.springframework....
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-messaging/src/main/java/org/springframework/messaging/MessageHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ * @author Iwein Fuld * @s...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-messaging/src/main/java/org/springframework/messaging/converter/ContentTypeResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ * @author Rossen Stoyanchev...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-messaging/src/main/java/org/springframework/messaging/core/DestinationResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ * @author Mark Fisher * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-messaging/src/main/java/org/springframework/messaging/simp/user/SimpSubscriptionMatcher.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ * @author Rossen Stoyanchev...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-messaging/src/main/java/org/springframework/messaging/simp/user/UserDestinationResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ * @see org.springframework....
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-messaging/src/main/java/org/springframework/messaging/tcp/ReconnectStrategy.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ * @author Rossen Stoyanchev...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-orm/src/main/java/org/springframework/orm/hibernate5/HibernateCallback.java
@@ -30,6 +30,7 @@ * @see HibernateTemplate * @see HibernateTransactionManager */ +@FunctionalInterface public interface HibernateCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-test/src/main/java/org/springframework/test/context/ActiveProfilesResolver.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ * @since 4.0 * @see Activ...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-test/src/main/java/org/springframework/test/web/client/RequestMatcher.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ * @author Craig Walls * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-test/src/main/java/org/springframework/test/web/client/ResponseCreator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ * @author Craig Walls * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-test/src/main/java/org/springframework/test/web/servlet/ResultHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,6 +44,7 @@ * @author Sam Brannen * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-test/src/main/java/org/springframework/test/web/servlet/ResultMatcher.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,6 +46,7 @@ * @author Sam Brannen * @...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-test/src/main/java/org/springframework/test/web/servlet/htmlunit/WebRequestMatcher.java
@@ -26,6 +26,7 @@ * @see org.springframework.test.web.servlet.htmlunit.HostRequestMatcher * @see org.springframework.test.web.servlet.htmlunit.UrlRegexRequestMatcher */ +@FunctionalInterface public interface WebRequestMatcher { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-test/src/main/java/org/springframework/test/web/servlet/request/RequestPostProcessor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ * @author Rob Winch * @si...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-tx/src/main/java/org/springframework/dao/support/PersistenceExceptionTranslator.java
@@ -30,6 +30,7 @@ * @author Juergen Hoeller * @since 2.0 */ +@FunctionalInterface public interface PersistenceExceptionTranslator { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-tx/src/main/java/org/springframework/jca/cci/core/ConnectionCallback.java
@@ -40,6 +40,7 @@ * @see CciTemplate#execute(javax.resource.cci.InteractionSpec, javax.resource.cci.Record) * @see CciTemplate#execute(javax.resource.cci.InteractionSpec, RecordCreator, RecordExtractor) */ +@FunctionalInterface public interface ConnectionCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-tx/src/main/java/org/springframework/jca/cci/core/InteractionCallback.java
@@ -41,6 +41,7 @@ * @see CciTemplate#execute(javax.resource.cci.InteractionSpec, javax.resource.cci.Record) * @see CciTemplate#execute(javax.resource.cci.InteractionSpec, RecordCreator, RecordExtractor) */ +@FunctionalInterface public interface InteractionCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-tx/src/main/java/org/springframework/jca/cci/core/RecordCreator.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -45,6 +45,7 @@ * @see CciTemplate#createMa...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-tx/src/main/java/org/springframework/jca/cci/core/RecordExtractor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ * @see CciTemplate#execute(...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectSupport.java
@@ -630,6 +630,7 @@ public String toString() { * Simple callback interface for proceeding with the target invocation. * Concrete interceptors/aspects adapt this to their invocation mechanism. */ + @FunctionalInterface protected interface InvocationCallback { Object proceedWithInvocation() throws Throwab...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-tx/src/main/java/org/springframework/transaction/support/TransactionCallback.java
@@ -32,6 +32,7 @@ * @see TransactionTemplate * @see CallbackPreferringPlatformTransactionManager */ +@FunctionalInterface public interface TransactionCallback<T> { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/http/StreamingHttpOutputMessage.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,6 +41,7 @@ public interface StreamingHtt...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/http/client/ClientHttpRequestExecution.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @see ClientHttpRequestInt...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/http/client/ClientHttpRequestFactory.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ * @author Arjen Poutsma *...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/http/client/ClientHttpRequestInterceptor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -31,6 +31,7 @@ * @author Arjen Poutsma *...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/remoting/httpinvoker/HttpInvokerRequestExecutor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,6 +41,7 @@ * @since 1.1 * @see HttpI...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/web/HttpRequestHandler.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,6 +74,7 @@ * @see org.springframework....
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/web/accept/ContentNegotiationStrategy.java
@@ -28,6 +28,7 @@ * @author Rossen Stoyanchev * @since 3.2 */ +@FunctionalInterface public interface ContentNegotiationStrategy { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/web/bind/support/WebArgumentResolver.java
@@ -41,6 +41,7 @@ * @since 2.5.2 * @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter#setCustomArgumentResolvers */ +@FunctionalInterface public interface WebArgumentResolver { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/web/client/AsyncRequestCallback.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2013 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @see org.springframework....
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/web/client/RequestCallback.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ * @see RestTemplate#execute...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/web/client/ResponseExtractor.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,6 +32,7 @@ * @since 3.0 * @see RestT...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-web/src/main/java/org/springframework/web/context/request/async/DeferredResult.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -243,6 +243,7 @@ public <S> void afterComple...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-webmvc/src/main/java/org/springframework/web/servlet/handler/HandlerMethodMappingNamingStrategy.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,6 +37,7 @@ * @author Rossen Stoyanchev...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/Controller.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -106,6 +106,7 @@ * @see org.springframewor...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ResponseBodyEmitterAdapter.java
@@ -24,6 +24,7 @@ * @author Rossen Stoyanchev * @since 4.3 */ +@FunctionalInterface public interface ResponseBodyEmitterAdapter { /**
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/StreamingResponseBody.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ * @author Rossen Stoyanchev...
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/AppCacheManifestTransformer.java
@@ -143,7 +143,8 @@ public Resource transform(HttpServletRequest request, Resource resource, Resourc } - private static interface SectionTransformer { + @FunctionalInterface + private interface SectionTransformer { /** * Transforms a line in a section of the manifest.
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/CssLinkResourceTransformer.java
@@ -128,7 +128,8 @@ private boolean hasScheme(String link) { } - protected static interface CssLinkParser { + @FunctionalInterface + protected interface CssLinkParser { void parseLink(String content, Set<CssLinkInfo> linkInfos);
true
Other
spring-projects
spring-framework
e4b0486c5a7dbf8e323f89b1539cbaca7d1a5932.json
Add @FunctionalInterface on candidate interfaces Issue: SPR-14432
spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceTransformer.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ * @author Rossen Stoyanchev...
true
Other
spring-projects
spring-framework
9c438a8f7831d4841b82149f317804a262946f94.json
Fix failing test
spring-web-reactive/src/test/java/org/springframework/web/reactive/DispatcherHandlerErrorTests.java
@@ -17,6 +17,7 @@ package org.springframework.web.reactive; import java.net.URI; +import java.time.Duration; import java.util.Collections; import org.junit.Before; @@ -171,12 +172,9 @@ public void webExceptionHandler() throws Exception { WebExceptionHandler exceptionHandler = new ServerError500ExceptionHan...
false
Other
spring-projects
spring-framework
2bae0613a35251c03d56204a2927d200abf9a9ef.json
Ensure code compiles with Eclipse JDT
spring-beans/src/main/java/org/springframework/beans/factory/config/YamlMapFactoryBean.java
@@ -129,7 +129,8 @@ private void merge(Map<String, Object> output, Map<String, Object> map) { Object value = entry.getValue(); Object existing = output.get(key); if (value instanceof Map && existing instanceof Map) { - Map<String, Object> result = new LinkedHashMap<>((Map) existing); + // Inner cast r...
false
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
build.gradle
@@ -58,6 +58,7 @@ configure(allprojects) { project -> ext.junitVersion = "4.12" ext.junitJupiterVersion = '5.0.0-SNAPSHOT' ext.junitPlatformVersion = '1.0.0-SNAPSHOT' + ext.log4JVersion = '2.6.1' ext.nettyVersion = "4.1.1.Final" ext.okhttpVersion = "2.7.5" ext.okhttp3Version ...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-aop/src/test/resources/log4j.properties
@@ -1,10 +0,0 @@ -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c] - %m%n - -log4j.rootCategory=WARN, console -log4j.logger.org.springframework.beans=WARN -log4j.logger.org.springf...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-aop/src/test/resources/log4j2-test.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Configuration status="WARN"> + <Appenders> + <Console name="Console" target="SYSTEM_OUT"> + <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /> + </Console> + </Appenders> + <Loggers> + <Logger name="org.springframework.aop" lev...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-aspects/src/test/resources/log4j.properties
@@ -1,9 +0,0 @@ -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c] - %m%n - -log4j.rootCategory=WARN, console -log4j.logger.org.springframework.beans=WARN -log4j.logger.org.springfr...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-aspects/src/test/resources/log4j2-test.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Configuration status="WARN"> + <Appenders> + <Console name="Console" target="SYSTEM_OUT"> + <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /> + </Console> + </Appenders> + <Loggers> + <Logger name="org.springframework.beans" l...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-beans/src/test/resources/log4j.properties
@@ -1,9 +0,0 @@ -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c] - %m%n - -log4j.rootCategory=ERROR, console -log4j.logger.org.springframework.beans.factory.config.DeprecatedBeanW...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-beans/src/test/resources/log4j2-test.xml
@@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Configuration status="WARN"> + <Appenders> + <Console name="Console" target="SYSTEM_OUT"> + <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /> + </Console> + </Appenders> + <Loggers> + <Logger name="org.springframework.beans" l...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-context-support/src/test/resources/log4j.properties
@@ -1,10 +0,0 @@ -log4j.appender.console=org.apache.log4j.ConsoleAppender -log4j.appender.console.layout=org.apache.log4j.PatternLayout -log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%c] - %m%n - -log4j.rootCategory=WARN, console -log4j.logger.org.springframework.beans=WARN -log4j.logger.org.springf...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-context-support/src/test/resources/log4j2-test.xml
@@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Configuration status="WARN"> + <Appenders> + <Console name="Console" target="SYSTEM_OUT"> + <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" /> + </Console> + </Appenders> + <Loggers> + <Logger name="org.springframework.beans" l...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-context/src/test/java/org/springframework/context/annotation/configuration/AutowiredConfigurationTests.java
@@ -53,6 +53,7 @@ * * @author Chris Beams * @author Juergen Hoeller + * @author Sam Brannen */ public class AutowiredConfigurationTests { @@ -203,20 +204,23 @@ public void testCustomPropertiesWithClassPathContext() throws IOException { TestBean testBean = context.getBean("testBean", TestBean.class); ...
true
Other
spring-projects
spring-framework
1391248ea6cc5e5ce6a8e8fec1268a9304419b53.json
Introduce log4j 2 for Spring's test suite This commit adds a test runtime dependency on log4j 2 for every project and migrates all log4j.properties files to log4j2-test.xml files. Issue: SPR-14431
spring-context/src/test/java/org/springframework/context/expression/ApplicationContextExpressionTests.java
@@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2002-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,7 @@ import org.apache.commons....
true