[java-identity-provider] branch master updated: Pull duplicated Spring converter.
Scott Cantor
cantor.2 at osu.edu
Wed Dec 4 16:23:04 EST 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=7063c89501bb16af832ccb0161df6bfd537ab7fd
The following commit(s) were added to refs/heads/master by this push:
new 7063c89 Pull duplicated Spring converter.
7063c89 is described below
commit 7063c89501bb16af832ccb0161df6bfd537ab7fd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Dec 4 16:23:01 2019 -0500
Pull duplicated Spring converter.
---
.../spring/impl/StringToDurationConverter.java | 33 ----------------------
1 file changed, 33 deletions(-)
diff --git a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/StringToDurationConverter.java b/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/StringToDurationConverter.java
deleted file mode 100644
index 76701dd..0000000
--- a/idp-attribute-resolver-spring/src/main/java/net/shibboleth/idp/attribute/resolver/spring/impl/StringToDurationConverter.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the University Corporation for Advanced Internet Development,
- * Inc. (UCAID) under one or more contributor license agreements. See the
- * NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The UCAID licenses this file to You under the Apache
- * License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package net.shibboleth.idp.attribute.resolver.spring.impl;
-
-import java.time.Duration;
-import org.springframework.core.convert.converter.Converter;
-
-/**
- * Spring converter that produces a {@link java.time.Duration} from it's ISO time format.
- */
-public class StringToDurationConverter implements Converter<String, Duration> {
-
- @Override
- public Duration convert(final String s)
- {
- return Duration.parse(s);
- }
-}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list