This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/var/lib/hudson/jobs/evocatus-web/workspace/src/main/java/com/evocatus/aop/DomainNotifyAdvice.java:22: class, interface, or enum expected | |
public void DomainNotify.postPersist() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.evocatus.aop; | |
import java.io.IOException; | |
import java.lang.Appendable; | |
public aspect AppendableAspect { | |
pointcut appendCall(): call(* Appendable.append(..)); | |
declare soft : IOException : appendCall(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<repositories> | |
<repository> | |
<id>mvn-adamgent</id> | |
<url>http://mvn-adamgent.googlecode.com/svn/maven/release</url> | |
<name>Adam Gent Maven Repository</name> | |
</repository> | |
</repositories> | |
<dependencies> | |
<dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javax.el.ELException: Cannot convert [] of type class com.google.common.collect.Collections2$FilteredCollection to interface java.util.List | |
at org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:434) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.evocatus.util; | |
import javax.servlet.ServletContext; | |
import javax.servlet.ServletContextEvent; | |
import javax.servlet.ServletContextListener; | |
public class SimpleContextListenerConfig /*extend ResourceBundle */ implements ServletContextListener{ | |
private ServletContext servletContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static Map<String, String> parseQueryParameters(String uri, String encoding) { | |
URI url = toURI(uri); | |
if (url == null) return null; | |
List<NameValuePair> nvps = URLEncodedUtils.parse(url, encoding); | |
LinkedHashMap<String, String> m = new LinkedHashMap<String, String>(); | |
for (NameValuePair nvp : nvps) { | |
m.put(nvp.getName(), nvp.getValue()); | |
} | |
return m; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static String toAscii(String str) { | |
if (str == null) return null; | |
return Normalizer.normalize(str, Normalizer.Form.NFD).replaceAll("[^\\p{ASCII}]",""); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" | |
xmlns:c="http://java.sun.com/jsp/jstl/core"> | |
<jsp:output omit-xml-declaration="yes"/> | |
<jsp:directive.attribute name="name" type="java.lang.String" required="true" rtexprvalue="true" description="Name"/> | |
<jsp:directive.attribute name="value" type="java.lang.String" required="true" rtexprvalue="true" description="Value"/> | |
<jsp:scriptlet> | |
//<![CDATA[ | |
String name = (String) jspContext.getAttribute("name"); | |
String value = (String) jspContext.getAttribute("value"); | |
out.write(" " + name + "=" + "\"" + value + "\""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 8 ]> | |
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js">/* */</script> | |
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script> | |
<![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.snaphop.spring; | |
import java.lang.reflect.InvocationTargetException; | |
import javax.servlet.ServletConfig; | |
import org.atmosphere.cpr.AtmosphereServlet; | |
import org.atmosphere.cpr.Broadcaster; | |
import org.atmosphere.cpr.BroadcasterFactory; | |
import org.atmosphere.handler.ReflectorServletProcessor; |
OlderNewer