Skip to content

Commit

Permalink
Coercion throws UncheckedIOException instead of IOException
Browse files Browse the repository at this point in the history
for methods that are not specifically I/O-related.
  • Loading branch information
ao-apps committed Oct 6, 2023
1 parent 7b012cc commit d30cd9d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions book/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ along with pragmatickm-contact-taglib. If not, see <https://www.gnu.org/license
<relativePath>../../../parent/pom.xml</relativePath>
</parent>

<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib-book</artifactId><version>1.6.1-POST-SNAPSHOT</version>
<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib-book</artifactId><version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
Expand Down Expand Up @@ -145,7 +145,7 @@ along with pragmatickm-contact-taglib. If not, see <https://www.gnu.org/license
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib</artifactId><version>1.6.1${POST-SNAPSHOT}</version>
<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib</artifactId><version>1.7.0-SNAPSHOT<!-- ${POST-SNAPSHOT} --></version>
<type>jar</type>
<includes>META-INF/pragmatickm-contact.tld</includes>
</artifactItem>
Expand All @@ -155,7 +155,7 @@ along with pragmatickm-contact-taglib. If not, see <https://www.gnu.org/license
</executions>
<dependencies>
<dependency>
<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib</artifactId><version>1.6.1${POST-SNAPSHOT}</version>
<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib</artifactId><version>1.7.0-SNAPSHOT<!-- ${POST-SNAPSHOT} --></version>
<type>jar</type>
<exclusions><exclusion><groupId>*</groupId><artifactId>*</artifactId></exclusion></exclusions>
</dependency>
Expand Down Expand Up @@ -242,7 +242,7 @@ along with pragmatickm-contact-taglib. If not, see <https://www.gnu.org/license
<groupId>com.semanticcms</groupId><artifactId>semanticcms-core-taglib</artifactId><version>1.16.0-SNAPSHOT<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.semanticcms</groupId><artifactId>semanticcms-section-taglib</artifactId><version>1.9.1${POST-SNAPSHOT}</version>
<groupId>com.semanticcms</groupId><artifactId>semanticcms-section-taglib</artifactId><version>1.10.0-SNAPSHOT<!-- ${POST-SNAPSHOT} --></version>
</dependency>
<dependency>
<groupId>com.semanticcms</groupId><artifactId>semanticcms-tag-reference</artifactId><version>1.10.1${POST-SNAPSHOT}</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ along with pragmatickm-contact-taglib. If not, see <https://www.gnu.org/license
shortTitle="Changelog"
tocLevels="1"
datePublished="2017-07-25T20:56:44-05:00"
dateModified="2022-05-15T09:43:02-05:00"
dateModified="2023-10-06T05:35:14Z"
>
<c:set var="latestRelease" value="1.6.1" />
<c:if test="${
Expand All @@ -52,7 +52,11 @@ along with pragmatickm-contact-taglib. If not, see <https://www.gnu.org/license
artifactId="@{documented.artifactId}"
repository="@{nexusUrl}content/repositories/snapshots/"
scmUrl="@{project.scm.url}"
/>
>
<ul>
<li><code>ElementTag.evaluateAttributes(…)</code> no longer throws <code>IOException</code>.</li>
</ul>
</changelog:release>
</c:if>

<changelog:release
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ along with pragmatickm-contact-taglib. If not, see <https://www.gnu.org/license
<relativePath>../../parent/pom.xml</relativePath>
</parent>

<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib</artifactId><version>1.6.1-POST-SNAPSHOT</version>
<groupId>com.pragmatickm</groupId><artifactId>pragmatickm-contact-taglib</artifactId><version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ protected Contact createElement() {
}

@Override
protected void evaluateAttributes(Contact element, ELContext elContext) throws JspTagException, IOException {
protected void evaluateAttributes(Contact element, ELContext elContext) throws JspTagException {
try {
super.evaluateAttributes(element, elContext);
element.setTitle(resolveValue(title, String.class, elContext));
Expand Down

0 comments on commit d30cd9d

Please sign in to comment.