You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2016/02/18 11:46:25 UTC
svn commit: r1731040 - in /myfaces/tobago/branches/tobago-3.0.x:
tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java
tobago-tool/tobago-theme-plugin/pom.xml
Author: lofwyr
Date: Thu Feb 18 10:46:25 2016
New Revision: 1731040
URL: http://svn.apache.org/viewvc?rev=1731040&view=rev
Log:
TOBAGO-1533: Java 8 can't build the JavaDoc, because it's more strict
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java
myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-theme-plugin/pom.xml
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java?rev=1731040&r1=1731039&r2=1731040&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/ajax/AjaxUtils.java Thu Feb 18 10:46:25 2016
@@ -92,25 +92,26 @@ public final class AjaxUtils {
}
/**
+ * @param facesContext Current instance of the {@link FacesContext}
* @return true if a UIMessage component has added to renderedPartially
*/
- public static boolean addUIMessagesToRenderedPartially(final FacesContext context) {
- if (!isAjaxRequest(context)) {
+ public static boolean addUIMessagesToRenderedPartially(final FacesContext facesContext) {
+ if (!isAjaxRequest(facesContext)) {
return false;
}
- final List<String> list = AjaxInternalUtils.getMessagesComponentIds(context);
- final Iterator clientIds = context.getClientIdsWithMessages();
+ final List<String> list = AjaxInternalUtils.getMessagesComponentIds(facesContext);
+ final Iterator clientIds = facesContext.getClientIdsWithMessages();
boolean added = false;
if (clientIds.hasNext()) { // messages in the partial part
for (final String componentClientId: list) {
- added = AjaxInternalUtils.addNextPossibleAjaxComponent(context, componentClientId);
+ added = AjaxInternalUtils.addNextPossibleAjaxComponent(facesContext, componentClientId);
}
} else { // checking for an existing shown error on page
for (final String componentClientId: list) {
- if (context.getExternalContext().getRequestParameterMap().containsKey(
+ if (facesContext.getExternalContext().getRequestParameterMap().containsKey(
componentClientId + ComponentUtils.SUB_SEPARATOR + "messagesExists")) {
- added = AjaxInternalUtils.addNextPossibleAjaxComponent(context, componentClientId);
+ added = AjaxInternalUtils.addNextPossibleAjaxComponent(facesContext, componentClientId);
}
}
}
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-theme-plugin/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-theme-plugin/pom.xml?rev=1731040&r1=1731039&r2=1731040&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-theme-plugin/pom.xml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-tool/tobago-theme-plugin/pom.xml Thu Feb 18 10:46:25 2016
@@ -84,6 +84,14 @@
<artifactId>maven-plugin-plugin</artifactId>
<version>3.4</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <!-- switched off, because of the @goal tags, etc. -->
+ <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
</build>