lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
53ffae02b1edd9f02bfe9166a8043233cd8464db
0
chengmaoning/jroad,chengmaoning/jroad
/** * */ package com.chengmaoning.jroad.jdbc; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassR...
src/test/java/com/chengmaoning/jroad/jdbc/JdbcStudentDaoTest.java
/** * */ package com.chengmaoning.jroad.jdbc; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassR...
re Signed-off-by: chengmaoning <f55ea0b3f07f3a21ce4fb6416ba0b38f0e963392@sina.com>
src/test/java/com/chengmaoning/jroad/jdbc/JdbcStudentDaoTest.java
re
<ide><path>rc/test/java/com/chengmaoning/jroad/jdbc/JdbcStudentDaoTest.java <ide> public void testFindAllStudents() { <ide> List<Student> students = studentDao.findAllStudents(); <ide> System.out.println(students); <del> <ide> Assert.isTrue(true, null); <ide> } <ide>
Java
apache-2.0
c2beec3f2e39757dab933dfc2178db00cd12026b
0
nhpatt/RxInPractice
package com.nhpatt.rxjava; import io.reactivex.Completable; import io.reactivex.Single; import retrofit2.http.*; import java.util.List; public interface TalksService { @GET("/talks") Single<List<Talk>> listTalks(); @GET("/talks") Single<SearchResult> filterTalks(@Query(value = "search", encoded = t...
RxJavaInAction/src/main/java/com/nhpatt/rxjava/TalksService.java
package com.nhpatt.rxjava; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import io.reactivex.Observable; import io.reactivex.Single; import retrofit2.http.*; import java.util.List; public interface TalksService { @GET("/talks") Single<List<Talk>> listTalks(); @DELETE("/talks") ...
sort interface methods
RxJavaInAction/src/main/java/com/nhpatt/rxjava/TalksService.java
sort interface methods
<ide><path>xJavaInAction/src/main/java/com/nhpatt/rxjava/TalksService.java <ide> package com.nhpatt.rxjava; <ide> <del>import com.google.gson.JsonElement; <del>import com.google.gson.JsonObject; <del>import io.reactivex.Observable; <add>import io.reactivex.Completable; <ide> import io.reactivex.Single; <ide> import re...
Java
mit
error: pathspec 'src/com/parnswir/unmp/DirectoryChooserDialog.java' did not match any file(s) known to git
615898efa84a21bedd13817a13e0ddb4432f4017
1
Parnswir/unmp
package com.parnswir.unmp; // The following code was created by Gregory Shpitalnik under The Code Project Open License // http://www.codeproject.com/Articles/547636/Android-Ready-to-use-simple-directory-chooser-dial import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collecti...
src/com/parnswir/unmp/DirectoryChooserDialog.java
Add DirectoryChooserDialog class
src/com/parnswir/unmp/DirectoryChooserDialog.java
Add DirectoryChooserDialog class
<ide><path>rc/com/parnswir/unmp/DirectoryChooserDialog.java <add>package com.parnswir.unmp; <add> <add>// The following code was created by Gregory Shpitalnik under The Code Project Open License <add>// http://www.codeproject.com/Articles/547636/Android-Ready-to-use-simple-directory-chooser-dial <add> <add>import java....
Java
mit
error: pathspec 'src/assembler/Assembler.java' did not match any file(s) known to git
d32b9ca9c9f82ad20b52a28ae506c101f0ba6615
1
profolsen/Footnote,profolsen/Footnote
package assembler; import java.io.File; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Scanner; /** * Created by po917265 on 6/3/17. */ public class Assembler { public static void main(String[] args) throws Exception { Scanner scan = new Scanner(new F...
src/assembler/Assembler.java
assembler Here's an assembler.
src/assembler/Assembler.java
assembler
<ide><path>rc/assembler/Assembler.java <add>package assembler; <add> <add>import java.io.File; <add>import java.io.PrintStream; <add>import java.util.ArrayList; <add>import java.util.HashMap; <add>import java.util.Scanner; <add> <add>/** <add> * Created by po917265 on 6/3/17. <add> */ <add>public class Assembler { <add...
Java
apache-2.0
error: pathspec 'samples/benchmark/src/main/java/org/teavm/samples/benchmark/jvm/JvmBenchmarkStarter.java' did not match any file(s) known to git
84628b7008f73e7b2f0e80c3a45a5da84f819524
1
shannah/cn1-teavm-builds,jtulach/teavm,shannah/cn1-teavm-builds,jtulach/teavm,shannah/cn1-teavm-builds,jtulach/teavm,konsoletyper/teavm,konsoletyper/teavm,konsoletyper/teavm,konsoletyper/teavm,shannah/cn1-teavm-builds,konsoletyper/teavm,jtulach/teavm,shannah/cn1-teavm-builds
/* * Copyright 2016 Alexey Andreev. * * 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...
samples/benchmark/src/main/java/org/teavm/samples/benchmark/jvm/JvmBenchmarkStarter.java
Add JVM benchmark for jbox2d
samples/benchmark/src/main/java/org/teavm/samples/benchmark/jvm/JvmBenchmarkStarter.java
Add JVM benchmark for jbox2d
<ide><path>amples/benchmark/src/main/java/org/teavm/samples/benchmark/jvm/JvmBenchmarkStarter.java <add>/* <add> * Copyright 2016 Alexey Andreev. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may o...
JavaScript
apache-2.0
53bf0d266252a3e9dea690f9c68953c997661a30
0
papswell/jsonexport,Cnova/jsonexport,kauegimenes/jsonexport
var chai = require('chai'); var expect = chai.expect; var jsonexport = require('../lib/index'); describe('Options', () => { it('headerPathString', () => { jsonexport({a: {b: true}}, { headerPathString: '|' }, (err, csv) => { expect(csv).to.have.string('a|b'); }); ...
tests/options.js
var chai = require('chai'); var expect = chai.expect; var jsonexport = require('../lib/index'); describe('Options', () => { it('headerPathString', () => { jsonexport({a: {b: true}}, { headerPathString: '|' }, (err, csv) => { expect(csv).to.have.string('a|b'); }); ...
fix #12
tests/options.js
fix #12
<ide><path>ests/options.js <ide> expect(csv).to.have.string('a,' + date + '|||'); <ide> }); <ide> }); <del> }) <del> <del>}) <add> }); <add>});
Java
mit
d62bf62424443713c35c780a9dba93911c29ec51
0
Danghor/WHOAMI,BigDaddy-Germany/WHOAMI,Danghor/WHOAMI
package de.aima13.whoami.modules; import de.aima13.whoami.Analyzable; import de.aima13.whoami.support.Utilities; import org.stringtemplate.v4.ST; import java.nio.file.Path; import java.util.*; /** * Modul zum Analysieren der Häufigkeit der verschiedenen Programmiersprachen, * die der Nutzer verwendet * * @author...
WHOAMI/src/de/aima13/whoami/modules/CodeStatistics.java
package de.aima13.whoami.modules; import de.aima13.whoami.Analyzable; import de.aima13.whoami.support.Utilities; import org.stringtemplate.v4.ST; import java.nio.file.Path; import java.util.*; /** * Modul zum Analysieren der Häufigkeit der verschiedenen Programmiersprachen, * die der Nutzer verwendet * * @author...
Println ernfernt
WHOAMI/src/de/aima13/whoami/modules/CodeStatistics.java
Println ernfernt
<ide><path>HOAMI/src/de/aima13/whoami/modules/CodeStatistics.java <ide> template.add("topLanguage",getTopLanguage()); <ide> if(moreWebCoding()){ <ide> template.add("moreWebLanguage",true); <del> template.add("moreNativeLanguage",null); <add>// template.add("moreNativeLanguage",null); <ide> }else{ <ide> ...
Java
agpl-3.0
868b12c9aaa0a960245f51a1c52e796223691ec1
0
Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol
package org.mavlink.qgroundcontrol; /* Copyright 2013 Google Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any late...
android/src/org/mavlink/qgroundcontrol/QGCActivity.java
/* Copyright 2013 Google Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is di...
Fixed merge
android/src/org/mavlink/qgroundcontrol/QGCActivity.java
Fixed merge
<ide><path>ndroid/src/org/mavlink/qgroundcontrol/QGCActivity.java <del> <add>package org.mavlink.qgroundcontrol; <ide> <ide> /* Copyright 2013 Google Inc. <ide> * <ide> <ide> public class QGCActivity extends QtActivity <ide> { <del> public static int BAD_PORT = 0; <del> private static QGCActivity m_instance; ...
Java
apache-2.0
9c92906b09970e96c2875ef9f468f4502306b080
0
losipiuk/presto,ebyhr/presto,ebyhr/presto,hgschmie/presto,11xor6/presto,Praveen2112/presto,dain/presto,martint/presto,martint/presto,treasure-data/presto,dain/presto,smartnews/presto,electrum/presto,11xor6/presto,hgschmie/presto,smartnews/presto,losipiuk/presto,treasure-data/presto,smartnews/presto,treasure-data/presto...
/* * 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, software * distribut...
presto-main/src/test/java/io/prestosql/sql/planner/TestDynamicFilter.java
/* * 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, software * distribut...
Assert number of dynamic filters
presto-main/src/test/java/io/prestosql/sql/planner/TestDynamicFilter.java
Assert number of dynamic filters
<ide><path>resto-main/src/test/java/io/prestosql/sql/planner/TestDynamicFilter.java <ide> <ide> import com.google.common.collect.ImmutableList; <ide> import com.google.common.collect.ImmutableMap; <add>import io.prestosql.Session; <add>import io.prestosql.cost.StatsProvider; <ide> import io.prestosql.metadata.Metadata...
Java
apache-2.0
8e00c77999775e686df0a07bd3c9cd99b676c4dd
0
realityforge/arez,realityforge/arez,realityforge/arez
package org.realityforge.arez; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; import org.realityforge.guiceyloops.shared.ValueUtil; import org.testng.annotations.Test; import static org.testng.Assert.*; public class ComputedValueTest extends AbstractArezTest { @Test public void in...
core/src/test/java/org/realityforge/arez/ComputedValueTest.java
package org.realityforge.arez; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; import org.realityforge.guiceyloops.shared.ValueUtil; import org.testng.annotations.Test; import static org.testng.Assert.*; public class ComputedValueTest extends AbstractArezTest { @Test public void in...
Verify dispose is called in read-write transaction
core/src/test/java/org/realityforge/arez/ComputedValueTest.java
Verify dispose is called in read-write transaction
<ide><path>ore/src/test/java/org/realityforge/arez/ComputedValueTest.java <ide> } <ide> <ide> @Test <add> public void dispose_nestedInReadOnlyTransaction() <add> throws Exception <add> { <add> final ArezContext context = new ArezContext(); <add> <add> final Observer observer = newDerivation( context ); ...
Java
apache-2.0
8cc42170995623f3bf25fa0a0e0989e9fb249796
0
mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android
package org.mtransit.android.task; import java.util.ArrayList; import java.util.HashSet; import java.util.concurrent.Future; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import org.mtransit.android.commons.CollectionUtils; impor...
src/org/mtransit/android/task/NewsLoader.java
package org.mtransit.android.task; import java.util.ArrayList; import java.util.HashSet; import java.util.concurrent.Future; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import org.mtransit.android.commons.CollectionUtils; impor...
Fix NPE in production.
src/org/mtransit/android/task/NewsLoader.java
Fix NPE in production.
<ide><path>rc/org/mtransit/android/task/NewsLoader.java <ide> for (Future<ArrayList<News>> future : taskList) { <ide> try { <ide> ArrayList<News> agencyNews = future.get(); <del> for (News aNews : agencyNews) { <del> if (newsUUIDs.contains(aNews.getUUID())) { <del> continue; <add> if (agencyNews...
Java
apache-2.0
7fc2490efa12848cf99c5d8259c1c3c8fbdb6832
0
kieker-monitoring/kieker,HaStr/kieker,leadwire-apm/leadwire-javaagent,HaStr/kieker,leadwire-apm/leadwire-javaagent,kieker-monitoring/kieker,HaStr/kieker,kieker-monitoring/kieker,kieker-monitoring/kieker,HaStr/kieker,kieker-monitoring/kieker,HaStr/kieker
/*************************************************************************** * Copyright 2012 Kieker Project (http://kieker-monitoring.net) * * 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 a...
src/monitoring/kieker/monitoring/core/controller/IProbeController.java
/*************************************************************************** * Copyright 2012 Kieker Project (http://kieker-monitoring.net) * * 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 a...
added JavaDoc for IProbeController
src/monitoring/kieker/monitoring/core/controller/IProbeController.java
added JavaDoc for IProbeController
<ide><path>rc/monitoring/kieker/monitoring/core/controller/IProbeController.java <ide> public boolean deactivateProbe(final String pattern); <ide> <ide> /** <add> * Tests if a probe is active. <add> * <ide> * @param signature <ide> * signature of the probe <ide> * @return <ide> public boolean is...
Java
apache-2.0
a942dc336e8d0016f2204f57fa370e1dbaeec1c2
0
tommai78101/PokemonWalking
package common; import enums.AnsiColors; public class Debug { public static final int MinimumStringLength = 24; public static final int TabLength = 8; private static String createString(String msg) { StackTraceElement element = new Throwable().getStackTrace()[2]; String className = element.getClassName() + ":...
common/src/main/java/common/Debug.java
package common; import enums.AnsiColors; public class Debug { public static final int MinimumStringLength = 24; public static final int TabLength = 8; private static String createString(String msg) { StackTraceElement element = new Throwable().getStackTrace()[2]; String className = element.getClassName() + ":...
Fixed Debug ANSI Colors support.
common/src/main/java/common/Debug.java
Fixed Debug ANSI Colors support.
<ide><path>ommon/src/main/java/common/Debug.java <ide> } <ide> <ide> public static void printColor(AnsiColors color, String input) { <del> System.out.println(color.getAnsiCode() + " " + input); <add> System.out.println(color.getAnsiCode() + input + AnsiColors.Clear.getAnsiCode()); <ide> } <ide> }
Java
apache-2.0
d5563ffd2eb949fa4ee94bc1506be007e7aad527
0
crashlytics/ios-driver,masbog/ios-driver,darraghgrace/ios-driver,seem-sky/ios-driver,seem-sky/ios-driver,adataylor/ios-driver,azaytsev/ios-driver,shutkou/ios-driver,adataylor/ios-driver,masbog/ios-driver,ios-driver/ios-driver,crashlytics/ios-driver,masbog/ios-driver,shutkou/ios-driver,ios-driver/ios-driver,shutkou/ios-...
/* * Copyright 2012 ios-driver committers. * * 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 agr...
server/src/main/java/org/uiautomation/ios/utils/ScriptHelper.java
/* * Copyright 2012 ios-driver committers. * * 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 agr...
need to specify the encoding for the script.
server/src/main/java/org/uiautomation/ios/utils/ScriptHelper.java
need to specify the encoding for the script.
<ide><path>erver/src/main/java/org/uiautomation/ios/utils/ScriptHelper.java <ide> import org.apache.commons.io.IOUtils; <ide> import org.openqa.selenium.WebDriverException; <ide> <add>import java.io.BufferedWriter; <ide> import java.io.File; <del>import java.io.FileWriter; <add>import java.io.FileOutputStream; <ide> i...
Java
apache-2.0
b17dc99a5f2bd254719684dd4dbdad24cae3954c
0
GerritCodeReview/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,qtproject/qtqa-ger...
// Copyright (C) 2018 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 ...
java/com/google/gerrit/server/logging/TraceContext.java
// Copyright (C) 2018 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 ...
TraceContext: Support fourth format parameter Change-Id: I9bf46888455667e57f65d225450862ef660c4617
java/com/google/gerrit/server/logging/TraceContext.java
TraceContext: Support fourth format parameter
<ide><path>ava/com/google/gerrit/server/logging/TraceContext.java <ide> return new TraceTimer(format, arg1, arg2, arg3); <ide> } <ide> <add> /** <add> * Opens a new timer that logs the time for an operation if request tracing is enabled. <add> * <add> * <p>If request tracing is not enabled this is a no-op...
Java
apache-2.0
9b6c804073dc0bcd66f48b556d2acc0ec48977c6
0
fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode
package com.fishercoder.solutions; import java.util.stream.IntStream; /** * 1055. Fixed Point * * Given an array A of distinct integers sorted in ascending order, * return the smallest index i that satisfies A[i] == i. Return -1 if no such i exists. * * Example 1: * Input: [-10,-5,0,3,7] * Output: 3 * Expla...
src/main/java/com/fishercoder/solutions/_1055.java
package com.fishercoder.solutions; /** * 1055. Fixed Point * * Given an array A of distinct integers sorted in ascending order, * return the smallest index i that satisfies A[i] == i. Return -1 if no such i exists. * * Example 1: * Input: [-10,-5,0,3,7] * Output: 3 * Explanation: * For the given array, A[0]...
refactor 1055
src/main/java/com/fishercoder/solutions/_1055.java
refactor 1055
<ide><path>rc/main/java/com/fishercoder/solutions/_1055.java <ide> package com.fishercoder.solutions; <add> <add>import java.util.stream.IntStream; <ide> <ide> /** <ide> * 1055. Fixed Point <ide> public class _1055 { <ide> public static class Solution1 { <ide> public int fixedPoint(int[] A) { <del> ...
Java
apache-2.0
26d147afe26c6559b0ac4d0922180faaf3f6a027
0
chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq
/** * 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"); you may...
activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.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"); you may...
remove dependence on host name resolution to resolve failure on some machines, https://issues.apache.org/activemq/browse/AMQ-1855 git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@812046 13f79535-47bb-0310-9956-ffa450edef68
activemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java
remove dependence on host name resolution to resolve failure on some machines, https://issues.apache.org/activemq/browse/AMQ-1855
<ide><path>ctivemq-core/src/test/java/org/apache/activemq/transport/discovery/DiscoveryNetworkReconnectTest.java <ide> import org.apache.activemq.util.Wait; <ide> import org.apache.commons.logging.Log; <ide> import org.apache.commons.logging.LogFactory; <add>import org.hamcrest.BaseMatcher; <add>import org.hamcrest.Des...
Java
apache-2.0
cf00890d6093c27be5e81721ba2e55a1c4a19e2c
0
bonigarcia/webdrivermanager,bonigarcia/webdrivermanager,bonigarcia/webdrivermanager
/* * (C) Copyright 2018 Boni Garcia (http://bonigarcia.github.io/) * * 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 * * Unles...
src/test/java/io/github/bonigarcia/wdm/test/server/ServerResolverTest.java
/* * (C) Copyright 2018 Boni Garcia (http://bonigarcia.github.io/) * * 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 * * Unles...
Change commons lang import in test
src/test/java/io/github/bonigarcia/wdm/test/server/ServerResolverTest.java
Change commons lang import in test
<ide><path>rc/test/java/io/github/bonigarcia/wdm/test/server/ServerResolverTest.java <ide> <ide> import static java.lang.invoke.MethodHandles.lookup; <ide> import static java.util.stream.Collectors.toList; <del>import static org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS; <add>import static org.apache.commons.lang...
Java
mit
df30f12ed5c891a790a59d29510e0beb10abd2ef
0
Dezorganizacja/bridge
package com.dezorganizacja.bridge.view.text; import java.util.List; import java.util.HashMap; import java.util.Map; /** * Created by maciek on 13.04.15. */ interface Command { void runCommand(List<String> args); } public class OrdersHandler { private final Map<String, Command> menuEntries = new HashMap<>...
src/main/java/com/dezorganizacja/bridge/view/text/OrdersHandler.java
package com.dezorganizacja.bridge.view.text; import java.util.List; import java.util.HashMap; import java.util.Map; /** * Created by maciek on 13.04.15. */ interface Command { void runCommand(List<String> args); } public class OrdersHandler { private Map<String, Command> menuEntries = new HashMap<>(); ...
Added that miserable final where appropriate
src/main/java/com/dezorganizacja/bridge/view/text/OrdersHandler.java
Added that miserable final where appropriate
<ide><path>rc/main/java/com/dezorganizacja/bridge/view/text/OrdersHandler.java <ide> } <ide> <ide> public class OrdersHandler { <del> private Map<String, Command> menuEntries = new HashMap<>(); <del> private Map<String, String> menuDetails = new HashMap<>(); <add> private final Map<String, Command> menuEntrie...
Java
apache-2.0
97bcc93c03cbfe3715514742a25737a1987feb56
0
rkrell/izpack,dasapich/izpack,Murdock01/izpack,stenix71/izpack,Helpstone/izpack,rsharipov/izpack,codehaus/izpack,Helpstone/izpack,dasapich/izpack,yukron/izpack,kanayo/izpack,rsharipov/izpack,optotronic/izpack,izpack/izpack,akuhtz/izpack,rsharipov/izpack,optotronic/izpack,yukron/izpack,akuhtz/izpack,rsharipov/izpack,yuk...
/* * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://developer.berlios.de/projects/izpack/ * * Copyright 2008 Piotr Skowronek * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
src/lib/com/izforge/izpack/panels/TextInputField.java
/* * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://developer.berlios.de/projects/izpack/ * * Copyright 2008 Piotr Skowronek * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
layout issue is fixed git-svn-id: 408af81b9e4f0a5eaad229a6d9eed76d614c4af6@2000 7d736ef5-cfd4-0310-9c9a-b52d5c14b761
src/lib/com/izforge/izpack/panels/TextInputField.java
layout issue is fixed
<ide><path>rc/lib/com/izforge/izpack/panels/TextInputField.java <ide> } <ide> <ide> com.izforge.izpack.gui.FlowLayout layout = new com.izforge.izpack.gui.FlowLayout(); <del> layout.setAlignment(com.izforge.izpack.gui.FlowLayout.LEFT); <add> layout.setAlignment(com.izforge.izpack.g...
Java
apache-2.0
f3683e9b97cda6c7d0253bcec35a71e4ec008e5b
0
matrix-org/matrix-android-sdk,matrix-org/matrix-android-sdk,matrix-org/matrix-android-sdk
/* * Copyright 2015 OpenMarket Ltd * * 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 ...
matrix-sdk/src/main/java/org/matrix/androidsdk/fragments/MatrixMessageListFragment.java
/* * Copyright 2015 OpenMarket Ltd * * 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 ...
Fix a GA issue.
matrix-sdk/src/main/java/org/matrix/androidsdk/fragments/MatrixMessageListFragment.java
Fix a GA issue.
<ide><path>atrix-sdk/src/main/java/org/matrix/androidsdk/fragments/MatrixMessageListFragment.java <ide> getUiHandler().post(new Runnable() { <ide> @Override <ide> public void run() { <add> // should never happen but reported by GA <add> if (null == mMessageL...
Java
isc
79dd948ef27dea1151cf2ef952292e1d8fc3da70
0
sgtwilko/ingress-intel-total-conversion,pleasantone/ingress-intel-total-conversion,ZasoGD/ingress-intel-total-conversion,meyerdg/ingress-intel-total-conversion,michaeldever/ingress-intel-total-conversion,ruharen/ingress-intel-total-conversion,Yossi/ingress-intel-total-conversion,tony2001/ingress-intel-total-conversion,...
package com.cradle.iitc_mobile.share; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import com.cradle.iitc_mobile.Log;...
mobile/src/com/cradle/iitc_mobile/share/IntentGenerator.java
package com.cradle.iitc_mobile.share; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import com.cradle.iitc_mobile.Log;...
This activity belongs to us - no need to ask package manager for its label
mobile/src/com/cradle/iitc_mobile/share/IntentGenerator.java
This activity belongs to us - no need to ask package manager for its label
<ide><path>obile/src/com/cradle/iitc_mobile/share/IntentGenerator.java <ide> import android.net.Uri; <ide> <ide> import com.cradle.iitc_mobile.Log; <add>import com.cradle.iitc_mobile.R; <ide> <ide> import java.io.UnsupportedEncodingException; <ide> import java.net.URLEncoder; <ide> <ide> if (!containsCopyInt...
Java
apache-2.0
6d7ef324cc04f1176cde02a7602e3e76105eabf4
0
ZeroMemes/ClientAPI,ImpactDevelopment/ClientAPI
package me.zero.client.integration.defaults; import me.zero.client.api.util.interfaces.Helper; import me.zero.client.api.util.interfaces.Registry; import me.zero.client.integration.Integration; import net.minecraft.client.renderer.IImageBuffer; import net.minecraft.client.renderer.ThreadDownloadImageData; import net.m...
src/main/java/me/zero/client/integration/defaults/CapesAPI.java
package me.zero.client.integration.defaults; import me.zero.client.api.util.interfaces.Helper; import me.zero.client.api.util.interfaces.Registry; import me.zero.client.integration.Integration; import net.minecraft.client.renderer.IImageBuffer; import net.minecraft.client.renderer.ThreadDownloadImageData; import net.m...
Added the addCape and hasCape methods that were introduced in CapesAPI 2.1.0
src/main/java/me/zero/client/integration/defaults/CapesAPI.java
Added the addCape and hasCape methods that were introduced in CapesAPI 2.1.0
<ide><path>rc/main/java/me/zero/client/integration/defaults/CapesAPI.java <ide> import net.minecraft.util.ResourceLocation; <ide> <ide> import java.awt.image.BufferedImage; <add>import java.io.*; <add>import java.net.HttpURLConnection; <add>import java.net.URL; <ide> import java.util.HashMap; <ide> import java.util.Ma...
Java
mit
68104f7af95cb8fb48102d485ba9a1cc136ed0ad
0
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
package com.elmakers.mine.bukkit.magic; import java.lang.ref.WeakReference; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.Lis...
Magic/src/main/java/com/elmakers/mine/bukkit/magic/Mage.java
package com.elmakers.mine.bukkit.magic; import java.lang.ref.WeakReference; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.Lis...
Add some debug messages for changing worlds and checking armor
Magic/src/main/java/com/elmakers/mine/bukkit/magic/Mage.java
Add some debug messages for changing worlds and checking armor
<ide><path>agic/src/main/java/com/elmakers/mine/bukkit/magic/Mage.java <ide> } <ide> <ide> public void onChangeWorld() { <add> sendDebugMessage("Changing worlds"); <ide> checkWandNextTick(true); <ide> if (CHANGE_WORLD_EQUIP_COOLDOWN > 0) { <ide> ignoreItemActivationUntil = Sy...
Java
lgpl-2.1
910aee511077d6b7cdfc4f51d13d787b6c6ed341
0
eXist-db/exist,adamretter/exist,dizzzz/exist,adamretter/exist,wolfgangmm/exist,adamretter/exist,eXist-db/exist,ambs/exist,lcahlander/exist,wolfgangmm/exist,dizzzz/exist,windauer/exist,windauer/exist,dizzzz/exist,wolfgangmm/exist,ambs/exist,windauer/exist,ambs/exist,wolfgangmm/exist,lcahlander/exist,lcahlander/exist,amb...
package org.exist.xquery.functions.map; import com.evolvedbinary.j8fu.tuple.Tuple2; import com.ibm.icu.text.Collator; import io.lacuna.bifurcan.IEntry; import io.lacuna.bifurcan.IMap; import io.lacuna.bifurcan.Map; import org.exist.xquery.*; import org.exist.xquery.value.*; import javax.annotation.Nullable; import ja...
exist-core/src/main/java/org/exist/xquery/functions/map/MapType.java
package org.exist.xquery.functions.map; import com.evolvedbinary.j8fu.tuple.Tuple2; import com.ibm.icu.text.Collator; import io.lacuna.bifurcan.IEntry; import io.lacuna.bifurcan.IMap; import io.lacuna.bifurcan.Map; import org.exist.xquery.*; import org.exist.xquery.value.*; import javax.annotation.Nullable; import ja...
[bugfix] Ensure types are set based on all keys
exist-core/src/main/java/org/exist/xquery/functions/map/MapType.java
[bugfix] Ensure types are set based on all keys
<ide><path>xist-core/src/main/java/org/exist/xquery/functions/map/MapType.java <ide> keyValues.forEachRemaining(kv -> map.put(kv._1, kv._2)); <ide> this.map = map.forked(); <ide> <del> //TODO(AR) this is incorrect all types to be checked! <del> final long size = this.map.size(); <del> ...
Java
apache-2.0
48be9e2be68150a65925605565dd87c6b48b7da5
0
gbif/dwca-io
package org.gbif.dwc; import java.io.IOException; import java.nio.file.Path; /** * Collections of static methods to work with Darwin Core (archive) files. * * TODO: methods without validation, probably for use with the validator. */ public class DwcFiles { /** * Collections of static methods, no constructor...
src/main/java/org/gbif/dwc/DwcFiles.java
package org.gbif.dwc; import java.io.IOException; import java.nio.file.Path; /** * Collections of static methods to work with Darwin Core (archive) files. * * TODO: methods without validation, probably for use with the validator. */ public class DwcFiles { /** * Collections of static methods, no constructor...
Add method to skip validation, for use by the validator.
src/main/java/org/gbif/dwc/DwcFiles.java
Add method to skip validation, for use by the validator.
<ide><path>rc/main/java/org/gbif/dwc/DwcFiles.java <ide> } <ide> <ide> /** <add> * Build a Darwin Core {@link Archive} from a location. The location can be an uncompressed directory or an uncompressed file. <add> * <add> * This method skips basic validation, and should only be used by a tool that does its ow...
Java
apache-2.0
dc8cb713701f03cfbb55d55ece6f36a59b2499d5
0
Thaedrik/eventbroker
/* * Copyright (c) 2012-2015 Codestorming.org * * 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...
src/main/java/org/codestorming/broker/BasicEvent.java
/* * Copyright (c) 2012-2015 Codestorming.org * * 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...
Added a toString() to BasicEvent
src/main/java/org/codestorming/broker/BasicEvent.java
Added a toString() to BasicEvent
<ide><path>rc/main/java/org/codestorming/broker/BasicEvent.java <ide> <ide> protected final Object data; <ide> <add> protected String cachedToString; <add> <ide> /** <ide> * Creates a new {@code BasicEvent}. <ide> * <ide> public <T> T getData() { <ide> return (T) data; <ide> } <add> <add> @Override <add> pu...
Java
apache-2.0
3daeca3faaf6bb7f1a8b86a770d38c8a22ef8a0f
0
BonDyka/abondarev,BonDyka/abondarev,BonDyka/abondarev
package ru.job4j.max; /** * The class created for maximum of two numbers. * * @author abondarev * @since 11.07.2017 */ public class Max { /** * The method calculate maximum of two numbers. * * @param first is the first argument. * @param second is the second argument. * @return max of two numbers. */...
chapter_001/src/main/java/ru/job4j/max/Max.java
package ru.job4j.max; /** * The class created for maximum of two numbers. * * @author abondarev * @since 11.07.2017 */ public class Max { /** * The method calculate maximum of two numbers. * * @param first is the first argument. * @param second is the second argument. * @return max of two numbers. */...
3.4. Максимум из трех чисел [ #190]. Fixed
chapter_001/src/main/java/ru/job4j/max/Max.java
3.4. Максимум из трех чисел [ #190]. Fixed
<ide><path>hapter_001/src/main/java/ru/job4j/max/Max.java <ide> * @return max of three numbers. <ide> */ <ide> public int max(int first, int second, int third) { <del> int maxFirstSecond = this.max(first, second); <del> int result = this.max(maxFirstSecond, third); <del> return result; <add> return this.max(fi...
Java
epl-1.0
acd89405f25db81db1353a7f489846ea5386f322
0
elexis/elexis-server,elexis/elexis-server
package info.elexis.server.core.connector.elexis.jpa.model.annotated; import java.time.LocalDate; import java.time.LocalDateTime; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax.persistence.OneToOne; import javax.persist...
bundles/es.core.connector.elexis.jpa/src/info/elexis/server/core/connector/elexis/jpa/model/annotated/LabResult.java
package info.elexis.server.core.connector.elexis.jpa.model.annotated; import java.time.LocalDate; import java.time.LocalDateTime; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax.persistence.OneToOne; import javax.persist...
Provide transient LabResult#isFlagged
bundles/es.core.connector.elexis.jpa/src/info/elexis/server/core/connector/elexis/jpa/model/annotated/LabResult.java
Provide transient LabResult#isFlagged
<ide><path>undles/es.core.connector.elexis.jpa/src/info/elexis/server/core/connector/elexis/jpa/model/annotated/LabResult.java <ide> import javax.persistence.Lob; <ide> import javax.persistence.OneToOne; <ide> import javax.persistence.Table; <add>import javax.persistence.Transient; <ide> <ide> import org.eclipse.persi...
JavaScript
mit
59f1146c13b598d2f0658a3f420694406ccd7eec
0
rickatech/dungeon,rickatech/dungeon
// http://www.crockford.com/javascript/private.html dungeon_display_file = 'dungeon_ajax.php'; head_display_file = 'head_ajax.php'; nav_display_file = 'nav_ajax.php'; function popUp(URL) { day = new Date(); id = day.getTime(); // args = 'toolbar = 0, scrollbars = 0, location = 0, statusbar = 0, menubar = 0...
ajax.js
// http://www.crockford.com/javascript/private.html dungeon_display_file = 'dungeon_ajax.php'; head_display_file = 'head_ajax.php'; nav_display_file = 'nav_ajax.php'; function popUp(URL) { day = new Date(); id = day.getTime(); // args = 'toolbar = 0, scrollbars = 0, location = 0, statusbar = 0, menubar = 0...
seem to have fixed weird slow connection issues with nav control not displaying consistently after login or logout
ajax.js
seem to have fixed weird slow connection issues with nav control not displaying consistently after login or logout
<ide><path>jax.js <ide> } <ide> <ide> function head_set(which) { <add> // FUTURE, obsolete function? <ide> headhq.url = head_display_file+'?ajax=1'; <ide> headhq.div = "head"; <ide> headhq.do_hq(); <ide> //alert('username: ' + un + ', ' + pw); <ide> headhq.url = head_display_file+'?ajax=1&username='+un+'&passwo...
Java
apache-2.0
be5df8d9edad3e513e8ddb812a4968ddaa6211c0
0
GabrielBrascher/cloudstack,GabrielBrascher/cloudstack,GabrielBrascher/cloudstack,GabrielBrascher/cloudstack,GabrielBrascher/cloudstack,GabrielBrascher/cloudstack,GabrielBrascher/cloudstack
// 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"); you may...
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.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"); you may...
kvm: fix wrong VM CPU usage (#4381)
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
kvm: fix wrong VM CPU usage (#4381)
<ide><path>lugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java <ide> import org.libvirt.LibvirtException; <ide> import org.libvirt.MemoryStatistic; <ide> import org.libvirt.Network; <del>import org.libvirt.NodeInfo; <ide> import org.w3c.dom.Document; <ide> import org.w3c...
JavaScript
mit
7fcfd9b4f8192b112f81d00872e40cfc59bde185
0
aurbano/resource-path
import test from 'ava'; import resource from '../index'; test('Returns a valid simple URL', t => { const input = '/path/to/resource'; const output = '/path/to/resource'; t.is(resource(input), output); }); test('Returns a URL with all params', t => { const input = '/path/:param1/resource/:param2'; const in...
tests/index.test.js
import test from 'ava'; import resource from '../index'; test('Returns a valid simple URL', t => { const input = '/path/to/resource'; const output = '/path/to/resource'; t.is(resource(input), output); }); test('Returns a URL with all params', t => { const input = '/path/:param1/resource/:param2'; const in...
improve testing coverage
tests/index.test.js
improve testing coverage
<ide><path>ests/index.test.js <ide> <ide> t.is(resource(input, inputParams), output); <ide> }); <add> <add>test('Not allow "hasOwnProperty" as param', t => { <add> const input = '/path/:hasOwnProperty'; <add> <add> try { <add> resource(input); <add> t.fail('Should have thrown an exception'); <add> } catch (...
Java
mit
error: pathspec 'src/com/codingbat/array2/package-info.java' did not match any file(s) known to git
374ade9f82382e0b8eff5e2fd6be2e8254fa73c6
1
antalpeti/CodingBat
/** * Contains solutions to the Array-2 section. */ package com.codingbat.array2;
src/com/codingbat/array2/package-info.java
Add package documentation.
src/com/codingbat/array2/package-info.java
Add package documentation.
<ide><path>rc/com/codingbat/array2/package-info.java <add>/** <add> * Contains solutions to the Array-2 section. <add> */ <add>package com.codingbat.array2;
Java
mit
f1b1665e9f7ccff5a7f284f945887a26811346dc
0
navinpai/OSMT2013
package org.iiitb.os.os_proj; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); System.out.println("Merge Conflict"); } }
src/main/java/org/iiitb/os/os_proj/App.java
package org.iiitb.os.os_proj; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); System.out.println("Testing egit out"); } }
resolving merge conflict
src/main/java/org/iiitb/os/os_proj/App.java
resolving merge conflict
<ide><path>rc/main/java/org/iiitb/os/os_proj/App.java <ide> public static void main( String[] args ) <ide> { <ide> System.out.println( "Hello World!" ); <del> System.out.println("Testing egit out"); <add> System.out.println("Merge Conflict"); <ide> } <ide> }
Java
apache-2.0
186072502815a2bf6008a300881136826fedc1b1
0
ceylon/ceylon,ceylon/ceylon,ceylon/ceylon,ceylon/ceylon,ceylon/ceylon
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
compiler-java/test/src/org/eclipse/ceylon/compiler/java/test/AllCompilerTests.java
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
change order of tests
compiler-java/test/src/org/eclipse/ceylon/compiler/java/test/AllCompilerTests.java
change order of tests
<ide><path>ompiler-java/test/src/org/eclipse/ceylon/compiler/java/test/AllCompilerTests.java <ide> IssuesTests_2000_2499.class, <ide> IssuesTests_5500_5999.class, <ide> IssuesTests_6000_6499.class, <del> MiscTests.class, <del> CeylonDocToolTests.class, <del> CompilerToolsTests.class, <del> <ide> ...
Java
epl-1.0
error: pathspec 'org.eclipse.scanning.api/src/org/eclipse/scanning/api/scan/ParsingException.java' did not match any file(s) known to git
2406b8a9bf270eaa20fcc1c510981b91c3033b8c
1
Mark-Booth/daq-eclipse,Mark-Booth/daq-eclipse,Mark-Booth/daq-eclipse
package org.eclipse.scanning.api.scan; public class ParsingException extends Exception { public ParsingException() { super(); // TODO Auto-generated constructor stub } public ParsingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { super(message, cause, e...
org.eclipse.scanning.api/src/org/eclipse/scanning/api/scan/ParsingException.java
Added exception
org.eclipse.scanning.api/src/org/eclipse/scanning/api/scan/ParsingException.java
Added exception
<ide><path>rg.eclipse.scanning.api/src/org/eclipse/scanning/api/scan/ParsingException.java <add>package org.eclipse.scanning.api.scan; <add> <add>public class ParsingException extends Exception { <add> <add> public ParsingException() { <add> super(); <add> // TODO Auto-generated constructor stub <add> } <add> <add> p...
JavaScript
mit
b16150b2f3a4dd20657880be1d5f7823f95dbc99
0
apizzimenti/isometric-features,apizzimenti/isometric-features
/** * Created by apizzimenti on 5/19/16. */ "use strict"; /** * @author Anthony Pizzimenti * * @desc Game map object. * * @param game {object} Current game instance. * @param group {object} Phaser group. * @param tileSet Tileset and corresponding JSON or tile key. * @param tileSize {number} Size of an indiv...
lib/world/Map.js
/** * Created by apizzimenti on 5/19/16. */ "use strict"; /** * @author Anthony Pizzimenti * * @desc Game map object. * * @param game {object} Current game instance. * @param group {object} Phaser group. * @param tileSet Tileset and corresponding JSON. * @param tileSize {number} Size of an individual tile. ...
generate global tile keys; check Phaser global cache for existing json associations; fog of war on/off
lib/world/Map.js
generate global tile keys; check Phaser global cache for existing json associations; fog of war on/off
<ide><path>ib/world/Map.js <ide> * <ide> * @param game {object} Current game instance. <ide> * @param group {object} Phaser group. <del> * @param tileSet Tileset and corresponding JSON. <add> * @param tileSet Tileset and corresponding JSON or tile key. <ide> * @param tileSize {number} Size of an individual tile. <i...
Java
apache-2.0
72f990461b426728baf7e4709229fde0e549e297
0
miyakawataku/piggybank-ltsv,miyakawataku/piggybank-ltsv,miyakawataku/piggybank-ltsv,miyakawataku/piggybank-ltsv,miyakawataku/piggybank-ltsv,miyakawataku/piggybank-ltsv
/* * 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"); you ...
contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/storage/LTSVLoader.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"); you ...
Improves the state transition while reading a row
contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/storage/LTSVLoader.java
Improves the state transition while reading a row
<ide><path>ontrib/piggybank/java/src/main/java/org/apache/pig/piggybank/storage/LTSVLoader.java <ide> byte[] lineBytes = line.getBytes(); <ide> int lineLength = line.getLength(); <ide> <del> // Reads an map entry from each column. <add> this.tupleEmitter.startTuple(); <add> <add> /...
JavaScript
mit
417617661b6d77719e3933913e9f392df1cbf1df
0
pcanz/MyWord,pcanz/MyWord
// -- x-markup: Browser interface to markit framework --------------------------- /* The MIT License (MIT) * * Copyright (c) 2016 Rick Workman * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
lib/x-markup.js
// -- x-markup: Browser interface to markit framework --------------------------- /* The MIT License (MIT) * * Copyright (c) 2016 Rick Workman * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
x-markup.js converted to 'JavaScript Standard Style'. (http://standardjs.com)
lib/x-markup.js
x-markup.js converted to 'JavaScript Standard Style'. (http://standardjs.com)
<ide><path>ib/x-markup.js <ide> // helper functions <ide> <ide> function initWorker (workerURL) { // init Worker object and return it <del> var worker = new globals.Worker(workerURL) // worker is colocated with this script file <add> var worker = new globals.Worker(workerURL) // worker is co-located with th...
Java
agpl-3.0
f40c893961961fc6eb0e367ba3334d62dead1270
0
mnip91/proactive-component-monitoring,mnip91/proactive-component-monitoring,acontes/programming,lpellegr/programming,paraita/programming,mnip91/programming-multiactivities,ow2-proactive/programming,ow2-proactive/programming,PaulKh/scale-proactive,ow2-proactive/programming,mnip91/programming-multiactivities,acontes/sche...
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2002 INRIA/University of Nice-Sophia Antipolis * Contact: proactive-support@inria.fr * * This library i...
src/org/objectweb/proactive/core/body/proxy/AbstractProxy.java
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2002 INRIA/University of Nice-Sophia Antipolis * Contact: proactive-support@inria.fr * * This library i...
comments added git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@243 28e8926c-6b08-0410-baaa-805c5e19b8d6
src/org/objectweb/proactive/core/body/proxy/AbstractProxy.java
comments added
<ide><path>rc/org/objectweb/proactive/core/body/proxy/AbstractProxy.java <ide> * ################################################################ <ide> */ <ide> package org.objectweb.proactive.core.body.proxy; <del> <add>//add comments <ide> import org.objectweb.proactive.core.mop.ClassNotReifiableException; <ide> imp...
JavaScript
mit
33e605d9bb826831466241738fabc1e0707068e0
0
hpe-idol/java-powerpoint-report,hpe-idol/java-powerpoint-report,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpe-idol/find
/* * Copyright 2016 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ define([ 'backbone', 'jquery', 'find/app/configuration', 'i18n!find/nls/bundle', 'find/app/page/search/document/docu...
core/src/test/js/spec/app/page/search/document/document-detail-tabs.js
/* * Copyright 2016 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ define([ 'backbone', 'jquery', 'find/app/configuration', 'i18n!find/nls/bundle', 'find/app/page/search/document/docu...
Fix failing tests.
core/src/test/js/spec/app/page/search/document/document-detail-tabs.js
Fix failing tests.
<ide><path>ore/src/test/js/spec/app/page/search/document/document-detail-tabs.js <ide> configuration.and.returnValue({ <ide> map: { <ide> enabled: true <del> } <add> }, <add> hasBiRole: true <ide> ...
JavaScript
mit
f27838b16f392c4cfd7a855f45198f77f2973c5d
0
Jaywing/atomic,Jaywing/atomic
var config = require('../config') if(!config.tasks.svgSprite) return var browserSync = require('browser-sync') var gulp = require('gulp') var imagemin = require('gulp-imagemin') var svgstore = require('gulp-svgstore') var path = require('path') var svgSpriteTask = function() { var settings...
gulpfile.js/tasks/svgSprite.js
var config = require('../config') if(!config.tasks.svgSprite) return var browserSync = require('browser-sync') var gulp = require('gulp') var imagemin = require('gulp-imagemin') var svgstore = require('gulp-svgstore') var path = require('path') var svgSpriteTask = function() { var settings...
Added the refactored imagemin to svgSprite task
gulpfile.js/tasks/svgSprite.js
Added the refactored imagemin to svgSprite task
<ide><path>ulpfile.js/tasks/svgSprite.js <ide> } <ide> <ide> return gulp.src(settings.src) <del> .pipe(imagemin()) <add> .pipe(imagemin({ <add> progressive: true, <add> use: [pngquant()] <add> })) // Optimize <ide> .pipe(svgstore()) <ide> .pipe(gulp.dest(settings.dest)) <ide> .pipe(b...
Java
bsd-3-clause
0194d505fa37fae0423e5bf5e14227dd5f5785f3
0
NCIP/cadsr-semantic-tools,NCIP/cadsr-semantic-tools
/* * Copyright 2000-2005 Oracle, Inc. This software was developed in conjunction with the National Cancer Institute, and so to the extent government employees are co-authors, any rights in such works shall be subject to Title 17 of the United States Code, section 105. * Redistribution and use in source and binary fo...
src/gov/nih/nci/ncicb/cadsr/loader/parser/XMIWriter2.java
/* * Copyright 2000-2005 Oracle, Inc. This software was developed in conjunction with the National Cancer Institute, and so to the extent government employees are co-authors, any rights in such works shall be subject to Title 17 of the United States Code, section 105. * Redistribution and use in source and binary fo...
fixed human reviewed tags not being saved SVN-Revision: 1259
src/gov/nih/nci/ncicb/cadsr/loader/parser/XMIWriter2.java
fixed human reviewed tags not being saved
<ide><path>rc/gov/nih/nci/ncicb/cadsr/loader/parser/XMIWriter2.java <ide> Collection<UMLTaggedValue> allTvs = att.getTaggedValues(); <ide> for(UMLTaggedValue tv : allTvs) { <ide> if(tv.getName().startsWith("Property") || <del> tv.getName().startsWith("PropertyQualifier")); <del> ...
Java
apache-2.0
096b8b84e0dba8cdf0e0f7afae8d118a68e06e6c
0
mihbor/kafka,guozhangwang/kafka,rhauch/kafka,mihbor/kafka,ijuma/kafka,lindong28/kafka,ollie314/kafka,TiVo/kafka,sslavic/kafka,sslavic/kafka,ijuma/kafka,Esquive/kafka,ijuma/kafka,geeag/kafka,rhauch/kafka,gf53520/kafka,sebadiaz/kafka,eribeiro/kafka,geeag/kafka,lindong28/kafka,TiVo/kafka,MyPureCloud/kafka,ErikKringen/kafk...
/** * 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"); you may...
clients/src/main/java/org/apache/kafka/clients/producer/RecordMetadata.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"); you may...
KAFKA-3641; Fix RecordMetadata constructor backward compatibility Author: Grant Henke <granthenke@gmail.com> Reviewers: Gwen Shapira, Ismael Juma Closes #1292 from granthenke/recordmeta-compat
clients/src/main/java/org/apache/kafka/clients/producer/RecordMetadata.java
KAFKA-3641; Fix RecordMetadata constructor backward compatibility
<ide><path>lients/src/main/java/org/apache/kafka/clients/producer/RecordMetadata.java <ide> package org.apache.kafka.clients.producer; <ide> <ide> import org.apache.kafka.common.TopicPartition; <add>import org.apache.kafka.common.record.Record; <ide> <ide> /** <ide> * The metadata for a record that has been acknowle...
Java
apache-2.0
d7cf7775b4b7378bde09ae3242152efe58d0249a
0
HaiJiaoXinHeng/server-1,hongsudt/server,HaiJiaoXinHeng/server-1,HaiJiaoXinHeng/server-1,hongsudt/server,hongsudt/server
package edu.ucla.cens.awserver.validator.json; import org.apache.log4j.Logger; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import edu.ucla.cens.awserver.datatransfer.AwRequest; import edu.ucla.cens.awserver.util.JsonUtils; import edu.ucla.cens.awserver.validator.AwRequestAnno...
src/edu/ucla/cens/awserver/validator/json/FailedJsonRequestAnnotator.java
package edu.ucla.cens.awserver.validator.json; import org.apache.log4j.Logger; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import edu.ucla.cens.awserver.datatransfer.AwRequest; import edu.ucla.cens.awserver.util.JsonUtils; import edu.ucla.cens.awserver.validator.AwRequestAnno...
added defensive code to handle cases where the request fails due to missing parameter data
src/edu/ucla/cens/awserver/validator/json/FailedJsonRequestAnnotator.java
added defensive code to handle cases where the request fails due to missing parameter data
<ide><path>rc/edu/ucla/cens/awserver/validator/json/FailedJsonRequestAnnotator.java <ide> * <ide> * The message passed in is used for debug output only. For cases where the JSONObject representing the error output message <ide> * must be passed into this method, @see FailedJsonSuppliedMessageRequestAnn...
JavaScript
mit
f0879a6ab9b27fb854b7519719a1cbbdce58a8f2
0
Kenny-/Pokemon-Showdown
/** * Rooms * Pokemon Showdown - http://pokemonshowdown.com/ * * Every chat room and battle is a room, and what they do is done in * rooms.js. There's also a global room which every user is in, and * handles miscellaneous things like welcoming the user. * * @license MIT license */ const TIMEOUT_EMPTY_DEALLOCA...
rooms.js
/** * Rooms * Pokemon Showdown - http://pokemonshowdown.com/ * * Every chat room and battle is a room, and what they do is done in * rooms.js. There's also a global room which every user is in, and * handles miscellaneous things like welcoming the user. * * @license MIT license */ const TIMEOUT_EMPTY_DEALLOCA...
Revert "Revert "clans"" This reverts commit 2410e35885e2422db38f2f09a838ebab524aabae.
rooms.js
Revert "Revert "clans""
<ide><path>ooms.js <ide> } <ide> }; <ide> BattleRoom.prototype.win = function (winner) { <add> if (Clans.setWarMatchResult(this.p1, this.p2, winner)) { <add> var result = "drawn"; <add> if (toId(winner) === toId(this.p1)) <add> result = "won"; <add> else if (toId(winner) === toId(this.p2)) <add> result...
Java
agpl-3.0
06ab4732ea18b8b9b815795799fcc492cf519db4
0
fviale/programming,PaulKh/scale-proactive,mnip91/programming-multiactivities,PaulKh/scale-proactive,mnip91/proactive-component-monitoring,jrochas/scale-proactive,mnip91/programming-multiactivities,mnip91/proactive-component-monitoring,fviale/programming,paraita/programming,paraita/programming,lpellegr/programming,parai...
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2011 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
src/Tests/unitTests/gcmdeployment/descriptorParser/TestApplicationDescriptorParser.java
/* * ################################################################ * * ProActive Parallel Suite(TM): The Java(TM) library for * Parallel, Distributed, Multi-Core Computing for * Enterprise Grids & Clouds * * Copyright (C) 1997-2011 INRIA/University of * Nice-Sophia Antipolis/ActiveEon ...
PROACTIVE-1093: type of variable TEST_APP_DIR has been changed from String to URL git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@19988 28e8926c-6b08-0410-baaa-805c5e19b8d6
src/Tests/unitTests/gcmdeployment/descriptorParser/TestApplicationDescriptorParser.java
PROACTIVE-1093: type of variable TEST_APP_DIR has been changed from String to URL
<ide><path>rc/Tests/unitTests/gcmdeployment/descriptorParser/TestApplicationDescriptorParser.java <ide> <ide> import java.io.File; <ide> import java.io.FileNotFoundException; <add>import java.net.URISyntaxException; <ide> import java.net.URL; <ide> import java.util.ArrayList; <ide> import java.util.List; <ide> <ide> ...
Java
apache-2.0
6f76d114711148b88ec3f8dff1656ea3ad55c9c1
0
jruesga/rview,jruesga/rview,jruesga/rview
/* * Copyright (C) 2016 Jorge Ruesga * * 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...
app/src/main/java/com/ruesga/rview/BaseActivity.java
/* * Copyright (C) 2016 Jorge Ruesga * * 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...
Only if it should be handled Signed-off-by: Jorge Ruesga <33f927344e079e00d3fa45d8833b04e735223eec@ruesga.com>
app/src/main/java/com/ruesga/rview/BaseActivity.java
Only if it should be handled
<ide><path>pp/src/main/java/com/ruesga/rview/BaseActivity.java <ide> } <ide> <ide> public void registerFabWithRecyclerView(RecyclerView view) { <del> view.addOnScrollListener(new RecyclerView.OnScrollListener() { <del> final ScrollAwareFloatingActionButtonBehavior mBehavior = <del> ...
Java
apache-2.0
48f76aeaa7aca185dfeed02e86ce161532750374
0
gnuhub/intellij-community,akosyakov/intellij-community,akosyakov/intellij-community,vladmm/intellij-community,petteyg/intellij-community,izonder/intellij-community,slisson/intellij-community,MichaelNedzelsky/intellij-community,tmpgit/intellij-community,holmes/intellij-community,wreckJ/intellij-community,salguarnieri/in...
/* * Copyright 2000-2014 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...
plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/base/Intention.java
/* * Copyright 2000-2013 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...
EA-49782 - assert: TextRange.<init>
plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/base/Intention.java
EA-49782 - assert: TextRange.<init>
<ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/intentions/base/Intention.java <ide> /* <del> * Copyright 2000-2013 JetBrains s.r.o. <add> * Copyright 2000-2014 JetBrains s.r.o. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in compl...
Java
agpl-3.0
affbd9159aaaba4eb6008992c2c21389864e53e8
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
b5242532-2e5f-11e5-9284-b827eb9e62be
hello.java
b51eaaf8-2e5f-11e5-9284-b827eb9e62be
b5242532-2e5f-11e5-9284-b827eb9e62be
hello.java
b5242532-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>b51eaaf8-2e5f-11e5-9284-b827eb9e62be <add>b5242532-2e5f-11e5-9284-b827eb9e62be
JavaScript
mit
793527c0e58e580bb67a8c2c15e6a1e5cbd502f4
0
phetsims/scenery-phet,phetsims/scenery-phet,phetsims/scenery-phet
// Copyright 2016, University of Colorado Boulder /** * A key accumulator that collects user input for integer and floating point values, intended for use in conjunction * with the common-code keypad. * * @author Aadish Gupta * @author John Blanco * @author Chris Malley (PixelZoom, Inc.) */ define( function( re...
js/keypad/NumberAccumulator.js
// Copyright 2016, University of Colorado Boulder /** * A key accumulator that collects user input for integer and floating point values, intended for use in conjunction * with the common-code keypad. * * @author Aadish Gupta * @author John Blanco * @author Chris Malley (PixelZoom, Inc.) */ define( function( re...
formatting #283
js/keypad/NumberAccumulator.js
formatting #283
<ide><path>s/keypad/NumberAccumulator.js <ide> returnValue = returnValue + DECIMAL_CHAR; <ide> } <ide> else { <add> <ide> // PlusMinusKey (if present) should only be first <ide> assert && assert( this.isDigit( keys[ i ] ), 'unexpected key type' ); <ide> ...
JavaScript
mit
26c8ca3c62722874b865d4bb2e5a2eea6d37317c
0
Combitech/codefarm,Combitech/codefarm,Combitech/codefarm
import React from "react"; import Immutable from "immutable"; import LightComponent from "ui-lib/light_component"; import { Row, Col } from "react-flexbox-grid"; import moment from "moment"; import api from "api.io/api.io-client"; import stateVar from "ui-lib/state_var"; import BaselineList from "../../observables/bas...
src/app/UI/lib/managers/code/client/components/sections/Overview.js
import React from "react"; import Immutable from "immutable"; import LightComponent from "ui-lib/light_component"; import { Row, Col } from "react-flexbox-grid"; import moment from "moment"; import api from "api.io/api.io-client"; import stateVar from "ui-lib/state_var"; import BaselineList from "../../observables/bas...
[fix] Dont show review card when no email set
src/app/UI/lib/managers/code/client/components/sections/Overview.js
[fix] Dont show review card when no email set
<ide><path>rc/app/UI/lib/managers/code/client/components/sections/Overview.js <ide> }); <ide> }); <ide> <del> this.props.item.reviews.forEach((review, reviewIndex) => { <del> list.push({ <del> id: `review-${reviewIndex}`, <del> time: moment(review.upd...
Java
apache-2.0
646462329177f42e7ad08a4c927b08cef0d8bf21
0
finmath/finmath-lib,finmath/finmath-lib
/* * (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de. * * Created on 27.04.2012 */ package net.finmath.montecarlo.assetderivativevaluation.products; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import net.finmath.exception.CalculationException; import net...
src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/DeltaHedgedPortfolioWithAAD.java
/* * (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de. * * Created on 27.04.2012 */ package net.finmath.montecarlo.assetderivativevaluation.products; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import net.finmath.exception.CalculationException; import net...
Fixed NPE for basis functions derived from deterministic random variable
src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/DeltaHedgedPortfolioWithAAD.java
Fixed NPE for basis functions derived from deterministic random variable
<ide><path>rc/main/java/net/finmath/montecarlo/assetderivativevaluation/products/DeltaHedgedPortfolioWithAAD.java <ide> private ArrayList<RandomVariable> getRegressionBasisFunctionsBinning(RandomVariable underlying, RandomVariable indicator) { <ide> ArrayList<RandomVariable> basisFunctions = new ArrayList<RandomVari...
JavaScript
mit
9fd7c4537deb0dc22e1b66bb2752e6dcc67da390
0
vseryakov/backendjs,vseryakov/backendjs,vseryakov/backendjs
// // Author: Vlad Seryakov vseryakov@gmail.com // Sep 2013 // var path = require('path'); var stream = require('stream'); var util = require('util'); var fs = require('fs'); var os = require('os'); var http = require('http'); var https = require('https'); var url = require('url'); var qs = require('qs'); var toobus...
api.js
// // Author: Vlad Seryakov vseryakov@gmail.com // Sep 2013 // var path = require('path'); var stream = require('stream'); var util = require('util'); var fs = require('fs'); var os = require('os'); var http = require('http'); var https = require('https'); var url = require('url'); var qs = require('qs'); var toobus...
aded cache API
api.js
aded cache API
<ide><path>pi.js <ide> // Return current statistics <ide> this.app.all("/data/stats", function(req, res) { <ide> res.json(self.getStatistics()); <add> }); <add> <add> this.app.all(/^\/data\/cache\/(.+)$/, function(req, res) { <add> switch (req.params[0]) { <add> case "keys": <add> ...
Java
apache-2.0
3ae09f1bd47076fca42a604a39e1fdf94fddcaab
0
ruspl-afed/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,AndrewKhitrin/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,ruspl-afed/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,ruspl-afed/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * 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...
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBUtils.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * 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...
Full object name gen fix
plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBUtils.java
Full object name gen fix
<ide><path>lugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/DBUtils.java <ide> if (namePart == null) { <ide> continue; <ide> } <del> if (name.length() > 0) { <add> if (name.length() > 0 && name.charAt(name.length() - 1) != '.') { <ide> ...
Java
apache-2.0
d6d90c61ee818da3cfa8e726027d757152cd73fb
0
WilliamZapata/alluxio,PasaLab/tachyon,yuluo-ding/alluxio,PasaLab/tachyon,calvinjia/tachyon,ShailShah/alluxio,bf8086/alluxio,madanadit/alluxio,jswudi/alluxio,madanadit/alluxio,wwjiang007/alluxio,Reidddddd/mo-alluxio,jsimsa/alluxio,WilliamZapata/alluxio,Alluxio/alluxio,maboelhassan/alluxio,maobaolong/alluxio,ChangerYoung...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the “License”). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
core/common/src/main/java/alluxio/security/login/AlluxioLoginModule.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the “License”). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
[SMALLFIX] Removed redundant initializer in AlluxioLoginModule
core/common/src/main/java/alluxio/security/login/AlluxioLoginModule.java
[SMALLFIX] Removed redundant initializer in AlluxioLoginModule
<ide><path>ore/common/src/main/java/alluxio/security/login/AlluxioLoginModule.java <ide> loader = ClassLoader.getSystemClassLoader(); <ide> } <ide> <del> Class<? extends Principal> clazz = null; <add> Class<? extends Principal> clazz; <ide> try { <ide> // Declare a temp variable so that we ca...
Java
apache-2.0
dad0ba8de4d07653babe687af0d70930a4cf9c8f
0
jnidzwetzki/scalephant,jnidzwetzki/bboxdb,jnidzwetzki/bboxdb,jnidzwetzki/bboxdb,jnidzwetzki/scalephant
/******************************************************************************* * * Copyright (C) 2015-2018 the BBoxDB 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 Licens...
bboxdb-server/src/main/java/org/bboxdb/network/client/BBoxDBClient.java
/******************************************************************************* * * Copyright (C) 2015-2018 the BBoxDB 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 Licens...
Release sequence number when package is not send
bboxdb-server/src/main/java/org/bboxdb/network/client/BBoxDBClient.java
Release sequence number when package is not send
<ide><path>boxdb-server/src/main/java/org/bboxdb/network/client/BBoxDBClient.java <ide> final OperationFuture future) { <ide> <ide> future.setConnection(0, this); <del> <add> <add> final short sequenceNumber = requestPackage.getSequenceNumber(); <ide> final boolean result = recalculateRoutingHeader(requestPa...
Java
apache-2.0
15ced983759265fcc298b1c7ee6cf29c7ad43215
0
synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung
package org.synyx.urlaubsverwaltung.api; import org.springframework.http.HttpStatus; import org.springframework.security.access.AccessDeniedException; import org.springframework.web.bind.MissingServletRequestParameterException; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework...
src/main/java/org/synyx/urlaubsverwaltung/api/ApiExceptionHandlerControllerAdvice.java
package org.synyx.urlaubsverwaltung.api; import org.springframework.http.HttpStatus; import org.springframework.security.access.AccessDeniedException; import org.springframework.web.bind.MissingServletRequestParameterException; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework...
Use @RestControllerAdvice
src/main/java/org/synyx/urlaubsverwaltung/api/ApiExceptionHandlerControllerAdvice.java
Use @RestControllerAdvice
<ide><path>rc/main/java/org/synyx/urlaubsverwaltung/api/ApiExceptionHandlerControllerAdvice.java <ide> import org.springframework.http.HttpStatus; <ide> import org.springframework.security.access.AccessDeniedException; <ide> import org.springframework.web.bind.MissingServletRequestParameterException; <del>import org.sp...
Java
apache-2.0
33a38e3a84e6a21f9ef6f4f38b3afe4bafa7454c
0
sannies/mp4parser,olegloa/mp4parser
package com.googlecode.mp4parser.authoring.samples; import com.coremedia.iso.IsoFile; import com.coremedia.iso.boxes.Box; import com.coremedia.iso.boxes.Container; import com.coremedia.iso.boxes.TrackBox; import com.coremedia.iso.boxes.fragment.*; import com.googlecode.mp4parser.authoring.Sample; import com.go...
isoparser/src/main/java/com/googlecode/mp4parser/authoring/samples/FragmentedMp4SampleList.java
package com.googlecode.mp4parser.authoring.samples; import com.coremedia.iso.IsoFile; import com.coremedia.iso.boxes.Box; import com.coremedia.iso.boxes.Container; import com.coremedia.iso.boxes.TrackBox; import com.coremedia.iso.boxes.fragment.*; import com.googlecode.mp4parser.authoring.Sample; import com.go...
removed debug output, enable sample cache
isoparser/src/main/java/com/googlecode/mp4parser/authoring/samples/FragmentedMp4SampleList.java
removed debug output, enable sample cache
<ide><path>soparser/src/main/java/com/googlecode/mp4parser/authoring/samples/FragmentedMp4SampleList.java <ide> } <ide> } <ide> try { <del> System.err.println("Mapped trun - offset: " + offset + " - size: " + size); <...
Java
apache-2.0
ef9505b0c0814507e9598a055e92838bf38ce797
0
SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud
/***************************************************************************** * Copyright 2011-2012 INRIA * Copyright 2011-2012 Universidade Nova de Lisboa * * 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 cop...
src-core/swift/dc/DCSurrogate.java
/***************************************************************************** * Copyright 2011-2012 INRIA * Copyright 2011-2012 Universidade Nova de Lisboa * * 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 cop...
DCSurrogate: report failure as a warning
src-core/swift/dc/DCSurrogate.java
DCSurrogate: report failure as a warning
<ide><path>rc-core/swift/dc/DCSurrogate.java <ide> } <ide> resHandler.onResult(new CommitUpdatesReply(txTs)); <ide> // return new CommitUpdatesReply(txTs); <del> } else <add> } else { <add> ...
Java
epl-1.0
40d412e89b47f2149e0d017090d1d5adf3a71bf8
0
OpenBMP/openbmp-mysql-consumer,OpenBMP/openbmp-mysql-consumer,OpenBMP/openbmp-mysql-consumer
package org.openbmp.handler; /* * Copyright (c) 2015 Cisco Systems, Inc. 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 distribution, * and is available at http://www.eclipse.org/legal/...
src/main/java/org/openbmp/handler/Peer.java
package org.openbmp.handler; /* * Copyright (c) 2015 Cisco Systems, Inc. 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 distribution, * and is available at http://www.eclipse.org/legal/...
Update to have peer up/down set link-state NLRI's to withdrawn. Upon peer down or up, all NLRI's should be marked as withdrawn.
src/main/java/org/openbmp/handler/Peer.java
Update to have peer up/down set link-state NLRI's to withdrawn.
<ide><path>rc/main/java/org/openbmp/handler/Peer.java <ide> sb.append("UPDATE rib SET isWithdrawn = True WHERE peer_hash_id = '"); <ide> sb.append(rowMap.get(i).get("hash")); <ide> sb.append("' AND isWithdrawn = False"); <add> <add> sb.append("; UPDATE ls_nodes SET isWithd...
Java
mit
d18dd9e2a1122284c803ff7ed26d76d11e13e1ba
0
fhirschmann/clozegen,fhirschmann/clozegen
/* * Copyright (C) 2012 Fabian Hirschmann <fabian@hirschm.net> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. ...
lib/src/main/java/com/github/fhirschmann/clozegen/lib/frequency/AbstractFrequencyList.java
/* * Copyright (C) 2012 Fabian Hirschmann <fabian@hirschm.net> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. ...
fixed spelling
lib/src/main/java/com/github/fhirschmann/clozegen/lib/frequency/AbstractFrequencyList.java
fixed spelling
<ide><path>ib/src/main/java/com/github/fhirschmann/clozegen/lib/frequency/AbstractFrequencyList.java <ide> * <frequency value="4563" ... /> <ide> * </frequencies> <ide> * </pre> <del> * The only required xml attribute here is the "value" attribute which indicates <add> * The only required XML attribute here is t...
Java
apache-2.0
ebeac25ecb2c9752c2c884f3087798b72398fc6a
0
mapr/hbase,mapr/hbase,mapr/hbase,mapr/hbase,mapr/hbase,mapr/hbase,mapr/hbase,mapr/hbase,mapr/hbase
/** * * 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"); ...
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClient.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"); ...
HBASE-10477 Regression from HBASE-10337 git-svn-id: eacefbb430aa6993bec52677de2e7e10bea24366@1565366 13f79535-47bb-0310-9956-ffa450edef68
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClient.java
HBASE-10477 Regression from HBASE-10337
<ide><path>base-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClient.java <ide> // since we expect certain responses to not make it by the specified <ide> // {@link ConnectionId#rpcTimeout}. <ide> closeException = e; <del> } if (ExceptionUtil.isInterrupt(e)){ <del> <ide> ...
JavaScript
mit
be08377bd318b11872166e241a557c29495ff790
0
fauvel/CM,njam/CM,njam/CM,cargomedia/CM,fauvel/CM,vogdb/cm,cargomedia/CM,cargomedia/CM,vogdb/cm,njam/CM,njam/CM,fauvel/CM,fauvel/CM,fauvel/CM,njam/CM,vogdb/cm,vogdb/cm,vogdb/cm,cargomedia/CM
/** * @class CM_View_Abstract * @extends Backbone.View */ var CM_View_Abstract = Backbone.View.extend({ _class: 'CM_View_Abstract', /** @type CM_View_Abstract[] **/ _children: [], /** * @param {Object} [options] */ constructor: function(options) { this.options = options || {}; Backbone.View...
library/CM/View/Abstract.js
/** * @class CM_View_Abstract * @extends Backbone.View */ var CM_View_Abstract = Backbone.View.extend({ _class: 'CM_View_Abstract', /** @type CM_View_Abstract[] **/ _children: [], /** * @param {Object} [options] */ constructor: function(options) { this.options = options || {}; Backbone.View...
Use Node.replaceChild in CM_View_Abstract.replaceWithHtml
library/CM/View/Abstract.js
Use Node.replaceChild in CM_View_Abstract.replaceWithHtml
<ide><path>ibrary/CM/View/Abstract.js <ide> * @param {jQuery} $html <ide> */ <ide> replaceWithHtml: function($html) { <del> var $parent = this.$el.parent(); <del> var $next = this.$el.next(); <del> cm.window.appendHidden(this.$el); <del> if ($next.length) { <del> $next.before($html); <del> }...
JavaScript
mit
67f8264433889f2f49e4f23502fa70f3cc62afc2
0
kmerhi/artifactoid
#!/usr/bin/env node const open = require('open'); const yargs = require('yargs'); /* istanbul ignore next */ yargs.version() .usage('Usage: artifactoid <command> [options]') .command(['get <uri>', 'g', '*'], 'Get latest download URI for given path', require('./cmds/get')) // .command(['upload <uri>', 'push'], 'Upl...
src/cli.js
#!/usr/bin/env node const open = require('open'); const yargs = require('yargs'); /* istanbul ignore next */ yargs.version() .usage('Usage: artifactoid <command> [options]') .command(['get <uri>', 'g', '*'], 'Get latest download URI for given path', require('./cmds/get')) // .command(['upload <uri>', 'push'], 'Upl...
clean up options
src/cli.js
clean up options
<ide><path>rc/cli.js <ide> .demandCommand(1, 'You need at least one command before moving on') <ide> .help('h') <ide> .alias('h', 'help') <del> .describe('u', 'User to connect to Artifactory repo') <del> .alias('u', 'user') <del> .describe('p', 'Password (or API key) for basic auth') <del> .alias('p', 'pass') <add> ...
Java
epl-1.0
5e9f1a8ba0ad6df8f23410dca06aaaf49a2733bd
0
opendaylight/netvirt,opendaylight/netvirt,opendaylight/netvirt,opendaylight/netvirt,opendaylight/netvirt
/* * Copyright (c) 2016, 2017 Ericsson India Global Services Pvt Ltd. 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 distribution, * and is available at http://www.eclipse.org/legal/epl...
neutronvpn/impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronNetworkChangeListener.java
/* * Copyright (c) 2016, 2017 Ericsson India Global Services Pvt Ltd. 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 distribution, * and is available at http://www.eclipse.org/legal/epl...
NETVIRT-1227 : Refactoring segment creation For multisegment network , the code is unnecessarly using multiple loops and varibles , increasing the probability of NP and ArrayIndexOutOfBoundExceptions. Hence refactoring the code. Change-Id: I6022813925096d9b02f5cb14fb92918445dd04db Signed-off-by: eaksahu <4cb3e222c43f...
neutronvpn/impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronNetworkChangeListener.java
NETVIRT-1227 : Refactoring segment creation
<ide><path>eutronvpn/impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronNetworkChangeListener.java <ide> package org.opendaylight.netvirt.neutronvpn; <ide> <ide> import com.google.common.base.Optional; <del>import java.util.ArrayList; <add>import java.util.Collections; <ide> import java.util.List; <ide> imp...
Java
apache-2.0
d829dea2445f45930d122101fe7e335ae69bfc9e
0
google/tsunami-security-scanner-plugins,google/tsunami-security-scanner-plugins,google/tsunami-security-scanner-plugins
/* * Copyright 2021 Google LLC * * 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 wr...
community/detectors/grafana_arbitrary_file_reading/src/test/java/com/google/tsunami/plugins/detectors/grafana/GrafanaArbitraryFileReadingDetectorTest.java
/* * Copyright 2021 Google LLC * * 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 wr...
Update GrafanaArbitraryFileReadingDetectorTest.java fix test.
community/detectors/grafana_arbitrary_file_reading/src/test/java/com/google/tsunami/plugins/detectors/grafana/GrafanaArbitraryFileReadingDetectorTest.java
Update GrafanaArbitraryFileReadingDetectorTest.java
<ide><path>ommunity/detectors/grafana_arbitrary_file_reading/src/test/java/com/google/tsunami/plugins/detectors/grafana/GrafanaArbitraryFileReadingDetectorTest.java <ide> Vulnerability.newBuilder() <ide> .setMainId( <ide> VulnerabilityId.newBuilder...
Java
mpl-2.0
c59a4dade3136120a6c87898e386603e9a339a36
0
GUBotDev/XBeeJavaLibrary,brucetsao/XBeeJavaLibrary,digidotcom/XBeeJavaLibrary
/** * Copyright (c) 2014 Digi International Inc., * All rights not expressly granted are reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. * * Digi Internation...
src/com/digi/xbee/api/XBeeDevice.java
/** * Copyright (c) 2014 Digi International Inc., * All rights not expressly granted are reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. * * Digi Internation...
Little cosmetic changes. Signed-off-by: Diego Escalona <2cc07d4527ddb8161307b5e41bc6a82cc360f0ff@digi.com>
src/com/digi/xbee/api/XBeeDevice.java
Little cosmetic changes.
<ide><path>rc/com/digi/xbee/api/XBeeDevice.java <ide> * @param connectionInterface The connection interface with the physical <ide> * XBee device. <ide> * <del> * @throws NullPointerException if {@code connectionInterface == null} <add> * @throws NullPointerException if {@code conne...
Java
apache-2.0
06155e12a41d2c4959d34d42eea28c21b1169494
0
kzubrinic/oop
package hr.unidu.oop.p01; /** * Prvi Java program. */ public class DobarDan{ public static void main(String[] args){ System.out.println("Dobar dan!"); } }
oop/src/hr/unidu/oop/p01/DobarDan.java
package hr.unidu.oop.p01; /** * Prvi program. */ public class DobarDan{ public static void main(String[] args){ System.out.println("Dobar dan!"); } }
Izmjena komentara u prvom programu
oop/src/hr/unidu/oop/p01/DobarDan.java
Izmjena komentara u prvom programu
<ide><path>op/src/hr/unidu/oop/p01/DobarDan.java <ide> package hr.unidu.oop.p01; <ide> <ide> /** <del> * Prvi program. <add> * Prvi Java program. <ide> */ <ide> public class DobarDan{ <ide> public static void main(String[] args){
Java
apache-2.0
b7ffb88426881507ca14ca73b5ac8f19173da2c6
0
Pardus-Engerek/engerek,PetrGasparik/midpoint,Pardus-Engerek/engerek,PetrGasparik/midpoint,PetrGasparik/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint,Pardus-Engerek/engerek,Pardus-Engerek/engerek,arnost-starosta/midpoint,PetrGasparik/midpoint
/* * Copyright (c) 2013-2016 Evolveum * * 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...
model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelRestService.java
/* * Copyright (c) 2013-2016 Evolveum * * 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...
fixing MID-2637
model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelRestService.java
fixing MID-2637
<ide><path>odel/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelRestService.java <ide> } <ide> <ide> ModelExecuteOptions modelExecuteOptions = ModelExecuteOptions.fromRestOptions(options); <del> if (modelExecuteOptions == null || !ModelExecuteOptions.isOverwrite(modelExecuteOptions)){ <add> if (...
Java
apache-2.0
85163523b6c6c53af0d3aecaf25783d7b142aa2e
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.run; import com.intellij.execution.Location; import com.intellij.execution.actions.ConfigurationContext; import com.intellij.execution.actions.Config...
python/src/com/jetbrains/python/run/PythonRunConfigurationProducer.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.run; import com.intellij.execution.Location; import com.intellij.execution.actions.ConfigurationContext; import com.intellij.execution.actions.Config...
PY-12516 Enable automatic renaming of generated run configurations on module refactoring It didn't work because we forgot to set isGeneratedName flag for such run configurations by initializing suggested name manually instead of using the standard LocatableConfigurationBase#setGeneratedName() method. GitOrigin-RevId:...
python/src/com/jetbrains/python/run/PythonRunConfigurationProducer.java
PY-12516 Enable automatic renaming of generated run configurations on module refactoring
<ide><path>ython/src/com/jetbrains/python/run/PythonRunConfigurationProducer.java <ide> configuration.setUseModuleSdk(true); <ide> configuration.setModule(module); <ide> } <del> configuration.setName(configuration.suggestedName()); <add> configuration.setGeneratedName(); <ide> return true; <id...
Java
apache-2.0
4a663936575051ace985584c46d333185e2a5202
0
bither/bither-android,neurocis/bither-android,leerduo/bither-android,CryptArc/templecoin-bither
/* * Copyright 2014 http://Bither.net * * 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...
bither-android/src/net/bither/db/TxProvider.java
/* * Copyright 2014 http://Bither.net * * 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...
check r
bither-android/src/net/bither/db/TxProvider.java
check r
<ide><path>ither-android/src/net/bither/db/TxProvider.java <ide> SQLiteDatabase db = this.mDb.getReadableDatabase(); <ide> String sql = "select max(txs.block_no) from outs,ins,txs where outs.out_address=? " + <ide> "and ins.prev_tx_hash=outs.tx_hash and ins.prev_out_sn=outs.out_sn " + <d...
Java
apache-2.0
bd56eea49a9c6a84ce194ba3f2a186a47e7d50bc
0
apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4
/* * 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"); you may ...
java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.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"); you may ...
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55630 Provide a way to disable the custom URLStreamHandlerFactory git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1530025 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55630 Provide a way to disable the custom URLStreamHandlerFactory
<ide><path>ava/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java <ide> import java.util.List; <ide> import java.util.concurrent.CopyOnWriteArrayList; <ide> <del>// TODO Add hook to enable user registered factories to be unloaded on web <del>// application stop. <del>public class TomcatURLStreamHandle...
Java
apache-2.0
14b8957713b05974caaf527bceb5de534871a256
0
chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq
/** * 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"); you may...
activemq-core/src/test/java/org/apache/activemq/JmsTempDestinationTest.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"); you may...
Shutdown all connections opened in the testcase so that the broker shutdown between cases. Fixes failures that happened ocasionally git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@641890 13f79535-47bb-0310-9956-ffa450edef68
activemq-core/src/test/java/org/apache/activemq/JmsTempDestinationTest.java
Shutdown all connections opened in the testcase so that the broker shutdown between cases. Fixes failures that happened ocasionally
<ide><path>ctivemq-core/src/test/java/org/apache/activemq/JmsTempDestinationTest.java <ide> */ <ide> package org.apache.activemq; <ide> <add>import java.net.URI; <add>import java.net.URISyntaxException; <ide> import java.util.ArrayList; <add>import java.util.Collections; <add>import java.util.Date; <add>import java.u...
Java
mit
1ed92caf8fa796c0c1fa8da114dd9bc9ce5f33d9
0
Lexine/rootbeer1,Lexine/rootbeer1,yarenty/rootbeer1,yarenty/rootbeer1,Lexine/rootbeer1,Lexine/rootbeer1,yarenty/rootbeer1,yarenty/rootbeer1,yarenty/rootbeer1
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.metzingen.thorstenkiefer; import edu.syr.pcpratts.rootbeer.runtime.Kernel; import edu.syr.pcpratts.rootbeer.runtime.Rootbeer; import edu.syr.pcpratts.rootbeer.runtime.util.Stopwatch; import java.util.ArrayLis...
gtc2013/MultiDimRay2/raylib/src/de/metzingen/thorstenkiefer/RayGenerator.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.metzingen.thorstenkiefer; import com.sun.jmx.snmp.tasks.ThreadService; import edu.syr.pcpratts.rootbeer.runtime.Kernel; import edu.syr.pcpratts.rootbeer.runtime.Rootbeer; import edu.syr.pcpratts.rootbeer.runt...
Making raylib compile on a system without ThreadService
gtc2013/MultiDimRay2/raylib/src/de/metzingen/thorstenkiefer/RayGenerator.java
Making raylib compile on a system without ThreadService
<ide><path>tc2013/MultiDimRay2/raylib/src/de/metzingen/thorstenkiefer/RayGenerator.java <ide> */ <ide> package de.metzingen.thorstenkiefer; <ide> <del>import com.sun.jmx.snmp.tasks.ThreadService; <ide> import edu.syr.pcpratts.rootbeer.runtime.Kernel; <ide> import edu.syr.pcpratts.rootbeer.runtime.Rootbeer; <ide> impo...
JavaScript
bsd-2-clause
e69f0606251b465960bc3809adc8c4025ffd8c36
0
sandflow/imscJS,sandflow/imscJS,sandflow/imscJS,sandflow/imscJS
/* * Copyright (c) 2016, Pierre-Anthony Lemieux <pal@sandflow.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright noti...
src/main/js/html.js
/* * Copyright (c) 2016, Pierre-Anthony Lemieux <pal@sandflow.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright noti...
Fixed tts:rubyReserve on lines starting with a ruby container (#184)
src/main/js/html.js
Fixed tts:rubyReserve on lines starting with a ruby container (#184)
<ide><path>rc/main/js/html.js <ide> <ide> } <ide> <del> var e = lineList[i].elements[0].node.parentElement.insertBefore( <del> ruby, <del> lineList[i].elements[0].node <del> ); <add> /* add in front of the first ruby element of...
JavaScript
mit
27e04ccc87f823f5c69f5d73537d085d19998fc3
0
bullcitydave/petviner
//Build the Model var Vine = Backbone.Model.extend ({ defaults: function(){ return { postId: '', created: '', videoUrl: '', username: '', permalinkUrl:'' }; }, idAttribute: "postId" }); //Instantiate the M...
app/scripts/main.js
//Build the Model var Vine = Backbone.Model.extend ({ defaults: function(){ return { postId: '', created: '', videoUrl: '', username: '', permalinkUrl:'' }; }, idAttribute: "postId" }); //Instantiate the M...
Single view is rendering after getting singleview render template function syntax and parameters fixed
app/scripts/main.js
Single view is rendering after getting singleview render template function syntax and parameters fixed
<ide><path>pp/scripts/main.js <ide> render: function(id){ <ide> var source = $('#vine-single-template').html(); <ide> var template = Handlebars.compile(source); <del> var rendered = template({vine: vineCollection.get(id).toJSON()}); <del> this.$el.html(rendered); <del> return ...
Java
apache-2.0
799997b0605583974c584acab31667cad1e33943
0
francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace
/** * * 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"); ...
hbase-server/src/main/java/org/apache/hadoop/hbase/master/ClusterStatusPublisher.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"); ...
HBASE-8466 Netty messages in the logs git-svn-id: 949c06ec81f1cb709fd2be51dd530a930344d7b3@1478664 13f79535-47bb-0310-9956-ffa450edef68
hbase-server/src/main/java/org/apache/hadoop/hbase/master/ClusterStatusPublisher.java
HBASE-8466 Netty messages in the logs
<ide><path>base-server/src/main/java/org/apache/hadoop/hbase/master/ClusterStatusPublisher.java <ide> import org.apache.hadoop.hbase.util.Threads; <ide> import org.apache.hadoop.hbase.util.VersionInfo; <ide> import org.jboss.netty.bootstrap.ConnectionlessBootstrap; <add>import org.jboss.netty.channel.ChannelEvent; <add...
Java
agpl-3.0
180ce761d952c9fea7331c9a6367dbc9588b584d
0
itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE
import org.junit.*; import play.test.*; import play.libs.F.*; import static play.test.Helpers.*; import static org.fest.assertions.Assertions.*; public class IntegrationTest { /** * Add your integration tests here. * In this example we just check if the home page is being shown. */ @Test ...
ode/test/IntegrationTest.java
import org.junit.*; import play.test.*; import play.libs.F.*; import static play.test.Helpers.*; import static org.fest.assertions.Assertions.*; public class IntegrationTest { /** * add your integration test here * in this example we just check if the welcome page is being shown */ @Test ...
Make example integration test pass.
ode/test/IntegrationTest.java
Make example integration test pass.
<ide><path>de/test/IntegrationTest.java <ide> public class IntegrationTest { <ide> <ide> /** <del> * add your integration test here <del> * in this example we just check if the welcome page is being shown <add> * Add your integration tests here. <add> * In this example we just check if the home pag...
JavaScript
isc
3e9daa9f71da8bc5c3aad2cbde08f0eabd667aeb
0
xdv/ripplecharts-frontend,shekenahglory/ripplecharts-frontend,xdv/ripplecharts-frontend,bankonme/ripplecharts-frontend,ripple/ripplecharts-frontend,ripple/ripplecharts-frontend,shekenahglory/ripplecharts-frontend,bankonme/ripplecharts-frontend
(function() { ripple.currencyDropdown = function(gateways, old, fixed) { var event = d3.dispatch("change"); var select; var loaded = false; function dropdown(selection) { if (old) selection.call(oldDropdowns, fixed); else selection.call(loadDropdowns); } dropdown.selected = func...
src/common/dropdowns.js
(function() { ripple.currencyDropdown = function(gateways, old, fixed) { var event = d3.dispatch("change"); var select; var loaded = false; function dropdown(selection) { if (old) selection.call(oldDropdowns, fixed); else selection.call(loadDropdowns); } dropdown.selected = func...
event tracking for edit button
src/common/dropdowns.js
event tracking for edit button
<ide><path>rc/common/dropdowns.js <ide> <ide> //append edit list option to dropdowns <ide> function editList( selectionId, selectionSuffix ) { <del> $('#'+ selectionId + '_' + selectionSuffix + ' ul.dd-options').append('<a class="edit_list" href="#/manage-' + selectionSuffix +'?'+ selectionId +'"><li ui-r...
Java
mit
3fa36d4186922d1a328cdbdf46c250aa1fab4905
0
gabelew/SimCity201
package atHome.city; import java.awt.Graphics2D; import java.awt.Point; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.imageio.ImageIO; import restaurant.RoleOrder; import restaurant.g...
src/atHome/city/AtHomeGui.java
package atHome.city; import java.awt.Graphics2D; import java.awt.Point; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.imageio.ImageIO; import restaurant.RoleOrder; import restaurant.g...
Updated Bank Animation Panel
src/atHome/city/AtHomeGui.java
Updated Bank Animation Panel
<ide><path>rc/atHome/city/AtHomeGui.java <ide> static final int yAPT_OFFSET = 310; <ide> static final int xAPT_OFFSET = 30; <ide> static final int HOUSE_TABLEPOS = 150; <del> static final int COOKING_OFFSET = 0; <add> static final int COOKING_OFFSET = 20; <ide> static final int KITCHEN_OFFSET = 15; <...
Java
mit
6ba8664a9866208f30b2304f65c00ea96a0218f5
0
BWeng20/thrift-parser
/* Copyright (c) 2015 Bernd Wengenroth * Licensed under the MIT License. * See LICENSE file for details. */ package bweng.thrift.parser; import bweng.thrift.parser.model.*; import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.nio.file.FileSyst...
ThriftParser/src/bweng/thrift/parser/ThriftModelGenerator.java
/* Copyright (c) 2015 Bernd Wengenroth * Licensed under the MIT License. * See LICENSE file for details. */ package bweng.thrift.parser; import bweng.thrift.parser.model.*; import java.io.File; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.nio.file.FileSyst...
Fixed include via normal file path.
ThriftParser/src/bweng/thrift/parser/ThriftModelGenerator.java
Fixed include via normal file path.
<ide><path>hriftParser/src/bweng/thrift/parser/ThriftModelGenerator.java <ide> { <ide> try { <ide> Path bf = docFile.getParent(); <add> final String icSubPath = ic.path_.replace('\\', File.separatorChar); <ide> <ide> while ( null !=...
Java
mit
7d3dd28813ea3b5b9e84a754969951ba92230136
0
openforis/collect,openforis/collect,openforis/collect,openforis/collect
package org.openforis.collect.designer.component; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Set; import java.util.Stack; import org.zkoss.zul.DefaultTreeModel; import org.zkoss.zul.DefaultTreeNode; import org...
collect-server/src/main/java/org/openforis/collect/designer/component/AbstractTreeModel.java
package org.openforis.collect.designer.component; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Set; import java.util.Stack; import org.openforis.collect.metamodel.ui.UITabSet; import org.zkoss.zul.DefaultTreeMod...
Code clean
collect-server/src/main/java/org/openforis/collect/designer/component/AbstractTreeModel.java
Code clean
<ide><path>ollect-server/src/main/java/org/openforis/collect/designer/component/AbstractTreeModel.java <ide> import java.util.Set; <ide> import java.util.Stack; <ide> <del>import org.openforis.collect.metamodel.ui.UITabSet; <ide> import org.zkoss.zul.DefaultTreeModel; <ide> import org.zkoss.zul.DefaultTreeNode; <ide> ...
Java
bsd-2-clause
66bfb3c1ce13ce417ab7ea4f049900f537e7d029
0
BreakingBytes/SifterReader,mikofski/SifterReader
package com.BreakingBytes.SifterReader; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.os.Bundle; import android.text.util.Linkify; import android.widget.TextView; public class CategoryDetail extends Activity { public static final ...
src/com/BreakingBytes/SifterReader/CategoryDetail.java
package com.BreakingBytes.SifterReader; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.app.Activity; import android.os.Bundle; import android.text.util.Linkify; import android.widget.TextView; public class CategoryDetail extends Activity { public static final ...
refactor nested if statements
src/com/BreakingBytes/SifterReader/CategoryDetail.java
refactor nested if statements
<ide><path>rc/com/BreakingBytes/SifterReader/CategoryDetail.java <ide> <ide> mSifterHelper = new SifterHelper(this); <ide> <del> // capture our View elements <ide> TextView categoryName = (TextView) findViewById(R.id.category_name); <ide> TextView issuesURL = (TextView) findViewById(R.id.category_issues_url)...
Java
apache-2.0
08b34608bd157352942aec45538d08f5cea1de11
0
JNOSQL/diana-driver,JNOSQL/diana-driver
/* * Copyright 2017 Otavio Santana and others * 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 Lic...
mongodb-driver/src/test/java/org/jnosql/diana/mongodb/document/MongoDBDocumentCollectionManagerTest.java
/* * Copyright 2017 Otavio Santana and others * 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 Lic...
Fixes api
mongodb-driver/src/test/java/org/jnosql/diana/mongodb/document/MongoDBDocumentCollectionManagerTest.java
Fixes api
<ide><path>ongodb-driver/src/test/java/org/jnosql/diana/mongodb/document/MongoDBDocumentCollectionManagerTest.java <ide> <ide> package org.jnosql.diana.mongodb.document; <ide> <add>import org.jnosql.diana.api.TypeReference; <ide> import org.jnosql.diana.api.document.Document; <ide> import org.jnosql.diana.api.documen...
Java
apache-2.0
d7c4b1eed425168e4ba59362fe7c5c3704dcd9b0
0
Wikidata/Wikidata-Toolkit,Wikidata/Wikidata-Toolkit
package org.wikidata.wdtk.examples; /* * #%L * Wikidata Toolkit Examples * %% * Copyright (C) 2014 - 2015 Wikidata Toolkit Developers * %% * 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 ...
wdtk-examples/src/main/java/org/wikidata/wdtk/examples/FetchOnlineDataExample.java
package org.wikidata.wdtk.examples; import java.io.IOException; /* * #%L * Wikidata Toolkit Examples * %% * Copyright (C) 2014 - 2015 Wikidata Toolkit Developers * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
Improves FetchOnlineDataExample
wdtk-examples/src/main/java/org/wikidata/wdtk/examples/FetchOnlineDataExample.java
Improves FetchOnlineDataExample
<ide><path>dtk-examples/src/main/java/org/wikidata/wdtk/examples/FetchOnlineDataExample.java <ide> package org.wikidata.wdtk.examples; <del> <del>import java.io.IOException; <ide> <ide> /* <ide> * #%L <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in...
Java
mit
1173b6704944222b23097ab7020b0417d5ce094a
0
hgl888/AntennaPod,ChaoticMind/AntennaPod,johnjohndoe/AntennaPod,waylife/AntennaPod,gk23/AntennaPod,volhol/AntennaPod,mxttie/AntennaPod,wskplho/AntennaPod,jimulabs/AntennaPod-mirror,gaohongyuan/AntennaPod,gaohongyuan/AntennaPod,wangjun/AntennaPod,corecode/AntennaPod,johnjohndoe/AntennaPod,udif/AntennaPod,udif/AntennaPod...
package de.danoeh.antennapod.core.syndication.util; import android.util.Log; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; /** * Parses several date formats. */ public class SyndDateUtils { private static final String TAG = "DateUtils"; ...
core/src/main/java/de/danoeh/antennapod/core/syndication/util/SyndDateUtils.java
package de.danoeh.antennapod.core.syndication.util; import android.util.Log; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; /** * Parses several date formats. */ public class SyndDateUtils { private static final String TAG = "DateUtils"; ...
Fixed IndexOutOfBoundsException in parseTimeString
core/src/main/java/de/danoeh/antennapod/core/syndication/util/SyndDateUtils.java
Fixed IndexOutOfBoundsException in parseTimeString
<ide><path>ore/src/main/java/de/danoeh/antennapod/core/syndication/util/SyndDateUtils.java <ide> result += Integer.valueOf(parts[idx]) * 3600000L; <ide> idx++; <ide> } <del> result += Integer.valueOf(parts[idx]) * 60000L; <del> idx++; <del> result += (Float.valueOf(p...
Java
apache-2.0
826887fabac78a03098ccebdb69c652532619f57
0
GwtMaterialDesign/gwt-material-demo,GwtMaterialDesign/gwt-material-demo,GwtMaterialDesign/gwt-material-demo,GwtMaterialDesign/gwt-material-demo
package gwt.material.design.demo.client.application.components.navbar; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * 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 t...
src/main/java/gwt/material/design/demo/client/application/components/navbar/NavBarView.java
package gwt.material.design.demo.client.application.components.navbar; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * 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 t...
Fixed navbar tabs link demo.
src/main/java/gwt/material/design/demo/client/application/components/navbar/NavBarView.java
Fixed navbar tabs link demo.
<ide><path>rc/main/java/gwt/material/design/demo/client/application/components/navbar/NavBarView.java <ide> <ide> typePanel.add(new DemoImagePanel(new DemoImageDTO("Tabs in NavBar", "You can easily add tabs for secondary navigation on MaterialNavBar by attaching it on MaterialNavContent", <ide> ...
JavaScript
mit
d095f50c596cd979222a0cd4b6673b058d7dabcd
0
buildo/react-autosize-textarea,buildo/react-autosize-textarea,buildo/react-autosize-textarea,buildo/react-autosize-textarea
import React from 'react'; import TextareaAutosize from '../src/TextareaAutosize'; class Example extends React.Component { constructor(props) { super(props); this.state = { value: 'replace me with your component' }; } render() { const textareaStyle = { padding: '10px 8px', bo...
examples/examples.js
import React from 'react'; import TextareaAutosize from '../src/TextareaAutosize'; const Example = React.createClass({ propTypes: {}, getInitialState() { return { value: 'replace me with your component' }; }, render() { const textareaStyle = { padding: '10px 8px', border: '1px...
use React.Component in examples
examples/examples.js
use React.Component in examples
<ide><path>xamples/examples.js <ide> import React from 'react'; <ide> import TextareaAutosize from '../src/TextareaAutosize'; <ide> <del>const Example = React.createClass({ <add>class Example extends React.Component { <ide> <del> propTypes: {}, <del> <del> getInitialState() { <del> return { <add> constructor(pr...
JavaScript
mit
a726fa13614fbb17675e63cd1d9767ae6d40ea0c
0
ringcentral/ringcentral-js-widget,u9520107/ringcentral-js-widget,u9520107/ringcentral-js-widget,alvita/ringcentral-js-widget,alvita/ringcentral-js-widget,u9520107/ringcentral-js-widget,ringcentral/ringcentral-js-widget,alvita/ringcentral-js-widget,ringcentral/ringcentral-js-widget
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import formatNumber from 'ringcentral-integration/lib/formatNumber'; import { getRecipients } from 'ringcentral-integration/lib/messageHelper'; import Spinner from '../../components/Spinner'; import Panel from '../../component...
src/containers/MessagesPage/index.js
import React, { Component, PropTypes } from 'react'; import { connect } from 'react-redux'; import formatNumber from 'ringcentral-integration/lib/formatNumber'; import { getRecipients } from 'ringcentral-integration/lib/messageHelper'; import Spinner from '../../components/Spinner'; import Panel from '../../component...
matche name in message search list (#135)
src/containers/MessagesPage/index.js
matche name in message search list (#135)
<ide><path>rc/containers/MessagesPage/index.js <ide> } <ide> return recipients.map((recipient) => { <ide> const phoneNumber = recipient.phoneNumber || recipient.extensionNumber; <del> if (recipient.matchedNames) { <del> const matcherName = recipient.matchedNames.map(matcher => matcher.name).jo...
JavaScript
lgpl-2.1
e5986324ffc3422c101258028f32e559a5d4bd73
0
endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib,endlessm/eos-knowledge-lib
// Copyright 2014 Endless Mobile, Inc. const Endless = imports.gi.Endless; const Gdk = imports.gi.Gdk; const GdkPixbuf = imports.gi.GdkPixbuf; const Gio = imports.gi.Gio; const GObject = imports.gi.GObject; const Gtk = imports.gi.Gtk; const Lang = imports.lang; const Actions = imports.app.actions; const Dispatcher = ...
js/app/modules/window.js
// Copyright 2014 Endless Mobile, Inc. const Endless = imports.gi.Endless; const Gdk = imports.gi.Gdk; const GdkPixbuf = imports.gi.GdkPixbuf; const Gio = imports.gi.Gio; const GObject = imports.gi.GObject; const Gtk = imports.gi.Gtk; const Lang = imports.lang; const Actions = imports.app.actions; const Dispatcher = ...
Fix short-circuiting precedence I got this wrong in a commit from a different issue. [endlessm/eos-sdk#3933]
js/app/modules/window.js
Fix short-circuiting precedence
<ide><path>s/app/modules/window.js <ide> // this calculation to pure CSS and get rid of the extra CSS provider. <ide> // https://developer.mozilla.org/en-US/docs/Web/CSS/length <ide> if (this.background_image_uri && <del> !this._last_allocation || <add> (!this._last_allocat...
Java
agpl-3.0
6dd495f9061b90e7b529c714530521acbebcdea3
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
9b4d6866-2e60-11e5-9284-b827eb9e62be
hello.java
9b47fb60-2e60-11e5-9284-b827eb9e62be
9b4d6866-2e60-11e5-9284-b827eb9e62be
hello.java
9b4d6866-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>9b47fb60-2e60-11e5-9284-b827eb9e62be <add>9b4d6866-2e60-11e5-9284-b827eb9e62be
Java
mit
error: pathspec 'SpaceShell/src/fr/creationjeuxjava/tweenAccessors/SpriteTween.java' did not match any file(s) known to git
95b1e255f4cb547650396cf8fbf29533de1855fe
1
creationjeuxjava/spaceShell
package fr.creationjeuxjava.tweenAccessors; import aurelienribon.tweenengine.TweenAccessor; import com.badlogic.gdx.graphics.g2d.Sprite; /* SpriteTween.java by JohnCarmack, 16 fev. 2014 */ public class SpriteTween implements TweenAccessor<Sprite> { public static final int ALPHA = 1; @Override publ...
SpaceShell/src/fr/creationjeuxjava/tweenAccessors/SpriteTween.java
add SpriteTween class for SplashScreen
SpaceShell/src/fr/creationjeuxjava/tweenAccessors/SpriteTween.java
add SpriteTween class for SplashScreen
<ide><path>paceShell/src/fr/creationjeuxjava/tweenAccessors/SpriteTween.java <add>package fr.creationjeuxjava.tweenAccessors; <add> <add>import aurelienribon.tweenengine.TweenAccessor; <add> <add>import com.badlogic.gdx.graphics.g2d.Sprite; <add> <add>/* SpriteTween.java by JohnCarmack, 16 fev. 2014 */ <add> <add>publi...
Java
apache-2.0
e817d02fce9198f4bca1a3c24a2163ff7d7d57b3
0
etothepii/stephenson
package uk.co.epii.stephenson.parser; import uk.co.epii.stephenson.cif.TransactionType; /** * User: James Robinson * Date: 17/08/2014 * Time: 12:39 */ public class TransactionTypeParser implements Parser<TransactionType> { @Override public TransactionType parse(String string) { if (string.equals("N")) { ...
src/main/java/uk/co/epii/stephenson/parser/TransactionTypeParser.java
package uk.co.epii.stephenson.parser; import uk.co.epii.stephenson.cif.TransactionType; /** * User: James Robinson * Date: 17/08/2014 * Time: 12:39 */ public class TransactionTypeParser implements Parser<TransactionType> { @Override public TransactionType parse(String string) { return null; } }
Passes TransacctionTypeParser tests
src/main/java/uk/co/epii/stephenson/parser/TransactionTypeParser.java
Passes TransacctionTypeParser tests
<ide><path>rc/main/java/uk/co/epii/stephenson/parser/TransactionTypeParser.java <ide> * Time: 12:39 <ide> */ <ide> public class TransactionTypeParser implements Parser<TransactionType> { <add> <ide> @Override <ide> public TransactionType parse(String string) { <add> if (string.equals("N")) { <add> return ...
Java
apache-2.0
27b3c619162a1f9636d12fb28c576acd434517c3
0
dhirajsb/quickstarts,fabric8io/quickstarts,EricWittmann/quickstarts,isatimur/quickstarts,fabric8io/quickstarts,hekonsek/quickstarts,KurtStam/ipaas-quickstarts,jstrachan/quickstarts,jstrachan/ipaas-quickstarts,jstrachan/quickstarts,KurtStam/ipaas-quickstarts,dhirajsb/quickstarts,rhuss/ipaas-quickstarts,dhirajsb/ipaas-qu...
/* * Copyright 2005-2014 Red Hat, Inc. * * Red Hat licenses this file to you 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...
apps/gogs/src/main/java/io/fabric8/apps/gogs/GogsModelProcessor.java
/* * Copyright 2005-2014 Red Hat, Inc. * * Red Hat licenses this file to you 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...
switch to new gogs service name
apps/gogs/src/main/java/io/fabric8/apps/gogs/GogsModelProcessor.java
switch to new gogs service name
<ide><path>pps/gogs/src/main/java/io/fabric8/apps/gogs/GogsModelProcessor.java <ide> .and() <ide> .addNewServiceObject() <ide> .withNewMetadata() <del> .withName(NAME + "-http") <add> .withName(NAME) <ide> .addToLabels("compon...
Java
mit
933a48b3e6400082bc006ec3934f64d44df03722
0
flocke/andOTP
/* * Copyright (C) 2017-2018 Jakob Nixdorf * Copyright (C) 2015 Bruno Bierbaumer * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ...
app/src/main/java/org/shadowice/flocke/andotp/Database/Entry.java
/* * Copyright (C) 2017-2018 Jakob Nixdorf * Copyright (C) 2015 Bruno Bierbaumer * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ...
Generate QR codes for Steam entries
app/src/main/java/org/shadowice/flocke/andotp/Database/Entry.java
Generate QR codes for Steam entries
<ide><path>pp/src/main/java/org/shadowice/flocke/andotp/Database/Entry.java <ide> throw new Exception("Invalid Protocol"); <ide> } <ide> <del> if(url.getHost().equals("totp")){ <del> type = OTPType.TOTP; <del> } else if (url.getHost().equals("hotp")) { <del> type...
Java
mit
143598b091a3ae1dcc3b83d0ae7fc8096ad1e8d9
0
creativetrendsapps/SimplicityBrowser,creativetrendsapps/SimplicityBrowser
package com.creativetrends.app.simplicity.activities; import android.content.SharedPreferences; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.preference.PreferenceManager; import androidx.core.content.ContextCompat; import androidx.appcompat.app...
app/src/main/java/com/creativetrends/app/simplicity/activities/AboutActivity.java
package com.creativetrends.app.simplicity.activities; import android.content.SharedPreferences; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.content.ContextCompat; import android.support.v...
Update AboutActivity.java
app/src/main/java/com/creativetrends/app/simplicity/activities/AboutActivity.java
Update AboutActivity.java
<ide><path>pp/src/main/java/com/creativetrends/app/simplicity/activities/AboutActivity.java <ide> import android.graphics.drawable.Drawable; <ide> import android.os.Bundle; <ide> import android.preference.PreferenceManager; <del>import android.support.v4.content.ContextCompat; <del>import android.support.v7.app.AppComp...
Java
apache-2.0
0485e92e8192a6719adc8c5dd1b8e35af69ff201
0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
/* * Copyright 2012 Shared Learning Collaborative, LLC * * 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 applicabl...
sli/api/src/main/java/org/slc/sli/api/translator/URITranslator.java
/* * Copyright 2012 Shared Learning Collaborative, LLC * * 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 applicabl...
[DE2088] added support for learningObjectives/{id}/learningStandards
sli/api/src/main/java/org/slc/sli/api/translator/URITranslator.java
[DE2088] added support for learningObjectives/{id}/learningStandards
<ide><path>li/api/src/main/java/org/slc/sli/api/translator/URITranslator.java <ide> <ide> private static String PARENT_LEARNING_OBJECTIVE = "parentLearningObjective"; <ide> private static String CHILD_LEARNING_OBJECTIVE = "childLearningObjective"; <add> private static String LEARNING_STANDARD = "learningSta...
Java
apache-2.0
5c2235fcfe4f2b8cdbebadd3d36f84c5f534bf52
0
mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid
/* * * * Licensed to the Apache Software Foundation (ASF) under one or more * * contributor license agreements. The ASF licenses this file to You * * 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 ...
stack/rest/src/test/java/org/apache/usergrid/rest/IndexResourceIT.java
/* * * * Licensed to the Apache Software Foundation (ASF) under one or more * * contributor license agreements. The ASF licenses this file to You * * 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 ...
ignore test for now
stack/rest/src/test/java/org/apache/usergrid/rest/IndexResourceIT.java
ignore test for now
<ide><path>tack/rest/src/test/java/org/apache/usergrid/rest/IndexResourceIT.java <ide> package org.apache.usergrid.rest; <ide> <ide> import com.fasterxml.jackson.databind.JsonNode; <add>import org.junit.Ignore; <ide> import org.junit.Rule; <ide> import org.junit.Test; <ide> import org.slf4j.Logger; <ide> import java.u...
Java
apache-2.0
a71645cf0bc4bcf36b8f94ecbe3a7a8153c4c233
0
dyu/protostuff,myxyz/protostuff,protostuff/protostuff,dyu/protostuff,protostuff/protostuff,tsheasha/protostuff,myxyz/protostuff,Shvid/protostuff,Shvid/protostuff,tsheasha/protostuff
//======================================================================== //Copyright 2007-2011 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance...
protostuff-runtime-md/src/main/java/io/protostuff/runtime/RuntimeEnv.java
//======================================================================== //Copyright 2007-2011 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance...
issue 141
protostuff-runtime-md/src/main/java/io/protostuff/runtime/RuntimeEnv.java
issue 141
<ide><path>rotostuff-runtime-md/src/main/java/io/protostuff/runtime/RuntimeEnv.java <ide> * option. <ide> */ <ide> public static final boolean AUTO_LOAD_POLYMORPHIC_CLASSES; <add> <add> /** <add> * Disabled by default. Writes a sentinel value (uint32) in place of null values. <add> * Works ...