File tree Expand file tree Collapse file tree
main/java/org/apache/commons/beanutils
test/java/org/apache/commons/beanutils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public class SuppressPropertiesBeanIntrospector implements BeanIntrospector {
6969 */
7070 public SuppressPropertiesBeanIntrospector (final Collection <String > propertiesToSuppress ) {
7171 if (propertiesToSuppress == null ) {
72- throw new IllegalArgumentException ("Property names must not be null! " );
72+ throw new IllegalArgumentException ("Property names must not be null. " );
7373 }
7474
7575 propertyNames = Collections .unmodifiableSet (new HashSet <>(
Original file line number Diff line number Diff line change @@ -42,17 +42,17 @@ private static class IntrospectionContextTestImpl implements IntrospectionContex
4242
4343 @ Override
4444 public void addPropertyDescriptor (final PropertyDescriptor desc ) {
45- throw new UnsupportedOperationException ("Unexpected method call! " );
45+ throw new UnsupportedOperationException ("Unexpected method call. " );
4646 }
4747
4848 @ Override
4949 public void addPropertyDescriptors (final PropertyDescriptor [] descriptors ) {
50- throw new UnsupportedOperationException ("Unexpected method call! " );
50+ throw new UnsupportedOperationException ("Unexpected method call. " );
5151 }
5252
5353 @ Override
5454 public PropertyDescriptor getPropertyDescriptor (final String name ) {
55- throw new UnsupportedOperationException ("Unexpected method call! " );
55+ throw new UnsupportedOperationException ("Unexpected method call. " );
5656 }
5757
5858 /**
@@ -66,17 +66,17 @@ public Set<String> getRemovedProperties() {
6666
6767 @ Override
6868 public Class <?> getTargetClass () {
69- throw new UnsupportedOperationException ("Unexpected method call! " );
69+ throw new UnsupportedOperationException ("Unexpected method call. " );
7070 }
7171
7272 @ Override
7373 public boolean hasProperty (final String name ) {
74- throw new UnsupportedOperationException ("Unexpected method call! " );
74+ throw new UnsupportedOperationException ("Unexpected method call. " );
7575 }
7676
7777 @ Override
7878 public Set <String > propertyNames () {
79- throw new UnsupportedOperationException ("Unexpected method call! " );
79+ throw new UnsupportedOperationException ("Unexpected method call. " );
8080 }
8181
8282 @ Override
You can’t perform that action at this time.
0 commit comments