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
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aop/src/main/java/org/springframework/aop/framework/ReflectiveMethodInvocation.java
@@ -151,12 +151,12 @@ public Object proceed() throws Throwable { } Object interceptorOrInterceptionAdvice = - this.interceptorsAndDynamicMethodMatchers.get(++this.currentInterceptorIndex); + this.interceptorsAndDynamicMethodMatchers.get(++this.currentInterceptorIndex); if (interceptorOrInterceptionAd...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aop/src/main/java/org/springframework/aop/target/ThreadLocalTargetSource.java
@@ -78,8 +78,10 @@ public Object getTarget() throws BeansException { Object target = this.targetInThread.get(); if (target == null) { if (logger.isDebugEnabled()) { - logger.debug("No target for prototype '" + getTargetBeanName() + "' bound to thread: " + - "creating one and binding it to thread '" ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aop/src/test/java/org/springframework/aop/aspectj/TigerAspectJExpressionPointcutTests.java
@@ -90,9 +90,9 @@ public void testMatchGenericArgument() { @Test public void testMatchVarargs() throws SecurityException, NoSuchMethodException { class MyTemplate { - public int queryForInt(String sql, Object... params) { - return 0; - } + public int queryForInt(String sql, Object... params)...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aop/src/test/java/org/springframework/aop/aspectj/TrickyAspectJPointcutExpressionTests.java
@@ -131,14 +131,14 @@ public TestException(String string) { } public static interface TestService { - public String sayHello(); + public String sayHello(); } @Log - public static class TestServiceImpl implements TestService{ - public String sayHello() { - throw new TestException("TestServic...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aop/src/test/java/org/springframework/aop/aspectj/TypePatternClassFilterTests.java
@@ -80,7 +80,7 @@ public void testAndOrNotReplacement() { @Test(expected=IllegalArgumentException.class) public void testSetTypePatternWithNullArgument() throws Exception { - new TypePatternClassFilter(null); + new TypePatternClassFilter(null); } @Test(expected=IllegalStateException.class)
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java
@@ -411,6 +411,7 @@ public void testIntroductionOnTargetExcludedByTypePattern() { CannotBeUnlocked.class); assertFalse("Type pattern must have excluded mixin", proxy instanceof Lockable); } + /* prereq AspectJ 1.6.7 @Test public void testIntroductionBasedOnAnnotationMatch_Spr5307() { @@ -426,8 +427,10 @...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aop/src/test/java/org/springframework/aop/framework/MethodInvocationTests.java
@@ -68,7 +68,7 @@ public String toString() { Method m = Object.class.getMethod("hashCode", (Class[]) null); Object proxy = new Object(); ReflectiveMethodInvocation invocation = - new ReflectiveMethodInvocation(proxy, target, m, null, null, is); + new ReflectiveMethodInvocation(proxy, target, m, null, nu...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aspects/src/main/java/org/springframework/beans/factory/aspectj/GenericInterfaceDrivenDependencyInjectionAspect.aj
@@ -41,7 +41,7 @@ package org.springframework.beans.factory.aspectj; * @since 3.0.0 */ public abstract aspect GenericInterfaceDrivenDependencyInjectionAspect<I> extends AbstractInterfaceDrivenDependencyInjectionAspect { - declare parents: I implements ConfigurableObject; + declare parents: I implements Configur...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aspects/src/main/java/org/springframework/orm/jpa/aspectj/JpaExceptionTranslatorAspect.aj
@@ -9,14 +9,14 @@ import org.springframework.dao.DataAccessException; import org.springframework.orm.jpa.EntityManagerFactoryUtils; public aspect JpaExceptionTranslatorAspect { - pointcut entityManagerCall(): call(* EntityManager.*(..)) || call(* EntityManagerFactory.*(..)) || call(* EntityTransaction.*(..)) || ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aspects/src/main/java/org/springframework/transaction/aspectj/AbstractTransactionAspect.aj
@@ -66,7 +66,7 @@ public abstract aspect AbstractTransactionAspect extends TransactionAspectSuppor @SuppressAjWarnings("adviceDidNotMatch") after(Object txObject) throwing(Throwable t) : transactionalMethodExecution(txObject) { try { - completeTransactionAfterThrowing(TransactionAspectSupport.currentTrans...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-aspects/src/test/java/org/springframework/mock/staticmock/Person_Roo_Entity.aj
@@ -18,83 +18,83 @@ package org.springframework.mock.staticmock; privileged aspect Person_Roo_Entity { - @javax.persistence.PersistenceContext - transient javax.persistence.EntityManager Person.entityManager; - - @javax.persistence.Id - @javax.persistence.GeneratedValue(strategy = javax.persistence.Gen...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/AbstractPropertyAccessor.java
@@ -103,7 +103,7 @@ public void setPropertyValues(PropertyValues pvs, boolean ignoreUnknown, boolean } - // Redefined with public visibility. + // Redefined with public visibility. @Override public Class getPropertyType(String propertyPath) { return null;
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/BeanWrapperImpl.java
@@ -738,7 +738,7 @@ public Object run() throws Exception { } } else { - value = readMethod.invoke(object, (Object[]) null); + value = readMethod.invoke(object, (Object[]) null); } if (tokens.keys != null) {
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/DirectFieldAccessor.java
@@ -64,7 +64,7 @@ public void doWith(Field field) { if (fieldMap.containsKey(field.getName())) { // ignore superclass declarations of fields already found in a subclass } - else { + else { fieldMap.put(field.getName(), field); } }
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/PropertyAccessor.java
@@ -191,7 +191,7 @@ public interface PropertyAccessor { * @see #setPropertyValues(PropertyValues, boolean, boolean) */ void setPropertyValues(PropertyValues pvs, boolean ignoreUnknown) - throws BeansException; + throws BeansException; /** * Perform a batch update with full control over behavior. @@...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/factory/config/FieldRetrievingFactoryBean.java
@@ -159,7 +159,7 @@ public void afterPropertiesSet() throws ClassNotFoundException, NoSuchFieldExcep if (this.targetClass == null && this.targetObject == null) { if (this.targetField != null) { throw new IllegalArgumentException( - "Specify targetClass or targetObject in combination with targetField"...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/factory/config/PreferencesPlaceholderConfigurer.java
@@ -76,9 +76,9 @@ public void setUserTreePath(String userTreePath) { */ public void afterPropertiesSet() { this.systemPrefs = (this.systemTreePath != null) ? - Preferences.systemRoot().node(this.systemTreePath) : Preferences.systemRoot(); + Preferences.systemRoot().node(this.systemTreePath) : Preference...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/factory/config/PropertyPathFactoryBean.java
@@ -162,15 +162,15 @@ public void setBeanFactory(BeanFactory beanFactory) { if (this.targetBeanWrapper == null && this.targetBeanName == null) { if (this.propertyPath != null) { throw new IllegalArgumentException( - "Specify 'targetObject' or 'targetBeanName' in combination with 'propertyPath'"); + ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionResource.java
@@ -80,7 +80,7 @@ public String getDescription() { @Override public boolean equals(Object obj) { return (obj == this || - (obj instanceof BeanDefinitionResource && + (obj instanceof BeanDefinitionResource && ((BeanDefinitionResource) obj).beanDefinition.equals(this.beanDefinition))); }
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/factory/support/BeanDefinitionValueResolver.java
@@ -339,7 +339,7 @@ private Object resolveManagedArray(Object argName, List<?> ml, Class elementType Object resolved = Array.newInstance(elementType, ml.size()); for (int i = 0; i < ml.size(); i++) { Array.set(resolved, i, - resolveValueIfNecessary(new KeyedArgName(argName, i), ml.get(i))); + resolv...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java
@@ -744,7 +744,7 @@ protected Object doResolveDependency(DependencyDescriptor descriptor, Class<?> t TypeConverter converter = (typeConverter != null ? typeConverter : getTypeConverter()); return (descriptor.getField() != null ? converter.convertIfNecessary(value, type, descriptor.getField()) : - ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/propertyeditors/CustomNumberEditor.java
@@ -85,8 +85,8 @@ public CustomNumberEditor(Class<? extends Number> numberClass, boolean allowEmpt * @see java.text.NumberFormat#parse * @see java.text.NumberFormat#format */ - public CustomNumberEditor(Class<? extends Number> numberClass, NumberFormat numberFormat, boolean allowEmpty) - throws IllegalArgu...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/main/java/org/springframework/beans/support/MutableSortDefinition.java
@@ -159,7 +159,8 @@ public boolean equals(Object other) { } SortDefinition otherSd = (SortDefinition) other; return (getProperty().equals(otherSd.getProperty()) && - isAscending() == otherSd.isAscending() && isIgnoreCase() == otherSd.isIgnoreCase()); + isAscending() == otherSd.isAscending() && + isI...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/test/java/org/springframework/beans/BeanUtilsTests.java
@@ -250,17 +250,17 @@ public void testResolveSignatureWithArray() throws Exception { } @Test - public void testSPR6063() { - PropertyDescriptor[] descrs = BeanUtils.getPropertyDescriptors(Bean.class); - - PropertyDescriptor keyDescr = BeanUtils.getPropertyDescriptor(Bean.class, "value"); - ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-beans/src/test/java/test/util/TestResourceUtils.java
@@ -27,20 +27,20 @@ */ public class TestResourceUtils { - /** - * Loads a {@link ClassPathResource} qualified by the simple name of clazz, - * and relative to the package for clazz. - * - * <p>Example: given a clazz 'com.foo.BarTests' and a resourceSuffix of 'context.xml', - ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context-support/src/main/java/org/springframework/mail/javamail/MimeMessageHelper.java
@@ -241,7 +241,7 @@ public MimeMessageHelper(MimeMessage mimeMessage, boolean multipart) throws Mess * @see #MimeMessageHelper(javax.mail.internet.MimeMessage, int, String) */ public MimeMessageHelper(MimeMessage mimeMessage, boolean multipart, String encoding) - throws MessagingException { + throws Messa...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context-support/src/main/java/org/springframework/scheduling/quartz/LocalDataSourceJobStore.java
@@ -83,14 +83,14 @@ public class LocalDataSourceJobStore extends JobStoreCMT { @Override public void initialize(ClassLoadHelper loadHelper, SchedulerSignaler signaler) - throws SchedulerConfigException { + throws SchedulerConfigException { // Absolutely needs thread-bound DataSource to initialize. t...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context-support/src/main/java/org/springframework/scheduling/quartz/LocalTaskExecutorThreadPool.java
@@ -52,8 +52,8 @@ public void initialize() throws SchedulerConfigException { this.taskExecutor = SchedulerFactoryBean.getConfigTimeTaskExecutor(); if (this.taskExecutor == null) { throw new SchedulerConfigException( - "No local TaskExecutor found for configuration - " + - "'taskExecutor' property ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context-support/src/main/java/org/springframework/scheduling/quartz/ResourceLoaderClassLoadHelper.java
@@ -77,8 +77,8 @@ public Class loadClass(String name) throws ClassNotFoundException { @SuppressWarnings("unchecked") public <T> Class<? extends T> loadClass(String name, Class<T> clazz) throws ClassNotFoundException { - return loadClass(name); - } + return loadClass(name); + } public URL getResourc...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context-support/src/test/java/org/springframework/scheduling/quartz/CronTriggerBeanTests.java
@@ -32,7 +32,7 @@ public void testInvalidStartDelay() { @Test public void testStartTime() throws Exception { - CronTriggerBean bean = createTriggerBean(); + CronTriggerBean bean = createTriggerBean(); Date startTime = new Date(System.currentTimeMillis() + 1234L); bean.setStartTime(startTime); bean.a...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java
@@ -1257,7 +1257,7 @@ private MessageSource getMessageSource() throws IllegalStateException { */ protected MessageSource getInternalParentMessageSource() { return (getParent() instanceof AbstractApplicationContext) ? - ((AbstractApplicationContext) getParent()).messageSource : getParent(); + ((AbstractAp...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/main/java/org/springframework/ejb/access/LocalSlsbInvokerInterceptor.java
@@ -93,7 +93,7 @@ public Object invokeInContext(MethodInvocation invocation) throws Throwable { } catch (IllegalAccessException ex) { throw new EjbAccessException("Could not access method [" + invocation.getMethod().getName() + - "] of local EJB [" + getJndiName() + "]", ex); + "] of local EJB [" + g...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/main/java/org/springframework/ejb/access/SimpleRemoteSlsbInvokerInterceptor.java
@@ -106,7 +106,7 @@ protected Object doInvoke(MethodInvocation invocation) throws Throwable { if (targetEx instanceof RemoteException) { RemoteException rex = (RemoteException) targetEx; throw RmiClientInterceptorUtils.convertRmiAccessException( - invocation.getMethod(), rex, isConnectFailure(rex),...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/main/java/org/springframework/remoting/rmi/JndiRmiClientInterceptor.java
@@ -190,8 +190,8 @@ public void prepare() throws RemoteLookupFailureException { else if (getServiceInterface() != null) { boolean isImpl = getServiceInterface().isInstance(remoteObj); logger.debug("Using service interface [" + getServiceInterface().getName() + - "] for JNDI RMI object [" + getJ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/main/java/org/springframework/remoting/rmi/RmiClientInterceptor.java
@@ -152,8 +152,8 @@ public void prepare() throws RemoteLookupFailureException { else if (getServiceInterface() != null) { boolean isImpl = getServiceInterface().isInstance(remoteObj); logger.debug("Using service interface [" + getServiceInterface().getName() + - "] for RMI stub [" + getServiceU...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/main/java/org/springframework/remoting/rmi/RmiInvocationHandler.java
@@ -54,6 +54,6 @@ public interface RmiInvocationHandler extends Remote { * @throws InvocationTargetException if the method invocation resulted in an exception */ public Object invoke(RemoteInvocation invocation) - throws RemoteException, NoSuchMethodException, IllegalAccessException, InvocationTargetExcepti...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/main/java/org/springframework/remoting/rmi/RmiInvocationWrapper.java
@@ -67,7 +67,7 @@ public String getTargetInterfaceName() { * @see RmiBasedExporter#invoke(org.springframework.remoting.support.RemoteInvocation, Object) */ public Object invoke(RemoteInvocation invocation) - throws RemoteException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { +...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/test/java/org/springframework/aop/framework/ProxyFactoryBeanTests.java
@@ -678,8 +678,8 @@ public void testInnerBeanTargetUsingAutowiring() { public void testFrozenFactoryBean() { BeanFactory bf = new XmlBeanFactory(new ClassPathResource(FROZEN_CONTEXT, CLASS)); - Advised advised = (Advised)bf.getBean("frozen"); - assertTrue("The proxy should be frozen", advised.isFrozen())...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/test/java/org/springframework/context/annotation/configuration/AutowiredConfigurationTests.java
@@ -46,7 +46,7 @@ public class AutowiredConfigurationTests { @Test public void testAutowiredConfigurationDependencies() { ClassPathXmlApplicationContext factory = new ClassPathXmlApplicationContext( - AutowiredConfigurationTests.class.getSimpleName() + ".xml", AutowiredConfigurationTests.class); + Au...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/test/java/org/springframework/context/annotation/configuration/ImportResourceTests.java
@@ -42,140 +42,140 @@ * @author Juergen Hoeller */ public class ImportResourceTests { - @Test - public void testImportXml() { - AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(ImportXmlConfig.class); - assertTrue("did not contain java-declared bean", ctx.contains...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/test/java/org/springframework/context/support/ClassPathXmlApplicationContextTests.java
@@ -319,8 +319,7 @@ private void assertOneMessageSourceOnly(ClassPathXmlApplicationContext ctx, Obje @Test public void testResourceAndInputStream() throws IOException { - ClassPathXmlApplicationContext ctx = - new ClassPathXmlApplicationContext(RESOURCE_CONTEXT) { + ClassPathXmlApplicationContext ctx = new...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/test/java/org/springframework/context/support/NoOpAdvice.java
@@ -26,7 +26,7 @@ public class NoOpAdvice implements ThrowsAdvice { public void afterThrowing(Exception ex) throws Throwable { - // no-op + // no-op } }
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/test/java/org/springframework/context/support/Spr7283Tests.java
@@ -27,22 +27,22 @@ */ public class Spr7283Tests { - @Test - public void testListWithInconsistentElementType() { - ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spr7283.xml", getClass()); + @Test + public void testListWithInconsistentElementType() { + ClassPathXmlApplicatio...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-context/src/test/java/org/springframework/scripting/groovy/LogUserAdvice.java
@@ -13,17 +13,17 @@ public class LogUserAdvice implements MethodBeforeAdvice, ThrowsAdvice { public void before(Method method, Object[] objects, Object o) throws Throwable { countBefore++; - System.out.println("Method:"+method.getName()); - } + System.out.println("Method:"+method.getName()); + } p...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/Constants.java
@@ -319,17 +319,17 @@ public String toCodeForSuffix(Object value, String nameSuffix) throws ConstantEx * @see #toCodeForProperty */ public String propertyToConstantNamePrefix(String propertyName) { - StringBuilder parsedPrefix = new StringBuilder(); - for(int i = 0; i < propertyName.length(); i++) { - c...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/convert/converter/GenericConverter.java
@@ -94,23 +94,23 @@ public Class<?> getTargetType() { return this.targetType; } - @Override - public boolean equals(Object obj) { - if (this == obj) { + @Override + public boolean equals(Object obj) { + if (this == obj) { return true; } - if (obj == null || obj....
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/io/AbstractResource.java
@@ -194,7 +194,7 @@ public String toString() { @Override public boolean equals(Object obj) { return (obj == this || - (obj instanceof Resource && ((Resource) obj).getDescription().equals(getDescription()))); + (obj instanceof Resource && ((Resource) obj).getDescription().equals(getDescription()))); } ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/io/ByteArrayResource.java
@@ -112,7 +112,7 @@ public String getDescription() { @Override public boolean equals(Object obj) { return (obj == this || - (obj instanceof ByteArrayResource && Arrays.equals(((ByteArrayResource) obj).byteArray, this.byteArray))); + (obj instanceof ByteArrayResource && Arrays.equals(((ByteArrayResource) o...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/io/DescriptiveResource.java
@@ -70,7 +70,7 @@ public String getDescription() { @Override public boolean equals(Object obj) { return (obj == this || - (obj instanceof DescriptiveResource && ((DescriptiveResource) obj).description.equals(this.description))); + (obj instanceof DescriptiveResource && ((DescriptiveResource) obj).descript...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/io/FileSystemResource.java
@@ -204,7 +204,7 @@ public OutputStream getOutputStream() throws IOException { @Override public boolean equals(Object obj) { return (obj == this || - (obj instanceof FileSystemResource && this.path.equals(((FileSystemResource) obj).path))); + (obj instanceof FileSystemResource && this.path.equals(((FileSy...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/io/InputStreamResource.java
@@ -111,7 +111,7 @@ public String getDescription() { @Override public boolean equals(Object obj) { return (obj == this || - (obj instanceof InputStreamResource && ((InputStreamResource) obj).inputStream.equals(this.inputStream))); + (obj instanceof InputStreamResource && ((InputStreamResource) obj).inputS...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/core/io/UrlResource.java
@@ -207,7 +207,7 @@ public String getDescription() { @Override public boolean equals(Object obj) { return (obj == this || - (obj instanceof UrlResource && this.cleanedUrl.equals(((UrlResource) obj).cleanedUrl))); + (obj instanceof UrlResource && this.cleanedUrl.equals(((UrlResource) obj).cleanedUrl))); ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/main/java/org/springframework/util/FileCopyUtils.java
@@ -61,7 +61,7 @@ public static int copy(File in, File out) throws IOException { Assert.notNull(in, "No input File specified"); Assert.notNull(out, "No output File specified"); return copy(new BufferedInputStream(new FileInputStream(in)), - new BufferedOutputStream(new FileOutputStream(out))); + new Buf...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/test/java/org/springframework/core/ExceptionDepthComparatorTests.java
@@ -28,78 +28,78 @@ */ public class ExceptionDepthComparatorTests { - @Test - public void targetBeforeSameDepth() throws Exception { - Class<? extends Throwable> foundClass = findClosestMatch(TargetException.class, SameDepthException.class); - assertEquals(TargetException.class, foundClass); - } - - @Tes...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-core/src/test/java/org/springframework/core/GenericTypeResolverTests.java
@@ -130,26 +130,26 @@ public void genericMethodReturnTypes() { assertEquals(Object.class, resolveReturnTypeForGenericMethod(extractMagicValue, new Object[] { map })); } - /** - * @since 3.2 - */ - @Test - public void testResolveType() { - Method intMessageMethod = findMethod(MyTypeWit...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectionHelper.java
@@ -124,7 +124,7 @@ public static int getTypeDifferenceWeight(List<TypeDescriptor> paramTypes, List< Class paramTypeClazz = paramType.getType(); if (paramTypeClazz.isPrimitive()) { paramTypeClazz = Object.class; - } + } Class superClass = argType.getClass().getSuperclass(); while (sup...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-expression/src/test/java/org/springframework/expression/spel/ConstructorInvocationTests.java
@@ -192,7 +192,7 @@ public void testVarargsInvocation01() { @Test public void testVarargsInvocation02() { - // Calling 'Fruit(int i, String... strings)' - returns int+length_of_strings + // Calling 'Fruit(int i, String... strings)' - returns int+length_of_strings evaluate("new org.springframework.expressi...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-expression/src/test/java/org/springframework/expression/spel/SpelDocumentationTests.java
@@ -435,8 +435,8 @@ public void testFunctions() throws Exception { ExpressionParser parser = new SpelExpressionParser(); StandardEvaluationContext context = new StandardEvaluationContext(); - context.registerFunction("reverseString", - StringUtils.class.getDeclaredMethod("reverseStrin...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jdbc/src/main/java/org/springframework/jdbc/core/JdbcOperations.java
@@ -364,7 +364,7 @@ <T> T query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) * @see java.sql.Types */ <T> T query(String sql, Object[] args, int[] argTypes, ResultSetExtractor<T> rse) - throws DataAccessException; + throws DataAccessException; /** * Query given SQL to create ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jdbc/src/main/java/org/springframework/jdbc/datasource/DataSourceTransactionManager.java
@@ -177,7 +177,7 @@ protected Object doGetTransaction() { DataSourceTransactionObject txObject = new DataSourceTransactionObject(); txObject.setSavepointAllowed(isNestedTransactionAllowed()); ConnectionHolder conHolder = - (ConnectionHolder) TransactionSynchronizationManager.getResource(this.dataSource); ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/LobCreatorUtils.java
@@ -58,7 +58,7 @@ public static void registerTransactionSynchronization( if (TransactionSynchronizationManager.isSynchronizationActive()) { logger.debug("Registering Spring transaction synchronization for LobCreator"); TransactionSynchronizationManager.registerSynchronization( - new SpringLobCreatorSyn...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jdbc/src/main/java/org/springframework/jdbc/support/lob/OracleLobHandler.java
@@ -414,7 +414,7 @@ public void populateLob(Object lob) throws Exception { } public void setClobAsString(PreparedStatement ps, int paramIndex, final String content) - throws SQLException { + throws SQLException { if (content != null) { Clob clob = (Clob) createLob(ps, true, new LobCallback() {...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jdbc/src/main/java/org/springframework/jdbc/support/nativejdbc/JBossNativeJdbcExtractor.java
@@ -94,11 +94,11 @@ public JBossNativeJdbcExtractor() { this.wrappedStatementClass = getClass().getClassLoader().loadClass(prefix + "WrappedStatement"); this.wrappedResultSetClass = getClass().getClassLoader().loadClass(prefix + "WrappedResultSet"); this.getUnderlyingConnectionMethod = - this.wrappedC...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jms/src/main/java/org/springframework/jms/core/JmsOperations.java
@@ -160,7 +160,7 @@ public interface JmsOperations { * @throws JmsException checked JMSException converted to unchecked */ void convertAndSend(Object message, MessagePostProcessor postProcessor) - throws JmsException; + throws JmsException; /** * Send the given object to the specified destination, c...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jms/src/main/java/org/springframework/jms/core/JmsTemplate.java
@@ -648,7 +648,7 @@ public Message createMessage(Session session) throws JMSException { public void convertAndSend( String destinationName, final Object message, final MessagePostProcessor postProcessor) - throws JmsException { + throws JmsException { send(destinationName, new MessageCreator() { p...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-jms/src/test/java/org/springframework/jms/core/JmsTemplate102Tests.java
@@ -366,7 +366,7 @@ public void testQueueProducerCallback() throws Exception { template.execute(new ProducerCallback() { public Object doInJms(Session session, MessageProducer producer) - throws JMSException { + throws JMSException { boolean b = session.getTransacted(); int i = producer.getP...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm-hibernate4/src/main/java/org/springframework/orm/hibernate4/HibernateTransactionManager.java
@@ -660,7 +660,7 @@ public boolean isRollbackOnly() { @Override public void flush() { try { - this.sessionHolder.getSession().flush(); + this.sessionHolder.getSession().flush(); } catch (HibernateException ex) { throw convertHibernateAccessException(ex);
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/HibernateTransactionManager.java
@@ -888,7 +888,7 @@ public boolean isRollbackOnly() { public void flush() { try { - this.sessionHolder.getSession().flush(); + this.sessionHolder.getSession().flush(); } catch (HibernateException ex) { throw convertHibernateAccessException(ex);
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalCacheProviderProxy.java
@@ -41,7 +41,7 @@ public LocalCacheProviderProxy() { // absolutely needs thread-bound CacheProvider to initialize if (cp == null) { throw new IllegalStateException("No Hibernate CacheProvider found - " + - "'cacheProvider' property must be set on LocalSessionFactoryBean"); + "'cacheProvider' property...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalDataSourceConnectionProvider.java
@@ -49,7 +49,7 @@ public void configure(Properties props) throws HibernateException { // absolutely needs thread-bound DataSource to initialize if (this.dataSource == null) { throw new HibernateException("No local DataSource found for configuration - " + - "'dataSource' property must be set on LocalSess...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalRegionFactoryProxy.java
@@ -56,7 +56,7 @@ public LocalRegionFactoryProxy() { // absolutely needs thread-bound RegionFactory to initialize if (rf == null) { throw new IllegalStateException("No Hibernate RegionFactory found - " + - "'cacheRegionFactory' property must be set on LocalSessionFactoryBean"); + "'cacheRegionFactory...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/LocalTransactionManagerLookup.java
@@ -53,7 +53,7 @@ public LocalTransactionManagerLookup() { // absolutely needs thread-bound TransactionManager to initialize if (tm == null) { throw new IllegalStateException("No JTA TransactionManager found - " + - "'jtaTransactionManager' property must be set on LocalSessionFactoryBean"); + "'jtaTr...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/SessionFactoryUtils.java
@@ -354,7 +354,7 @@ private static Session doGetSession( if (!allowCreate && !isSessionTransactional(session, sessionFactory)) { closeSession(session); throw new IllegalStateException("No Hibernate Session bound to thread, " + - "and configuration does not allow creation of non-transactional one here")...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/support/AbstractLobType.java
@@ -76,7 +76,7 @@ public abstract class AbstractLobType implements UserType { */ protected AbstractLobType() { this(LocalSessionFactoryBean.getConfigTimeLobHandler(), - LocalSessionFactoryBean.getConfigTimeTransactionManager()); + LocalSessionFactoryBean.getConfigTimeTransactionManager()); } /** @@...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/support/HibernateDaoSupport.java
@@ -138,7 +138,7 @@ protected final void checkDaoConfig() { * @see org.springframework.orm.hibernate3.SessionFactoryUtils#getSession(SessionFactory, boolean) */ protected final Session getSession() - throws DataAccessResourceFailureException, IllegalStateException { + throws DataAccessResourceFailureExcept...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/hibernate3/support/OpenSessionInViewInterceptor.java
@@ -156,7 +156,7 @@ public void preHandle(WebRequest request) throws DataAccessException { } if ((isSingleSession() && TransactionSynchronizationManager.hasResource(getSessionFactory())) || - SessionFactoryUtils.isDeferredCloseActive(getSessionFactory())) { + SessionFactoryUtils.isDeferredCloseActive(get...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/ibatis/support/AbstractLobTypeHandler.java
@@ -79,7 +79,7 @@ public AbstractLobTypeHandler() { protected AbstractLobTypeHandler(LobHandler lobHandler) { if (lobHandler == null) { throw new IllegalStateException("No LobHandler found for configuration - " + - "lobHandler property must be set on SqlMapClientFactoryBean"); + "lobHandler property m...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/jdo/JdoTemplate.java
@@ -201,9 +201,9 @@ public <T> T execute(JdoCallback<T> action, boolean exposeNativePersistenceManag Assert.notNull(action, "Callback object must not be null"); PersistenceManager pm = PersistenceManagerFactoryUtils.getPersistenceManager( - getPersistenceManagerFactory(), isAllowCreate()); + getPersisten...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/jdo/LocalPersistenceManagerFactoryBean.java
@@ -281,7 +281,7 @@ public PersistenceManagerFactory getObject() { public Class<? extends PersistenceManagerFactory> getObjectType() { return (this.persistenceManagerFactory != null ? - this.persistenceManagerFactory.getClass() : PersistenceManagerFactory.class); + this.persistenceManagerFactory.getClass(...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/jdo/PersistenceManagerFactoryUtils.java
@@ -106,7 +106,7 @@ static SQLExceptionTranslator newJdbcExceptionTranslator(Object connectionFactor * @see JdoTransactionManager */ public static PersistenceManager getPersistenceManager(PersistenceManagerFactory pmf, boolean allowCreate) - throws DataAccessResourceFailureException, IllegalStateException {...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/jdo/support/JdoDaoSupport.java
@@ -144,7 +144,7 @@ protected final PersistenceManager getPersistenceManager() { * @see org.springframework.orm.jdo.PersistenceManagerFactoryUtils#getPersistenceManager */ protected final PersistenceManager getPersistenceManager(boolean allowCreate) - throws DataAccessResourceFailureException, IllegalStateE...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/main/java/org/springframework/orm/jpa/JpaTransactionManager.java
@@ -659,7 +659,7 @@ public boolean isRollbackOnly() { public void flush() { try { - this.entityManagerHolder.getEntityManager().flush(); + this.entityManagerHolder.getEntityManager().flush(); } catch (RuntimeException ex) { throw DataAccessUtils.translateIfNecessary(ex, getJpaDialect());
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/test/java/org/springframework/orm/hibernate3/support/OpenSessionInViewTests.java
@@ -436,7 +436,7 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo final FilterChain filterChain2 = new FilterChain() { public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse) - throws IOException, ServletException { + throws IOException, ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/test/java/org/springframework/orm/jdo/support/OpenPersistenceManagerInViewTests.java
@@ -154,7 +154,7 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo final FilterChain filterChain2 = new FilterChain() { public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse) - throws IOException, ServletException { + throws IOException, ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-orm/src/test/java/org/springframework/orm/jpa/support/OpenEntityManagerInViewTests.java
@@ -265,7 +265,7 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo final FilterChain filterChain2 = new FilterChain() { public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse) - throws IOException, ServletException { + throws IOException, ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-oxm/src/main/java/org/springframework/oxm/XmlMappingException.java
@@ -30,18 +30,18 @@ public abstract class XmlMappingException extends NestedRuntimeException { * Construct an <code>XmlMappingException</code> with the specified detail message. * @param msg the detail message */ - public XmlMappingException(String msg) { - super(msg); - } + public XmlMappingExcep...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-oxm/src/main/java/org/springframework/oxm/xstream/XStreamMarshaller.java
@@ -425,12 +425,12 @@ protected void marshalXmlStreamWriter(Object graph, XMLStreamWriter streamWriter @Override protected void marshalOutputStream(Object graph, OutputStream outputStream) throws XmlMappingException, IOException { - if (this.streamDriver != null) { - marshal(graph, this.streamDr...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-oxm/src/test/java/org/springframework/oxm/jaxb/BinaryObject.java
@@ -24,34 +24,34 @@ @XmlRootElement(namespace = "http://springframework.org/spring-ws") public class BinaryObject { - @XmlElement(namespace = "http://springframework.org/spring-ws") - private byte[] bytes; + @XmlElement(namespace = "http://springframework.org/spring-ws") + private byte[] bytes; - @XmlEle...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-oxm/src/test/java/org/springframework/oxm/jibx/Flights.java
@@ -20,17 +20,17 @@ public class Flights { - protected ArrayList flightList = new ArrayList(); + protected ArrayList flightList = new ArrayList(); - public void addFlight(FlightType flight) { - flightList.add(flight); - } + public void addFlight(FlightType flight) { + flightList.add(flight); + }...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-oxm/src/test/java/org/springframework/oxm/xmlbeans/XmlOptionsFactoryBeanTests.java
@@ -27,15 +27,15 @@ */ public class XmlOptionsFactoryBeanTests { - private XmlOptionsFactoryBean factoryBean = new XmlOptionsFactoryBean(); + private XmlOptionsFactoryBean factoryBean = new XmlOptionsFactoryBean(); - @Test + @Test public void xmlOptionsFactoryBean() throws Exception { - factoryBea...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-oxm/src/test/java/org/springframework/oxm/xstream/Flight.java
@@ -21,14 +21,14 @@ @XStreamAlias("flight") public class Flight { - @XStreamAlias("number") - private long flightNumber; + @XStreamAlias("number") + private long flightNumber; - public long getFlightNumber() { - return flightNumber; - } + public long getFlightNumber() { + return flightNumber; ...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-struts/src/main/java/org/springframework/web/servlet/view/tiles/ComponentControllerSupport.java
@@ -69,7 +69,7 @@ public abstract class ComponentControllerSupport extends ControllerSupport { public final void perform( ComponentContext componentContext, HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) - throws ServletException, IOException { + throws ServletEx...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-struts/src/main/java/org/springframework/web/servlet/view/tiles/TilesView.java
@@ -138,7 +138,7 @@ protected String prepareForRendering(HttpServletRequest request, HttpServletResp * @return the component definition */ protected ComponentDefinition getComponentDefinition(DefinitionsFactory factory, HttpServletRequest request) - throws Exception { + throws Exception { return factory...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-struts/src/main/java/org/springframework/web/struts/ContextLoaderPlugIn.java
@@ -340,7 +340,7 @@ protected WebApplicationContext createWebApplicationContext(WebApplicationContex wac.setNamespace(getNamespace()); if (getContextConfigLocation() != null) { wac.setConfigLocations( - StringUtils.tokenizeToStringArray( + StringUtils.tokenizeToStringArray( getContextConfigLo...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-test-mvc/src/main/java/org/springframework/test/util/MatcherAssertionErrors.java
@@ -37,7 +37,7 @@ public abstract class MatcherAssertionErrors { private MatcherAssertionErrors() { - } + } /** * Asserts that the given matcher matches the actual value. @@ -65,8 +65,8 @@ public static <T> void assertThat(String reason, T actual, Matcher<T> matcher) { description.appendText("\nExpe...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/RequestBuilder.java
@@ -22,6 +22,6 @@ public interface RequestBuilder { * @param servletContext the {@link ServletContext} to use to create the request * @return the request */ - MockHttpServletRequest buildRequest(ServletContext servletContext); + MockHttpServletRequest buildRequest(ServletContext servletContext); }
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/result/StatusResultMatchers.java
@@ -86,461 +86,461 @@ public void match(MvcResult result) throws Exception { }; } - /** - * Assert the response status code is {@code HttpStatus.CONTINUE} (100). - */ - public ResultMatcher isContinue() { - return matcher(HttpStatus.CONTINUE); - } - - /** - * Assert the response st...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-test-mvc/src/main/java/org/springframework/test/web/servlet/setup/PatternMappingFilterProxy.java
@@ -62,7 +62,7 @@ public PatternMappingFilterProxy(Filter delegate, String... urlPatterns) { Assert.notNull(delegate, "A delegate Filter is required"); this.delegate = delegate; for(String urlPattern : urlPatterns) { - addUrlPattern(urlPattern); + addUrlPattern(urlPattern); } } @@ -127,4 +127,4 @...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-test-mvc/src/test/java/org/springframework/test/web/servlet/request/MockHttpServletRequestBuilderTests.java
@@ -228,9 +228,9 @@ public void requestParameterFromQueryWithEncoding() throws Exception { assertEquals("bar=baz", request.getParameter("foo")); } - @Test - public void acceptHeader() throws Exception { - this.builder.accept(MediaType.TEXT_HTML, MediaType.APPLICATION_XML); + @Test + public void acce...
true
Other
spring-projects
spring-framework
2cf45bad860f560d3a5806eb23ffe1669e907673.json
Replace space indentation with tabs Issue: SPR-10127
spring-test-mvc/src/test/java/org/springframework/test/web/servlet/samples/standalone/ExceptionHandlerTests.java
@@ -40,7 +40,7 @@ public void testExceptionHandlerMethod() throws Exception { standaloneSetup(new PersonController()).build() .perform(get("/person/Clyde")) .andExpect(status().isOk()) - .andExpect(forwardedUrl("errorView")); + .andExpect(forwardedUrl("errorView")); }
true