This is an automated email from the ASF dual-hosted git repository.
fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 7259ec9 Use an exception, that has better accessibility
7259ec9 is described below
commit 7259ec926c82904fe6842cb0a161814fa5f27991
Author: Felix Schumacher <[email protected]>
AuthorDate: Sat Sep 11 11:03:39 2021 +0200
Use an exception, that has better accessibility
The used NotImplementedException is not meant for user code and will
give warnings, when used in current IDEs. So switch to another
exception with the same meaning and better visibility.
---
.../groovy/org/apache/jmeter/testelement/AbstractTestElementSpec.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/core/src/test/groovy/org/apache/jmeter/testelement/AbstractTestElementSpec.groovy
b/src/core/src/test/groovy/org/apache/jmeter/testelement/AbstractTestElementSpec.groovy
index c258cc3..91ddecf 100644
---
a/src/core/src/test/groovy/org/apache/jmeter/testelement/AbstractTestElementSpec.groovy
+++
b/src/core/src/test/groovy/org/apache/jmeter/testelement/AbstractTestElementSpec.groovy
@@ -17,6 +17,7 @@
package org.apache.jmeter.testelement
+import org.apache.commons.lang3.NotImplementedException
import org.apache.jmeter.junit.spock.JMeterSpec
import org.apache.jmeter.testelement.property.JMeterProperty
import org.apache.jmeter.testelement.property.MultiProperty
@@ -24,7 +25,6 @@ import org.apache.jmeter.testelement.property.PropertyIterator
import org.apache.jmeter.testelement.property.TestElementProperty
import spock.lang.Unroll
-import sun.reflect.generics.reflectiveObjects.NotImplementedException
@Unroll
class AbstractTestElementSpec extends JMeterSpec {