[java-shib-metadata] branch main updated: Annotations.
Scott Cantor
cantor.2 at osu.edu
Wed Nov 16 15:15:04 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-shib-metadata.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-metadata.git;a=commit;h=6c1b0cf4f7685616d110ba12a2986b2662b3d9e6
The following commit(s) were added to refs/heads/main by this push:
new 6c1b0cf4 Annotations.
6c1b0cf4 is described below
commit 6c1b0cf4f7685616d110ba12a2986b2662b3d9e6
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Nov 16 10:15:01 2022 -0500
Annotations.
---
.../java/net/shibboleth/spring/testing/AbstractFailFastTest.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/shib-metadata-testing/src/main/java/net/shibboleth/spring/testing/AbstractFailFastTest.java b/shib-metadata-testing/src/main/java/net/shibboleth/spring/testing/AbstractFailFastTest.java
index 29bc76c1..9a25e764 100644
--- a/shib-metadata-testing/src/main/java/net/shibboleth/spring/testing/AbstractFailFastTest.java
+++ b/shib-metadata-testing/src/main/java/net/shibboleth/spring/testing/AbstractFailFastTest.java
@@ -39,6 +39,7 @@ import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeSuite;
import net.shibboleth.shared.annotation.constraint.NonnullElements;
+import net.shibboleth.shared.annotation.constraint.NotEmpty;
import net.shibboleth.shared.logic.Constraint;
import net.shibboleth.shared.service.ReloadableService;
import net.shibboleth.shared.spring.util.ApplicationContextBuilder;
@@ -259,7 +260,7 @@ public class AbstractFailFastTest extends OpenSAMLInitBaseTestCase {
* @param filePart the file name
* @return the Fully Qualified Path
*/
- protected String makePath(final String filePart) {
+ @Nonnull @NotEmpty protected String makePath(final String filePart) {
return getWorkspaceDirName() + filePart;
}
@@ -267,7 +268,7 @@ public class AbstractFailFastTest extends OpenSAMLInitBaseTestCase {
* @param filePart the file name
* @return the Fully Qualified Path
*/
- protected String makeTempPath(final String filePart) {
+ @Nonnull @NotEmpty protected String makeTempPath(final String filePart) {
return getWorkspaceDirName() + filePart;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list