id stringlengths 7 14 | text stringlengths 1 106k |
|---|---|
3649012_9 | public Class<?> getClassDecorator(Class<? extends Annotation> clazzPositionalFieldAnnotation){
if (!isFFPojoAnnotationField(clazzPositionalFieldAnnotation)){
throw new FFPojoException(String.format("The class %s not seem a DelimitedField or PositionalField annotation.", clazzPositionalFieldAnnotation));
... |
3655926_0 | static void read(SBOLDocument doc,String stringBuffer,String URIPrefix,String displayId,String defaultVersion) throws IOException, SBOLConversionException, SBOLValidationException {
so = new SequenceOntology();
// reset the global static variables needed for parsing
//lineCounter = 0;
doc.addNamespace(URI.create(GB... |
3655926_1 | static void read(SBOLDocument doc,String stringBuffer,String URIPrefix,String displayId,String defaultVersion) throws IOException, SBOLConversionException, SBOLValidationException {
so = new SequenceOntology();
// reset the global static variables needed for parsing
//lineCounter = 0;
doc.addNamespace(URI.create(GB... |
3655926_2 | static void read(SBOLDocument doc,String stringBuffer,String URIprefix,String displayId,String version,URI encoding) throws SBOLValidationException, IOException
{
// reset the global static variables needed for parsing
nextLine = null;
//lineCounter = 0;
String strLine;
StringBuilder sbSequence = new StringBuilder... |
3655926_3 | static String extractPersistentId(URI objURI) {
String URIstr = objURI.toString();
Matcher m = genericURIpattern1Pat.matcher(URIstr);
if (m.matches()) {
return m.group(1);
}
else {
return null;
}
} |
3655926_4 | static String extractPersistentId(URI objURI) {
String URIstr = objURI.toString();
Matcher m = genericURIpattern1Pat.matcher(URIstr);
if (m.matches()) {
return m.group(1);
}
else {
return null;
}
} |
3655926_5 | static String extractPersistentId(URI objURI) {
String URIstr = objURI.toString();
Matcher m = genericURIpattern1Pat.matcher(URIstr);
if (m.matches()) {
return m.group(1);
}
else {
return null;
}
} |
3655926_6 | static String extractPersistentId(URI objURI) {
String URIstr = objURI.toString();
Matcher m = genericURIpattern1Pat.matcher(URIstr);
if (m.matches()) {
return m.group(1);
}
else {
return null;
}
} |
3655926_7 | static String extractPersistentId(URI objURI) {
String URIstr = objURI.toString();
Matcher m = genericURIpattern1Pat.matcher(URIstr);
if (m.matches()) {
return m.group(1);
}
else {
return null;
}
} |
3655926_8 | static String extractPersistentId(URI objURI) {
String URIstr = objURI.toString();
Matcher m = genericURIpattern1Pat.matcher(URIstr);
if (m.matches()) {
return m.group(1);
}
else {
return null;
}
} |
3655926_9 | static String extractPersistentId(URI objURI) {
String URIstr = objURI.toString();
Matcher m = genericURIpattern1Pat.matcher(URIstr);
if (m.matches()) {
return m.group(1);
}
else {
return null;
}
} |
3657930_0 | @Override
public boolean containsKey(Object key) {
String realKey = keyMapping.get(convert(key));
return realKey != null && super.containsKey(realKey);
} |
3657930_1 | @Override
public boolean containsKey(Object key) {
String realKey = keyMapping.get(convert(key));
return realKey != null && super.containsKey(realKey);
} |
3657930_2 | @Override
public Object put(String key, Object value) {
keyMapping.put(convert(key), key);
return super.put(key, value);
} |
3657930_3 | @Override
public Object put(String key, Object value) {
keyMapping.put(convert(key), key);
return super.put(key, value);
} |
3657930_4 | @Override
public void putAll(Map<? extends String, ?> m) {
super.putAll(m);
for (String key: m.keySet()) {
keyMapping.put(convert(key), key);
}
} |
3657930_5 | @Override
public Object get(Object key) {
String realKey = keyMapping.get(convert(key));
return realKey == null ? null : super.get(realKey);
} |
3657930_6 | @Override
public Object get(Object key) {
String realKey = keyMapping.get(convert(key));
return realKey == null ? null : super.get(realKey);
} |
3657930_7 | @Override
public Object remove(Object key) {
keyMapping.remove(convert(key));
return super.remove(key);
} |
3657930_8 | @Override
public void clear() {
super.clear();
keyMapping.clear();
} |
3657930_9 | public boolean validate(LdapConnection connection) {
try {
return connection.isConnected()
&& (connection.lookup(Dn.ROOT_DSE, SchemaConstants.NO_ATTRIBUTE) != null);
} catch (LdapException e) {
log.info("validating failed: {}", e);
return false;
}
} |
3661343_0 | @Override
public void execute() throws MojoExecutionException {
validateParameters();
project.addCompileSourceRoot(outputDirectory.getPath());
Map<JavaInterfaceSource, String> interfaces = getInterfaces();
Map<JavaClassSource, String> pojos = createPojos(interfaces);
final File outputPackage =
... |
3661343_1 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_2 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_3 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_4 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_5 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_6 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_7 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_8 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3661343_9 | public static String linkifyUrlsInHtml(String content) {
Matcher existingLinksMatcher = existingLinksPattern.matcher(content);
StringBuilder result = new StringBuilder();
int lastIndex = 0;
while (existingLinksMatcher.find()) {
int startIndex = existingLinksMatcher.start();
int endIndex ... |
3662576_0 | public static VaadletsBuilder build(final com.mymita.vaadlets.core.Component aComponent) {
final VaadletsBuilder builder = new VaadletsBuilder();
builder.create(aComponent);
return builder;
} |
3662576_1 | public static VaadletsBuilder build(final com.mymita.vaadlets.core.Component aComponent) {
final VaadletsBuilder builder = new VaadletsBuilder();
builder.create(aComponent);
return builder;
} |
3664810_0 | @RequestMapping(value = BASE_MAPPING + "/{id}", method = RequestMethod.GET)
public ResponseEntity<EntityModel<?>> getItemResource(RootResourceInformation resourceInformation,
@BackendId Serializable id, final PersistentEntityResourceAssembler assembler, @RequestHeader HttpHeaders headers)
throws HttpRequestMethodNo... |
3669065_0 | public static Passphrase generateNumeric9x4Passphrase() {
return generateNumeric9x4Passphrase(new SecureRandom());
} |
3669065_1 | public static boolean isNumeric9x4Passphrase(Passphrase transferCodeChars) {
return isNumeric9x4Passphrase(CharBuffer.wrap(transferCodeChars.getCharArray()));
} |
3669065_2 | public static boolean isNumeric9x4Passphrase(Passphrase transferCodeChars) {
return isNumeric9x4Passphrase(CharBuffer.wrap(transferCodeChars.getCharArray()));
} |
3669065_3 | @Nullable
public static URL toWebKeyDirectoryURL(String name, Boolean wkdMethodAdvanced) {
if (name == null) {
return null;
}
if (name.startsWith("https://") && name.contains("/.well-known/openpgpkey/")) {
try {
return new URL(name);
} catch (MalformedURLException e) {
... |
3669065_4 | @Nullable
public static URL toWebKeyDirectoryURL(String name, Boolean wkdMethodAdvanced) {
if (name == null) {
return null;
}
if (name.startsWith("https://") && name.contains("/.well-known/openpgpkey/")) {
try {
return new URL(name);
} catch (MalformedURLException e) {
... |
3669065_5 | @Nullable
public static URL toWebKeyDirectoryURL(String name, Boolean wkdMethodAdvanced) {
if (name == null) {
return null;
}
if (name.startsWith("https://") && name.contains("/.well-known/openpgpkey/")) {
try {
return new URL(name);
} catch (MalformedURLException e) {
... |
3669065_6 | @Nullable
public static URL toWebKeyDirectoryURL(String name, Boolean wkdMethodAdvanced) {
if (name == null) {
return null;
}
if (name.startsWith("https://") && name.contains("/.well-known/openpgpkey/")) {
try {
return new URL(name);
} catch (MalformedURLException e) {
... |
3669065_7 | @Nullable
public static URL toWebKeyDirectoryURL(String name, Boolean wkdMethodAdvanced) {
if (name == null) {
return null;
}
if (name.startsWith("https://") && name.contains("/.well-known/openpgpkey/")) {
try {
return new URL(name);
} catch (MalformedURLException e) {
... |
3669065_8 | @Nullable
public static URL toWebKeyDirectoryURL(String name, Boolean wkdMethodAdvanced) {
if (name == null) {
return null;
}
if (name.startsWith("https://") && name.contains("/.well-known/openpgpkey/")) {
try {
return new URL(name);
} catch (MalformedURLException e) {
... |
3669065_9 | @Nullable
public static URL toWebKeyDirectoryURL(String name, Boolean wkdMethodAdvanced) {
if (name == null) {
return null;
}
if (name.startsWith("https://") && name.contains("/.well-known/openpgpkey/")) {
try {
return new URL(name);
} catch (MalformedURLException e) {
... |
3674743_0 | @Override
public int getSendSuccessCount() {
return sendSuccessCount.get();
} |
3674743_1 | @Override
public int getDiscardedBucketsCount() {
return outputStream.getDiscardedBucketCount();
} |
3687614_0 | public static EmbedVaadinConfig defaultConfig() {
return new EmbedVaadinConfig(new Properties());
} |
3687614_1 | public static Properties loadProperties() {
return loadProperties(CONFIG_LOCATION, false);
} |
3687614_2 | public static Properties loadProperties() {
return loadProperties(CONFIG_LOCATION, false);
} |
3687614_3 | public static Properties loadProperties() {
return loadProperties(CONFIG_LOCATION, false);
} |
3687614_4 | public String getContextPath() {
return contextPath;
} |
3687614_5 | public String getContextPath() {
return contextPath;
} |
3687614_6 | public boolean getBooleanProperty(String key, boolean defaultValue) {
final String value = properties.getProperty(key, String.valueOf(defaultValue));
return Boolean.valueOf(value);
} |
3687614_7 | public boolean getBooleanProperty(String key, boolean defaultValue) {
final String value = properties.getProperty(key, String.valueOf(defaultValue));
return Boolean.valueOf(value);
} |
3687614_8 | public int getIntProperty(String key, int defaultValue) {
final String value = properties.getProperty(key, String.valueOf(defaultValue));
return Integer.valueOf(value);
} |
3687614_9 | public int getIntProperty(String key, int defaultValue) {
final String value = properties.getProperty(key, String.valueOf(defaultValue));
return Integer.valueOf(value);
} |
3690150_0 | public static List<String> unsatisfiedExpressions(AttributeHolder attributeHolder, String[] expressions) {
List<String> failed = new ArrayList<String>();
for (String expression : expressions)
if (!satisfied(attributeHolder, expression))
failed.add(expression);
return failed;
} |
3690150_1 | public static List<String> unsatisfiedExpressions(AttributeHolder attributeHolder, String[] expressions) {
List<String> failed = new ArrayList<String>();
for (String expression : expressions)
if (!satisfied(attributeHolder, expression))
failed.add(expression);
return failed;
} |
3690150_2 | public boolean isDayBefore(Date anotherDate) {
Calendar day = Calendar.getInstance();
day.setTime(date);
day.set(Calendar.HOUR_OF_DAY, 0);
day.set(Calendar.MINUTE, 0);
day.set(Calendar.SECOND, 0);
day.set(Calendar.MILLISECOND, 0);
Calendar anotherDay = Calendar.getInstance();
anotherDay.setTime(anotherDate);
a... |
3690150_3 | public boolean isDayBefore(Date anotherDate) {
Calendar day = Calendar.getInstance();
day.setTime(date);
day.set(Calendar.HOUR_OF_DAY, 0);
day.set(Calendar.MINUTE, 0);
day.set(Calendar.SECOND, 0);
day.set(Calendar.MILLISECOND, 0);
Calendar anotherDay = Calendar.getInstance();
anotherDay.setTime(anotherDate);
a... |
3690150_4 | public boolean isDayBefore(Date anotherDate) {
Calendar day = Calendar.getInstance();
day.setTime(date);
day.set(Calendar.HOUR_OF_DAY, 0);
day.set(Calendar.MINUTE, 0);
day.set(Calendar.SECOND, 0);
day.set(Calendar.MILLISECOND, 0);
Calendar anotherDay = Calendar.getInstance();
anotherDay.setTime(anotherDate);
a... |
3690150_5 | public boolean isDayBefore(Date anotherDate) {
Calendar day = Calendar.getInstance();
day.setTime(date);
day.set(Calendar.HOUR_OF_DAY, 0);
day.set(Calendar.MINUTE, 0);
day.set(Calendar.SECOND, 0);
day.set(Calendar.MILLISECOND, 0);
Calendar anotherDay = Calendar.getInstance();
anotherDay.setTime(anotherDate);
a... |
3690150_6 | public boolean isSameDay(Date anotherDate) {
Calendar day = Calendar.getInstance();
day.setTime(date);
day.set(Calendar.HOUR_OF_DAY, 0);
day.set(Calendar.MINUTE, 0);
day.set(Calendar.SECOND, 0);
day.set(Calendar.MILLISECOND, 0);
Calendar anotherDay = Calendar.getInstance();
anotherDay.setTime(anotherDate);
ano... |
3690150_7 | public boolean isSameDay(Date anotherDate) {
Calendar day = Calendar.getInstance();
day.setTime(date);
day.set(Calendar.HOUR_OF_DAY, 0);
day.set(Calendar.MINUTE, 0);
day.set(Calendar.SECOND, 0);
day.set(Calendar.MILLISECOND, 0);
Calendar anotherDay = Calendar.getInstance();
anotherDay.setTime(anotherDate);
ano... |
3690150_8 | public static Object[] determineControllerMethodParameters(Object controller, Method method, Map<Class<?>, Object> argumentsByType,
ConversionService conversionService, ApplicationContext applicationContext) throws RequestValidationException {
Class<?>[] ty... |
3690150_9 | public static Object[] determineControllerMethodParameters(Object controller, Method method, Map<Class<?>, Object> argumentsByType,
ConversionService conversionService, ApplicationContext applicationContext) throws RequestValidationException {
Class<?>[] ty... |
3691193_0 | @Override
public SimpleObject getAll(RequestContext requestContext) throws ResponseException {
List<AdministrativeNotification> notifications = Context.getService(AdministrativeNotificationService.class).getAdministrativeNotifications();
return new NeedsPaging<AdministrativeNotification>(notifications, requestC... |
3691193_1 | @RequestMapping(value = "/module/appframework/apps.json", method = RequestMethod.GET)
@ResponseBody
public List<AppDescriptor> getApps() {
log.info("Fetching the list of apps");
AppFrameworkService appFrameworkService = getAppFrameworkService();
List<AppDescriptor> appsList = appFrameworkService.getAllApps(... |
3691193_2 | @Override
public List<AdministrativeNotification> getAdministrativeNotifications() {
List<AdministrativeNotification> ret = new ArrayList<AdministrativeNotification>();
if (administrativeNotificationProducers != null) {
for (AdministrativeNotificationProducer producer : administrativeNotificationProduce... |
3691193_3 | @Override
public List<AppDescriptor> getAllApps() {
return allAppDescriptors.getAppDescriptors();
} |
3691193_4 | @Override
public List<AppDescriptor> getAllEnabledApps() {
// first just get all apps
List<AppDescriptor> appDescriptors = getAllApps();
// find out which ones are disabled
List<AppDescriptor> disabledAppDescriptors = new ArrayList<AppDescriptor>();
for (AppDescriptor appDescriptor : appDescriptors) {
if (disabl... |
3691193_5 | @Override
public List<AppDescriptor> getAllEnabledApps() {
// first just get all apps
List<AppDescriptor> appDescriptors = getAllApps();
// find out which ones are disabled
List<AppDescriptor> disabledAppDescriptors = new ArrayList<AppDescriptor>();
for (AppDescriptor appDescriptor : appDescriptors) {
if (disabl... |
3691193_6 | @Override
// TODO shouldn't this be getAllFreeStandingExtensions?
public List<Extension> getAllExtensions(String extensionPointId) {
List<Extension> matchingExtensions = new ArrayList<Extension>();
for (Extension extension : allFreeStandingExtensions.getExtensions()) {
if (extensionPointId == null || extension.getE... |
3691193_7 | @Override
public List<Extension> getAllEnabledExtensions() {
List<Extension> extensions = new ArrayList<Extension>();
// first get all extensions from enabled apps
for (AppDescriptor app : getAllEnabledApps()) {
if (app.getExtensions() != null) {
for (Extension extension : app.getExtensions()) {
// extensio... |
3691193_8 | @Override
public List<Extension> getAllEnabledExtensions() {
List<Extension> extensions = new ArrayList<Extension>();
// first get all extensions from enabled apps
for (AppDescriptor app : getAllEnabledApps()) {
if (app.getExtensions() != null) {
for (Extension extension : app.getExtensions()) {
// extensio... |
3691193_9 | @Override
public boolean checkRequireExpression(Requireable candidate, AppContextModel contextModel) {
try {
String requireExpression = candidate.getRequire();
if (StringUtils.isBlank(requireExpression)) {
return true;
} else {
// If any properties in contextModel are Maps, we want to allow scripts to acce... |
369176_10 | public Response process(ResponseChain chain, Response response) {
if (shouldRedirect(response)) {
String uri = response.getHeader("Location").get(0);
Request request = response.getRequest();
if (uri.charAt(0) == '/') {
URI target = request.getURI().resolve(uri);
return client.at(target).addHeaders(request.... |
369176_11 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_12 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_13 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_14 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_15 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_16 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_17 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_18 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_19 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_20 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_21 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_22 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_23 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_24 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_25 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_26 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_27 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_28 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_29 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_30 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_31 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_32 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
369176_33 | public Response process(ResponseChain responseChain, Response response) {
int code = response.getCode();
if (code >= 100 && code <= 299) {
return responseChain.next(response);
}
// 300 range
if (code >= 300 && code <= 399) {
throw new RedicetionException("Http error " + code
+ " when executing request");
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.