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
import static java.util.Collections.singleton; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Collection; | |
import java.util.Map; | |
import java.util.concurrent.Future; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
import com.expd.esirdm.config.KafkaConfiguration; |
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
Index: src/java/main/org/apache/zookeeper/server/ServerCnxn.java | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- src/java/main/org/apache/zookeeper/server/ServerCnxn.java (revision 1750738) | |
+++ src/java/main/org/apache/zookeeper/server/ServerCnxn.java (revision ) | |
@@ -45,7 +45,7 @@ | |
// This is just an arbitrary object to represent requests issued by | |
// (aka owned by) this class |
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 io.phaas.avro.events.quote_visibility_event_v1; | |
import org.apache.avro.Schema; | |
import org.apache.avro.file.DataFileReader; | |
import org.apache.avro.file.DataFileWriter; | |
import org.apache.avro.file.SeekableByteArrayInput; | |
import org.apache.avro.io.DatumReader; | |
import org.apache.avro.io.DatumWriter; | |
import org.apache.avro.io.Decoder; | |
import org.apache.avro.io.Encoder; |
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 validation; | |
import java.util.List; | |
import java.util.Set; | |
import java.util.stream.Collectors; | |
import javax.validation.ConstraintViolation; | |
import javax.validation.Valid; | |
import javax.validation.Validation; | |
import javax.validation.Validator; |
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 infrastructure; | |
import java.nio.charset.Charset; | |
import org.axonframework.commandhandling.CommandHandlerInterceptor; | |
import org.axonframework.commandhandling.CommandMessage; | |
import org.axonframework.commandhandling.InterceptorChain; | |
import org.axonframework.domain.DomainEventMessage; | |
import org.axonframework.domain.EventMessage; | |
import org.axonframework.domain.Message; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>IE hashchange misfire - angular routing bug</title> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular-route.js"></script> | |
</head> |
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
function ready(fn) { | |
if( document.readyState === "complete" ) { | |
fn(); | |
return; | |
} | |
if (document.addEventListener) { | |
document.addEventListener('DOMContentLoaded', fn); | |
} else { | |
document.attachEvent('onreadystatechange', function() { |
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 mock; | |
import static org.easymock.EasyMock.createMock; | |
import static org.easymock.EasyMock.createNiceMock; | |
import static org.easymock.EasyMock.expect; | |
import static org.easymock.EasyMock.replay; | |
import static org.easymock.EasyMock.verify; | |
import static org.junit.Assert.assertEquals; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertNull; |