commit
stringlengths
40
40
old_file
stringlengths
4
236
new_file
stringlengths
4
236
old_contents
stringlengths
1
3.26k
new_contents
stringlengths
16
4.43k
subject
stringlengths
16
624
message
stringlengths
17
3.29k
lang
stringclasses
5 values
license
stringclasses
13 values
repos
stringlengths
5
91.5k
c80c975c71fe6323419b7c0b59a45be4e941f395
src/main/java/org/couchbase/mock/memcached/protocol/BinaryGetResponse.java
src/main/java/org/couchbase/mock/memcached/protocol/BinaryGetResponse.java
/* * Copyright 2011 Couchbase, Inc.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* * Copyright 2011 Couchbase, Inc.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Return CAS for get operation
Return CAS for get operation Change-Id: I50d3851dd1954e96c3046e69e507caa6622b6412 Reviewed-on: http://review.couchbase.org/11954 Tested-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com> Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Java
apache-2.0
couchbase/CouchbaseMock,mnunberg/CouchbaseMock,marwensaid/CouchbaseMock,Playtika/CouchbaseMock,Playtika/CouchbaseMock,mnunberg/CouchbaseMock,couchbase/CouchbaseMock,marwensaid/CouchbaseMock
4bb6e49b61ee27bc8c9fde2c62823cbd4fc3249b
src/main/java/org/scribe/extractors/JsonTokenExtractor.java
src/main/java/org/scribe/extractors/JsonTokenExtractor.java
package org.scribe.extractors; import java.util.regex.*; import org.scribe.exceptions.*; import org.scribe.model.*; import org.scribe.utils.*; public class JsonTokenExtractor implements AccessTokenExtractor { private Pattern accessTokenPattern = Pattern.compile("\"access_token\":\\s*\"(\\S*?)\""); public Token ...
package org.scribe.extractors; import java.util.regex.*; import org.scribe.exceptions.*; import org.scribe.model.*; import org.scribe.utils.*; public class JsonTokenExtractor implements AccessTokenExtractor { private Pattern accessTokenPattern = Pattern.compile("\"access_token\":\\s*\"(\\S*?)\""); @Override p...
Revert "Removed the @Override annotation as it resulted in a compilation error."
Revert "Removed the @Override annotation as it resulted in a compilation error." This reverts commit 4aa62564872d9c7a1c494eba507fbbc6f99469d1.
Java
mit
chooco13/scribejava,apakulov/scribe-java,adamnfish/scribe-java,allenj/scribe-java,matsumo/scribe-java,alexsmirnov/scribe-java,ludovicc/scribe-java,rpuch/scribe-java,adamnfish/scribe-java,Vreasy/scribe-java,dsyer/scribe-java,mcxiaoke/oauth-simple,vincentjames501/scribe-java,Dictanova/scribe-java,fengshao0907/scribe-java...
ecd4c0f97afc45f07a381d9d161269435fe02a80
app/models/UserAction.java
app/models/UserAction.java
package models; import models.enumeration.ResourceType; import play.db.ebean.Model; import javax.persistence.*; import java.util.List; @MappedSuperclass abstract public class UserAction extends Model { @Id public Long id; @ManyToOne public User user; @Enumerated(EnumType.STRING) public mode...
package models; import models.enumeration.ResourceType; import play.db.ebean.Model; import javax.persistence.*; import java.util.List; @MappedSuperclass abstract public class UserAction extends Model { private static final long serialVersionUID = 7150871138735757127L; @Id public Long id; @ManyToOne ...
Add missed serial version UID
Add missed serial version UID
Java
apache-2.0
bloodybear/yona,naver/yobi,doortts/forked-for-history,naver/yobi,yona-projects/yona,Limseunghwan/oss,brainagenet/yobi,oolso/yobi,ChangsungKim/TestRepository01,doortts/forked-for-history,doortts/fork-yobi,oolso/yobi,Limseunghwan/oss,ihoneymon/yobi,violetag/demo,violetag/demo,yona-projects/yona,doortts/forked-for-history...
b49249fa3b927cf89409222a3935722ec4c6fe14
src/test/java/net/sf/jabref/model/entry/CanonicalBibEntryTest.java
src/test/java/net/sf/jabref/model/entry/CanonicalBibEntryTest.java
package net.sf.jabref.model.entry; import org.junit.Assert; import org.junit.Test; public class CanonicalBibEntryTest { /** * Simple test for the canonical format */ @Test public void canonicalRepresentation() { BibEntry e = new BibEntry("id", BibtexEntryTypes.ARTICLE); e.setFie...
package net.sf.jabref.model.entry; import org.junit.Assert; import org.junit.Test; public class CanonicalBibEntryTest { @Test public void simpleCanonicalRepresentation() { BibEntry e = new BibEntry("id", BibtexEntryTypes.ARTICLE); e.setField(BibEntry.KEY_FIELD, "key"); e.setField("aut...
Add multiline test for canonical representation
Add multiline test for canonical representation
Java
mit
Braunch/jabref,Braunch/jabref,tschechlovdev/jabref,obraliar/jabref,mredaelli/jabref,tobiasdiez/jabref,JabRef/jabref,mairdl/jabref,grimes2/jabref,Mr-DLib/jabref,Mr-DLib/jabref,shitikanth/jabref,shitikanth/jabref,tobiasdiez/jabref,mairdl/jabref,ayanai1/jabref,obraliar/jabref,mredaelli/jabref,Braunch/jabref,jhshinn/jabref...
884dc3812d61f97ae519d6624f8bf6ed78166122
net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java
net.stickycode.deploy/sticky-cli/src/main/java/net/stickycode/deploy/cli/OptionFieldProcessor.java
/** * Copyright (c) 2010 RedEngine Ltd, http://www.redengine.co.nz. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at h...
/** * Copyright (c) 2010 RedEngine Ltd, http://www.redengine.co.nz. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at h...
Use the @Configured stereotype for command line parameters no need for a special option...
Use the @Configured stereotype for command line parameters no need for a special option...
Java
apache-2.0
walterDurin/stickycode,walterDurin/stickycode,tectronics/stickycode,walterDurin/stickycode,tectronics/stickycode,tectronics/stickycode
702687836c64b677e7d4ac42e50883b7b1cc2cf5
android/app/src/main/java/com/reactnativenavigation/react/JsDevImageLoader.java
android/app/src/main/java/com/reactnativenavigation/react/JsDevImageLoader.java
package com.reactnativenavigation.react; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.os.StrictMode; import android.support.annotation.NonNull; import com.reactnativenavigation.Navigati...
package com.reactnativenavigation.react; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.os.StrictMode; import android.support.annotation.NonNull; import com.reactnativenavigation.Navigati...
Remove hardcoded TitleBar icon dimensions
Remove hardcoded TitleBar icon dimensions
Java
mit
chicojasl/react-native-navigation,junedomingo/react-native-navigation,ceyhuno/react-native-navigation,thanhzusu/react-native-navigation,kristoff-it/react-native-navigation,InTeach/react-native-navigation,coteries/react-native-navigation,guangmingzizai/react-native-navigation,guyca/react-native-navigation,snapme/react-n...
9db6f793c38f2ca88eccfaea9dd54ab197b0ee6b
tensorflow/lite/tools/benchmark/android/src/org/tensorflow/lite/benchmark/BenchmarkModel.java
tensorflow/lite/tools/benchmark/android/src/org/tensorflow/lite/benchmark/BenchmarkModel.java
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Update benchmark app to try to load flex first if available to support the case when we build the flex version.
[lite] Update benchmark app to try to load flex first if available to support the case when we build the flex version. PiperOrigin-RevId: 370787699 Change-Id: I6fb52db0c50a3a2fafb7d698960f6ae57cdce8df
Java
apache-2.0
tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,yongtang/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_stat...
e903fe9a7dd729bff442241a398a301bb3c75e99
rundeck-storage/rundeck-storage-filesys/src/main/java/org/rundeck/storage/data/file/JsonMetadataMapper.java
rundeck-storage/rundeck-storage-filesys/src/main/java/org/rundeck/storage/data/file/JsonMetadataMapper.java
package org.rundeck.storage.data.file; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.File; import java.io.IOException; import java.util.Map; /** * $INTERFACE is ... User: greg Date: 2/18/14 Time: 11:12 AM */ public class JsonMetadataMapper implements MetadataMapper { private ObjectMapper o...
package org.rundeck.storage.data.file; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.File; import java.io.IOException; import java.util.Collections; import java.util.HashMap; import java.util.Map; /** * $INTERFACE is ... User: greg Date: 2/18/14 Time: 11:12 AM */ public class JsonMetadataMappe...
Return empty map if Json metadatafile does not exist
Return empty map if Json metadatafile does not exist
Java
apache-2.0
tjordanchat/rundeck,damageboy/rundeck,rophy/rundeck,rundeck/rundeck,damageboy/rundeck,rophy/rundeck,paul-krohn/rundeck,damageboy/rundeck,tjordanchat/rundeck,jgpacker/rundeck,tjordanchat/rundeck,variacode/rundeck,patcadelina/rundeck,rundeck/rundeck,jgpacker/rundeck,variacode/rundeck,tjordanchat/rundeck,variacode95/runde...
cc87b8513b2e334e8bfd3a725ea6bf48170ce5e8
android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java
android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java
package com.reactnativenavigation.controllers; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.reactnativenavigation.NavigationApplication; public abstract class SplashActivity e...
package com.reactnativenavigation.controllers; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import com.reactnativenavigation.NavigationApplica...
Add option to set custom splash layout
Add option to set custom splash layout
Java
mit
iotize/react-native-navigation,snapme/react-native-navigation,holmesal/react-native-navigation,uni-react/react-native-navigation,Ehesp/react-native-navigation,uni-react/react-native-navigation,Jpoliachik/react-native-navigation,Ehesp/react-native-navigation,MattDavies/react-native-navigation,Jpoliachik/react-native-nav...
9e8343c1350d8cfd1e1b46ff327d55958fd2eafa
gerrit-extension-api/src/main/java/com/google/gerrit/extensions/events/GarbageCollectorListener.java
gerrit-extension-api/src/main/java/com/google/gerrit/extensions/events/GarbageCollectorListener.java
// Copyright (C) 2014 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
// Copyright (C) 2014 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Fix @see to external class in api to allow compilation with Java 8
Fix @see to external class in api to allow compilation with Java 8 The recently added GarbageCollectorListener came with a @see to a JGit class. While Java 7 did not error out on that, Java 8 does: [...]/events/GarbageCollectorListener.java:34: error: reference not found * @see org.eclipse.jgit.api.GarbageColl...
Java
apache-2.0
netroby/gerrit,pkdevbox/gerrit,MerritCR/merrit,quyixia/gerrit,renchaorevee/gerrit,MerritCR/merrit,quyixia/gerrit,pkdevbox/gerrit,joshuawilson/merrit,qtproject/qtqa-gerrit,thesamet/gerrit,MerritCR/merrit,pkdevbox/gerrit,hdost/gerrit,GerritCodeReview/gerrit,thesamet/gerrit,TonyChai24/test,thesamet/gerrit,GerritCodeReview...
3fe23451ac6b2face3c534e19b2508568d31655a
dspace/modules/dryad-rest-webapp/src/main/java/org/datadryad/rest/storage/resolvers/OrganizationStorageResolver.java
dspace/modules/dryad-rest-webapp/src/main/java/org/datadryad/rest/storage/resolvers/OrganizationStorageResolver.java
/* */ package org.datadryad.rest.storage.resolvers; import org.datadryad.rest.storage.rdbms.DatabaseOrganizationStorageImpl; import com.sun.jersey.spi.inject.SingletonTypeInjectableProvider; import java.io.File; import javax.ws.rs.core.Context; import javax.ws.rs.ext.Provider; import org.datadryad.rest.storage.Abstra...
/* */ package org.datadryad.rest.storage.resolvers; import org.datadryad.rest.storage.rdbms.DatabaseOrganizationStorageImpl; import com.sun.jersey.spi.inject.SingletonTypeInjectableProvider; import javax.ws.rs.core.Context; import javax.ws.rs.ext.Provider; import org.datadryad.rest.storage.AbstractOrganizationStorage...
Revert "Switched organization storage back to JSON"
Revert "Switched organization storage back to JSON" This reverts commit 0a1fcfbea514419bd72bfda0c37cd57479e1b491.
Java
bsd-3-clause
ojacobson/dryad-repo,rnathanday/dryad-repo,jamie-dryad/dryad-repo,jamie-dryad/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,jamie-dryad/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,jimallman/dryad-repo,rnathanday/dryad-repo,jamie-dryad/dryad-repo,ojacobson/dryad-repo,jimallman/dr...
1566948f0f4d58acec424e9daebbd080a6897aa0
src/test/java/com/foundationdb/util/FileTestUtils.java
src/test/java/com/foundationdb/util/FileTestUtils.java
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Thi...
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Thi...
Revert "Made printClickableFilename more robust"
Revert "Made printClickableFilename more robust" This reverts commit 39dfa9311ba4c1eb470384540a516feeb7f8f6b3.
Java
agpl-3.0
qiuyesuifeng/sql-layer,relateiq/sql-layer,ngaut/sql-layer,relateiq/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,shunwang/sql-layer-1,jaytaylor/sql-layer,relateiq/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,qiuyesuifeng/sql...
1684197404c712a1a350870b234d8eb861ef330d
src/com/blazeloader/api/api/general/ApiGeneral.java
src/com/blazeloader/api/api/general/ApiGeneral.java
package com.blazeloader.api.api.general; import com.blazeloader.api.main.BLMain; import java.io.File; /** * General API functions */ public class ApiGeneral { /** * Location of Minecraft's working directory (.minecraft). */ public static File mainDir = new File("./"); /** * Location of ...
package com.blazeloader.api.api.general; import com.blazeloader.api.main.BLMain; import java.io.File; /** * General API functions */ public class ApiGeneral { /** * Location of Minecraft's working directory (.minecraft). */ public static File mainDir = new File("./"); /** * Shuts down t...
Remove unneeded fields from APIGeneral
Remove unneeded fields from APIGeneral
Java
bsd-2-clause
Sollace/BlazeLoader,BlazeLoader/BlazeLoader,warriordog/BlazeLoader,Sollace/BlazeLoader,BlazeLoader/BlazeLoader,warriordog/BlazeLoader,BlazeLoader/BlazeLoader
374fd64f37450db87262593410a74710cd8cab97
common/net/silentchaos512/gems/guide/CategoryMap.java
common/net/silentchaos512/gems/guide/CategoryMap.java
package net.silentchaos512.gems.guide; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import com.google.common.collect.Lists; /** * A custom hash map that returns a reversed, sorted list of values when values() is called. Basically, this is just to * fig...
package net.silentchaos512.gems.guide; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import com.google.common.collect.Lists; /** * A custom hash map that returns a reversed, sorted list of values when values() is called. Basically, this is just to * fig...
Fix guide book entry order.
Fix guide book entry order.
Java
mit
SilentChaos512/SilentGems
ea7fe7b3bfcd444bf4e36893e6cb002f8e0ae32d
zipkin-hbase/src/test/guava-hack/src/main/java/com/google/common/base/Stopwatch.java
zipkin-hbase/src/test/guava-hack/src/main/java/com/google/common/base/Stopwatch.java
package com.google.common.base; public final class Stopwatch{ private long start; private long duration; public Stopwatch() { } public Stopwatch start() { start = System.nanoTime(); duration = 0; return this; } public Stopwatch stop() { duration = System.nanoTime() - start; start = 0; return t...
package com.google.common.base; //HBase requires an old version of Guava, and Twitter requires a new one. //HBase only needs the Stopwatch class from guava, so it's simplest to add this class before the actual Guava in the classpath, so HBase sees this old shim. public final class Stopwatch{ private long start; priv...
Add comment explaining why there is a shim
Add comment explaining why there is a shim Signed-off-by: Jeff Smick <f3e731dfa293c7a83119d8aacfa41b5d2d780be9@twitter.com>
Java
apache-2.0
bbc/zipkin,betable/zipkin,coursera/zipkin,zerdliu/zipkin,coursera/zipkin,dsyer/zipkin,jamescway/zipkin,rocwzp/zipkin,dsyer/zipkin,wyzssw/zipkin,coursera/zipkin,drax68/zipkin,betable/zipkin,cogitate/twitter-zipkin-uuid,c3p0hz/zipkin,mt0803/zipkin,lookout/zipkin,fengshao0907/zipkin,rjbhewei/zipkin,wyzssw/zipkin,gneokleo/...
5a9210545798d7590ab786fb49f82078b3a9afc6
runtimesource/com/intellij/rt/execution/junit2/RunOnce.java
runtimesource/com/intellij/rt/execution/junit2/RunOnce.java
package com.intellij.rt.execution.junit2; import junit.framework.TestResult; import junit.framework.TestCase; import junit.framework.TestSuite; import junit.framework.Test; import java.util.Hashtable; import java.util.Enumeration; public class RunOnce extends TestResult { private Hashtable myPeformedTests = new Ha...
package com.intellij.rt.execution.junit2; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestResult; import junit.framework.TestSuite; import java.util.Hashtable; public class RunOnce extends TestResult { private Hashtable myPeformedTests = new Hashtable(); private static fi...
Upgrade to JUnit 4.0: Fixing Vector -> List update consequences.
Upgrade to JUnit 4.0: Fixing Vector -> List update consequences.
Java
apache-2.0
orekyuu/intellij-community,lucafavatella/intellij-community,ivan-fedorov/intellij-community,wreckJ/intellij-community,MER-GROUP/intellij-community,pwoodworth/intellij-community,orekyuu/intellij-community,clumsy/intellij-community,alphafoobar/intellij-community,MichaelNedzelsky/intellij-community,retomerz/intellij-commu...
3f4e233d1be0f42033bd7710c225565313e4e56c
Product/Production/Common/CONNECTCoreLib/src/main/java/gov/hhs/fha/nhinc/mpi/adapter/component/CommonChecks.java
Product/Production/Common/CONNECTCoreLib/src/main/java/gov/hhs/fha/nhinc/mpi/adapter/component/CommonChecks.java
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2010(Year date of delivery) United States Government, as represented by the Secretary of Health and Human Services. All rights reserved. * */ /* * To change this template, choose Tools | Templates * and open the template in the edit...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2010(Year date of delivery) United States Government, as represented by the Secretary of Health and Human Services. All rights reserved. * */ package gov.hhs.fha.nhinc.mpi.adapter.component; import gov.hhs.fha.nhinc.mpilib.Patients; ...
CONNECT MPI Adapter - DB implementation - implemented MPI DB Checks
CONNECT MPI Adapter - DB implementation - implemented MPI DB Checks
Java
bsd-3-clause
healthreveal/CONNECT,sailajaa/CONNECT,beiyuxinke/CONNECT,alameluchidambaram/CONNECT,beiyuxinke/CONNECT,healthreveal/CONNECT,beiyuxinke/CONNECT,beiyuxinke/CONNECT,healthreveal/CONNECT,sailajaa/CONNECT,sailajaa/CONNECT,healthreveal/CONNECT,alameluchidambaram/CONNECT,beiyuxinke/CONNECT,healthreveal/CONNECT
5647421faaaea16ad0e09b27897cd98f24eecd96
src/test/java/info/u_team/u_team_test/init/TestModels.java
src/test/java/info/u_team/u_team_test/init/TestModels.java
package info.u_team.u_team_test.init; import info.u_team.u_team_core.util.registry.ClientRegistry; import info.u_team.u_team_test.TestMod; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.entity.SpriteRenderer; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.eventbus...
package info.u_team.u_team_test.init; import info.u_team.u_team_core.util.registry.ClientRegistry; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.entity.SpriteRenderer; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; pub...
Use the new system now
Use the new system now
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
be099e62a7b9f6bd97cbba2fe812f79fba7c4c72
net.stickycode.mockwire/sticky-mockwire-guice2/src/test/java/net/stickycode/mockwire/guice2/MockwireTckTest.java
net.stickycode.mockwire/sticky-mockwire-guice2/src/test/java/net/stickycode/mockwire/guice2/MockwireTckTest.java
/** * Copyright (c) 2010 RedEngine Ltd, http://www.redengine.co.nz. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at h...
/** * Copyright (c) 2010 RedEngine Ltd, http://www.redengine.co.nz. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at h...
Add two more test suites, pending containment and configuration.
Add two more test suites, pending containment and configuration.
Java
apache-2.0
walterDurin/stickycode,tectronics/stickycode,walterDurin/stickycode,walterDurin/stickycode,tectronics/stickycode,tectronics/stickycode
c2b526d5cb32c70ee44cbd9e6c8aeb911a5e08d4
java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java
java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java
/* Copyright 2010 WebDriver committers Copyright 2010 Google Inc. Portions copyright 2011 Software Freedom Conservatory Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apac...
/* Copyright 2010 WebDriver committers Copyright 2010 Google Inc. Portions copyright 2011 Software Freedom Conservatory Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apac...
Allow running the Android tests on a real device by specifying the external IP of the in-process test server.
EranMes: Allow running the Android tests on a real device by specifying the external IP of the in-process test server. r14991
Java
apache-2.0
s2oBCN/selenium,tarlabs/selenium,bmannix/selenium,GorK-ChO/selenium,TikhomirovSergey/selenium,thanhpete/selenium,jerome-jacob/selenium,blueyed/selenium,Jarob22/selenium,pulkitsinghal/selenium,Sravyaksr/selenium,jknguyen/josephknguyen-selenium,tkurnosova/selenium,dimacus/selenium,sri85/selenium,carsonmcdonald/selenium,o...
5dcd5e917968d63c25e66673f6727f7b21f2bc16
cdk-morphlines/cdk-morphlines-core/src/test/java/com/cloudera/cdk/morphline/api/PrettyPrinterTest.java
cdk-morphlines/cdk-morphlines-core/src/test/java/com/cloudera/cdk/morphline/api/PrettyPrinterTest.java
/* * Copyright 2013 Cloudera Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* * Copyright 2013 Cloudera Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Add utility to nicely indent and format a morphline config file
CDK-237: Add utility to nicely indent and format a morphline config file
Java
apache-2.0
mkwhitacre/kite,ronanstokes/kite,andrewrothstein/kite,rbrush/kite,yuzhu712/cdk,cloudera/cdk,EdwardSkoviak/kite,joey/kite,megnataraj/kite,tinkujohn/kite,rdblue/kite,tinkujohn/kite,mkwhitacre/kite,stevek-ngdata/kite,ronanstokes/kite,andrewrothstein/kite,prazanna/kite,joey/kite,busbey/kite,scalingdata/cdk,dlanza1/kite,bba...
427b92e210ed61238dda30c9398b0e06049723ea
ReactAndroid/src/main/java/com/facebook/yoga/YogaValue.java
ReactAndroid/src/main/java/com/facebook/yoga/YogaValue.java
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
Use Float.compare in java equals
Use Float.compare in java equals Reviewed By: astreet Differential Revision: D4531805 fbshipit-source-id: 723e15381e9fa39837a4c99f726501eda26af11b
Java
mit
Swaagie/react-native,frantic/react-native,facebook/react-native,chnfeeeeeef/react-native,jevakallio/react-native,hoangpham95/react-native,hoastoolshop/react-native,DanielMSchmidt/react-native,PlexChat/react-native,Ehesp/react-native,pandiaraj44/react-native,Maxwell2022/react-native,hoangpham95/react-native,janicdupless...
5af507945753bd9b094a733b7ae4548174fe64d5
src/main/java/org/dynmap/Log.java
src/main/java/org/dynmap/Log.java
package org.dynmap; import java.util.logging.Level; import java.util.logging.Logger; public class Log { protected static final Logger log = Logger.getLogger("Minecraft"); protected static final String LOG_PREFIX = "[dynmap] "; public static boolean verbose = false; public static void info(String msg) ...
package org.dynmap; import java.util.logging.Level; import java.util.logging.Logger; public class Log { protected static Logger log = Logger.getLogger("Minecraft"); protected static String prefix = "[dynmap] "; public static boolean verbose = false; public static void setLogger(Logger logger, String p...
Add support for injecting logger to core
Add support for injecting logger to core
Java
apache-2.0
mikeprimm/DynmapCore,KovuTheHusky/DynmapCore,webbukkit/DynmapCore,instantdelay/DynmapCore,KovuTheHusky/DynmapCore,instantdelay/DynmapCore,webbukkit/DynmapCore,mikeprimm/DynmapCore,webbukkit/DynmapCore,webbukkit/DynmapCore,instantdelay/DynmapCore,mikeprimm/DynmapCore,KovuTheHusky/DynmapCore,KovuTheHusky/DynmapCore,insta...
c4ad7b1fcaa009fcb944c4322227cec9addecae9
picocontainer/src/test/java/cucumber/runtime/java/picocontainer/RunCukesTest.java
picocontainer/src/test/java/cucumber/runtime/java/picocontainer/RunCukesTest.java
package cucumber.runtime.java.picocontainer; import cucumber.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) //@Cucumber.Options(features = "cucumber/runtime/java/picocontainer/dates.feature:2:10") public class RunCukesTest { }
package cucumber.runtime.java.picocontainer; import cucumber.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) //@Cucumber.Options(features = "classpath:cucumber/runtime/java/picocontainer/dates.feature:3:11") public class RunCukesTest { }
Update explicit feature path (but keep it commented out)
Update explicit feature path (but keep it commented out)
Java
mit
ArishArbab/cucumber-jvm,flaviuratiu/cucumber-jvm,brasmusson/cucumber-jvm,HendrikSP/cucumber-jvm,ArishArbab/cucumber-jvm,danielwegener/cucumber-jvm,ArishArbab/cucumber-jvm,demos74dx/cucumber-jvm,andyb-ge/cucumber-jvm,PeterDG/cucumberPro,demos74dx/cucumber-jvm,DPUkyle/cucumber-jvm,brasmusson/cucumber-jvm,guardian/cucumbe...
acf4b91a893b4d13e95304d541f3a50aae67efda
web/src/test/java/org/springframework/security/web/authentication/logout/SimpleUrlLogoutSuccessHandlerTests.java
web/src/test/java/org/springframework/security/web/authentication/logout/SimpleUrlLogoutSuccessHandlerTests.java
package org.springframework.security.web.authentication.logout; import static org.junit.Assert.*; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.mock.web.MockHttpServletResponse; import org.springframework.security....
package org.springframework.security.web.authentication.logout; import static org.junit.Assert.*; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.mock.web.MockHttpServletResponse; import org.springframework.security....
Test to check that absolute URLs work in SimpleUrlLogoutSuccessHandler.
SEC-1674: Test to check that absolute URLs work in SimpleUrlLogoutSuccessHandler.
Java
apache-2.0
yinhe402/spring-security,izeye/spring-security,tekul/spring-security,driftman/spring-security,chinazhaoht/spring-security,diegofernandes/spring-security,vitorgv/spring-security,olezhuravlev/spring-security,Krasnyanskiy/spring-security,dsyer/spring-security,fhanik/spring-security,spring-projects/spring-security,ajdinhed...
4d65fbf8aaead687d5a2a61f0ca4e30846d77c3a
rest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/KapuaExceptionMapper.java
rest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/KapuaExceptionMapper.java
/******************************************************************************* * Copyright (c) 2018 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distr...
/******************************************************************************* * Copyright (c) 2018 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distr...
Write correct HTTP error code in REST Internal Error
Write correct HTTP error code in REST Internal Error Signed-off-by: Claudio Mezzasalma <acdb73fa11473662b10f45613ec005f8be976786@eurotech.com>
Java
epl-1.0
stzilli/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,stzilli/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,stzilli/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua
ab0a365a68cd3aa6fc360031f22b8dc98ea4a2af
microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/queue/models/CreateMessageOptions.java
microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/queue/models/CreateMessageOptions.java
package com.microsoft.windowsazure.services.queue.models; public class CreateMessageOptions extends QueueServiceOptions { private Integer visibilityTimeoutInSeconds; private Integer timeToLiveInSeconds; public Integer getVisibilityTimeoutInSeconds() { return visibilityTimeoutInSeconds; } ...
package com.microsoft.windowsazure.services.queue.models; public class CreateMessageOptions extends QueueServiceOptions { private Integer visibilityTimeoutInSeconds; private Integer timeToLiveInSeconds; public Integer getVisibilityTimeoutInSeconds() { return visibilityTimeoutInSeconds; } ...
Add missing "return this;" to options class
Add missing "return this;" to options class
Java
mit
manikandan-palaniappan/azure-sdk-for-java,herveyw/azure-sdk-for-java,navalev/azure-sdk-for-java,ElliottMiller/azure-sdk-for-java,jalves94/azure-sdk-for-java,anudeepsharma/azure-sdk-for-java,hovsepm/azure-sdk-for-java,ElliottMiller/azure-sdk-for-java,Azure/azure-sdk-for-java,jalves94/azure-sdk-for-java,Azure/azure-sdk-f...
41a87eeda997a85eb65d5f85bfd79f458bec61ed
android/app/src/main/java/com/reactnativenavigation/params/parsers/TitleBarLeftButtonParamsParser.java
android/app/src/main/java/com/reactnativenavigation/params/parsers/TitleBarLeftButtonParamsParser.java
package com.reactnativenavigation.params.parsers; import android.os.Bundle; import com.balysv.materialmenu.MaterialMenuDrawable; import com.reactnativenavigation.params.TitleBarLeftButtonParams; public class TitleBarLeftButtonParamsParser extends TitleBarButtonParamsParser { public TitleBarLeftButtonParams pars...
package com.reactnativenavigation.params.parsers; import android.os.Bundle; import com.balysv.materialmenu.MaterialMenuDrawable; import com.reactnativenavigation.params.TitleBarLeftButtonParams; public class TitleBarLeftButtonParamsParser extends TitleBarButtonParamsParser { public TitleBarLeftButtonParams pars...
Clarify unsupported left button exception message
Clarify unsupported left button exception message
Java
mit
guangmingzizai/react-native-navigation,uni-react/react-native-navigation,chicojasl/react-native-navigation,ceyhuno/react-native-navigation,guangmingzizai/react-native-navigation,iotize/react-native-navigation,yusufyildirim/react-native-navigation,eeynard/react-native-navigation,junedomingo/react-native-navigation,thanh...
601d56a8ae9a70ea60b5b6cde5f3bc71af369549
wire-runtime/src/main/java/com/squareup/wire/EnumAdapter.java
wire-runtime/src/main/java/com/squareup/wire/EnumAdapter.java
/* * Copyright 2013 Square Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2013 Square Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Replace the enum adapter tag map with an integer BST.
Replace the enum adapter tag map with an integer BST. By not using a the map we avoid boxing the integer in both directions and the overhead of the underlying wrapper objects. The sorted array of enum values and the mirrored key array allows us to use a binary-search for reverse lookups. This operation is O(log n) whi...
Java
apache-2.0
drakelord/wire,amikey/wire,square/wire,pforhan/wire,b-cuts/wire-1,drakelord/wire,brandingbrand/wire,fangzhzh/wire,fangzhzh/wire,gvaish/wire,square/wire,cailingxiao/wire,CJstar/wire,square/wire,wakandan/wire,CJstar/wire,drakelord/wire,rcdickerson/wire,cailingxiao/wire,rcdickerson/wire,chwnFlyPig/wire,daj/wire,square/wir...
b370de88793a2f59aee61db30df6f320944d8781
src/main/java/com/github/pedrovgs/problem62/PalindromeList.java
src/main/java/com/github/pedrovgs/problem62/PalindromeList.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Add solution to problem 62
Add solution to problem 62
Java
apache-2.0
JeffreyWei/Algorithms,pedrovgs/Algorithms,ArlenLiu/Algorithms,Ariloum/Algorithms,sridhar-newsdistill/Algorithms,VeskoI/Algorithms,mrgenco/Algorithms-1,inexistence/Algorithms,007slm/Algorithms,Arkar-Aung/Algorithms,zmywly8866/Algorithms,AppScientist/Algorithms,chengjinqian/Algorithms,jibaro/Algorithms,zhdh2008/Algorithm...
b6e1038d08927ef44a3ba52a02bb1d022e772885
lookup.java
lookup.java
import java.util.*; import org.xbill.DNS.*; public class lookup { public static void printAnswer(String name, Lookup lookup) { System.out.print(name + ":"); int result = lookup.getResult(); if (result != Lookup.SUCCESSFUL) System.out.print(" " + lookup.getErrorString()); System.out.println(); if (lookup.getRes...
import java.util.*; import org.xbill.DNS.*; public class lookup { public static void printAnswer(String name, Lookup lookup) { System.out.print(name + ":"); int result = lookup.getResult(); if (result != Lookup.SUCCESSFUL) System.out.print(" " + lookup.getErrorString()); System.out.println(); Name [] aliases =...
Print a list of aliases, if any exist.
Print a list of aliases, if any exist. git-svn-id: becfadaebdf67c7884f0d18099f2460615305e2e@921 c76caeb1-94fd-44dd-870f-0c9d92034fc1
Java
bsd-2-clause
jitsi/dnsjava,mohamad-z/dnsjava,draekko/dnsjava,jitsi/dnsjava,draekko/dnsjava,ieugen/dnsjava,tks-dp/dnsjava,yplo6403/dnsjava,mohamad-z/dnsjava,wmudge/dnsjava,wmudge/dnsjava,tks-dp/dnsjava,yplo6403/dnsjava,slackwareer/javadns,dnsjava/dnsjava
08263b27edd5b5e8cbe9b8ae14adced5504e497a
net.stickycode.deploy.samples/sticky-deploy-sample-main/src/main/java/net/stickycode/deploy/sample/main/HelloWorld.java
net.stickycode.deploy.samples/sticky-deploy-sample-main/src/main/java/net/stickycode/deploy/sample/main/HelloWorld.java
package net.stickycode.deploy.sample.main; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } }
package net.stickycode.deploy.sample.main; public class HelloWorld { public static void main(String[] args) { if (args.length == 0) System.out.println("Hello World!"); for (int i = 0; i < args.length; i++) try { for (int j = 0; j < Integer.parseInt(args[i]); j++) { System.out....
Allow for passing parameters and delaying the run for analysis
Allow for passing parameters and delaying the run for analysis
Java
apache-2.0
tectronics/stickycode,tectronics/stickycode,walterDurin/stickycode,tectronics/stickycode,walterDurin/stickycode,walterDurin/stickycode
978b094ec7b5f43f884472326a0737500080befd
uast/uast-tests/java/Simple/CallExpression.java
uast/uast-tests/java/Simple/CallExpression.java
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
public class Foo { public static String foo = String.format("q"); }
Fix test: remove copyright notice from testdata file
Fix test: remove copyright notice from testdata file
Java
apache-2.0
suncycheng/intellij-community,allotria/intellij-community,mglukhikh/intellij-community,signed/intellij-community,vvv1559/intellij-community,vvv1559/intellij-community,vvv1559/intellij-community,vvv1559/intellij-community,ThiagoGarciaAlves/intellij-community,da1z/intellij-community,suncycheng/intellij-community,ThiagoGa...
6b7dcbea9fdfa6d1ee70ca757dd7a04e2aac08c1
AbstractHealthIndicator.java
AbstractHealthIndicator.java
package com.netflix.karyon.health; public abstract class AbstractHealthIndicator implements HealthIndicator { private final String name; public AbstractHealthIndicator(String name) { this.name = name; } public AbstractHealthIndicator() { this.name = getClass().getSimpleName(); ...
package com.netflix.karyon.health; import java.util.Collections; import java.util.Map; public abstract class AbstractHealthIndicator implements HealthIndicator { private final String name; /** * Creates an AbstractHealthIndicator with the specified name * * @paran name name Name of this ...
Add helper methods for returning indicator status
Add helper methods for returning indicator status
Java
apache-2.0
tcellucci/runtime-health,Netflix/runtime-health,Netflix/runtime-health,tcellucci/runtime-health
89bf63d54085e4fe86a861079b0f33b0c7b4d86d
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/MusicStateSpec.java
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/MusicStateSpec.java
package nodomain.freeyourgadget.gadgetbridge.model; /** * Created by steffen on 07.06.16. */ public class MusicStateSpec { public static final int STATE_PLAYING = 0; public static final int STATE_PAUSED = 1; public static final int STATE_STOPPED = 2; public static final int STATE_UNKNOWN = 3; p...
package nodomain.freeyourgadget.gadgetbridge.model; /** * Created by steffen on 07.06.16. */ public class MusicStateSpec { public static final int STATE_PLAYING = 0; public static final int STATE_PAUSED = 1; public static final int STATE_STOPPED = 2; public static final int STATE_UNKNOWN = 3; p...
Implement hashCode() when you implement equals()!
Implement hashCode() when you implement equals()!
Java
agpl-3.0
Freeyourgadget/Gadgetbridge,roidelapluie/Gadgetbridge,roidelapluie/Gadgetbridge,rosenpin/Gadgetbridge,roidelapluie/Gadgetbridge,Freeyourgadget/Gadgetbridge,rosenpin/Gadgetbridge,Freeyourgadget/Gadgetbridge,rosenpin/Gadgetbridge,Freeyourgadget/Gadgetbridge
8d655f53b6481e0be6294c0e8cfa6a6bbab5e4f9
src/main/java/com/google/devtools/build/skyframe/QueryableGraph.java
src/main/java/com/google/devtools/build/skyframe/QueryableGraph.java
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
// Copyright 2014 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Fix bug in spec of getBatch.
Fix bug in spec of getBatch. -- MOS_MIGRATED_REVID=92398218
Java
apache-2.0
LuminateWireless/bazel,perezd/bazel,mikelalcon/bazel,kidaa/bazel,dhootha/bazel,Topher-the-Geek/bazel,abergmeier-dsfishlabs/bazel,katre/bazel,sicipio/bazel,anupcshan/bazel,ruo91/bazel,mikelalcon/bazel,Topher-the-Geek/bazel,nkhuyu/bazel,Krasnyanskiy/bazel,dhootha/bazel,kchodorow/bazel-1,akira-baruah/bazel,bitemyapp/bazel...
700b3827d4673d8282d3b4640a98f1db2a1f75da
application/src/test/java/com/sanction/thunder/authentication/ThunderAuthenticatorTest.java
application/src/test/java/com/sanction/thunder/authentication/ThunderAuthenticatorTest.java
package com.sanction.thunder.authentication; import com.google.common.base.Optional; import com.google.common.collect.Lists; import io.dropwizard.auth.AuthenticationException; import io.dropwizard.auth.basic.BasicCredentials; import java.util.List; import org.junit.Test; import static org.junit.Assert.assertEquals...
package com.sanction.thunder.authentication; import com.google.common.base.Optional; import com.google.common.collect.Lists; import io.dropwizard.auth.AuthenticationException; import io.dropwizard.auth.basic.BasicCredentials; import java.util.List; import org.junit.Test; import static org.junit.Assert.assertEquals...
Use fail() method in tests
Use fail() method in tests
Java
mit
RohanNagar/thunder,NickEckert/thunder,RohanNagar/thunder,RohanNagar/thunder,NickEckert/thunder,NickEckert/thunder,RohanNagar/thunder,RohanNagar/thunder
897960cd70d85fc1014780f3eb3d8d7c5af8469e
core/src/main/java/org/springframework/security/access/expression/ExpressionUtils.java
core/src/main/java/org/springframework/security/access/expression/ExpressionUtils.java
package org.springframework.security.access.expression; import org.springframework.expression.EvaluationContext; import org.springframework.expression.EvaluationException; import org.springframework.expression.Expression; public final class ExpressionUtils { public static boolean evaluateAsBoolean(Expression exp...
package org.springframework.security.access.expression; import org.springframework.expression.EvaluationContext; import org.springframework.expression.EvaluationException; import org.springframework.expression.Expression; public final class ExpressionUtils { public static boolean evaluateAsBoolean(Expression exp...
Add expression string to failed expression evaluation exception message to help clarify the context.
Add expression string to failed expression evaluation exception message to help clarify the context.
Java
apache-2.0
SanjayUser/SpringSecurityPro,ajdinhedzic/spring-security,kazuki43zoo/spring-security,likaiwalkman/spring-security,jgrandja/spring-security,dsyer/spring-security,pkdevbox/spring-security,izeye/spring-security,ajdinhedzic/spring-security,zhaoqin102/spring-security,diegofernandes/spring-security,zshift/spring-security,zgs...
3f1d983f67e131cfef7ee021a7d48ddb054a93fe
xml/relaxng/test/org/intellij/plugins/relaxNG/AbstractParsingTest.java
xml/relaxng/test/org/intellij/plugins/relaxNG/AbstractParsingTest.java
/* * Copyright 2007 Sascha Weinreuter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2007 Sascha Weinreuter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Fix RelaxNG tests in CE
Fix RelaxNG tests in CE
Java
apache-2.0
dslomov/intellij-community,FHannes/intellij-community,signed/intellij-community,ol-loginov/intellij-community,allotria/intellij-community,salguarnieri/intellij-community,tmpgit/intellij-community,nicolargo/intellij-community,mglukhikh/intellij-community,idea4bsd/idea4bsd,kool79/intellij-community,caot/intellij-communit...
f69ac0662aa96eb1081c781c8ffdf37c637ea09c
k9mail/src/main/java/com/fsck/k9/message/html/HtmlSanitizer.java
k9mail/src/main/java/com/fsck/k9/message/html/HtmlSanitizer.java
package com.fsck.k9.message.html; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.safety.Cleaner; import org.jsoup.safety.Whitelist; public class HtmlSanitizer { private final HeadCleaner headCleaner; private final Cleaner cleaner; HtmlSanitizer() { Whitelist whitelist...
package com.fsck.k9.message.html; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.safety.Cleaner; import org.jsoup.safety.Whitelist; public class HtmlSanitizer { private final HeadCleaner headCleaner; private final Cleaner cleaner; HtmlSanitizer() { Whitelist whitelist...
Add more table elements attributes to whitelist
Add more table elements attributes to whitelist
Java
apache-2.0
cketti/k-9,k9mail/k-9,k9mail/k-9,cketti/k-9,cketti/k-9,philipwhiuk/k-9,philipwhiuk/k-9,k9mail/k-9,cketti/k-9
2b896b891010fca83736ec459c3642bf04115c33
plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenProblemFileHighlighter.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenProblemFileHighlighter.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Remove unnecessary getting of read action.
Remove unnecessary getting of read action.
Java
apache-2.0
ibinti/intellij-community,akosyakov/intellij-community,apixandru/intellij-community,adedayo/intellij-community,blademainer/intellij-community,retomerz/intellij-community,kool79/intellij-community,hurricup/intellij-community,petteyg/intellij-community,asedunov/intellij-community,dslomov/intellij-community,vladmm/intelli...
668270916f8d781458395ef0cb2ac72f5a02e989
src/main/java/org/skyscreamer/jsonassert/comparator/CustomComparator.java
src/main/java/org/skyscreamer/jsonassert/comparator/CustomComparator.java
package org.skyscreamer.jsonassert.comparator; import org.json.JSONException; import org.skyscreamer.jsonassert.Customization; import org.skyscreamer.jsonassert.JSONCompareMode; import org.skyscreamer.jsonassert.JSONCompareResult; import org.skyscreamer.jsonassert.ValueMatcherException; import java.util.Arrays; impor...
package org.skyscreamer.jsonassert.comparator; import org.json.JSONException; import org.skyscreamer.jsonassert.Customization; import org.skyscreamer.jsonassert.JSONCompareMode; import org.skyscreamer.jsonassert.JSONCompareResult; import org.skyscreamer.jsonassert.ValueMatcherException; import java.util.Arrays; impor...
Remove minor unwanted code change
Remove minor unwanted code change
Java
apache-2.0
h5tube/JSONassert,assilzm/JSONassert,h5tube/JSONassert,carterpage/JSONassert,assilzm/JSONassert,skyscreamer/JSONassert,skyscreamer/JSONassert,carterpage/JSONassert
87f2a0d1ea42e9e30cf77ce162bf7d4b4adaa381
src/main/java/com/akiban/server/error/InvalidOperationException.java
src/main/java/com/akiban/server/error/InvalidOperationException.java
/** * Copyright (C) 2011 Akiban Technologies Inc. * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
/** * Copyright (C) 2011 Akiban Technologies Inc. * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
Undo change to IOE full message to use ErrorCode name not formatted code number. Due to Adatper tests expecting message text not to change.
Undo change to IOE full message to use ErrorCode name not formatted code number. Due to Adatper tests expecting message text not to change.
Java
agpl-3.0
ngaut/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,wfxiang08/sql-layer-1,relateiq/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,ngaut/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,jaytaylor/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-la...
411f04d3df8b1ef8adf4ff9ff4b9447f8e86fefa
src/model/effects/ModifyAttribute.java
src/model/effects/ModifyAttribute.java
package model.effects; import model.Effect; import model.stats.Stat; import model.unit.Unit; public class ModifyAttribute extends Effect { public ModifyAttribute(String name, String attribute, double power) { super(name,attribute); this.addStat(new Stat("Power",power)); } @Override public void enact(Unit t...
package model.effects; import model.Effect; import model.stats.Stat; import model.unit.Unit; public class ModifyAttribute extends Effect { public ModifyAttribute(String name, String attribute, double power) { super(name,attribute); this.addStat(new Stat("Power",power)); } @Override public void enact(Unit t...
Destroy units properly using Custom Abilities
Destroy units properly using Custom Abilities
Java
mit
dylangsjackson/MissingNoEngine,dylangsjackson/MissingNoEngine,bradleysykes/game_leprechaun
b200f8f185d5e64b411f7999eba3b9a3c828d137
java/client/src/org/openqa/selenium/lift/TestContext.java
java/client/src/org/openqa/selenium/lift/TestContext.java
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
Remove unnecessary modifiers and cleanup whitespace.
JasonLeyba: Remove unnecessary modifiers and cleanup whitespace. r12481
Java
apache-2.0
twalpole/selenium,anshumanchatterji/selenium,krmahadevan/selenium,twalpole/selenium,Jarob22/selenium,onedox/selenium,oddui/selenium,stupidnetizen/selenium,quoideneuf/selenium,carsonmcdonald/selenium,telefonicaid/selenium,yukaReal/selenium,RamaraoDonta/ramarao-clone,blueyed/selenium,manuelpirez/selenium,thanhpete/seleni...
9ec6a6d1aad7b623728bc65a6a836bc9ee21a9ce
src/main/java/com/gmail/nossr50/events/experience/McMMOPlayerLevelUpEvent.java
src/main/java/com/gmail/nossr50/events/experience/McMMOPlayerLevelUpEvent.java
package com.gmail.nossr50.events.experience; import org.bukkit.entity.Player; import com.gmail.nossr50.skills.utilities.SkillType; /** * Called when a user levels up in a skill */ public class McMMOPlayerLevelUpEvent extends McMMOPlayerExperienceEvent { private int levelsGained; public McMMOPlayerLevelUpE...
package com.gmail.nossr50.events.experience; import org.bukkit.entity.Player; import com.gmail.nossr50.skills.utilities.SkillType; /** * Called when a user levels up in a skill */ public class McMMOPlayerLevelUpEvent extends McMMOPlayerExperienceEvent { private int levelsGained; public McMMOPlayerLevelUpE...
Add constructor for adding multiple levels at once. Need to work out how to handle level-ups in order for this to be properly cancelled, however.
Add constructor for adding multiple levels at once. Need to work out how to handle level-ups in order for this to be properly cancelled, however.
Java
agpl-3.0
isokissa3/mcMMO,Maximvdw/mcMMO,jhonMalcom79/mcMMO_pers,virustotalop/mcMMO,EvilOlaf/mcMMO
8857fb6afc8a6a15d55da9b707f020aea4f1a523
src/rabbit/filter/authenticate/Authenticator.java
src/rabbit/filter/authenticate/Authenticator.java
package rabbit.filter.authenticate; import rabbit.http.HttpHeader; import rabbit.proxy.Connection; /** Something that can authenticate users using some kind of database. */ public interface Authenticator { /** Find the token used to authenticate */ String getToken (HttpHeader header, Connection con); ...
package rabbit.filter.authenticate; import rabbit.http.HttpHeader; import rabbit.proxy.Connection; /** Something that can authenticate users using some kind of database. */ public interface Authenticator { /** Find the token used to authenticate */ String getToken (HttpHeader header, Connection con); ...
Remove param that is no longer used.
Remove param that is no longer used.
Java
apache-2.0
curious-attempt-bunny/rabbit-http-proxy-fake-desktop-headers,toonetown/rabbit-maven
7661e8c539a998588c0d4b8d213829b0409225e3
undertow/src/main/java/hello/PlaintextHandler.java
undertow/src/main/java/hello/PlaintextHandler.java
package hello; import com.google.common.net.MediaType; import io.undertow.server.HttpHandler; import io.undertow.server.HttpServerExchange; import io.undertow.util.Headers; import static hello.HelloWebServer.TEXT_PLAIN; /** * Handles the plaintext test. */ final class PlaintextHandler implements HttpHandler { @O...
package hello; import com.google.common.net.MediaType; import io.undertow.server.HttpHandler; import io.undertow.server.HttpServerExchange; import io.undertow.util.Headers; import java.nio.ByteBuffer; import static hello.HelloWebServer.TEXT_PLAIN; /** * Handles the plaintext test. */ final class PlaintextHandler i...
Make test apples to apples with other framework tests that have started caching the response buffer
Make test apples to apples with other framework tests that have started caching the response buffer
Java
bsd-3-clause
PermeAgility/FrameworkBenchmarks,stefanocasazza/FrameworkBenchmarks,actframework/FrameworkBenchmarks,knewmanTE/FrameworkBenchmarks,herloct/FrameworkBenchmarks,saturday06/FrameworkBenchmarks,sxend/FrameworkBenchmarks,kostya-sh/FrameworkBenchmarks,steveklabnik/FrameworkBenchmarks,Jesterovskiy/FrameworkBenchmarks,mfirry/F...
22d1f1453e8c100b06275e53c5beae8acc83cbd5
iter7/src/main/java/com/akiba/cserver/CServerConstants.java
iter7/src/main/java/com/akiba/cserver/CServerConstants.java
package com.akiba.cserver; public interface CServerConstants { public final static short OK = 1; public final static short END = 2; public final static short ERR = 100; public final static short MISSING_OR_CORRUPT_ROW_DEF = 99; public final static short NON_UNIQUE = 101; public final static short FOREIGN_KEY_MI...
package com.akiba.cserver; public interface CServerConstants { public final static short OK = 1; public final static short END = 2; public final static short ERR = 100; public final static short MISSING_OR_CORRUPT_ROW_DEF = 99; public final static short NON_UNIQUE = 121; // copied from mysql include/my_base.h (l...
Update the error values generated (and returned over the wire) to match those expected by MySQL.
Update the error values generated (and returned over the wire) to match those expected by MySQL.
Java
agpl-3.0
ngaut/sql-layer,relateiq/sql-layer,ngaut/sql-layer,shunwang/sql-layer-1,shunwang/sql-layer-1,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,ngaut/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,jaytaylor/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,relateiq/sql-layer,wfx...
9c3a714f587ff8953f017cc533ef2e55fd6c08e0
proton-j/src/org/apache/qpid/proton/engine/Transport.java
proton-j/src/org/apache/qpid/proton/engine/Transport.java
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
Add constant definition for Proton end of stream
Add constant definition for Proton end of stream git-svn-id: 33ed6c3feaacb64944efc691d1ae8e09b17f2bf9@1343343 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
chirino/proton,Karm/qpid-proton,apache/qpid-proton,apache/qpid-proton,astitcher/qpid-proton-old,wprice/qpid-proton,datawire/qpid-proton,ssorj/qpid-proton,dcristoloveanu/qpid-proton,bozzzzo/qpid-proton,prestona/qpid-proton,FlaPer87/qpid-proton,astitcher/qpid-proton-old,alanconway/qpid-proton,clemensv/qpid-proton,Karm/qp...
a3907d35c690fdbba46e1dde49c9a8d8b39a6823
org.eclipse.dawnsci.plotting.api/src/org/eclipse/dawnsci/plotting/api/trace/ICompositeTrace.java
org.eclipse.dawnsci.plotting.api/src/org/eclipse/dawnsci/plotting/api/trace/ICompositeTrace.java
package org.eclipse.dawnsci.plotting.api.trace; import java.util.List; import org.eclipse.dawnsci.analysis.api.dataset.IDataset; /** * A trace for adding together multiple other traces and plotting * them as if they were images. * * The initial version is for multiple IImageTrace but future versions * might i...
package org.eclipse.dawnsci.plotting.api.trace; import java.util.List; import org.eclipse.dawnsci.analysis.api.dataset.IDataset; /** * A trace for adding together multiple other traces and plotting * them as if they were images. * * The initial version is for multiple IImageTrace but future versions * might i...
Change palette in composite trace
Change palette in composite trace
Java
epl-1.0
willrogers/dawnsci,jamesmudd/dawnsci,colinpalmer/dawnsci,willrogers/dawnsci,DawnScience/dawnsci,jonahkichwacoders/dawnsci,eclipse/dawnsci,belkassaby/dawnsci,jamesmudd/dawnsci,Anthchirp/dawnsci,PeterC-DLS/org.eclipse.dataset,jamesmudd/dawnsci,PeterC-DLS/org.eclipse.dataset,xen-0/dawnsci,colinpalmer/dawnsci,jonahkichwaco...
c38c39c0e65ac19bccdb2f484b0a27ea2d9d4917
authy/mobile-sdk/get-started/register-push-token/register-push-token.java
authy/mobile-sdk/get-started/register-push-token/register-push-token.java
// You should obtain the registration token from your backend // pushToken is optional and you include it if you want us to handle push notifications twilioAuth.setPushToken(pushToken);
// pushToken is optional and you include it if you want us to handle push notifications twilioAuth.setPushToken(pushToken);
Remove invalid comment in snippet
Remove invalid comment in snippet
Java
mit
teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snip...
630eda5ff8bc202b8bf6983ca312f161df6732d5
Java/ShoprAlgorithm/src/com/uwetrottmann/shopr/algorithm/model/GenericAttribute.java
Java/ShoprAlgorithm/src/com/uwetrottmann/shopr/algorithm/model/GenericAttribute.java
package com.uwetrottmann.shopr.algorithm.model; public abstract class GenericAttribute<T> { private T currentValue; double[] mValueWeights; public double[] getValueWeights() { return mValueWeights; } @Override public String toString() { StringBuilder builder = new StringBui...
package com.uwetrottmann.shopr.algorithm.model; public abstract class GenericAttribute<T> { private T currentValue; double[] mValueWeights; public double[] getValueWeights() { return mValueWeights; } @Override public String toString() { StringBuilder builder = new StringBui...
Print zero weights if there is no 1.0 weight.
Print zero weights if there is no 1.0 weight.
Java
apache-2.0
UweTrottmann/Shopr,adiguzel/Shopr
aa8aa931b9950aa80475b9ae508bdb85df9f4dae
dspace/modules/dryad-rest-webapp/src/main/java/org/datadryad/rest/storage/resolvers/ManuscriptStorageResolver.java
dspace/modules/dryad-rest-webapp/src/main/java/org/datadryad/rest/storage/resolvers/ManuscriptStorageResolver.java
/* */ package org.datadryad.rest.storage.resolvers; import org.datadryad.rest.storage.json.ManuscriptJSONStorageImpl; import com.sun.jersey.spi.inject.SingletonTypeInjectableProvider; import java.io.File; import javax.ws.rs.core.Context; import javax.ws.rs.ext.Provider; import org.datadryad.rest.storage.AbstractManus...
/* */ package org.datadryad.rest.storage.resolvers; import org.datadryad.rest.storage.json.ManuscriptJSONStorageImpl; import com.sun.jersey.spi.inject.SingletonTypeInjectableProvider; import java.io.File; import javax.ws.rs.core.Context; import javax.ws.rs.ext.Provider; import org.datadryad.rest.storage.AbstractManus...
Change Manuscript JSON storage to same basedir
Change Manuscript JSON storage to same basedir
Java
bsd-3-clause
jimallman/dryad-repo,jimallman/dryad-repo,jamie-dryad/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,jamie-dryad/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-repo,ojacobson/dryad-repo,jimallman/dryad-repo,ojacobson/dryad-repo,rnathanday/dryad-repo,rnathanday/dryad-...
4fc7f7863e8be44fff8fdf67428c4ba0370602ef
redef/services/src/main/java/no/deichman/services/marc/MarcXmlProvider.java
redef/services/src/main/java/no/deichman/services/marc/MarcXmlProvider.java
package no.deichman.services.marc; import java.io.ByteArrayOutputStream; import org.marc4j.MarcWriter; import org.marc4j.MarcXmlWriter; import org.marc4j.marc.Leader; import org.marc4j.marc.Record; import info.freelibrary.marc4j.impl.LeaderImpl; import info.freelibrary.marc4j.impl.RecordImpl; /** * Responsibility:...
package no.deichman.services.marc; import java.io.ByteArrayOutputStream; import org.marc4j.MarcWriter; import org.marc4j.MarcXmlWriter; import org.marc4j.marc.Leader; import org.marc4j.marc.Record; import info.freelibrary.marc4j.impl.LeaderImpl; import info.freelibrary.marc4j.impl.RecordImpl; /** * Responsibility:...
Refactor magic spaces to constant
Refactor magic spaces to constant
Java
mit
digibib/ls.ext,digibib/ls.ext,digibib/ls.ext,digibib/ls.ext
548dc38348794322e5f0e465bc6a8f2c376018dc
WAKiMail/src/main/java/net/rdrei/android/wakimail/ui/MailDetailActivity.java
WAKiMail/src/main/java/net/rdrei/android/wakimail/ui/MailDetailActivity.java
package net.rdrei.android.wakimail.ui; import net.rdrei.android.wakimail.R; import roboguice.activity.RoboFragmentActivity; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import com.actionbarsherlock.app.ActionBar; public class MailDetailActivity extends RoboFrag...
package net.rdrei.android.wakimail.ui; import net.rdrei.android.wakimail.R; import roboguice.activity.RoboFragmentActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import com.actionbarsherlock.app.ActionBar; import com.actionb...
Use action bar icon to move up from Mail details
Use action bar icon to move up from Mail details
Java
mit
passy/WAKiMail
95a5f87ff5904a24457b1b15abf9da3043b322e0
android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java
android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java
package com.rt2zz.reactnativecontacts; import android.support.annotation.NonNull; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import com.facebook.react.bridge.JavaScript...
package com.rt2zz.reactnativecontacts; import android.support.annotation.NonNull; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import com.facebook.react.bridge.JavaScript...
Fix Android compilation on versions 47+
Fix Android compilation on versions 47+ * removes `@Override` declaration on `ReactNativeContacts.createJSModlues` method * fixes https://github.com/rt2zz/react-native-contacts/issues/236
Java
mit
rt2zz/react-native-contacts,rt2zz/react-native-contacts,rt2zz/react-native-contacts,rt2zz/react-native-contacts
67d0315746992d034618b1af35e423e1134e1d4a
deploy-api/src/main/java/org/intalio/tempo/deployment/DeployedComponent.java
deploy-api/src/main/java/org/intalio/tempo/deployment/DeployedComponent.java
/** * Copyright (c) 2005-2007 Intalio inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Inta...
/** * Copyright (c) 2005-2007 Intalio inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Inta...
Change componentDir from File to String for remote considerations
Change componentDir from File to String for remote considerations git-svn-id: bf08415a33f9c0f05ac2b054c631df0aaa894ee0@248 f54485bd-ff3a-0410-97a1-83db373c2bce
Java
epl-1.0
Everteam-Software/tempo,intalio/tempo,veresh/tempo,intalio/tempo,veresh/tempo,veresh/tempo,Everteam-Software/tempo,veresh/tempo,intalio/tempo,mze3e/tempo,mze3e/tempo,mze3e/tempo,Everteam-Software/tempo,mze3e/tempo,Everteam-Software/tempo,intalio/tempo
59bdcb06a0b7e68f67e178c6f2ec9a3e62a314ed
src/android/UpdateCheck.java
src/android/UpdateCheck.java
package com.gbos.cordova.plugin; import org.apache.cordova.*; import org.json.JSONArray; import org.json.JSONException; public class UpdateCheck extends CordovaPlugin implements ServiceConnection { @Override public boolean execute(String action, JSONArray data, CallbackContext callbackContext) throws JSONExc...
package com.gbos.cordova.plugin; import org.apache.cordova.*; import org.json.JSONArray; import org.json.JSONException; import android.content.*; import android.os.IBinder; public class UpdateCheck extends CordovaPlugin { IntentFilter intentFilter = new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE"); b...
Refactor to support onload and onresume
Refactor to support onload and onresume
Java
mit
GeorgeBaldwin/Cordova_Plugin_App_Update_Check,GeorgeBaldwin/Cordova_Plugin_App_Update_Check
0e43142fbb9f23df66b444030665cc2542f6600d
yamcs-api/src/main/java/org/yamcs/api/ws/YamcsConnectionProperties.java
yamcs-api/src/main/java/org/yamcs/api/ws/YamcsConnectionProperties.java
package org.yamcs.api.ws; import java.net.URI; import java.net.URISyntaxException; public class YamcsConnectionProperties { private String host; private int port; private String instance; public YamcsConnectionProperties(String host, int port, String instance) { this.host = host; t...
package org.yamcs.api.ws; import java.net.URI; import java.net.URISyntaxException; import org.yamcs.ConfigurationException; public class YamcsConnectionProperties { private String host; private int port; private String instance; public YamcsConnectionProperties(String host, int port, String inst...
Throw ConfigurationException on urlparse exception
Throw ConfigurationException on urlparse exception
Java
agpl-3.0
yamcs/yamcs,m-sc/yamcs,fqqb/yamcs,fqqb/yamcs,yamcs/yamcs,dhosa/yamcs,fqqb/yamcs,yamcs/yamcs,bitblit11/yamcs,bitblit11/yamcs,bitblit11/yamcs,dhosa/yamcs,fqqb/yamcs,yamcs/yamcs,dhosa/yamcs,dhosa/yamcs,fqqb/yamcs,yamcs/yamcs,m-sc/yamcs,fqqb/yamcs,dhosa/yamcs,yamcs/yamcs,m-sc/yamcs,bitblit11/yamcs,m-sc/yamcs,bitblit11/yamc...
45f0d3f4688480e27400788dd8420ab4a04c2cbf
server/src/test/java/scoutmgr/server/entity/dao/internal/PersonRepositoryImplTest.java
server/src/test/java/scoutmgr/server/entity/dao/internal/PersonRepositoryImplTest.java
package scoutmgr.server.entity.dao.internal; import java.util.List; import scoutmgr.server.entity.Person; import org.testng.annotations.Test; import static org.testng.Assert.*; public class PersonRepositoryImplTest extends AbstractPersonRepositoryImplTest { @Test public void findAllWhereNameLike() throws Ex...
package scoutmgr.server.entity.dao.internal; import java.util.List; import org.testng.annotations.BeforeMethod; import scoutmgr.server.entity.Person; import org.testng.annotations.Test; import static org.testng.Assert.*; import org.postgresql.Driver; public class PersonRepositoryImplTest extends AbstractPersonRepos...
Define test.db.driver, so that postgres is used. Need to pull this up into an abstract at some point.
Define test.db.driver, so that postgres is used. Need to pull this up into an abstract at some point.
Java
apache-2.0
jcosmo/scoutmgr,jcosmo/scoutmgr,jcosmo/scoutmgr
19d4c08d0f7d71a8ee9a4d05228051e70d8c962d
src/main/java/com/infinityraider/infinitylib/capability/ICapabilityImplementation.java
src/main/java/com/infinityraider/infinitylib/capability/ICapabilityImplementation.java
package com.infinityraider.infinitylib.capability; import net.minecraft.util.ResourceLocation; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.ICapabilityProvider; public interface ICapabilityImplementation<C extends ICapabilityProvider, V> { Capability<V> g...
package com.infinityraider.infinitylib.capability; import net.minecraft.util.Direction; import net.minecraft.util.ResourceLocation; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.ICapabilityProvider; import net.minecraftforge.common.util.LazyOptional; import ja...
Add default Capability getters to CapabilityImplementation
Add default Capability getters to CapabilityImplementation
Java
mit
InfinityRaider/InfinityLib
33d69f9df4eb773a21deb7d846612627fa48c93f
hawtio-keystore-mbean/src/test/java/io/hawt/keystore/KeystoreServiceTest.java
hawtio-keystore-mbean/src/test/java/io/hawt/keystore/KeystoreServiceTest.java
package io.hawt.keystore; import org.junit.Test; import java.io.IOException; import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertTrue; /** * */ public class KeystoreServiceTest { @Test public void test() throws IOException { KeystoreService service = ne...
package io.hawt.keystore; import org.junit.Test; import java.io.IOException; import static org.junit.Assert.*; /** * */ public class KeystoreServiceTest { @Test public void test() throws IOException { KeystoreService service = new KeystoreService(); SecurityProviderDTO info = service.get...
Update to newer Asserts to eliminate deprecation warning
Update to newer Asserts to eliminate deprecation warning
Java
apache-2.0
stalet/hawtio,mposolda/hawtio,hawtio/hawtio,mposolda/hawtio,tadayosi/hawtio,mposolda/hawtio,tadayosi/hawtio,hawtio/hawtio,mposolda/hawtio,hawtio/hawtio,tadayosi/hawtio,tadayosi/hawtio,skarsaune/hawtio,stalet/hawtio,tadayosi/hawtio,stalet/hawtio,skarsaune/hawtio,stalet/hawtio,skarsaune/hawtio,stalet/hawtio,mposolda/hawt...
4eb4250c3b71c7d687c571b784b9d66b987f0cf4
intermine/web/main/src/org/intermine/webservice/server/user/TokenService.java
intermine/web/main/src/org/intermine/webservice/server/user/TokenService.java
package org.intermine.webservice.server.user; import java.util.Arrays; import java.util.Map; import org.intermine.api.InterMineAPI; import org.intermine.api.profile.Profile; import org.intermine.api.profile.ProfileManager; import org.intermine.webservice.server.core.JSONService; import org.intermine.webservice.server...
package org.intermine.webservice.server.user; import java.util.Arrays; import org.intermine.api.InterMineAPI; import org.intermine.api.profile.Profile; import org.intermine.api.profile.ProfileManager; import org.intermine.webservice.server.core.JSONService; import org.intermine.webservice.server.exceptions.BadRequest...
Support more than one type of token.
Support more than one type of token. This is going to be important for producing decent perma-links to result sets, that can be reliably run at various times in the future by anyone with the link without compromising the user account of the profile involved. Former-commit-id: d0e6996717c9871224411b99f8242a101270b897
Java
lgpl-2.1
drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine,drhee/toxoMine
f016f03079f9c9c5065b6ce4227b4323a32e610e
core/src/main/java/foundation/stack/datamill/db/impl/UnsubscribeOnNextOperator.java
core/src/main/java/foundation/stack/datamill/db/impl/UnsubscribeOnNextOperator.java
package foundation.stack.datamill.db.impl; import rx.Observable; import rx.Subscriber; import rx.exceptions.Exceptions; import java.util.concurrent.atomic.AtomicBoolean; /** * @author Ravi Chodavarapu (rchodava@gmail.com) */ public class UnsubscribeOnNextOperator<T> implements Observable.Operator<T, T> { priva...
package foundation.stack.datamill.db.impl; import rx.Observable; import rx.Subscriber; import rx.exceptions.Exceptions; import java.util.concurrent.atomic.AtomicBoolean; /** * @author Ravi Chodavarapu (rchodava@gmail.com) */ public class UnsubscribeOnNextOperator<T> implements Observable.Operator<T, T> { @Over...
Fix to ensure the unsubscribe on next operator used for database queries can be reused
Fix to ensure the unsubscribe on next operator used for database queries can be reused
Java
isc
rchodava/datamill
5e1ed2acbbfcd5413555ed7d6fb72c4c282a4bf0
core/src/main/java/com/yahoo/ycsb/generator/AcknowledgedCounterGenerator.java
core/src/main/java/com/yahoo/ycsb/generator/AcknowledgedCounterGenerator.java
package com.yahoo.ycsb.generator; import java.util.PriorityQueue; /** * A CounterGenerator that reports generated integers via lastInt() * only after they have been acknowledged. */ public class AcknowledgedCounterGenerator extends CounterGenerator { private PriorityQueue<Integer> ack; private int limit; /** ...
package com.yahoo.ycsb.generator; import java.util.concurrent.locks.ReentrantLock; /** * A CounterGenerator that reports generated integers via lastInt() * only after they have been acknowledged. */ public class AcknowledgedCounterGenerator extends CounterGenerator { private static final int WINDOW_SIZE = 10000; ...
Use a sliding window to track acknowledged values.
Use a sliding window to track acknowledged values.
Java
apache-2.0
ChristianNavolskyi/YCSB,cricket007/YCSB,leschekhomann/YCSB,leschekhomann/YCSB,madhurihn/YCSB_ToyDB,brianfrankcooper/YCSB,zyguan/ycsb,cricket007/YCSB,zyguan/ycsb,madhurihn/YCSB_ToyDB,madhurihn/YCSB_ToyDB,madhurihn/YCSB_ToyDB,jaemyoun/YCSB,leschekhomann/YCSB,cricket007/YCSB,manolama/YCSB,brianfrankcooper/YCSB,leschekhoma...
095cc25a6b7bf9b9f99d6afb41f44d41cb41b8e6
commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/LRUMap.java
commons-jcs-core/src/main/java/org/apache/commons/jcs/utils/struct/LRUMap.java
package org.apache.commons.jcs.utils.struct; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache...
package org.apache.commons.jcs.utils.struct; /** * * @author Wiktor Niesiobędzki * * Simple LRUMap implementation that keeps the number of the objects below or equal maxObjects * * @param <K> * @param <V> */ public class LRUMap<K, V> extends AbstractLRUMap<K, V> { /** if the max is less than 0, the...
Remove unused field and method
Remove unused field and method git-svn-id: fd52ae19693b7be904def34076a5ebbd6e132215@1776745 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/commons-jcs,apache/commons-jcs,apache/commons-jcs
2d783b2e6013851b199eb2fffdd2daf81caacf8c
connectors/kafka/src/test/java/forklift/integration/server/SchemaRegistryService.java
connectors/kafka/src/test/java/forklift/integration/server/SchemaRegistryService.java
package forklift.integration.server; import io.confluent.kafka.schemaregistry.rest.SchemaRegistryConfig; import io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication; import org.eclipse.jetty.server.Server; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Properties; /** * Emb...
package forklift.integration.server; import io.confluent.kafka.schemaregistry.rest.SchemaRegistryConfig; import io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication; import org.eclipse.jetty.server.Server; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Properties; /** * Emb...
Set the embedded schema registry's compatibility mode to full
Set the embedded schema registry's compatibility mode to full
Java
mit
dcshock/forklift,dcshock/forklift
20ec4e3a4916741191288bdd2ab6705d83dd84b8
axelor-core/src/main/java/com/axelor/dms/db/repo/DMSFileRepository.java
axelor-core/src/main/java/com/axelor/dms/db/repo/DMSFileRepository.java
package com.axelor.dms.db.repo; import java.util.Map; import org.joda.time.LocalDateTime; import com.axelor.db.JpaRepository; import com.axelor.dms.db.DMSFile; public class DMSFileRepository extends JpaRepository<DMSFile> { public DMSFileRepository() { super(DMSFile.class); } @Override public Map<String, Ob...
package com.axelor.dms.db.repo; import java.util.List; import java.util.Map; import org.joda.time.LocalDateTime; import com.axelor.db.JpaRepository; import com.axelor.dms.db.DMSFile; public class DMSFileRepository extends JpaRepository<DMSFile> { public DMSFileRepository() { super(DMSFile.class); } @Override...
Delete children when deleting dms folder
Delete children when deleting dms folder
Java
agpl-3.0
axelor/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit
37870b9fe37b83a04e68ab474c6467ae50cc131b
app/src/main/java/com/tobi/movies/posterdetails/MovieDetailsPresenter.java
app/src/main/java/com/tobi/movies/posterdetails/MovieDetailsPresenter.java
package com.tobi.movies.posterdetails; public class MovieDetailsPresenter implements MovieDetailsMVP.Presenter { private final MovieDetailsUseCase movieDetailsUseCase; public MovieDetailsPresenter(MovieDetailsUseCase movieDetailsUseCase) { this.movieDetailsUseCase = movieDetailsUseCase; } @O...
package com.tobi.movies.posterdetails; public class MovieDetailsPresenter implements MovieDetailsMVP.Presenter { private final MovieDetailsUseCase movieDetailsUseCase; public MovieDetailsPresenter(MovieDetailsUseCase movieDetailsUseCase) { this.movieDetailsUseCase = movieDetailsUseCase; } @O...
Add missing loading movie details call to presenter
Add missing loading movie details call to presenter
Java
apache-2.0
tobiasheine/Movies,tobiasheine/Movies
522653a8fcbec1e68d1841bec68d9bd126035fa6
src/main/java/me/coley/recaf/plugin/api/Startup.java
src/main/java/me/coley/recaf/plugin/api/Startup.java
package me.coley.recaf.plugin.api; import me.coley.recaf.control.Controller; public interface Startup extends PluginBase { /** * Called before the controller is started, but after the controller is configured. * * @param controller * The controller context Recaf was started with. */ void onStart(Control...
package me.coley.recaf.plugin.api; import me.coley.recaf.control.Controller; /** * Allows plugins to be notified of Recaf's initialization. * * @author Matt */ public interface Startup extends PluginBase { /** * Called before the controller is started, but after the controller is configured. * * @param con...
Add missing javadoc for startup plugin
Add missing javadoc for startup plugin
Java
mit
Col-E/Recaf,Col-E/Recaf
88f2af04e74e7f90e746958c43315da956b9bff4
src/main/java/org/moonlightcontroller/main/Main.java
src/main/java/org/moonlightcontroller/main/Main.java
package org.moonlightcontroller.main; import java.io.IOException; import org.moonlightcontroller.controller.MoonlightController; import org.moonlightcontroller.registry.ApplicationRegistry; import org.moonlightcontroller.registry.IApplicationRegistry; import org.moonlightcontroller.topology.ITopologyManager; ...
package org.moonlightcontroller.main; import java.io.IOException; import org.moonlightcontroller.controller.MoonlightController; import org.moonlightcontroller.registry.ApplicationRegistry; import org.moonlightcontroller.registry.IApplicationRegistry; import org.moonlightcontroller.topology.ITopologyManager; ...
Fix apps path for experiment
Fix apps path for experiment
Java
apache-2.0
til0n/ml-temp,til0n/ml-temp
d3483ce0ce9d576c9c0ac8a151657b9e00f544b9
src/test/java/com/github/aureliano/achmed/Model.java
src/test/java/com/github/aureliano/achmed/Model.java
package com.github.aureliano.achmed; import com.github.aureliano.achmed.annotation.NotNull; public class Model { private String id; public Model() { super(); } @NotNull public String getId() { return this.id; } public Model withId(String id) { this.id = id; return this; } }
package com.github.aureliano.achmed; import com.github.aureliano.achmed.annotation.NotEmpty; import com.github.aureliano.achmed.annotation.NotNull; import com.github.aureliano.achmed.annotation.Pattern; public class Model { private String id; public Model() { super(); } @NotNull @NotEmpty @Pattern(value =...
Add not empty validation annotation.
Add not empty validation annotation.
Java
mit
aureliano/achmed
11355a7f923fdbbc0e97203719b5db82f96e1bb4
android/src/main/java/com/inprogress/reactnativeyoutube/ReactNativeYouTube.java
android/src/main/java/com/inprogress/reactnativeyoutube/ReactNativeYouTube.java
package com.inprogress.reactnativeyoutube; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; im...
package com.inprogress.reactnativeyoutube; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; im...
Remove depreciated createJSModules @ovveride marker
Remove depreciated createJSModules @ovveride marker
Java
mit
inProgress-team/react-native-youtube,paramaggarwal/react-native-youtube,inProgress-team/react-native-youtube,inProgress-team/react-native-youtube,paramaggarwal/react-native-youtube
74a5b5df23a69d4db3305d2e1c4d27bea880c3cb
src/main/java/com/raoulvdberge/refinedstorage/integration/forgeenergy/ItemEnergyForge.java
src/main/java/com/raoulvdberge/refinedstorage/integration/forgeenergy/ItemEnergyForge.java
package com.raoulvdberge.refinedstorage.integration.forgeenergy; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraftforge.energy.EnergyStorage; public class ItemEnergyForge extends EnergyStorage { private static final String NBT_ENERGY = "Energy"; private ItemSt...
package com.raoulvdberge.refinedstorage.integration.forgeenergy; import net.minecraft.item.ItemStack; import net.minecraft.nbt.CompoundNBT; import net.minecraftforge.energy.EnergyStorage; public class ItemEnergyForge extends EnergyStorage { private static final String NBT_ENERGY = "Energy"; private ItemStack...
Fix errors in integration pkg
Fix errors in integration pkg
Java
mit
raoulvdberge/refinedstorage,raoulvdberge/refinedstorage
a2054df4eb41712cec3194905f608396ff6473de
core/src/main/java/org/musetest/core/resource/generic/GenericResourceConfiguration.java
core/src/main/java/org/musetest/core/resource/generic/GenericResourceConfiguration.java
package org.musetest.core.resource.generic; import org.musetest.core.resource.*; import org.musetest.core.values.*; import java.util.*; /** * A MuseResource that uses a general set of configuration parameters. It is intended for resources which * have a few basic configurations for the user to supply. When used in...
package org.musetest.core.resource.generic; import com.fasterxml.jackson.annotation.*; import org.musetest.core.*; import org.musetest.core.resource.*; import org.musetest.core.values.*; import java.util.*; /** * A MuseResource that uses a general set of configuration parameters. It is intended for resources which ...
Add convenience method for getting boolean sub-source values.
Add convenience method for getting boolean sub-source values.
Java
apache-2.0
ChrisLMerrill/muse,ChrisLMerrill/muse
6a59e4ad609ecc84d1e7efcb6240175f981d6a66
org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWizardDialog.java
org.jboss.reddeer.jface/src/org/jboss/reddeer/eclipse/jface/wizard/NewWizardDialog.java
package org.jboss.reddeer.eclipse.jface.wizard; import org.apache.log4j.Logger; import org.jboss.reddeer.swt.api.Menu; import org.jboss.reddeer.swt.impl.menu.DefaultMenu; import org.jboss.reddeer.swt.impl.shell.ActiveShell; import org.jboss.reddeer.swt.impl.tree.DefaultTreeItem; /** * Abstract class to manage new wi...
package org.jboss.reddeer.eclipse.jface.wizard; import org.apache.log4j.Logger; import org.jboss.reddeer.swt.api.Menu; import org.jboss.reddeer.swt.impl.menu.ShellMenu; import org.jboss.reddeer.swt.impl.shell.ActiveShell; import org.jboss.reddeer.swt.impl.tree.DefaultTreeItem; /** * Abstract class to manage new wiza...
Use ShellMenu instead of DefaultMenu
Use ShellMenu instead of DefaultMenu
Java
epl-1.0
jboss-reddeer/reddeer,jboss-reddeer/reddeer,djelinek/reddeer,djelinek/reddeer
28ecad18488928cbd69dbe0143bf8e447e2db2a3
src/jhv/src/org/helioviewer/jhv/threads/CancelTask.java
src/jhv/src/org/helioviewer/jhv/threads/CancelTask.java
package org.helioviewer.jhv.threads; import java.util.concurrent.FutureTask; public class CancelTask extends FutureTask<Void> { public CancelTask(FutureTask<?> abolishTask) { super(new Runnable() { private FutureTask<?> abolishTask; public Runnable init(FutureTask<?> abol...
package org.helioviewer.jhv.threads; import java.util.concurrent.Callable; import java.util.concurrent.FutureTask; public class CancelTask extends FutureTask<Boolean> { public CancelTask(FutureTask<?> cancelTask) { super(new Callable<Boolean>() { private FutureTask<?> _cancelTask; ...
Use Callable to be able to retrieve the result of cancel
Use Callable to be able to retrieve the result of cancel git-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@5095 b4e469a2-07ce-4b26-9273-4d7d95a670c7
Java
mpl-2.0
Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV
52dfd59bea84a6cd434f6192fc812aabbe6dfccb
sipXconfig/web/test/org/sipfoundry/sipxconfig/site/phone/polycom/PasswordSettingTestUi.java
sipXconfig/web/test/org/sipfoundry/sipxconfig/site/phone/polycom/PasswordSettingTestUi.java
/* * * * Copyright (C) 2004 SIPfoundry Inc. * Licensed by SIPfoundry under the LGPL license. * * Copyright (C) 2004 Pingtel Corp. * Licensed to SIPfoundry under a Contributor Agreement. * * $ */ package org.sipfoundry.sipxconfig.site.phone.polycom; import junit.framework.Test; import net.sourceforge.jweb...
/* * * * Copyright (C) 2004 SIPfoundry Inc. * Licensed by SIPfoundry under the LGPL license. * * Copyright (C) 2004 Pingtel Corp. * Licensed to SIPfoundry under a Contributor Agreement. * * $ */ package org.sipfoundry.sipxconfig.site.phone.polycom; import junit.framework.Test; import net.sourceforge.jweb...
FIX BUILD: Unit test assumed polycom authid was first visible on page
FIX BUILD: Unit test assumed polycom authid was first visible on page git-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@7583 a612230a-c5fa-0310-af8b-88eea846685b
Java
lgpl-2.1
sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror
8f08c4aa419241dabd6a5eb2bde4cca5ca95fb27
test/instr/RemoveUnreachableTest.java
test/instr/RemoveUnreachableTest.java
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ import sta...
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ import sta...
Test for volatile fields in RemoveUnreachable
Test for volatile fields in RemoveUnreachable Summary: Add a test for non-removal of volatile fields. Reviewed By: satnam6502 Differential Revision: D3874792 fbshipit-source-id: 5344fc03173cefb283b726ff7f8f8dd634d14061
Java
mit
facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex
6676ee0ff68eb00621b5643af781d369dd5d7e08
src/test/java/ca/corefacility/bioinformatics/irida/annotation/GalaxyIntegrationTest.java
src/test/java/ca/corefacility/bioinformatics/irida/annotation/GalaxyIntegrationTest.java
package ca.corefacility.bioinformatics.irida.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.junit.jupi...
package ca.corefacility.bioinformatics.irida.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.junit.jupi...
Add back in missing auto config for galaxy integration tests.
Add back in missing auto config for galaxy integration tests.
Java
apache-2.0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
661105c637432d223d254cdc5cc7356d302e0971
src/javahl/org/tigris/subversion/svnclientadapter/javahl/JhlConflictResolver.java
src/javahl/org/tigris/subversion/svnclientadapter/javahl/JhlConflictResolver.java
package org.tigris.subversion.svnclientadapter.javahl; import org.tigris.subversion.javahl.ConflictDescriptor; import org.tigris.subversion.javahl.ConflictResolverCallback; import org.tigris.subversion.javahl.SubversionException; import org.tigris.subversion.svnclientadapter.ISVNConflictResolver; import org.tigris.sub...
package org.tigris.subversion.svnclientadapter.javahl; import org.tigris.subversion.javahl.ConflictDescriptor; import org.tigris.subversion.javahl.ConflictResolverCallback; import org.tigris.subversion.javahl.ConflictResult; import org.tigris.subversion.javahl.SubversionException; import org.tigris.subversion.svnclien...
Update for changes in JavaHL conflict resolution callback
Update for changes in JavaHL conflict resolution callback
Java
apache-2.0
subclipse/svnclientadapter
495f921f9aa0ec6a315ae732ccfa4223a4a775f7
samples/snippets/src/main/java/com/example/storage/QuickstartSample.java
samples/snippets/src/main/java/com/example/storage/QuickstartSample.java
/* Copyright 2016, Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing...
/* Copyright 2016, Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing...
Add quickstarts to root module.
Add quickstarts to root module. Fixes checkstyle errors in samples.
Java
apache-2.0
googleapis/java-storage,googleapis/java-storage,googleapis/java-storage
ecde329f0618cb7502647ac6fb1d3a7aefe2b1de
src/us/kbase/workspace/test/WorkspaceTestCommon.java
src/us/kbase/workspace/test/WorkspaceTestCommon.java
package us.kbase.workspace.test; import static us.kbase.common.test.TestCommon.getTestProperty; import static us.kbase.common.test.TestCommon.destroyDB; import com.mongodb.DB; public class WorkspaceTestCommon { public static final String PLACKUPEXE = "test.plackup.exe"; public static final String HANDLE_SRV_PSGI...
package us.kbase.workspace.test; import static us.kbase.common.test.TestCommon.destroyDB; import com.mongodb.DB; public class WorkspaceTestCommon { public static void destroyWSandTypeDBs(DB mdb, String typedb) { destroyDB(mdb); destroyDB(mdb.getSisterDB(typedb)); } }
Remove more handle service cruft
Remove more handle service cruft
Java
mit
MrCreosote/workspace_deluxe,kbase/workspace_deluxe,kbase/workspace_deluxe,MrCreosote/workspace_deluxe,MrCreosote/workspace_deluxe,kbase/workspace_deluxe,MrCreosote/workspace_deluxe,kbase/workspace_deluxe,MrCreosote/workspace_deluxe,kbase/workspace_deluxe,MrCreosote/workspace_deluxe,MrCreosote/workspace_deluxe,kbase/wor...
a7191e86392febac722aa0364cf470077a99c7de
src/main/java/fr/alecharp/picshare/App.java
src/main/java/fr/alecharp/picshare/App.java
package fr.alecharp.picshare; import fr.alecharp.picshare.config.PicShareModule; import fr.alecharp.picshare.http.EventController; import net.codestory.http.WebServer; import net.codestory.http.injection.GuiceAdapter; /** * @author Adrien Lecharpentier */ public class App { public static void main(String[] args...
package fr.alecharp.picshare; import com.google.inject.Guice; import com.google.inject.Injector; import com.google.inject.Key; import com.google.inject.name.Names; import fr.alecharp.picshare.config.PicShareModule; import fr.alecharp.picshare.http.EventController; import net.codestory.http.WebServer; import net.codest...
Configure server to serve picture directly
Configure server to serve picture directly
Java
apache-2.0
obourgain/PicShare,obourgain/PicShare
56391c7fb2739b833b0e9319275dc0b75655b20c
src/main/java/com/secdec/codedx/util/HashUtil.java
src/main/java/com/secdec/codedx/util/HashUtil.java
package com.secdec.codedx.util; /************************************************************************** * Copyright (c) 2014 Applied Visions, Inc. All Rights Reserved. * Author: Applied Visions, Inc. - Chris Ellsworth * Project: Code Dx * SubSystem: com.secdec.codedx.util * FileName: HashUtil.java **********...
package com.secdec.codedx.util; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Formatter; /** * Contains utilities for dealing with Hashes * * @author Samuel Johnson * */ public class HashUtil { public static byte[] getSHA1(byte[] input) { try { Messag...
Clean up code and documentation
Clean up code and documentation This file contained JavaDoc and unused code that wasn't cleaned up when I borrowed it from elsewhere in our codebase.
Java
apache-2.0
jenkinsci/codedx-plugin,jenkinsci/codedx-plugin
b0a60e36aa43c35a901885fb547fa81d3df4b7b7
src/main/java/org/tt/core/dm/TTFactory.java
src/main/java/org/tt/core/dm/TTFactory.java
package org.tt.core.dm; import org.tt.core.fetch.AbstractDataFetcher; import org.tt.core.sql.AbstractQueries; import org.tt.core.sql.AbstractSQLManager; public class TTFactory { private static AbstractSQLManager sqlm; private static AbstractQueries qrs; private static AbstractDataFetcher df; private s...
package org.tt.core.dm; import org.tt.core.fetch.AbstractDataFetcher; import org.tt.core.sql.AbstractQueries; import org.tt.core.sql.AbstractSQLManager; public class TTFactory { private static AbstractSQLManager sqlm; private static AbstractDataFetcher df; private static TTFactory ttf; private TTFact...
Make setSQLManager forced to load queries to avoid NPE and misunderstanding
Make setSQLManager forced to load queries to avoid NPE and misunderstanding
Java
apache-2.0
Plain-Solutions/tt-core
0407301030334e4cf74376571ded534baeba7afa
server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java
server/src/main/java/me/izstas/rfs/server/controller/MetadataController.java
package me.izstas.rfs.server.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web...
package me.izstas.rfs.server.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web...
Make POST request to /metadata/** return the new metadata instead of giving empty response
Make POST request to /metadata/** return the new metadata instead of giving empty response
Java
mit
izstas/RFS
df3e3d9524b7f21e36cd01ee9e8b2a0312bfa489
src/foam/core/ContextAgentRunnable.java
src/foam/core/ContextAgentRunnable.java
/** * @license * Copyright 2019 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.core; public class ContextAgentRunnable implements Runnable { final X x_; final ContextAgent agent_; final String description_; public ContextAgentRunnable(X x,...
/** * @license * Copyright 2019 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ package foam.core; public class ContextAgentRunnable implements Runnable { final X x_; final ContextAgent agent_; final String description_; public ContextAgentRunnable(X x,...
Fix XLocator when from from AssemblyLine.
Fix XLocator when from from AssemblyLine.
Java
apache-2.0
foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm
04fb7a9b3a0737ea00217f7173abb68c26014de7
src/main/java/engine/objects/Tower.java
src/main/java/engine/objects/Tower.java
package main.java.engine.objects; import main.java.engine.objects.TDObject; public class Tower extends TDObject { public Tower(String name, boolean unique_id, double x, double y, int collisionid, String gfxname) { super(name, unique_id, x, y, collisionid, gfxname); // TODO Auto-generated constructor stub } ...
package main.java.engine.objects; import jgame.JGObject; import ProjectPoseidon.Constants; import main.java.engine.objects.TDObject; public class Tower extends TDObject { public static final String TOWER_GFX = "tower"; public static final int TOWER_CID = 0; private double health; private double dam...
Update tower constructor and add fireProjectile()
Update tower constructor and add fireProjectile()
Java
mit
jordanly/oogasalad_OOGALoompas,dennis-park/OOGALoompas,kevinkdo/oogasalad_OOGALoompas,garysheng/tower-defense-game-engine,dianwen/oogasalad_TowerDefense,sdh31/tower_defense,codylieu/oogasalad_OOGALoompas
3afdb5e467b4e31e2de98786c2b84467061fe181
lib/java_impl/talkhouse/Segmenter.java
lib/java_impl/talkhouse/Segmenter.java
package talkhouse; public class Segmenter { private double[] buf=null; int winsz; int winshift; static final int MIN_SEGMENTS = 3; public Segmenter(int winsz, int winshift) { this.winsz = winsz; this.winshift = winshift; } public double[][] apply(double[] data) { double[] combo; if (buf...
package talkhouse; public class Segmenter { private double[] buf=null; int winsz; int winshift; static final int MIN_SEGMENTS = 3; public Segmenter(int winsz, int winshift) { this.winsz = winsz; this.winshift = winshift; } public double[][] apply(double[] data) { double[] combo; if (buf...
Update Java segmenter to use the same formula as the C version.
Update Java segmenter to use the same formula as the C version.
Java
bsd-2-clause
talkhouse/noyes,talkhouse/noyes,talkhouse/noyes
2c9cbb340ff17a8af0129ab7a4ffa9e535c26a22
src/org/traccar/DefaultDataHandler.java
src/org/traccar/DefaultDataHandler.java
/* * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/* * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Update position only when latest
Update position only when latest
Java
apache-2.0
vipien/traccar,stalien/traccar_test,jssenyange/traccar,jon-stumpf/traccar,al3x1s/traccar,renaudallard/traccar,ninioe/traccar,orcoliver/traccar,5of9/traccar,jon-stumpf/traccar,vipien/traccar,joseant/traccar-1,jon-stumpf/traccar,tananaev/traccar,5of9/traccar,AnshulJain1985/Roadcast-Tracker,stalien/traccar_test,duke2906/t...
8f1555a3d805da66d1cd70c2f68725756679f0fc
src/info/ata4/disunity/cli/DisUnityOptions.java
src/info/ata4/disunity/cli/DisUnityOptions.java
/* ** 2013 August 11 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package ...
/* ** 2013 August 11 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package ...
Set default output format to plain text
Set default output format to plain text
Java
unlicense
summertriangle-dev/disunity,catinred2/disunity,tomagoyaky/disunity,zodsoft/disunity,summertriangle-dev/disunity,bolabola/disunity,yclhehe/disunity,zhangf911/disunity,zchen39/disunity,catinred2/disunity,ata4/disunity,yclhehe/disunity,tomagoyaky/disunity,zchen39/disunity,bolabola/disunity,hozmaster/disunity,hozmaster/dis...
4fd7840a1b3b7387c918de8f1369e14c62190dc7
src/main/java/nuclibook/routes/ExportRoute.java
src/main/java/nuclibook/routes/ExportRoute.java
package nuclibook.routes; import nuclibook.constants.P; import nuclibook.entity_utils.ExportUtils; import nuclibook.entity_utils.PatientUtils; import nuclibook.entity_utils.SecurityUtils; import nuclibook.models.Patient; import nuclibook.server.HtmlRenderer; import spark.Request; import spark.Response; import java.ut...
package nuclibook.routes; import nuclibook.constants.P; import nuclibook.entity_utils.ActionLogger; import nuclibook.entity_utils.ExportUtils; import nuclibook.entity_utils.PatientUtils; import nuclibook.entity_utils.SecurityUtils; import nuclibook.models.Patient; import nuclibook.server.HtmlRenderer; import spark.Req...
Add export log + permissions
Add export log + permissions
Java
agpl-3.0
musalbas/Nuclibook,musalbas/Nuclibook,musalbas/Nuclibook
db52df28a5a36b4ce78c3e0f2dcbfbbb8883f835
modules/core/src/test/java/org/synyx/minos/core/web/support/ProjectDeletedEvent.java
modules/core/src/test/java/org/synyx/minos/core/web/support/ProjectDeletedEvent.java
package org.synyx.minos.core.web.support; import org.synyx.minos.core.web.event.Event; /** * @author Oliver Gierke - gierke@synyx.de */ public class ProjectDeletedEvent implements Event { private String name; /** * @param name */ public ProjectDeletedEvent(String name) { super(); ...
package org.synyx.minos.core.web.support; import org.synyx.minos.core.web.event.Event; /** * @author Oliver Gierke - gierke@synyx.de */ public class ProjectDeletedEvent implements Event { private String name; /** * @param name */ public ProjectDeletedEvent(String name) { super(); ...
Comment boyscouting: leaving the comments cleaner than you found them
Comment boyscouting: leaving the comments cleaner than you found them git-svn-id: 14e2c384b8d34cccbaaca68230c28851bca468ab@15549 5a64d73e-33d6-4ccc-9058-23f8668ecac9
Java
apache-2.0
synyx/minos,synyx/minos
8ad6cb19abe5f24e3384ccc019ff446af4d4dbaa
nassau/src/main/java/org/jvirtanen/nassau/binaryfile/BinaryFILEException.java
nassau/src/main/java/org/jvirtanen/nassau/binaryfile/BinaryFILEException.java
package org.jvirtanen.nassau.binaryfile; import org.jvirtanen.nassau.ProtocolException; public class BinaryFILEException extends ProtocolException { public BinaryFILEException(String message) { super(message); } }
package org.jvirtanen.nassau.binaryfile; import org.jvirtanen.nassau.ProtocolException; /** * Indicates a protocol error while handling the BinaryFILE file format. */ public class BinaryFILEException extends ProtocolException { /** * Construct an instance with the specified detail message. * * @...
Add documentation for BinaryFILE exception
Add documentation for BinaryFILE exception
Java
apache-2.0
paritytrading/nassau,pmcs/nassau,pmcs/nassau,paritytrading/nassau
27a42b706dd7c71457a4418c119a552b30c65cfc
src/floobits/JoinWorkspace.java
src/floobits/JoinWorkspace.java
package floobits; import java.net.MalformedURLException; import java.net.URL; import javax.swing.JFrame; import javax.swing.JOptionPane; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.ui.InputValidator; import com.intellij.openapi...
package floobits; import java.net.MalformedURLException; import java.net.URL; import javax.swing.JFrame; import javax.swing.JOptionPane; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.ui.InputValidator; import com.intellij.openapi...
Remove kansface repo from input.
Remove kansface repo from input.
Java
apache-2.0
Floobits/floobits-intellij
0d8751046a31520215a4c741eeabe1d0edb7be92
src/com/samovich/java/basics/collections/list/arraylist/ArrayListForEach.java
src/com/samovich/java/basics/collections/list/arraylist/ArrayListForEach.java
package com.samovich.java.basics.collections.list.arraylist; /** * Created by Samovich on 1/20/2015. */ public class ArrayListForEach { }
/** * @file ArrayListForEach.java * @author Valery Samovich * @version 1 * @date 2014/01/09 */ /* * Following code shows an example how to create a Collection of type List * which is parameterized with <String> to indicate to the Java compiler * that only Strings are allowed in this list. */ package com.sa...
Refactor the code and add the ArrayList with For Statement
Refactor the code and add the ArrayList with For Statement
Java
unknown
vsamov/java-technologies,vsamov/java-technologies,valerysamovich/java-technologies
2290aa903ddc22b991e4c8d848380405e5a1d1a1
app/src/main/java/net/squanchy/eventdetails/widget/EventDetailsCoordinatorLayout.java
app/src/main/java/net/squanchy/eventdetails/widget/EventDetailsCoordinatorLayout.java
package net.squanchy.eventdetails.widget; import android.content.Context; import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.FloatingActionButton; import android.util.AttributeSet; import net.squanchy.R; import net.squanchy.schedule.domain.view.Event; public class EventDetai...
package net.squanchy.eventdetails.widget; import android.content.Context; import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.FloatingActionButton; import android.util.AttributeSet; import net.squanchy.R; import net.squanchy.schedule.domain.view.Event; public class EventDetai...
Swap FAB icon based on favorite status
Swap FAB icon based on favorite status
Java
apache-2.0
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
c6ffb5f691a693fa225e9b876fa264a3e934ac3d
bungee/src/main/java/com/github/games647/changeskin/bungee/listener/JoinListener.java
bungee/src/main/java/com/github/games647/changeskin/bungee/listener/JoinListener.java
package com.github.games647.changeskin.bungee.listener; import com.github.games647.changeskin.bungee.ChangeSkinBungee; import com.github.games647.changeskin.core.SkinData; import com.github.games647.changeskin.core.UserPreference; import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.event.P...
package com.github.games647.changeskin.bungee.listener; import com.github.games647.changeskin.bungee.ChangeSkinBungee; import com.github.games647.changeskin.core.SkinData; import com.github.games647.changeskin.core.UserPreference; import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.event.P...
Fix NPE on bungeecord lazy loading
Fix NPE on bungeecord lazy loading
Java
mit
games647/ChangeSkin