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
bsd-3-clause
059c6baf828c3978d4f6071fa6cd80ead22498af
0
edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon
/* * $Id: ProxyAndContent.java,v 1.20 2007-06-27 07:50:13 tlipkis Exp $ */ /* Copyright (c) 2000-2006 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
src/org/lockss/servlet/ProxyAndContent.java
/* * $Id: ProxyAndContent.java,v 1.19 2007-03-14 23:41:58 thib_gc Exp $ */ /* Copyright (c) 2000-2006 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft...
Added crawl proxy form and file. git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@6362 4f837ed2-42f5-46e7-a7a5-fa17313484d4
src/org/lockss/servlet/ProxyAndContent.java
Added crawl proxy form and file.
<ide><path>rc/org/lockss/servlet/ProxyAndContent.java <ide> /* <del> * $Id: ProxyAndContent.java,v 1.19 2007-03-14 23:41:58 thib_gc Exp $ <add> * $Id: ProxyAndContent.java,v 1.20 2007-06-27 07:50:13 tlipkis Exp $ <ide> */ <ide> <ide> /* <ide> import java.util.*; <ide> <ide> import javax.servlet.*; <add>import org.mo...
Java
epl-1.0
8c0ad0db90692cc25b219f0e8f129e9264eea5eb
0
MattiasBuelens/junit,MattiasBuelens/junit,MattiasBuelens/junit,MattiasBuelens/junit
package kuleuven.group2.policy; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import org.junit.Test; import com.google.common.collect.ImmutableList; public class RoundRobinPolicyTest extends TestSortingPolicyTest { @Override public void correct_ord...
src/test/java/kuleuven/group2/policy/RoundRobinPolicyTest.java
package kuleuven.group2.policy; import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; import org.junit.Test; import com.google.common.collect.ImmutableList; public class RoundRobinPolicyTest extends TestSortingPolicyTest { @Override public void correct_ord...
Composite Policy failure (when there're no Weighted Policies) test case added
src/test/java/kuleuven/group2/policy/RoundRobinPolicyTest.java
Composite Policy failure (when there're no Weighted Policies) test case added
<ide><path>rc/test/java/kuleuven/group2/policy/RoundRobinPolicyTest.java <ide> assertTrue(result.get(2) == test1); <ide> assertTrue(result.get(3) == test4); <ide> } <add> <add> @Test <add> public void correct_order_test_noWeightedPolicies() { <add> List<kuleuven.group2.data.Test> list = ImmutableList.of(test1, t...
Java
apache-2.0
ddbf46266486ed6f50608dde831670fd19ba4cbb
0
IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service
package org.ihtsdo.otf.mapping.mojo; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Comparator; import java.util.Date...
admin/mojo/src/main/java/org/ihtsdo/otf/mapping/mojo/TerminologyRf2SnapshotLoaderMojo.java
package org.ihtsdo.otf.mapping.mojo; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Comparator; import java.util.Date...
CLEANUP: remove bad call to flush.
admin/mojo/src/main/java/org/ihtsdo/otf/mapping/mojo/TerminologyRf2SnapshotLoaderMojo.java
CLEANUP: remove bad call to flush.
<ide><path>dmin/mojo/src/main/java/org/ihtsdo/otf/mapping/mojo/TerminologyRf2SnapshotLoaderMojo.java <ide> } <ide> <ide> manager.clear(); <del> manager.flush(); <ide> <ide> // creating tree positions <ide> // first get isaRelType from metadata
Java
agpl-3.0
eec735ee619339befc6d5f3e74547fc5ddeb79ec
0
RishiGupta12/SerialPundit,RishiGupta12/serial-communication-manager,akuhtz/serial-communication-manager,akuhtz/serial-communication-manager,RishiGupta12/SerialPundit,RishiGupta12/SerialPundit,akuhtz/serial-communication-manager,RishiGupta12/serial-communication-manager,RishiGupta12/SerialPundit,akuhtz/serial-communicat...
/** * Author : Rishi Gupta * * This file is part of 'serial communication manager' library. * * The 'serial communication manager' 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...
tests/test53-byteStream/src/test53/Test53.java
/** * Author : Rishi Gupta * * This file is part of 'serial communication manager' library. * * The 'serial communication manager' 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...
update test for byte stream
tests/test53-byteStream/src/test53/Test53.java
update test for byte stream
<ide><path>ests/test53-byteStream/src/test53/Test53.java <ide> <ide> import com.embeddedunveiled.serial.SerialComInByteStream; <ide> import com.embeddedunveiled.serial.SerialComManager; <add>import com.embeddedunveiled.serial.SerialComManager.SMODE; <ide> import com.embeddedunveiled.serial.SerialComOutByteStream; <ide...
Java
apache-2.0
8263200de60e54af033b2e75a2216017416db365
0
cushon/bazel,twitter-forks/bazel,meteorcloudy/bazel,perezd/bazel,perezd/bazel,aehlig/bazel,perezd/bazel,perezd/bazel,akira-baruah/bazel,cushon/bazel,ButterflyNetwork/bazel,cushon/bazel,cushon/bazel,dslomov/bazel,ulfjack/bazel,aehlig/bazel,davidzchen/bazel,dslomov/bazel,bazelbuild/bazel,perezd/bazel,bazelbuild/bazel,dav...
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
src/test/java/com/google/devtools/build/skyframe/InMemoryNodeEntryTest.java
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
Add more unit test coverage for InMemoryNodeEntry. RELNOTES: None. PiperOrigin-RevId: 219870516
src/test/java/com/google/devtools/build/skyframe/InMemoryNodeEntryTest.java
Add more unit test coverage for InMemoryNodeEntry.
<ide><path>rc/test/java/com/google/devtools/build/skyframe/InMemoryNodeEntryTest.java <ide> import com.google.devtools.build.lib.events.ExtendedEventHandler.Postable; <ide> import com.google.devtools.build.lib.util.GroupedList; <ide> import com.google.devtools.build.lib.util.GroupedList.GroupedListHelper; <add>import c...
Java
mit
c313422bdd33116d9d8920a9b1c08561f42bf239
0
subwoofer359/AMCChessGame,subwoofer359/AMCChessGame,subwoofer359/AMCChessGame,subwoofer359/AMCChessGame
package org.amc.game.chessserver; import static org.junit.Assert.*; import org.amc.game.chess.Colour; import org.amc.game.chess.HumanPlayer; import org.amc.game.chess.Player; import org.junit.After; import org.junit.Before; import org.junit.Test; public class ServerChessGameTest { private Player player; priv...
src/test/java/org/amc/game/chessserver/ServerChessGameTest.java
package org.amc.game.chessserver; import static org.junit.Assert.*; import org.amc.game.chess.Colour; import org.amc.game.chess.HumanPlayer; import org.amc.game.chess.Player; import org.junit.After; import org.junit.Before; import org.junit.Test; public class ServerChessGameTest { private Player player; priv...
add test case testAddOpponentToInProgressGame
src/test/java/org/amc/game/chessserver/ServerChessGameTest.java
add test case testAddOpponentToInProgressGame
<ide><path>rc/test/java/org/amc/game/chessserver/ServerChessGameTest.java <ide> assertEquals(ServerChessGame.status.FINISHED,game.getCurrentStatus()); <ide> assertEquals(Colour.WHITE,opponent.getColour()); <ide> } <add> <add> @Test <add> public void testAddOpponentToInProgressGame(){ <add>...
JavaScript
apache-2.0
ea00776ccabcf46664c6b91cbe6ce635fdde3369
0
BitGo/BitGoJS,BitGo/BitGoJS,BitGo/BitGoJS,BitGo/BitGoJS
const path = require('path'); const fs = require('fs'); const S3 = require('aws-sdk/clients/s3'); const { reports_s3_akid, reports_s3_sak, DRONE, DRONE_BUILD_NUMBER, DRONE_STAGE_NAME, } = process.env; if (!DRONE) { console.log('Not running in drone, exiting...'); process.exit(0); } const s3 = new S3({...
modules/core/scripts/upload-test-reports.js
const path = require('path'); const fs = require('fs'); const S3 = require('aws-sdk/clients/s3'); const { reports_s3_akid, reports_s3_sak, DRONE, DRONE_BUILD_NUMBER, DRONE_STAGE_NAME, } = process.env; if (!DRONE) { console.log('Not running in drone, exiting...'); process.exit(0); } const s3 = new S3({...
Make sure test report exists before attempting to upload
modules/core/scripts/upload-test-reports.js
Make sure test report exists before attempting to upload
<ide><path>odules/core/scripts/upload-test-reports.js <ide> const OBJECT_NAME = `${DRONE_BUILD_NUMBER}/${MODULE}/${DRONE_STAGE_NAME}.html`; <ide> const REPORT_FILE = `${ROOTDIR}/mochawesome-report/mochawesome.html`; <ide> <del>const uploadParams = { <del> Body: fs.readFileSync(REPORT_FILE), <del> Bucket: 'bitgo-sdk-...
Java
lgpl-2.1
c272b9b1fdb03d53b63d791c4c93052361a102a8
0
geotools/geotools,geotools/geotools,geotools/geotools,geotools/geotools
package org.geotools.referencing.factory.epsg; import static org.junit.Assert.*; import java.util.Set; import org.geotools.metadata.iso.citation.Citations; import org.geotools.referencing.CRS; import org.geotools.referencing.crs.DefaultEngineeringCRS; import org.geotools.referencing.wkt.Formattable; import org.junit...
modules/library/referencing/src/test/java/org/geotools/referencing/factory/epsg/CartesianAuthorityFactoryTest.java
package org.geotools.referencing.factory.epsg; import static org.junit.Assert.*; import java.util.Set; import org.geotools.metadata.iso.citation.Citations; import org.geotools.referencing.CRS; import org.geotools.referencing.crs.DefaultEngineeringCRS; import org.geotools.referencing.wkt.Formattable; import org.junit...
GEOT-3590 git-svn-id: b0f10281c9a1a817905b9aa75a7907aa928f8a7d@37232 e5c1c795-43da-0310-a71f-fac65c449510
modules/library/referencing/src/test/java/org/geotools/referencing/factory/epsg/CartesianAuthorityFactoryTest.java
GEOT-3590
<ide><path>odules/library/referencing/src/test/java/org/geotools/referencing/factory/epsg/CartesianAuthorityFactoryTest.java <ide> Formattable formattable = (Formattable) crs; <ide> String wkt = formattable.toWKT(Citations.EPSG, 2); <ide> <del> String expected = "LOCAL_CS[\"Wildcard 2D c...
Java
apache-2.0
8c2c71d63c5e938b57d0ea20f695ee9b96392153
0
infobip/mobile-messaging-sdk-android,infobip/mobile-messaging-sdk-android,infobip/mobile-messaging-sdk-android
package org.infobip.mobile.messaging.chat; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.support.annotation.NonNull; import android.support.v4.app.TaskStackBuilder; import android.webkit.WebView; import org....
infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/InAppChatImpl.java
package org.infobip.mobile.messaging.chat; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.TaskStackBuilder; import android.webkit.WebView; import org.infobip.mobile.messaging.Event; import org.infobip.mo...
Pull request #207: PZ-158 Fix for java.lang.IllegalStateException - local webview widget history being deleted on a main thread explicitly. Merge in MML/infobip-mobile-messaging-android from tjuric-PZ-158-Fix_webview_widget_cleanup_threading to master Squashed commit of the following: commit 31d35c49a629ac33c72b1541...
infobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/InAppChatImpl.java
Pull request #207: PZ-158 Fix for java.lang.IllegalStateException - local webview widget history being deleted on a main thread explicitly.
<ide><path>nfobip-mobile-messaging-android-chat-sdk/src/main/java/org/infobip/mobile/messaging/chat/InAppChatImpl.java <ide> import android.content.Context; <ide> import android.content.Intent; <ide> import android.os.Bundle; <add>import android.os.Handler; <add>import android.os.Looper; <ide> import android.support.an...
Java
agpl-3.0
fd65329933f7e6028decef0a08c2bf42484dd89e
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
f2672818-2e5f-11e5-9284-b827eb9e62be
hello.java
f261a988-2e5f-11e5-9284-b827eb9e62be
f2672818-2e5f-11e5-9284-b827eb9e62be
hello.java
f2672818-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>f261a988-2e5f-11e5-9284-b827eb9e62be <add>f2672818-2e5f-11e5-9284-b827eb9e62be
Java
apache-2.0
25a8b718eb4d559fbc58d2480aa88397dd1522ff
0
zzcclp/ignite,SomeFire/ignite,BiryukovVA/ignite,sk0x50/ignite,svladykin/ignite,dlnufox/ignite,avinogradovgg/ignite,avinogradovgg/ignite,ptupitsyn/ignite,xtern/ignite,leveyj/ignite,arijitt/incubator-ignite,apacheignite/ignite,DoudTechData/ignite,a1vanov/ignite,mcherkasov/ignite,daradurvs/ignite,iveselovskiy/ignite,apach...
/* @java.file.header */ /* _________ _____ __________________ _____ * __ ____/___________(_)______ /__ ____/______ ____(_)_______ * _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \ * / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / / * \____/ /_/ /_/ \_,__/...
modules/core/src/test/java/org/gridgain/grid/cache/affinity/fair/GridCachePartitionFairAffinityNodesSelfTest.java
/* @java.file.header */ /* _________ _____ __________________ _____ * __ ____/___________(_)______ /__ ____/______ ____(_)_______ * _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \ * / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / / * \____/ /_/ /_/ \_,__/...
# Attempting to fix affinity test.
modules/core/src/test/java/org/gridgain/grid/cache/affinity/fair/GridCachePartitionFairAffinityNodesSelfTest.java
# Attempting to fix affinity test.
<ide><path>odules/core/src/test/java/org/gridgain/grid/cache/affinity/fair/GridCachePartitionFairAffinityNodesSelfTest.java <ide> <ide> info("Grid 0: " + grid(0).localNode().id()); <ide> <add> ((GridKernal)grid(0)).internalCache().context().affinity().affinityReadyFuture(topVer).get(); ...
Java
apache-2.0
7236601aa3a5e7181b863740cdd88e25474f245d
0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/...
server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetListDatabases.java
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/...
List of databases is ordered now Fixed issue https://github.com/orientechnologies/orientdb-studio/issues/486.
server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetListDatabases.java
List of databases is ordered now
<ide><path>erver/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetListDatabases.java <ide> */ <ide> package com.orientechnologies.orient.server.network.protocol.http.command.get; <ide> <del>import java.io.IOException; <del> <ide> import com.orientechnologies.orient...
Java
apache-2.0
6a5b274525b6d36f42b121ea194f3cb634bd563f
0
markwoon/pathvisio,markwoon/pathvisio,PathVisio/pathvisio,markwoon/pathvisio,PathVisio/pathvisio,PathVisio/pathvisio,PathVisio/pathvisio,markwoon/pathvisio
// PathVisio, // a tool for data visualization and analysis using Biological Pathways // Copyright 2006-2009 BiGCaT Bioinformatics // // 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 // /...
src/swing/org/pathvisio/plugin/PluginClassLoader.java
// PathVisio, // a tool for data visualization and analysis using Biological Pathways // Copyright 2006-2009 BiGCaT Bioinformatics // // 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 // /...
Stop plugin class loader from preferring jar above classPath
src/swing/org/pathvisio/plugin/PluginClassLoader.java
Stop plugin class loader from preferring jar above classPath
<ide><path>rc/swing/org/pathvisio/plugin/PluginClassLoader.java <ide> * @exception ClassNotFoundException if the specified class could not <ide> * be found <ide> */ <del> @Override public Class<?> loadClass(String name) throws ClassNotFoundException <del> { <del> Logger.log.debug...
Java
epl-1.0
1df708aa232f371d7cdde48e55dc7138bd189416
0
css-iter/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ESSICS/cs-st...
/******************************************************************************* * Copyright (c) 2010 Oak Ridge National Laboratory. * 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 i...
applications/plugins/org.csstudio.opibuilder/src/org/csstudio/opibuilder/widgetActions/AbstractOpenOPIAction.java
/******************************************************************************* * Copyright (c) 2010 Oak Ridge National Laboratory. * 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 i...
Check if file exists before opening OPI This prevent an issue where an OPIView opens even when the OPI file doesn't exist. It also prevents mutiple exceptions occuring in this case.
applications/plugins/org.csstudio.opibuilder/src/org/csstudio/opibuilder/widgetActions/AbstractOpenOPIAction.java
Check if file exists before opening OPI
<ide><path>pplications/plugins/org.csstudio.opibuilder/src/org/csstudio/opibuilder/widgetActions/AbstractOpenOPIAction.java <ide> package org.csstudio.opibuilder.widgetActions; <ide> <ide> import java.io.FileNotFoundException; <add>import java.nio.file.Files; <ide> import java.util.LinkedHashMap; <ide> import java.uti...
Java
bsd-2-clause
528101fae783330023982503e42a1b72ad795287
0
meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk,meganz/sdk
/* * (c) 2013-2015 by Mega Limited, Auckland, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the hope that it ...
bindings/java/nz/mega/sdk/MegaApiJava.java
/* * (c) 2013-2015 by Mega Limited, Auckland, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set forth in the Terms of Service. * * The MEGA SDK is distributed in the hope that it ...
Android bindings of isGuestMode
bindings/java/nz/mega/sdk/MegaApiJava.java
Android bindings of isGuestMode
<ide><path>indings/java/nz/mega/sdk/MegaApiJava.java <ide> */ <ide> public int isLoggedIn() { <ide> return megaApi.isLoggedIn(); <add> } <add> <add> /** <add> * Check if we are logged in into an Ephemeral account ++ (Guest mode) <add> * <add> * @return true if logged into an Ephemeral...
Java
mit
8141bc7d834dbd9fd5c38ec56c63f1b2573492a0
0
dehora/nakadi-java
package nakadi; import java.io.IOException; import java.util.concurrent.TimeUnit; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import rx.Observable; import rx.schedulers.Schedulers; class OkHttpResource implements Resource { private static final String ...
nakadi-java-client/src/main/java/nakadi/OkHttpResource.java
package nakadi; import java.io.IOException; import java.util.concurrent.TimeUnit; import okhttp3.MediaType; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import rx.Observable; import rx.schedulers.Schedulers; class OkHttpResource implements Resource { private static final String ...
Fix OkHttpResource to return a Response when no type/class bind requested
nakadi-java-client/src/main/java/nakadi/OkHttpResource.java
Fix OkHttpResource to return a Response when no type/class bind requested
<ide><path>akadi-java-client/src/main/java/nakadi/OkHttpResource.java <ide> throws NakadiException { <ide> <ide> if (retryPolicy == null) { <del> Response response = executeRequest(prepareBuilder(method, url, options, null)); <del> return marshalResponse(response, null); <add> return executeRe...
Java
apache-2.0
0cc50cff08dd4e189496635c30296ffea1ed4fab
0
operasoftware/operaprestodriver,operasoftware/operaprestodriver,operasoftware/operaprestodriver
/* Copyright 2008-2012 Opera Software ASA 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,...
src/com/opera/core/systems/OperaDriver.java
/* Copyright 2008-2012 Opera Software ASA 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,...
Formatting
src/com/opera/core/systems/OperaDriver.java
Formatting
<ide><path>rc/com/opera/core/systems/OperaDriver.java <ide> String script; <ide> if (el == null) { <ide> // Search the document <del> script = <del> "return " + OperaAtoms.FIND_ELEMENT + "({\"" + by + "\": \"" + using + "\"})"; <add> script = "return " + OperaAtoms.FIND_ELEMENT + "({\""...
Java
apache-2.0
73006a7b6886dec358976f7ffe2fdb3b2714a4a3
0
selckin/wicket,aldaris/wicket,AlienQueen/wicket,freiheit-com/wicket,aldaris/wicket,selckin/wicket,apache/wicket,mosoft521/wicket,aldaris/wicket,aldaris/wicket,bitstorm/wicket,dashorst/wicket,freiheit-com/wicket,bitstorm/wicket,freiheit-com/wicket,dashorst/wicket,topicusonderwijs/wicket,freiheit-com/wicket,bitstorm/wick...
/* * 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 ...
wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.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 ...
WICKET-5879 Using an AjaxSubmitLink to hide its form results in an exception
wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java
WICKET-5879 Using an AjaxSubmitLink to hide its form results in an exception
<ide><path>icket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxSubmitLink.java <ide> protected void updateAjaxAttributes(AjaxRequestAttributes attributes) <ide> { <ide> super.updateAjaxAttributes(attributes); <add> //prevent the default form submit <add> attributes.setPreventDefault(tru...
Java
apache-2.0
8591ce8debbdd56c0f52b9fcca4346922282d5f7
0
asashour/framework,Darsstar/framework,asashour/framework,peterl1084/framework,Darsstar/framework,mstahv/framework,peterl1084/framework,kironapublic/vaadin,peterl1084/framework,kironapublic/vaadin,Darsstar/framework,mstahv/framework,mstahv/framework,peterl1084/framework,kironapublic/vaadin,asashour/framework,kironapubli...
/* * Copyright 2000-2016 Vaadin 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 to...
client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java
/* * Copyright 2000-2016 Vaadin 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 to...
Fix broken DragEnd event introduced in a recent PR (#9297)
client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java
Fix broken DragEnd event introduced in a recent PR (#9297)
<ide><path>lient/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java <ide> // for android chrome we use the polyfill, in case browser fires a <ide> // native dragend event after the polyfill dragend, we need to ignore <ide> // that one <del> if (isNativeDragEvent(...
Java
apache-2.0
753e315570f7dced98336013d26d3d8f2670fa09
0
jgwestibm/cft,tetchell/cft,jgwestibm/cft,jgwest/cft,tetchell/cft,jgwest/cft
/******************************************************************************* * Copyright (c) 2012, 2016 Pivotal Software, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accomp...
org.eclipse.cft.server.tests/src/org/eclipse/cft/server/tests/core/CloudFoundryServerBehaviourTest.java
/******************************************************************************* * Copyright (c) 2012, 2016 Pivotal Software, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accomp...
Fixed JUnit to test server state in app module
org.eclipse.cft.server.tests/src/org/eclipse/cft/server/tests/core/CloudFoundryServerBehaviourTest.java
Fixed JUnit to test server state in app module
<ide><path>rg.eclipse.cft.server.tests/src/org/eclipse/cft/server/tests/core/CloudFoundryServerBehaviourTest.java <ide> int moduleState = server.getModuleState(new IModule[] { module }); <ide> assertEquals(IServer.STATE_STARTED, moduleState); <ide> <add> int modStateInCFAM = appModule.getStateInServer(); <add> a...
Java
apache-2.0
2e70d98f28c8d0216119dde4c301cf1c9d0ae000
0
davidegiannella/jackrabbit-oak,ieb/jackrabbit-oak,chetanmeh/jackrabbit-oak,anchela/jackrabbit-oak,afilimonov/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,ieb/jackrabbit-oak,afilimonov/jackrabbit-oak,joansmith/jackrabbit-oak,meggermo/jackrabbit-oak,chetanmeh/jackrabbit-oak,code-distillery/jackrabbit-oak,AndreasAbdi/...
/* * 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 ...
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/ModifiedNodeState.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 ...
OAK-778: Recursive wrapping of ModifiedNodeState Add ModifiedNodeState.compareAgainstBaseState(NodeStateDiff) to make common comparisons easier git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1469250 13f79535-47bb-0310-9956-ffa450edef68
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/ModifiedNodeState.java
OAK-778: Recursive wrapping of ModifiedNodeState
<ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/ModifiedNodeState.java <ide> @Override <ide> public void compareAgainstBaseState( <ide> NodeState base, final NodeStateDiff diff) { <del> if (this.base != base) { <del> this.base.compareAgainstBaseState(base,...
Java
apache-2.0
error: pathspec 'sdk/android/test/sdk.testapp.tests/src/com/microsoft/windowsazure/mobileservices/sdk/testapp/test/PersonTestObjectWithoutId.java' did not match any file(s) known to git
dfa4d55c48270992e94b2283f5dd6f5ec0989d4b
1
baumatron/azure-mobile-services-baumatron,ysxu/azure-mobile-services,soninaren/azure-mobile-services,paulbatum/azure-mobile-services,daemun/azure-mobile-services,ysxu/azure-mobile-services,marianosz/azure-mobile-services,yuqiqian/azure-mobile-services,phvannor/azure-mobile-services,fabiocav/azure-mobile-services,YOTOV-...
/* Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved Apache 2.0 License 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/LIC...
sdk/android/test/sdk.testapp.tests/src/com/microsoft/windowsazure/mobileservices/sdk/testapp/test/PersonTestObjectWithoutId.java
Added missing file PersonTestObjectWithoutId.java
sdk/android/test/sdk.testapp.tests/src/com/microsoft/windowsazure/mobileservices/sdk/testapp/test/PersonTestObjectWithoutId.java
Added missing file PersonTestObjectWithoutId.java
<ide><path>dk/android/test/sdk.testapp.tests/src/com/microsoft/windowsazure/mobileservices/sdk/testapp/test/PersonTestObjectWithoutId.java <add>/* <add>Copyright (c) Microsoft Open Technologies, Inc. <add>All Rights Reserved <add>Apache 2.0 License <add> <add> Licensed under the Apache License, Version 2.0 (the "Lic...
Java
agpl-3.0
c4381706aa7b687010448624c36851433f220b9a
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
feabf520-2e61-11e5-9284-b827eb9e62be
hello.java
fea6903a-2e61-11e5-9284-b827eb9e62be
feabf520-2e61-11e5-9284-b827eb9e62be
hello.java
feabf520-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>fea6903a-2e61-11e5-9284-b827eb9e62be <add>feabf520-2e61-11e5-9284-b827eb9e62be
Java
lgpl-2.1
18fc76be54f6abad25d457ed1c89eb12acd28c46
0
netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration,netarchivesuite/netarchivesuite-svngit-migration
/*$Id$ * $Revision$ * $Date$ * $Author$ * * The Netarchive Suite - Software to harvest and preserve websites * Copyright 2004-2010 Det Kongelige Bibliotek and Statsbiblioteket, Denmark * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licens...
tests/dk/netarkivet/externalsoftware/HeritrixTests.java
/*$Id$ * $Revision$ * $Date$ * $Author$ * * The Netarchive Suite - Software to harvest and preserve websites * Copyright 2004-2010 Det Kongelige Bibliotek and Statsbiblioteket, Denmark * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licens...
Fix of one Heritrix tests that failed after changing the default HeritrixController.
tests/dk/netarkivet/externalsoftware/HeritrixTests.java
Fix of one Heritrix tests that failed after changing the default HeritrixController.
<ide><path>ests/dk/netarkivet/externalsoftware/HeritrixTests.java <ide> "with a non existing file (" + passwordFile.getAbsolutePath() + ")"); <ide> } catch (IOFailure iof) { <ide> assertTrue("Wrong type of IOFailure thrown: " + iof, <del> iof.getMessage().contains("is missing"));...
Java
lgpl-2.1
7bff6366f81d07fcd049ecd51b9e338492b13466
0
ivassile/wildfly-core,aloubyansky/wildfly-core,darranl/wildfly-core,JiriOndrusek/wildfly-core,luck3y/wildfly-core,yersan/wildfly-core,yersan/wildfly-core,JiriOndrusek/wildfly-core,jfdenise/wildfly-core,luck3y/wildfly-core,ivassile/wildfly-core,soul2zimate/wildfly-core,jfdenise/wildfly-core,aloubyansky/wildfly-core,soul...
/* * * * JBoss, Home of Professional Open Source. * * Copyright 2013, Red Hat, Inc., and individual contributors * * as indicated by the @author tags. See the copyright.txt file in the * * distribution for a full listing of individual contributors. * * * * This is free software; you can redistribute it and...
domain-http/interface/src/main/java/org/jboss/as/domain/http/server/security/RealmIdentityManager.java
/* * * * JBoss, Home of Professional Open Source. * * Copyright 2013, Red Hat, Inc., and individual contributors * * as indicated by the @author tags. See the copyright.txt file in the * * distribution for a full listing of individual contributors. * * * * This is free software; you can redistribute it and...
Undertow Beta9 was: 9ffb2a360fea25889d5546517bd8252c88d7b55d
domain-http/interface/src/main/java/org/jboss/as/domain/http/server/security/RealmIdentityManager.java
Undertow Beta9
<ide><path>omain-http/interface/src/main/java/org/jboss/as/domain/http/server/security/RealmIdentityManager.java <ide> import java.util.Collection; <ide> import java.util.Collections; <ide> import java.util.Map; <add>import java.util.Set; <ide> <ide> import javax.security.auth.Subject; <ide> import javax.security.auth...
JavaScript
mit
9b879a6126150828fbdc8434e1249af7015edd82
0
hak8or/WeatherSpot,hak8or/WeatherSpot,hak8or/WeatherSpot,hak8or/WeatherSpot,hak8or/WeatherSpot
var GraphFactory = function(_appendTo) { // Class GraphFactory // Purpose: graphing queries // Includes: // <script src="//code.jquery.com/jquery-1.11.2.min.js"></script> // <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> // <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> /...
Website/js/graphFactory.js
var GraphFactory = function(_appendTo) { // Class GraphFactory // Purpose: graphing queries // Includes: // <script src="//code.jquery.com/jquery-1.11.2.min.js"></script> // <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> // <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> /...
Added graphData(data) for graphing cached queries without repeating network request, redraw graphs when window resizes
Website/js/graphFactory.js
Added graphData(data) for graphing cached queries without repeating network request, redraw graphs when window resizes
<ide><path>ebsite/js/graphFactory.js <ide> // Private // <ide> ///////////// <ide> var gAppendToElem = _appendTo; <add> var cachedPoints = []; <ide> <ide> //////////// <ide> // Public // <ide> //////////// <add> // Graph the four Weatherspot measurements <ide> this.graphFourMeasurements = function(series) { <i...
Java
apache-2.0
1d0ce193e08fd0788cfc5c5bdc373e019bd2d0a2
0
atomix/atomix,kuujo/copycat,tempbottle/copycat,aruanruan/copycat,tempbottle/copycat,kuujo/copycat,atomix/atomix,madjam/copycat,aruanruan/copycat,arnonmoscona/copycat,arnonmoscona/copycat,madjam/copycat
/* * Copyright 2015 the original author or authors. * * 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 l...
util/src/main/java/net/kuujo/copycat/util/internal/BloomFilter.java
/* * Copyright 2015 the original author or authors. * * 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 l...
Support return value for BloomFilter.add() which indicates whether bits were changed by the add.
util/src/main/java/net/kuujo/copycat/util/internal/BloomFilter.java
Support return value for BloomFilter.add() which indicates whether bits were changed by the add.
<ide><path>til/src/main/java/net/kuujo/copycat/util/internal/BloomFilter.java <ide> * Adds a byte array value to the bloom filter. <ide> * <ide> * @param bytes The byte array to add. <del> * @return The bloom filter. <add> * @return Indicates whether the filter's bits changed. <ide> */ <del> public Blo...
Java
agpl-3.0
bdb40cd51433d8e6750d992129e8465573d1d143
0
bisq-network/exchange,bisq-network/exchange,bitsquare/bitsquare,bitsquare/bitsquare
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
src/main/java/bisq/desktop/main/dao/bonding/unlock/LockedBsqTxListItem.java
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
Fix wrong equals check at litenode. Cleanups
src/main/java/bisq/desktop/main/dao/bonding/unlock/LockedBsqTxListItem.java
Fix wrong equals check at litenode. Cleanups
<ide><path>rc/main/java/bisq/desktop/main/dao/bonding/unlock/LockedBsqTxListItem.java <ide> <ide> //TODO SQ: use DaoFacade instead of direct access to stateService <ide> Optional<Integer> opLockTime = stateService.getLockTime(transaction.getHashAsString()); <del> lockTime = opLockTime.isPresent(...
Java
unlicense
966768ebab47a86ed9043a57aa76a716e47a4b4a
0
Kramermp/FoodMood
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package userprofile.model; /** * * @author Michael Kramer */ public class User { private String username; priv...
src/userprofile/model/User.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package userprofile.model; /** * * @author Michael Kramer */ public class User { private String username; private St...
Added stubs for the User Class
src/userprofile/model/User.java
Added stubs for the User Class
<ide><path>rc/userprofile/model/User.java <ide> * @author Michael Kramer <ide> */ <ide> public class User { <del> private String username; <del> private String password; <del> <del> /** <del> * This constructor takes no arguments, and creates a User object with <del> * default values. <del> */ <del> public User(...
Java
apache-2.0
5a075d1f55091ada208e49e5124647296ec0044d
0
spring-cloud/spring-cloud-contract,spring-cloud/spring-cloud-contract,spring-cloud/spring-cloud-contract
/* * Copyright 2013-2020 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud-contract-wiremock/src/test/java/org/springframework/cloud/contract/wiremock/restdocs/WireMockSnippetTests.java
/* * Copyright 2013-2020 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Trying to fix the build
spring-cloud-contract-wiremock/src/test/java/org/springframework/cloud/contract/wiremock/restdocs/WireMockSnippetTests.java
Trying to fix the build
<ide><path>pring-cloud-contract-wiremock/src/test/java/org/springframework/cloud/contract/wiremock/restdocs/WireMockSnippetTests.java <ide> import org.springframework.http.HttpMethod; <ide> import org.springframework.http.HttpStatus; <ide> import org.springframework.http.MediaType; <del>import org.springframework.http....
JavaScript
mit
902a5dc318c28df7985a9e9cc42e291b9411e73b
0
johan--/leaflet-search,johan--/leaflet-search,cityhubla/leaflet-search,ajvol/leaflet-search,aarontract/leaflet-search,MuellerMatthew/leaflet-search,kyroskoh/leaflet-search,stefanocudini/leaflet-search,ajvol/leaflet-search,aarontract/leaflet-search,MuellerMatthew/leaflet-search,MuellerMatthew/leaflet-search,cityhubla/le...
/* * Leaflet Search Plugin 1.0.0 * https://github.com/stefanocudini/leaflet-search * * Copyright 2012, Stefano Cudini - stefano.cudini@gmail.com * Licensed under the MIT license. */ L.Control.Search = L.Control.extend({ includes: L.Mixin.Events, options: { position: 'topleft', layer: new L.LayerGroup(),...
leaflet-search.js
/* * Leaflet Search Plugin 1.0.0 * https://github.com/stefanocudini/leaflet-search * * Copyright 2012, Stefano Cudini - stefano.cudini@gmail.com * Licensed under the MIT license. */ L.Control.Search = L.Control.extend({ includes: L.Mixin.Events, options: { position: 'topleft', layer: new L.LayerGroup(),...
added Esc shortcut
leaflet-search.js
added Esc shortcut
<ide><path>eaflet-search.js <ide> return vals; <ide> }, <ide> <del> _filterRecords: function() { //filter this._recordsCache with this._input.value <add> _filterRecords: function(e) { //filter this._recordsCache with this._input.value <add> <add> if(e.keyCode==27) <add> this.hideInput(); <ide> <ide> if(!this...
Java
apache-2.0
ecbb0fe57ba590114b8fe8f77f959c88d583ac5f
0
bradcfisher/izpack,rkrell/izpack,izpack/izpack,Helpstone/izpack,stenix71/izpack,tomas-forsman/izpack,tomas-forsman/izpack,maichler/izpack,tomas-forsman/izpack,rkrell/izpack,rkrell/izpack,akuhtz/izpack,stenix71/izpack,rkrell/izpack,tomas-forsman/izpack,tomas-forsman/izpack,bradcfisher/izpack,izpack/izpack,akuhtz/izpack,...
/* * IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://izpack.codehaus.org/ * * Copyright 2012 Tim Anderson * * 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 co...
izpack-panel/src/main/java/com/izforge/izpack/panels/userinput/console/ConsoleChoiceField.java
/* * IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://izpack.codehaus.org/ * * Copyright 2012 Tim Anderson * * 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 co...
Post-fix [IZPACK-1292] UserInputPanel: Combo/radio fields show choices in console installations also if their choice conditions evaluate false There was a bad handling for combo/radio console fields when the user was just hitting ENTER without changing the default value, leading to bad return values or NullPointerExce...
izpack-panel/src/main/java/com/izforge/izpack/panels/userinput/console/ConsoleChoiceField.java
Post-fix [IZPACK-1292] UserInputPanel: Combo/radio fields show choices in console installations also if their choice conditions evaluate false
<ide><path>zpack-panel/src/main/java/com/izforge/izpack/panels/userinput/console/ConsoleChoiceField.java <ide> MappedSelection visibleToRealMapping = listChoices(choices, selectedRealIndex); <ide> <ide> int selectedVisibleIndex = getConsole().prompt(getMessage("ConsoleInstaller.inputSelection")...
Java
apache-2.0
80dad8a23f0b1e631ecec09e12c9d3a29aad712a
0
sjnyag/stamp,sjnyag/stamp
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
app/src/main/java/com/sjn/stamp/MediaNotificationManager.java
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
cancel unnecessary bitmap load task
app/src/main/java/com/sjn/stamp/MediaNotificationManager.java
cancel unnecessary bitmap load task
<ide><path>pp/src/main/java/com/sjn/stamp/MediaNotificationManager.java <ide> @SuppressWarnings(value = "FieldCanBeLocal") <ide> private Target mTarget; <ide> private Notification mLatestNotification = null; <add> private SetNotificationBitmapAsyncTask mBitmapLoadTask; <ide> <ide> public MediaNotifi...
JavaScript
mit
20d4a150eaa38bdb66b3172a5aea77a44a44d051
0
mxruedag/listit,haystack/listit,mxruedag/listit,haystack/listit,haystack/listit,mxruedag/listit
(function(L) { 'use strict'; /** * @filedesc View: omnibox input. Provides search and note-creation. * * @author: wstyke@gmail.com - Wolfe Styke */ L.views.OmniboxView = Backbone.View.extend({ id: 'omnibox', className: 'flex', initialize: function() { var...
src/js/views/omnibox.js
(function(L) { 'use strict'; /** * @filedesc View: omnibox input. Provides search and note-creation. * * @author: wstyke@gmail.com - Wolfe Styke */ L.views.OmniboxView = Backbone.View.extend({ id: 'omnibox', className: 'flex', initialize: function() { var...
Make sure to focus omnibox.
src/js/views/omnibox.js
Make sure to focus omnibox.
<ide><path>rc/js/views/omnibox.js <ide> this.editor.on('keyup', _.bind(this._onKeyUp, this)); <ide> this.editor.on('change', _.bind(this.storeText, this)); <ide> <add> // Focus after inserted. <add> this.$el.on("DOMNodeInsertedIntoDocument", function() { <add> ...
Java
apache-2.0
9870a66720bff060cb31d3ec4990225ae5387f23
0
link-intersystems/lis-commons
package com.link_intersystems.io; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; /** * @aut...
lis-commons-io/src/main/java/com/link_intersystems/io/Unzip.java
package com.link_intersystems.io; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.StandardCopyOption; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; /** * @aut...
Unzip directory handling fixed.
lis-commons-io/src/main/java/com/link_intersystems/io/Unzip.java
Unzip directory handling fixed.
<ide><path>is-commons-io/src/main/java/com/link_intersystems/io/Unzip.java <ide> <ide> Path newPath = zipSlipProtect(zipEntry, target); <ide> <del> if (newPath.getParent() != null) { <del> if (Files.notExists(newPath.getParent())) { <del> Files....
Java
apache-2.0
81e7753133047c380f06353074fe0132d0a3c891
0
freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM
/* * 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...
enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.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...
Path should be separated by '/'. This fix should enable some AWT tests on Windows that become broken after my commit at r524038. Related to HARMONY-1813. svn path=/harmony/; revision=524099
enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java
Path should be separated by '/'. This fix should enable some AWT tests on Windows that become broken after my commit at r524038. Related to HARMONY-1813.
<ide><path>nhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/Tools.java <ide> public static String getClasstPath(Class clazz) { <ide> String name = clazz.getName(); <ide> name = name.substring(0, name.lastIndexOf('.')); <del> return name.replace('.', java.io.File.separator....
Java
lgpl-2.1
9f5d903546efb6891096e0131a5ed0cf2b061ebf
0
quarnster/silence
/* Ogg.java - .ogg playing capabilities * Copyright (C) 2001 Fredrik Ehnbom * * 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 of the License, or (at your option) ...
silence/format/ogg/Ogg.java
/* Ogg.java - .ogg playing capabilities * Copyright (C) 2001 Fredrik Ehnbom * * 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 of the License, or (at your option) ...
fixed for jOrbis-0.4
silence/format/ogg/Ogg.java
fixed for jOrbis-0.4
<ide><path>ilence/format/ogg/Ogg.java <ide> import java.io.*; <ide> <ide> import com.jcraft.jorbis.*; <add>import com.jcraft.jogg.*; <ide> <ide> /** <ide> * Pretty much cut and paste from DecoderExample.java from <ide> * Original author: ymnk <ymnk@jcraft.com> <ide> * <ide> * @author Fredrik Ehnbom <del> * @versi...
Java
apache-2.0
74d20d3525aeab87f9be9b4eeeab2920aa70a498
0
rajubairishetti/pintail,rajubairishetti/pintail,sreedishps/pintail,sreedishps/pintail,InMobi/pintail,InMobi/pintail
package com.inmobi.messaging.consumer.examples; import java.io.IOException; import java.nio.ByteBuffer; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.TreeMap; import com.inmobi.instrumentatio...
messaging-client-core/src/main/java/com/inmobi/messaging/consumer/examples/StreamingBenchmark.java
package com.inmobi.messaging.consumer.examples; import java.io.IOException; import java.nio.ByteBuffer; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.TreeMap; import com.inmobi.instrumentatio...
fix streaming benchmark
messaging-client-core/src/main/java/com/inmobi/messaging/consumer/examples/StreamingBenchmark.java
fix streaming benchmark
<ide><path>essaging-client-core/src/main/java/com/inmobi/messaging/consumer/examples/StreamingBenchmark.java <ide> consumer.join(consumerTimeout * 1000); <ide> System.out.println("Consumer thread state: " + consumer.getState()); <ide> statusPrinter.stopped = true; <add> statusPrinter.join(); <ide...
JavaScript
mit
c8b35325e1b9f9f908c5b679ec3ece7c8cdb6e93
0
caplin/boxxer
exports.Serializer = Serializer; /** * @constructor provides serializer method for each Box instance to serialize their state * @mixin * @static */ function Serializer() {} /** * serializes a hierarchy of Box instances * @param format {String} either "xml" or "json" * @param name {String} the name of the Box i...
js/modules/mixins/Serializer.js
exports.Serializer = Serializer; /** * @constructor provides serializer method for each Box instance to serialize their state * @mixin * @static */ function Serializer() {} /** * serializes a hierarchy of Box instances * @param format {String} either "xml" or "json" * @param name {String} the name of the Box i...
Serializer support custom box name. Should probably remove the "name" second attribute from the serializer as name should be set on box.
js/modules/mixins/Serializer.js
Serializer support custom box name. Should probably remove the "name" second attribute from the serializer as name should be set on box.
<ide><path>s/modules/mixins/Serializer.js <ide> "\"flow\":\"" + box.getFlowDirection() + "\"," + <ide> Serializer.getJSONAttributes(box); <ide> <add> name = name || box.getName() || null; <add> <ide> if (typeof name === "string" && name !== "") { <ide> json += ",\"name\":\"" + name + "\"...
Java
apache-2.0
c8564f5d80546eb5e21dc054eb63b4f7fed327fc
0
necouchman/incubator-guacamole-client,mike-jumper/incubator-guacamole-client,glyptodon/guacamole-client,necouchman/incubator-guacamole-client,jmuehlner/incubator-guacamole-client,necouchman/incubator-guacamole-client,glyptodon/guacamole-client,jmuehlner/incubator-guacamole-client,jmuehlner/incubator-guacamole-client,ne...
/* * 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 ...
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/AuthenticatedUser.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 ...
GUACAMOLE-220: Correct JavaDoc of getEffectiveUserGroups() - missing period.
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/AuthenticatedUser.java
GUACAMOLE-220: Correct JavaDoc of getEffectiveUserGroups() - missing period.
<ide><path>uacamole-ext/src/main/java/org/apache/guacamole/net/auth/AuthenticatedUser.java <ide> * Note that, as with user identifiers, user group identifiers form the <ide> * basis of identity which applies across authentication providers. It is <ide> * expected that any two user groups having the same ...
JavaScript
bsd-2-clause
df7d6db21f789dc4a0400cdd1cfbeffb384f1ef1
0
felicast/twig.js,felicast/twig.js,felicast/twig.js
// Twig.js // Available under the BSD 2-Clause License // https://github.com/justjohn/twig.js // ## twig.compiler.js // // This file handles compiling templates into JS var Twig = (function (Twig) { /** * Namespace for compilation. */ Twig.compiler = { module: {} }; // Co...
src/twig.compiler.js
// Twig.js // Available under the BSD 2-Clause License // https://github.com/justjohn/twig.js // ## twig.compiler.js // // This file handles compiling templates into JS var Twig = (function (Twig) { /** * Namespace for compilation. */ Twig.compiler = { module: {} }; // Co...
runtime options
src/twig.compiler.js
runtime options
<ide><path>rc/twig.compiler.js <ide> required.push('"' + req + '"'); <ide> }); <ide> } <del> console.log(options.runtimeOptions); <ide> return 'define([' + required.join(', ') + '], function (Twig) {\n\tvar twig, templates;\ntwig = Twig.twig;\ntempl...
JavaScript
lgpl-2.1
1e8c1030ffe0a9050f77fe7ad1415266d4300bad
0
TeamupCom/tinymce,adaptiffdesigns/tinymce,FernCreek/tinymce,danielpunkass/tinymce,tinymce/tinymce,tinymce/tinymce,FernCreek/tinymce,danielpunkass/tinymce,FernCreek/tinymce,gencer/tinymce,tinymce/tinymce,leofeyer/tinymce,gencer/tinymce,TeamupCom/tinymce,adaptiffdesigns/tinymce,leofeyer/tinymce,danielpunkass/tinymce
asynctest( 'browser.tinymce.core.InitCspTest', [ 'ephox.agar.api.Assertions', 'ephox.agar.api.GeneralSteps', 'ephox.agar.api.Logger', 'ephox.agar.api.Pipeline', 'ephox.agar.api.Step', 'tinymce.core.EditorManager', 'tinymce.core.test.ViewBlock', 'tinymce.themes.modern.Theme' ], fu...
src/core/src/test/js/browser/InitCspTest.js
asynctest( 'browser.tinymce.core.InitCspTest', [ 'ephox.agar.api.Assertions', 'ephox.agar.api.GeneralSteps', 'ephox.agar.api.Logger', 'ephox.agar.api.Pipeline', 'ephox.agar.api.Step', 'tinymce.core.EditorManager', 'tinymce.core.test.ViewBlock', 'tinymce.themes.modern.Theme' ], fu...
fixed issue with csp affecting imagetools
src/core/src/test/js/browser/InitCspTest.js
fixed issue with csp affecting imagetools
<ide><path>rc/core/src/test/js/browser/InitCspTest.js <ide> var success = arguments[arguments.length - 2]; <ide> var failure = arguments[arguments.length - 1]; <ide> var viewBlock = new ViewBlock(); <del> var csp = "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self' data:; style-sr...
Java
mit
c9d365d6f93cc3d9d9e087a0882e7c37e1019ef3
0
sk89q/CommandHelper,dbuxo/CommandHelper,Techcable/CommandHelper,KamranMackey/CommandHelper,Techcable/CommandHelper,dbuxo/CommandHelper,dbuxo/CommandHelper,Techcable/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper,dbuxo/CommandHelper,KamranMackey/CommandHelper,sk89q/CommandHelper,Techcable/CommandHelper,KamranMack...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.laytonsmith.aliasengine.functions; import com.laytonsmith.aliasengine.api; import com.laytonsmith.aliasengine.exceptions.CancelCommandException; import com.laytonsmith.aliasengine.exceptions.ConfigRuntimeExc...
src/main/java/com/laytonsmith/aliasengine/functions/PlayerManagement.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.laytonsmith.aliasengine.functions; import com.laytonsmith.aliasengine.api; import com.laytonsmith.aliasengine.exceptions.CancelCommandException; import com.laytonsmith.aliasengine.exceptions.ConfigRuntimeExc...
Fixed a bug where the 10th index of pinfo was unreachable
src/main/java/com/laytonsmith/aliasengine/functions/PlayerManagement.java
Fixed a bug where the 10th index of pinfo was unreachable
<ide><path>rc/main/java/com/laytonsmith/aliasengine/functions/PlayerManagement.java <ide> throw new ConfigRuntimeException("The specified player is not online", <ide> ExceptionType.PlayerOfflineException, line_num, f); <ide> } <del> if (index < -1 || index...
Java
apache-2.0
45421a783065350c03c474263dfe16f172390738
0
doodelicious/uPortal,GIP-RECIA/esup-uportal,doodelicious/uPortal,apetro/uPortal,jl1955/uPortal5,jl1955/uPortal5,Mines-Albi/esup-uportal,GIP-RECIA/esup-uportal,joansmith/uPortal,GIP-RECIA/esup-uportal,MichaelVose2/uPortal,mgillian/uPortal,kole9273/uPortal,phillips1021/uPortal,kole9273/uPortal,GIP-RECIA/esco-portail,apet...
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
uportal-war/src/main/java/org/jasig/portal/layout/profile/ProfileSelectionRegistry.java
/** * Licensed to Jasig under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Jasig licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in co...
UP-4223 Transactionalize registerUserProfileSelection() Since registry method wraps multiple DAO methods, apply @PortalTransactional to wrap the read and write in a single transaction.
uportal-war/src/main/java/org/jasig/portal/layout/profile/ProfileSelectionRegistry.java
UP-4223 Transactionalize registerUserProfileSelection()
<ide><path>portal-war/src/main/java/org/jasig/portal/layout/profile/ProfileSelectionRegistry.java <ide> */ <ide> package org.jasig.portal.layout.profile; <ide> <add>import org.jasig.portal.jpa.BasePortalJpaDao; <ide> import org.jasig.portal.layout.profile.dao.IProfileSelectionDao; <ide> import org.springframework.bea...
Java
apache-2.0
058893fb6906af0962ca4404cf00f93a573c0ec9
0
milliondreams/ddf-with-flink,hsaputra/DDF,phvu/DDF,hsaputra/DDF,hsaputra/DDF,phvu/DDF,ubolonton/DDF,milliondreams/ddf-with-flink,ddf-project/DDF,ubolonton/DDF,ddf-project/DDF,ddf-project/DDF,hsaputra/DDF,ddf-project/DDF,ubolonton/DDF,ddf-project/DDF,ubolonton/DDF,phvu/DDF,ubolonton/DDF,phvu/DDF,phvu/DDF,hsaputra/DDF,dd...
package io.ddf.analytics; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import io.ddf.DDF; import io.ddf.content.Schema.ColumnType; import io.ddf.exception.DDFException; import io.ddf.misc.ADDFFunctionalGroupHandle...
core/src/main/java/io/ddf/analytics/AStatisticsSupporter.java
package io.ddf.analytics; import com.google.common.base.Strings; import com.google.common.collect.Lists; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import io.ddf.DDF; import io.ddf.content.Schema.ColumnType; import io.ddf.exception.DDFException; import io.ddf.misc.ADDFFunctionalGroupHandle...
fivenum debugging
core/src/main/java/io/ddf/analytics/AStatisticsSupporter.java
fivenum debugging
<ide><path>ore/src/main/java/io/ddf/analytics/AStatisticsSupporter.java <ide> // each value can be a NULL <ide> // a fivenumsummary of an Double/Float column is in the format "min \t max \t[1st_quantile, median, 3rd_quantile]" <ide> // or "min \t max \t null"s <add> System.out.println("Command to...
Java
apache-2.0
e66db5118bba11f70be8a7b3179abf3a28446566
0
devetude/BOJ-PSJ
package boj_1197; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.PriorityQueue; import java.util.StringTokenizer; /** * 백준 온라인 저지 1197번 (최소 스패닝 트리) 문제풀이 * * @see https://www.acmicpc.net/problem/1197 * @author devetude */ public class Main { // 공백 문자열 상수 private static final S...
src/boj_1197/Main.java
package boj_1197; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.PriorityQueue; import java.util.StringTokenizer; /** * 백준 온라인 저지 1197번 (최소 스패닝 트리) 문제풀이 * * @see https://www.acmicpc.net/problem/1197 * @author devetude */ public class Main { // 공백 문자열 상수 private static final S...
modify 1197
src/boj_1197/Main.java
modify 1197
<ide><path>rc/boj_1197/Main.java <ide> * @return <ide> */ <ide> private static boolean union(int a, int b) { <del> int aParents = find(a); <del> int bParents = find(b); <add> int aParent = find(a); <add> int bParent = find(b); <ide> <del> if (aParents != bParents) { <del> parents[bParents] = aParents; <add...
Java
mit
14b54a6e4030a6d861ab9182aab555cf8755f1bd
0
cybergrouch/AutomatedTrader
src/main/java/com/lange/trader/main/Parser.java
package com.lange.trader.main; import java.util.Arrays; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; /** * Created by lange on 19/3/16. */ public class Parser { public static void main(String... args) { parse("properCase(ARG1, ARG2, class.otherArg)...
Removed unnecessary code.
src/main/java/com/lange/trader/main/Parser.java
Removed unnecessary code.
<ide><path>rc/main/java/com/lange/trader/main/Parser.java <del>package com.lange.trader.main; <del> <del>import java.util.Arrays; <del>import java.util.regex.Matcher; <del>import java.util.regex.Pattern; <del>import java.util.stream.Collectors; <del> <del>/** <del> * Created by lange on 19/3/16. <del> */ <del>public cl...
Java
apache-2.0
f7ec35acee83dff49a52b53ed66707003af3426c
0
treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag
digdag-tests/src/test/java/acceptance/AuthIT.java
package acceptance; import io.digdag.client.DigdagClient; import io.digdag.client.api.RestApiKey; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import org.eclipse.jetty.client.HttpClient; import org.eclipse.jetty.client.api.ContentResponse; import org.hamcrest.Matchers; import org.junit.After...
Remove JWT tests.
digdag-tests/src/test/java/acceptance/AuthIT.java
Remove JWT tests.
<ide><path>igdag-tests/src/test/java/acceptance/AuthIT.java <del>package acceptance; <del> <del>import io.digdag.client.DigdagClient; <del>import io.digdag.client.api.RestApiKey; <del>import io.jsonwebtoken.Jwts; <del>import io.jsonwebtoken.SignatureAlgorithm; <del>import org.eclipse.jetty.client.HttpClient; <del>impor...
Java
bsd-3-clause
7b3f1e9383df2510880354f6994fe2bfa004c995
0
songfj/curn,bmc/curn,songfj/curn,bmc/curn,songfj/curn,bmc/curn,songfj/curn,bmc/curn,songfj/curn,bmc/curn
/*---------------------------------------------------------------------------*\ $Id$ --------------------------------------------------------------------------- This software is released under a BSD-style license: Copyright (c) 2004-2006 Brian M. Clapper. All rights reserved. Redistribution and use in sourc...
src/org/clapper/curn/output/script/ScriptOutputHandler.java
/*---------------------------------------------------------------------------*\ $Id$ --------------------------------------------------------------------------- This software is released under a BSD-style license: Copyright (c) 2004-2006 Brian M. Clapper. All rights reserved. Redistribution and use in sourc...
removed tabs
src/org/clapper/curn/output/script/ScriptOutputHandler.java
removed tabs
<ide><path>rc/org/clapper/curn/output/script/ScriptOutputHandler.java <ide> import org.apache.bsf.BSFException; <ide> import org.apache.bsf.BSFEngine; <ide> import org.apache.bsf.BSFManager; <add> <ide> import org.clapper.curn.CurnUtil; <ide> <ide> /** <ide> // Allocate a new BSFManager. This must happen after...
Java
mit
a0f9fc16c6249bef28705be8d3a29f3d4ecbbd19
0
lz1asl/CaveSurvey,lz1asl/CaveSurvey,lz1asl/CaveSurvey,lz1asl/CaveSurvey
package com.astoev.cave.survey.activity.home; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import android.view.View; import android.widget.*; import android.widget.Adapte...
src/java/com/astoev/cave/survey/activity/home/HomeActivity.java
package com.astoev.cave.survey.activity.home; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import android.view.View; import android.widget.*; import android.widget.Adapte...
added shortcut to create project in "No projects" label
src/java/com/astoev/cave/survey/activity/home/HomeActivity.java
added shortcut to create project in "No projects" label
<ide><path>rc/java/com/astoev/cave/survey/activity/home/HomeActivity.java <ide> <ide> private static boolean isFirstEntry; <ide> <del>// private void prepareBT() { <del>// // BT protocol <del>// Button btButton = (Button) findViewById(R.id.bt_setup_button); <del>// if (!BluetoothServic...
Java
mit
f5b2388e484b878466873f0df82f476c4a10e2ae
0
mozack/abra2,mozack/abra2,mozack/abra2,mozack/abra2
package abra; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Set; import java.util.TreeSet; /** * Pro...
src/main/java/abra/KmerSizeEvaluator.java
package abra; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Set; import java.util.TreeSet; /** * Pro...
Don't search for min kmer size when region less than MIN_KMER. Set MIN_KMER to 9.
src/main/java/abra/KmerSizeEvaluator.java
Don't search for min kmer size when region less than MIN_KMER. Set MIN_KMER to 9.
<ide><path>rc/main/java/abra/KmerSizeEvaluator.java <ide> */ <ide> public class KmerSizeEvaluator { <ide> <del> public static final int MIN_KMER = 5; <add> public static final int MIN_KMER = 9; <ide> <ide> private int readLength; <ide> private CompareToReference2 c2r; <ide> List<String> regionBases = new ArrayL...
Java
apache-2.0
05e5342155a79173be8ee771818c51e868cd1ea1
0
irshuLx/Android-WYSIWYG-Editor,irshuLx/tetra-native-editor
package com.github.irshulx; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.Point; import android.text.Editable; import android.text...
laser-native-editor/src/main/java/com/github/irshulx/EditorCore.java
package com.github.irshulx; import android.app.Activity; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.Point; import android.text.Editable; import android.text...
Added null check on nextFocus
laser-native-editor/src/main/java/com/github/irshulx/EditorCore.java
Added null check on nextFocus
<ide><path>aser-native-editor/src/main/java/com/github/irshulx/EditorCore.java <ide> return false; <ide> nextFocus = __inputExtensions.getEditTextPrevious(index); <ide> deleteFocusedPrevious(editText); <del> nextFocus.setText(nextFocus.getText().toStrin...
Java
agpl-3.0
66dff257f73b1b2f8e1ec3df1360c609f8366860
0
exomiser/Exomiser,exomiser/Exomiser
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package de.charite.compbio.exomiser.core.analysis.util; import de.charite.compbio.exomiser.core.model.Gene; import de.charite.compbio....
exomiser-core/src/main/java/de/charite/compbio/exomiser/core/analysis/util/RawScoreGeneScorer.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package de.charite.compbio.exomiser.core.analysis.util; import de.charite.compbio.exomiser.core.model.Gene; import de.charite.compbio....
fixed scoring bug for cmphets where a top scoring het and 2nd best hom could be averaged to give final score also added skipping of 0/0 variants in scoring
exomiser-core/src/main/java/de/charite/compbio/exomiser/core/analysis/util/RawScoreGeneScorer.java
fixed scoring bug for cmphets where a top scoring het and 2nd best hom could be averaged to give final score
<ide><path>xomiser-core/src/main/java/de/charite/compbio/exomiser/core/analysis/util/RawScoreGeneScorer.java <ide> * @return <ide> */ <ide> protected float calculateAutosomalRecessiveFilterScore(List<VariantEvaluation> variantEvaluations) { <del> List<Float> filterScores = new ArrayList<>(); <add> ...
JavaScript
mit
52b6fcabcf25379d1c9dc367f0070146c223394a
0
goatgoose1142/MorseCodeTransmitter,goatgoose1142/MorseCodeTransmitter,goatgoose1142/MorseCodeTransmitter
function MorseWord(word) { this.letters = []; for (letter in word) { this.letters.push(this.morseForLetter(letter)); } } MorseWord.prototype.morseForLetter = function(letter) { if (letter.toLowerCase() == "") { } else if (letter.toLowerCase() == "a") { return [".", "-"]; } els...
model/morse_word.js
function MorseWord(word) { } MorseWord.prototype.morseForLetter = function(letter) { if (letter.toLowerCase() == "") { } else if (letter.toLowerCase() == "a") { return [".", "-"]; } else if (letter.toLowerCase() == "b") { return ["-", ".", ".", "."]; } }; MorseWord.prototype.getLett...
the rest of MorseWord
model/morse_word.js
the rest of MorseWord
<ide><path>odel/morse_word.js <ide> <ide> function MorseWord(word) { <del> <add> this.letters = []; <add> for (letter in word) { <add> this.letters.push(this.morseForLetter(letter)); <add> } <ide> } <ide> <ide> MorseWord.prototype.morseForLetter = function(letter) { <ide> }; <ide> <ide> MorseWord.pro...
Java
agpl-3.0
29c4bcd514f3a3d77bdefda4fedba60a307f9f1c
0
retest/recheck,retest/recheck
package de.retest.recheck; import static de.retest.recheck.ignore.SearchFilterFiles.getFilterByName; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import de.retest.recheck.ignore.CompoundFilter; import de.retest.recheck.ignore.Filter; import de.retest.recheck.ignore...
src/main/java/de/retest/recheck/RecheckOptions.java
package de.retest.recheck; import static de.retest.recheck.ignore.SearchFilterFiles.getFilterByName; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import de.retest.recheck.ignore.CompoundFilter; import de.retest.recheck.ignore.Filter; import de.retest.recheck.ignore...
Actually, what we have here are filters being used for ignore ...
src/main/java/de/retest/recheck/RecheckOptions.java
Actually, what we have here are filters being used for ignore ...
<ide><path>rc/main/java/de/retest/recheck/RecheckOptions.java <ide> private FileNamerStrategy fileNamerStrategy = new MavenConformFileNamerStrategy(); <ide> private String suiteName = null; <ide> private boolean reportUploadEnabled = false; <del> private Filter filter = null; <del> private final List<Filter> fi...
Java
mit
bffa580c394cfdabf86ca0796407a725781423f4
0
bsorrentino/android-js,bsorrentino/android-js
package org.bsc.rhino; import org.mozilla.javascript.Context; import org.mozilla.javascript.Scriptable; /** * Created by softphone on 03/07/14. */ public final class RhinoContext { public class Result<T> { private final T result; Result(T result) { this.result = result; } ...
android-js-rhino/src/main/java/org/bsc/rhino/RhinoContext.java
package org.bsc.rhino; import org.mozilla.javascript.Context; import org.mozilla.javascript.Scriptable; /** * Created by softphone on 03/07/14. */ public final class RhinoContext { public class Result<T> { private final T result; Result(T result) { this.result = result; } ...
generic improvements
android-js-rhino/src/main/java/org/bsc/rhino/RhinoContext.java
generic improvements
<ide><path>ndroid-js-rhino/src/main/java/org/bsc/rhino/RhinoContext.java <ide> } <ide> <ide> } <add> <ide> private Context cx; <ide> <del> protected RhinoContext() { <del> this(null); <del> } <ide> protected RhinoContext(Context cx) { <ide> this.cx = cx; <ide> } <ide> ...
Java
lgpl-2.1
399fc429fcfdc19557daef7bc66e5a35e630f796
0
pentaho/pentaho-commons-xul
package org.pentaho.ui.xul.gwt.tags; import org.pentaho.ui.xul.XulException; import org.pentaho.ui.xul.components.XulTabpanel; import org.pentaho.ui.xul.containers.XulTabbox; import org.pentaho.ui.xul.containers.XulTabpanels; import org.pentaho.ui.xul.containers.XulTabs; import org.pentaho.ui.xul.dom.Element; ...
pentaho-xul-gwt/src/org/pentaho/ui/xul/gwt/tags/GwtTabbox.java
package org.pentaho.ui.xul.gwt.tags; import org.pentaho.ui.xul.XulException; import org.pentaho.ui.xul.components.XulTabpanel; import org.pentaho.ui.xul.containers.XulTabbox; import org.pentaho.ui.xul.containers.XulTabpanels; import org.pentaho.ui.xul.containers.XulTabs; import org.pentaho.ui.xul.dom.Element; ...
Implementing Tab in Xul Gwt
pentaho-xul-gwt/src/org/pentaho/ui/xul/gwt/tags/GwtTabbox.java
Implementing Tab in Xul Gwt
<ide><path>entaho-xul-gwt/src/org/pentaho/ui/xul/gwt/tags/GwtTabbox.java <ide> });*/ <ide> } <ide> <add> @Override <ide> public void addChild(Element ele) { <ide> super.addChild(ele); <ide> <ide> } <ide> } <ide> <add> @Override <ide> public void layout() { <ide> for (int i = 0; i < tabPan...
Java
apache-2.0
5586ec61e5225c7ffb4c5cc1c2274167b91e3ac7
0
osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi
/* * 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 ...
org.osgi.util.converter/src/org/osgi/util/converter/SetDelegate.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 ...
[converter] fix java 7 compilation error
org.osgi.util.converter/src/org/osgi/util/converter/SetDelegate.java
[converter] fix java 7 compilation error
<ide><path>rg.osgi.util.converter/src/org/osgi/util/converter/SetDelegate.java <ide> Object obj = delegateIterator.next(); <ide> return (T) convertingImpl.convertCollectionValue(obj); <ide> } <del> } <del> <add> <add> @Override <add> public void remove() { <add> throw new UnsupportedOperationException("remo...
JavaScript
mit
7e5c8bf8345b4e146e97d7186453cdcad45198f5
0
carls-app/carls,carls-app/carls,carls-app/carls,carls-app/carls,carls-app/carls,carls-app/carls,carls-app/carls
// @flow import React from 'react' import {ScrollView} from 'react-native' import {Cell, Section, TableView} from 'react-native-tableview-simple' import openUrl from '../../components/open-url' import type {FullJobType} from './types' import {SelectableCell} from './selectable' type Props = { job: FullJobType, } exp...
source/views/sis/student-work-carls/detail.ios.js
// @flow import React from 'react' import {ScrollView} from 'react-native' import {Cell, Section, TableView} from 'react-native-tableview-simple' import openUrl from '../../components/open-url' import type {FullJobType} from './types' import {SelectableCell} from './selectable' function Title({job}: {job: FullJobType}...
inline the things into StudentWork
source/views/sis/student-work-carls/detail.ios.js
inline the things into StudentWork
<ide><path>ource/views/sis/student-work-carls/detail.ios.js <ide> import openUrl from '../../components/open-url' <ide> import type {FullJobType} from './types' <ide> import {SelectableCell} from './selectable' <del> <del>function Title({job}: {job: FullJobType}) { <del> return ( <del> <Section header="JOB"> <del> <...
Java
apache-2.0
19779951a12b4a8f6139f3b3339ef8ea45a9af4c
0
NetoDevel/spring-boot,dreis2211/spring-boot,tiarebalbi/spring-boot,NetoDevel/spring-boot,scottfrederick/spring-boot,vpavic/spring-boot,wilkinsona/spring-boot,lburgazzoli/spring-boot,tiarebalbi/spring-boot,scottfrederick/spring-boot,royclarkson/spring-boot,rweisleder/spring-boot,donhuvy/spring-boot,aahlenst/spring-boot,...
/* * Copyright 2012-2018 the original author or authors. * * 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 ap...
spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor.java
/* * Copyright 2012-2018 the original author or authors. * * 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 ap...
Handle class not found See gh-14575
spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor.java
Handle class not found
<ide><path>pring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/env/DevToolsPropertyDefaultsPostProcessor.java <ide> <ide> private boolean isWebApplication(Environment environment) { <ide> for (String candidate : WEB_ENVIRONMENT_CLASSES) { <del> Class<?> environmentClass = Class...
Java
bsd-2-clause
56807c9b2bf24c01c23424d753e05b92da92e5a7
0
michaelye/EasyDialogDemo
package com.michael.easydialog; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; imp...
easydialog/src/main/java/com/michael/easydialog/EasyDialog.java
package com.michael.easydialog; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.app.Activity; import android.app.Dialog; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; imp...
修复对话框动画结束的时候,关闭对话框的时候,Activity已经不存在,可能导致的异常
easydialog/src/main/java/com/michael/easydialog/EasyDialog.java
修复对话框动画结束的时候,关闭对话框的时候,Activity已经不存在,可能导致的异常
<ide><path>asydialog/src/main/java/com/michael/easydialog/EasyDialog.java <ide> import android.graphics.drawable.GradientDrawable; <ide> import android.graphics.drawable.LayerDrawable; <ide> import android.graphics.drawable.RotateDrawable; <add>import android.os.Build; <ide> import android.util.DisplayMetrics; <ide> im...
JavaScript
mit
7d7db0ffd347dd08c2f2649b46776234e48610ef
0
joshuef/beaker,joshuef/beaker,joshuef/beaker
import * as yo from 'yo-yo' import emitStream from 'emit-stream' import prettyBytes from 'pretty-bytes' import { ucfirst } from '../../../lib/strings' import * as pages from '../../pages' // there can be many downloads btns rendered at once, but they are all showing the same information // the DownloadsNavbarBtn manag...
app/shell-window/ui/navbar/downloads.js
import * as yo from 'yo-yo' import emitStream from 'emit-stream' import prettyBytes from 'pretty-bytes' import { ucfirst } from '../../../lib/strings' import * as pages from '../../pages' // there can be many downloads btns rendered at once, but they are all showing the same information // the DownloadsNavbarBtn manag...
make completed downloads easier to notice (close #113)
app/shell-window/ui/navbar/downloads.js
make completed downloads easier to notice (close #113)
<ide><path>pp/shell-window/ui/navbar/downloads.js <ide> this.downloads = [] <ide> this.sumProgress = null // null means no active downloads <ide> this.isDropdownOpen = false <add> this.shouldPersistProgressBar = false <ide> <ide> // fetch current <ide> beakerDownloads.getDownloads().then(ds => {...
Java
mit
91a7be33ddbd17644945b3db8da7f1ef50d0bc34
0
mulias/csc207-JSONProject
package edu.grinnell.callaway; import static org.junit.Assert.*; import java.io.Serializable; import java.util.HashMap; import java.util.Vector; import org.junit.Test; public class JSONTester { JSONParser parser = new JSONParser(); ToString str = new ToString(); /** * Test the individual values with toStr...
src/edu/grinnell/callaway/JSONTester.java
package edu.grinnell.callaway; import static org.junit.Assert.*; import java.io.Serializable; import java.util.HashMap; import java.util.Vector; import org.junit.Test; public class JSONTester { JSONParser parser = new JSONParser(); ToString str = new ToString(); /** * Test the individual values with toStr...
fix tests calling old method
src/edu/grinnell/callaway/JSONTester.java
fix tests calling old method
<ide><path>rc/edu/grinnell/callaway/JSONTester.java <ide> assertEquals("1. JSON string", <ide> "{\"Pro\":{\"FName\":\"Sam\",\"LName\":\"Rebelsky\"}," <ide> + "\"Number\":207,\"Department\":\"CSC\"}", <del> str.toStr(parser.parse("{\"Department\":\"CSC\"," <add> ...
Java
mit
8d083225f8c3d9c4f219d4aa4810ec0a512a6850
0
sxci/java-sdk,qiniu/java-sdk,simon-liubin/java-sdk
package com.qiniu.storage; import com.qiniu.common.QiniuException; import com.qiniu.http.Client; import com.qiniu.http.Response; import com.qiniu.util.StringMap; import java.io.File; import java.io.IOException; import java.io.InputStream; /** * 七牛文件上传管理器,通过该类上传文件时,会自动根据定义的{@link Configuration#putThreshold} * 来判断是采...
src/main/java/com/qiniu/storage/UploadManager.java
package com.qiniu.storage; import com.qiniu.common.QiniuException; import com.qiniu.http.Client; import com.qiniu.http.Response; import com.qiniu.util.StringMap; import java.io.File; import java.io.IOException; import java.io.InputStream; /** * 七牛文件上传管理器,通过该类上传文件时,会自动根据定义的{@link Configuration#putThreshold} * 来判断是采...
update UploadManager second constructor, because it has not init configuration so that NullPointerException will happen ifwhen the configuration be used.
src/main/java/com/qiniu/storage/UploadManager.java
update UploadManager second constructor, because it has not init configuration so that NullPointerException will happen ifwhen the configuration be used.
<ide><path>rc/main/java/com/qiniu/storage/UploadManager.java <ide> } <ide> <ide> public UploadManager(Client client, Recorder recorder) { <add> configuration = new Configuration(); <ide> this.client = client; <ide> this.recorder = recorder; <ide> }
Java
apache-2.0
error: pathspec 'drools-guvnor/src/main/java/org/drools/guvnor/client/qa/testscenarios/ScenarioWidgetComponentCreator.java' did not match any file(s) known to git
e4896e29e1f6c67f8910759a6907caa9421d9da9
1
etirelli/guvnor,porcelli-forks/guvnor,yurloc/guvnor,Rikkola/guvnor,wmedvede/guvnor,cristianonicolai/guvnor,etirelli/guvnor,droolsjbpm/guvnor,kiereleaseuser/guvnor,yurloc/guvnor,mbiarnes/guvnor,adrielparedes/guvnor,adrielparedes/guvnor,nmirasch/guvnor,Rikkola/guvnor,nmirasch/guvnor,porcelli-forks/guvnor,droolsjbpm/guvno...
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
drools-guvnor/src/main/java/org/drools/guvnor/client/qa/testscenarios/ScenarioWidgetComponentCreator.java
splitting up
drools-guvnor/src/main/java/org/drools/guvnor/client/qa/testscenarios/ScenarioWidgetComponentCreator.java
splitting up
<ide><path>rools-guvnor/src/main/java/org/drools/guvnor/client/qa/testscenarios/ScenarioWidgetComponentCreator.java <add>/* <add> * Copyright 2010 JBoss Inc <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> * Yo...
Java
apache-2.0
61d194fc65e5d7504af3aaef310a57512f6f4a9b
0
cwsus/esolutions,cwsus/esolutions,cwsus/esolutions
/** * Copyright (c) 2009 - 2013 By: CWS, Inc. * * All rights reserved. These materials are confidential and * proprietary to CaspersBox Web Services N.A and no part of * these materials should be reproduced, published in any form * by any means, electronic or mechanical, including photocopy * or any information...
web/eSolutions/jars/eSolutions_java_source/src/main/java/com/cws/us/esolutions/controllers/LoginController.java
/** * Copyright (c) 2009 - 2013 By: CWS, Inc. * * All rights reserved. These materials are confidential and * proprietary to CaspersBox Web Services N.A and no part of * these materials should be reproduced, published in any form * by any means, electronic or mechanical, including photocopy * or any information...
revert fixation
web/eSolutions/jars/eSolutions_java_source/src/main/java/com/cws/us/esolutions/controllers/LoginController.java
revert fixation
<ide><path>eb/eSolutions/jars/eSolutions_java_source/src/main/java/com/cws/us/esolutions/controllers/LoginController.java <ide> DEBUGGER.debug("UserAccount: {}", userAccount); <ide> } <ide> <del> HttpSession nSession = null; <del> <ide> switch (userAcc...
Java
apache-2.0
4ca7e442f9f7aa66a04414935d199b814ee6b33c
0
lzxz1234/nutz,dxxfire/nutz,elkan1788/nutz,dxxfire/nutz,dxxfire/nutz,happyday517/nutz,InsideZhou/nutz,yaotj/nutz,ansjsun/nutz,ansjsun/nutz,fengshao0907/nutz,happyday517/nutz,lzxz1234/nutz,ywjno/nutz,nutzam/nutz,yaotj/nutz,sdgdsffdsfff/nutz,007slm/nutz,sdgdsffdsfff/nutz,happyday517/nutz,elkan1788/nutz,livvyguo/nutz,ywjno...
package org.nutz.ioc.impl; import java.util.ArrayList; import java.util.List; import org.nutz.ioc.Ioc2; import org.nutz.ioc.IocContext; import org.nutz.ioc.IocException; import org.nutz.ioc.IocLoader; import org.nutz.ioc.IocMaking; import org.nutz.ioc.ObjectLoadException; import org.nutz.ioc.ObjectMaker; ...
src/org/nutz/ioc/impl/NutIoc.java
package org.nutz.ioc.impl; import java.util.ArrayList; import java.util.List; import org.nutz.ioc.Ioc2; import org.nutz.ioc.IocContext; import org.nutz.ioc.IocException; import org.nutz.ioc.IocLoader; import org.nutz.ioc.IocMaking; import org.nutz.ioc.ObjectLoadException; import org.nutz.ioc.ObjectMaker; ...
git-svn-id: http://nutz.googlecode.com/svn/trunk@814 423f10f2-e3a4-11dd-a6ea-a32d6b26a33d
src/org/nutz/ioc/impl/NutIoc.java
<ide><path>rc/org/nutz/ioc/impl/NutIoc.java <ide> <ide> public void depose() { <ide> context.depose(); <add> if (loader instanceof CachedIocLoader) <add> ((CachedIocLoader)loader).clear(); <ide> if (log.isDebugEnabled()) <ide> log.debug("!!!Ioc is deposed, you can't use it anymore"); <ide> } <ide> <ide> ...
Java
agpl-3.0
4d88005498553e2f340012ee0b5e4e87c36a89f2
0
mukadder/kc,iu-uits-es/kc,geothomasp/kcmit,iu-uits-es/kc,kuali/kc,UniversityOfHawaiiORS/kc,UniversityOfHawaiiORS/kc,ColostateResearchServices/kc,jwillia/kc-old1,geothomasp/kcmit,mukadder/kc,kuali/kc,ColostateResearchServices/kc,jwillia/kc-old1,geothomasp/kcmit,jwillia/kc-old1,kuali/kc,mukadder/kc,geothomasp/kcmit,Colos...
/* * Copyright 2005-2010 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
src/main/java/org/kuali/kra/iacuc/procedures/IacucProtocolProceduresHelper.java
/* * Copyright 2005-2010 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
iacuc procedure display categories fix
src/main/java/org/kuali/kra/iacuc/procedures/IacucProtocolProceduresHelper.java
iacuc procedure display categories fix
<ide><path>rc/main/java/org/kuali/kra/iacuc/procedures/IacucProtocolProceduresHelper.java <ide> setNewIacucProtocolStudyGroupBean(new IacucProtocolStudyGroupBean()); <ide> setNewIacucProcedurePersonResponsible(new IacucProcedurePersonResponsible()); <ide> setAllProcedures(new ArrayList<IacucProc...
JavaScript
mit
682ff75f934981d1bded15f56d3f3ebbab973cf3
0
alexlande/react-router,mhuggins7278/react-router,meraki/react-router,albertolacework/react-router,SpainTrain/react-router,darul75/react-router,lingard/react-router,Gazler/react-router,Takeno/react-router,yanivefraim/react-router,keathley/react-router,cojennin/react-router,juampynr/react-router,carlosmontes/react-router...
var React = require('react'); var mergeInto = require('react/lib/mergeInto'); var invariant = require('react/lib/invariant'); var warning = require('react/lib/warning'); var ExecutionEnvironment = require('react/lib/ExecutionEnvironment'); var URLStore = require('./stores/url-store'); var Path = require('./path'); var...
lib/router.js
var React = require('react'); var mergeInto = require('react/lib/mergeInto'); var invariant = require('react/lib/invariant'); var warning = require('react/lib/warning'); var ExecutionEnvironment = require('react/lib/ExecutionEnvironment'); var URLStore = require('./stores/url-store'); var Path = require('./path'); var...
Ensure routers are only rendered once
lib/router.js
Ensure routers are only rendered once
<ide><path>ib/router.js <ide> * reference to the rendered component. <ide> */ <ide> renderComponent: function (node) { <del> if (!this._component) { <del> if (!URLStore.isSetup() && ExecutionEnvironment.canUseDOM) <del> URLStore.setup('hash'); <del> <del> URLStore.addChangeListener(this.hand...
Java
mit
cca486c40f157700f5ed7e3d8c33bac5e1ae5cb9
0
danielflower/app-runner-router,danielflower/app-runner-router,danielflower/app-runner-router,danielflower/app-runner-router
package com.danielflower.apprunner.router.web.v1; import com.danielflower.apprunner.router.mgmt.Cluster; import com.danielflower.apprunner.router.mgmt.MapManager; import com.danielflower.apprunner.router.mgmt.Runner; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ser...
src/main/java/com/danielflower/apprunner/router/web/v1/RunnerResource.java
package com.danielflower.apprunner.router.web.v1; import com.danielflower.apprunner.router.mgmt.Cluster; import com.danielflower.apprunner.router.mgmt.MapManager; import com.danielflower.apprunner.router.mgmt.Runner; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.ser...
Made maxApps also allowed to be 0 when PUTting a runner
src/main/java/com/danielflower/apprunner/router/web/v1/RunnerResource.java
Made maxApps also allowed to be 0 when PUTting a runner
<ide><path>rc/main/java/com/danielflower/apprunner/router/web/v1/RunnerResource.java <ide> if (isBlank(url)) { <ide> return Response.status(400).entity("No runner URL was specified").build(); <ide> } <del> if (maxApps < 1) { <del> return Response.status(400).entity("The max...
Java
isc
6ffc52f7c38ba3e3a3d9ebce020964cb737ddcd8
0
maandree/sha3sum,maandree/sha3sum
/** * sha3sum – SHA-3 (Keccak) checksum calculator * * Copyright © 2013 Mattias Andrée (maandree@member.fsf.org) * * 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 3 of t...
pure-java/SHA3.java
/** * sha3sum – SHA-3 (Keccak) checksum calculator * * Copyright © 2013 Mattias Andrée (maandree@member.fsf.org) * * 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 3 of t...
m Signed-off-by: Mattias Andrée <3d72f033b30d63e7ff5f0b71398e9c45b66386a1@operamail.com>
pure-java/SHA3.java
m
<ide><path>ure-java/SHA3.java <ide> int ptr = 0; <ide> <ide> int rr = SHA3.r >> 3; <del> int nn = SHA3.n >> 3; <add> int nn = (SHA3.n + 7) >> 3; <ide> int ww = SHA3.w >> 3; <ide> <ide> /* Absorbing phase */
Java
mit
cbaea5407f4980858a8b192d1b8da5faea0f6e33
0
MitchellAW/Chess-Game
public class Pawn extends Piece { private int[] directions = new int[1]; public Pawn(Position position, String colour) { super(position, colour, 1); if (this.getColour().equals("White")) { this.directions[0] = 1; } else { this.directions[0] = 5; } } public int[] getDirections() { return this.dire...
Pawn.java
public class Pawn extends Piece { private int[] directions = new int[1]; private int maxDistance = 1; public Pawn(Position position, String colour) { super(position, colour, 1); if (this.getColour().equals("White")) { this.directions[0] = 1; } else { this.directions[0] = 5; } } public int[] getDir...
Removed unused variable
Pawn.java
Removed unused variable
<ide><path>awn.java <ide> <ide> public class Pawn extends Piece { <ide> private int[] directions = new int[1]; <del> private int maxDistance = 1; <ide> <ide> public Pawn(Position position, String colour) { <ide> super(position, colour, 1);
Java
mit
67337102eaa5b01da1a9ad2c1f6a48290d4ff044
0
bcroden/QuizDeck-Server
package com.quizdeck.analysis; import com.quizdeck.Application.QuizDeckApplication; import com.quizdeck.analysis.exceptions.AnalysisException; import com.quizdeck.analysis.exceptions.InsufficientDataException; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.SpringApplicatio...
src/test/java/com/quizdeck/analysis/QuizAnalysisFactoryTest.java
package com.quizdeck.analysis; import com.quizdeck.Application.QuizDeckApplication; import com.quizdeck.analysis.exceptions.AnalysisException; import com.quizdeck.analysis.inputs.*; import com.quizdeck.analysis.outputs.QuizAnalysisData; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework...
Make QuizAnalysisFactory unit tests more specific.
src/test/java/com/quizdeck/analysis/QuizAnalysisFactoryTest.java
Make QuizAnalysisFactory unit tests more specific.
<ide><path>rc/test/java/com/quizdeck/analysis/QuizAnalysisFactoryTest.java <ide> <ide> import com.quizdeck.Application.QuizDeckApplication; <ide> import com.quizdeck.analysis.exceptions.AnalysisException; <del>import com.quizdeck.analysis.inputs.*; <del>import com.quizdeck.analysis.outputs.QuizAnalysisData; <add>impor...
Java
mit
727b10de95d4cf3122a55ad788821b3887c0852c
0
sikuli/sikuli-slides,sikuli/sikuli-slides,sikuli/sikuli-slides
/** Khalid */ package org.sikuli.slides.listeners; import java.util.concurrent.atomic.AtomicBoolean; import org.jnativehook.mouse.NativeMouseEvent; import org.jnativehook.mouse.NativeMouseInputListener; import org.sikuli.api.ScreenRegion; import org.sikuli.slides.utils.Constants.DesktopEvent; public class GlobalMouseL...
src/main/java/org/sikuli/slides/listeners/GlobalMouseListeners.java
/** Khalid */ package org.sikuli.slides.listeners; import java.util.concurrent.atomic.AtomicBoolean; import org.jnativehook.mouse.NativeMouseEvent; import org.jnativehook.mouse.NativeMouseInputListener; import org.sikuli.api.ScreenRegion; import org.sikuli.slides.utils.Constants.DesktopEvent; public class GlobalMouseL...
ignore incorrect user input actions
src/main/java/org/sikuli/slides/listeners/GlobalMouseListeners.java
ignore incorrect user input actions
<ide><path>rc/main/java/org/sikuli/slides/listeners/GlobalMouseListeners.java <ide> clicked_y>=y_val && clicked_y<=max_y){ <ide> return true; <ide> } <del> else{ <del> System.out.println("Incorrect. Please perform " + <del> this.desktopEvent.toString()+" on the highlighted area."); <del> } <ide> ret...
Java
mit
5f00d272053bef9f796240d0845393afbfce1f70
0
luksdlt92/SimulacionTPFinal,luksdlt92/SimulacionTPFinal
package com.github.luksdlt92.simulacion.model.instance; import com.github.luksdlt92.simulacion.constant.Seniority; import com.github.luksdlt92.simulacion.fdp.ComplexityPointsDev; public class Team { private static final int DAYS_PER_SPRINT = 10; private final int technology; private final int[] ...
src/main/java/com/github/luksdlt92/simulacion/model/instance/Team.java
package com.github.luksdlt92.simulacion.model.instance; import com.github.luksdlt92.simulacion.constant.Seniority; import com.github.luksdlt92.simulacion.fdp.ComplexityPointsDev; public class Team { private static final int DAYS_PER_SPRINT = 10; private final int technology; private final int[] ...
Cambio calculo de estimatedPoints
src/main/java/com/github/luksdlt92/simulacion/model/instance/Team.java
Cambio calculo de estimatedPoints
<ide><path>rc/main/java/com/github/luksdlt92/simulacion/model/instance/Team.java <ide> } <ide> }*/ <ide> <del> estimatedPoints = new Double(ComplexityPointsDev.getEstimatedPointsPerSprint(this.technology, -1) <del> * hoursWork * DAYS_PER_SPRINT * this.cantDevs() ).intValue(); <add> ...
Java
mit
f81817ba2ef907ecbe5b0ab0e96ffa62b4f1004e
0
kylepelton/snappy
package controllers; import javafx.fxml.FXML; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.control.Alert; import javafx.scene.control.Button; import javafx.scene.control.ButtonType; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.layout.HBox; impor...
src/main/java/controllers/ViewPhotoScreenController.java
package controllers; import javafx.fxml.FXML; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.control.Alert; import javafx.scene.control.Button; import javafx.scene.control.ButtonType; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.layout.HBox; impor...
View Photos screen can open tagging screen
src/main/java/controllers/ViewPhotoScreenController.java
View Photos screen can open tagging screen
<ide><path>rc/main/java/controllers/ViewPhotoScreenController.java <ide> import javafx.scene.layout.HBox; <ide> import javafx.scene.layout.TilePane; <ide> import javafx.scene.text.Text; <add>import javafx.scene.Scene; <ide> import javafx.stage.Stage; <ide> import javafx.beans.value.ObservableValue; <ide> import javafx....
Java
apache-2.0
66b04d6cccf45d033215fcb0494e5157f381c5a2
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
/** * 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...
src/java/org/apache/solr/analysis/ISOLatin1AccentFilterFactory.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...
- svn propset svn:keywords git-svn-id: 3b1ff1236863b4d63a22e4dae568675c2e247730@540849 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/solr/analysis/ISOLatin1AccentFilterFactory.java
- svn propset svn:keywords
<ide><path>rc/java/org/apache/solr/analysis/ISOLatin1AccentFilterFactory.java <ide> /** Factory for ISOLatin1AccentFilter <ide> * $Id$ <ide> */ <del> <ide> public class ISOLatin1AccentFilterFactory extends BaseTokenFilterFactory { <ide> public TokenStream create(TokenStream input) { <ide> return new ISOLatin1...
JavaScript
mit
4bf7141d51e60ef42c6edc45c9cef05c52c60bb1
0
Evidlo/vimperator-labs,seanmorton/vimperator-labs,nathyong/dactyl,Evidlo/vimperator-labs,madand/pentadactyl-pm,airodactyl/airodactyl,nathyong/dactyl,zklinger/vimperator-labs,Quicksaver/vimperator-labs,madand/pentadactyl-pm,airodactyl/dactyl,Kjwon15/dactyl,airodactyl/dactyl,nullren/vimperator-labs,nathyong/dactyl,5digit...
/***** BEGIN LICENSE BLOCK ***** {{{ Version: MPL 1.1/GPL 2.0/LGPL 2.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (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.mozilla.org/MPL/ Software distribu...
content/completion.js
/***** BEGIN LICENSE BLOCK ***** {{{ Version: MPL 1.1/GPL 2.0/LGPL 2.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (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.mozilla.org/MPL/ Software distribu...
Gecko *really* wasnt designed with object member completion in mind. :(
content/completion.js
Gecko *really* wasnt designed with object member completion in mind. :(
<ide><path>ontent/completion.js <ide> let orig = obj; <ide> if (obj.wrappedJSObject) <ide> obj = obj.wrappedJSObject; <del> compl.push([v for (v in this.iter(obj)) if (v[0] in orig)]) <add> compl.push([v for (v in this.iter(obj)) if (v[0]...
Java
mit
e52635588cb60a41c9fe6ec0c279d68468adada7
0
JavaATR/jrpg-2017b-cliente
package mensajeria; import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.swing.JOptionPane; import dominio.Item; import estados.Estado; /** * Clase PaquetePersonaje. */ @SuppressWarnings("serial") public class PaquetePe...
src/main/java/mensajeria/PaquetePersonaje.java
package mensajeria; import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import javax.swing.JOptionPane; import dominio.Item; import estados.Estado; /** * Clase PaquetePersonaje. */ @SuppressWarnings("serial") public class PaquetePe...
Se elimina todo rastro de wereable de Item
src/main/java/mensajeria/PaquetePersonaje.java
Se elimina todo rastro de wereable de Item
<ide><path>rc/main/java/mensajeria/PaquetePersonaje.java <ide> * @param fotoEquipado <ide> * String para asignar foto equipado. <br> <ide> */ <del> public final void anadirItem(final int idItem, final String name, <del> final int wearLocation, final int bonusSalud, <del> ...
Java
apache-2.0
6df91462480c9e421fe1b40293034f301f0ca712
0
cibuddy/cibuddy,cibuddy/cibuddy
/* * Copyright (C) 2012 Mirko Jahn <mirkojahn@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
lights/ibuddy/src/main/java/com/cibuddy/ibuddy/impl/IBuddyLightHandle.java
/* * Copyright (C) 2012 Mirko Jahn <mirkojahn@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Changed default behaviour for not identified i-Buddy device The driver now falls back to the 2nd Generation i-Buddy behaviour instead of doing nothing and throwing an exception. This makes it very likely that unknown i-Buddies are still working, although not tested.
lights/ibuddy/src/main/java/com/cibuddy/ibuddy/impl/IBuddyLightHandle.java
Changed default behaviour for not identified i-Buddy device
<ide><path>ights/ibuddy/src/main/java/com/cibuddy/ibuddy/impl/IBuddyLightHandle.java <ide> buddyFigure = new IBuddyQueen(deviceInfo); <ide> figure = "iBuddyQueen"; <ide> } else { <del> LOG.info("unsupported i-Buddy device: "+deviceInfo); <del> throw new IOException(...
Java
apache-2.0
e0f09524437f88fffbf85d98f582e22ae009da85
0
michael-rapp/AndroidMaterialDialog
/* * Copyright 2014 - 2016 Michael Rapp * * 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...
library/src/main/java/de/mrapp/android/dialog/builder/AbstractButtonBarDialogBuilder.java
/* * Copyright 2014 - 2016 Michael Rapp * * 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...
Added setCustomButtonBar-methods to builder.
library/src/main/java/de/mrapp/android/dialog/builder/AbstractButtonBarDialogBuilder.java
Added setCustomButtonBar-methods to builder.
<ide><path>ibrary/src/main/java/de/mrapp/android/dialog/builder/AbstractButtonBarDialogBuilder.java <ide> import android.content.res.TypedArray; <ide> import android.support.annotation.CallSuper; <ide> import android.support.annotation.ColorInt; <add>import android.support.annotation.LayoutRes; <ide> import android.sup...
Java
apache-2.0
df82ea43d70a091688466cfed74921c43078e95f
0
tabish121/proton4j
/* * 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 ...
protonj2-clients/amqperative-client/src/main/java/org/messaginghub/amqperative/transport/TcpTransport.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 ...
Avoid boxing a primitive on every write to the Transport
protonj2-clients/amqperative-client/src/main/java/org/messaginghub/amqperative/transport/TcpTransport.java
Avoid boxing a primitive on every write to the Transport
<ide><path>rotonj2-clients/amqperative-client/src/main/java/org/messaginghub/amqperative/transport/TcpTransport.java <ide> @Override <ide> public TcpTransport write(ProtonBuffer output) throws IOException { <ide> checkConnected(output); <del> LOG.trace("Attempted write of: {} bytes", output.getRe...
Java
unknown
87680677655529f2565536c05294f1d6dcfccb12
0
NobleAries/Quotes,NobleAries/MyQuotes,NobleAries/Quotes,NobleAries/MyQuotes
package com.example.quotes; import android.content.ContentValues; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.Date; public class QuotesDatabaseHelper extends SQLiteOpenHelper { private static final String DB_NA...
app/src/main/java/com/example/quotes/QuotesDatabaseHelper.java
package com.example.quotes; import android.content.ContentValues; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.Date; public class QuotesDatabaseHelper extends SQLiteOpenHelper { private static final String DB_NA...
ISSUE-11: Forgot to change 2 names in one more method
app/src/main/java/com/example/quotes/QuotesDatabaseHelper.java
ISSUE-11: Forgot to change 2 names in one more method
<ide><path>pp/src/main/java/com/example/quotes/QuotesDatabaseHelper.java <ide> } <ide> <ide> <del> long insertAuthor(SQLiteDatabase db, String name, String surname){ <add> long insertAuthor(SQLiteDatabase db, String firstName, String lastName){ <ide> ContentValues values = new ContentValues(); <del>...
Java
mit
4d7aee95ba186f66478384573bde251d55b31265
0
lelloman/android-lousyaudiolibrary,lelloman/android-lousyaudiolibrary,lelloman/android-lousyaudiolibrary
package com.lelloman.lousyaudiolibrary.player; import com.lelloman.lousyaudiolibrary.algorithm.phasevocoder.IPhaseVocoder; import com.lelloman.lousyaudiolibrary.algorithm.phasevocoder.NativePhaseVocoder; import com.lelloman.lousyaudiolibrary.reader.IAudioReader; import java.nio.ByteBuffer; public class SlowAudioPlay...
library/src/main/java/com/lelloman/lousyaudiolibrary/player/SlowAudioPlayer.java
package com.lelloman.lousyaudiolibrary.player; import com.lelloman.lousyaudiolibrary.algorithm.phasevocoder.IPhaseVocoder; import com.lelloman.lousyaudiolibrary.algorithm.phasevocoder.NativePhaseVocoder; import com.lelloman.lousyaudiolibrary.reader.IAudioReader; import java.nio.ByteBuffer; public class SlowAudioPlay...
SlowAudioPlayer new constructor + actually use framesize hop and scale
library/src/main/java/com/lelloman/lousyaudiolibrary/player/SlowAudioPlayer.java
SlowAudioPlayer new constructor + actually use framesize hop and scale
<ide><path>ibrary/src/main/java/com/lelloman/lousyaudiolibrary/player/SlowAudioPlayer.java <ide> <ide> protected static final int DEFAULT_FRAME_SIZE = 4096 * 8; <ide> protected static final int DEFAULT_HOP = DEFAULT_FRAME_SIZE / 8; <del> protected static final float SCALE = .5f; <add> protected static final float DE...
JavaScript
apache-2.0
46c028e030fd8cb58a4495a645d8c4680238f238
0
c4fcm/MediaMeter-Mentions,c4fcm/MediaMeter-Skeleton,c4fcm/MediaMeter-Frequency,c4fcm/MediaMeter-Skeleton,c4fcm/MediaMeter-Dashboard,c4fcm/MediaMeter-Mentions,c4fcm/MediaMeter-Dashboard,c4fcm/MediaMeter-Frequency,c4fcm/MediaMeter-Dashboard,c4fcm/MediaMeter-Skeleton
/** * View base class that automatically cleans up its sub-views. */ App.NestedView = Backbone.View.extend({ close: function () { this.remove(); this.unbind(); this.closeSubViews(); this.onClose(); }, closeSubViews: function () { _.each(this.subViews, function (view...
app/static/views.js
/** * View base class that automatically cleans up its sub-views. */ App.NestedView = Backbone.View.extend({ close: function () { this.remove(); this.unbind(); this.closeSubViews(); this.onClose(); }, closeSubViews: function () { _.each(this.subViews, function (view...
Moves year below axis in histogram, close #49.
app/static/views.js
Moves year below axis in histogram, close #49.
<ide><path>pp/static/views.js <ide> }, <ide> padding: { <ide> top: 20 <del> , bottom: 15 <add> , bottom: 20 <ide> }, <ide> stripeColors: [ <ide> // Month A colors <ide> labelColor: '#000', <ide> labelOpacity: 0.33, <ide> ...
Java
mit
6478f965dfa4891965495474ce3d09da6d6c2482
0
keceli/RMG-Java,nyee/RMG-Java,enochd/RMG-Java,KEHANG/RMG-Java,ReactionMechanismGenerator/RMG-Java,faribas/RMG-Java,enochd/RMG-Java,KEHANG/RMG-Java,rwest/RMG-Java,rwest/RMG-Java,nyee/RMG-Java,enochd/RMG-Java,keceli/RMG-Java,enochd/RMG-Java,keceli/RMG-Java,rwest/RMG-Java,enochd/RMG-Java,connie/RMG-Java,ReactionMechanismG...
//////////////////////////////////////////////////////////////////////////////// // // RMG - Reaction Mechanism Generator // // Copyright (c) 2002-2009 Prof. William H. Green (whgreen@mit.edu) and the // RMG Team (rmg_dev@mit.edu) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of ...
jing/rxnSys/JDASSL.java
//////////////////////////////////////////////////////////////////////////////// // // RMG - Reaction Mechanism Generator // // Copyright (c) 2002-2009 Prof. William H. Green (whgreen@mit.edu) and the // RMG Team (rmg_dev@mit.edu) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of ...
fixed comment
jing/rxnSys/JDASSL.java
fixed comment
<ide><path>ing/rxnSys/JDASSL.java <ide> } <ide> else <ide> info[0] = 1; <del> //5/5/08 gmagoon: (next two lines) for autoflag, get binary 0 or 1 corresponding to boolean true/false <add> //5/5/08 gmagoon: (next two lines) for autoflag, get binary 1 or 0 corresponding to boolean tr...
Java
mit
1c8d7993f4da67964b7923aa0e21c580d4adb23b
0
nemerosa/ontrack,nemerosa/ontrack,nemerosa/ontrack,nemerosa/ontrack,flesire/ontrack,flesire/ontrack,flesire/ontrack,flesire/ontrack,flesire/ontrack,nemerosa/ontrack
package net.nemerosa.ontrack.extension.git.client.impl; import com.google.common.collect.Lists; import net.nemerosa.ontrack.extension.git.client.*; import net.nemerosa.ontrack.extension.git.client.plot.GPlot; import net.nemerosa.ontrack.extension.git.client.plot.GitPlotRenderer; import net.nemerosa.ontrack.extension.g...
ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/client/impl/DefaultGitClient.java
package net.nemerosa.ontrack.extension.git.client.impl; import com.google.common.collect.Lists; import net.nemerosa.ontrack.extension.git.client.*; import net.nemerosa.ontrack.extension.git.client.plot.GPlot; import net.nemerosa.ontrack.extension.git.client.plot.GitPlotRenderer; import net.nemerosa.ontrack.extension.g...
#19 GitHub issue search - using the origin branch as HEAD location since there is no actual working copy
ontrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/client/impl/DefaultGitClient.java
#19 GitHub issue search - using the origin branch as HEAD location since there is no actual working copy
<ide><path>ntrack-extension-git/src/main/java/net/nemerosa/ontrack/extension/git/client/impl/DefaultGitClient.java <ide> // 2 - walking back to the history <ide> <ide> // Gets boundaries <del> ObjectId headObjectId = gitRepository.resolve("HEAD"); <add> ObjectId headObject...
JavaScript
mit
b82f55f9527ff90ab1c2cd481f6f86cc51c1a5f7
0
rogierslag/mjml,mjmlio/mjml,rogierslag/mjml
import MJMLElement from './decorators/MJMLElement' import React, { Component } from 'react' @MJMLElement({ tagName: 'mj-raw' }) class Raw extends Component { getTagName () { const { parentMjml } = this.props let tagName switch (parentMjml.get('tagName')) { case 'mj-column' : tagName = '...
src/components/Raw.js
import MJMLElement from './decorators/MJMLElement' import React, { Component } from 'react' @MJMLElement({ tagName: 'mj-raw' }) class Raw extends Component { render () { const { mjContent } = this.props return ( <tr className="mj-raw" dangerouslySetInnerHTML={{ __html: mjContent() }...
Fix tagName on mj-raw when parent is mj-column
src/components/Raw.js
Fix tagName on mj-raw when parent is mj-column
<ide><path>rc/components/Raw.js <ide> }) <ide> class Raw extends Component { <ide> <add> getTagName () { <add> const { parentMjml } = this.props <add> let tagName <add> <add> switch (parentMjml.get('tagName')) { <add> case 'mj-column' : <add> tagName = 'tr' <add> break <add> <add> def...
Java
mit
b748f4d019abd8557f9042d09fd7b9dc390e3293
0
InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service
package org.innovateuk.ifs.documentation; import org.innovateuk.ifs.address.resource.AddressResource; import org.innovateuk.ifs.project.builder.ProjectResourceBuilder; import org.springframework.restdocs.payload.FieldDescriptor; import java.time.LocalDate; import static java.util.Arrays.asList; import static org.inn...
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/documentation/ProjectDocs.java
package org.innovateuk.ifs.documentation; import org.innovateuk.ifs.address.resource.AddressResource; import org.innovateuk.ifs.project.builder.ProjectResourceBuilder; import org.springframework.restdocs.payload.FieldDescriptor; import java.time.LocalDate; import static java.util.Arrays.asList; import static org.inn...
IFS-6347 fixing unit tests.
ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/documentation/ProjectDocs.java
IFS-6347 fixing unit tests.
<ide><path>fs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/documentation/ProjectDocs.java <ide> fieldWithPath("grantOfferLetterRejectionReason").description("Rejection reason when the Grant Offer Letter has been rejected"), <ide> fieldWithPath("spendProfileSubmittedDate").descrip...
Java
apache-2.0
71e1cadac8eeef54f80465f7c1232db3a0606d29
0
lambdalab/pysonar2,happlebao/pysonar2,happlebao/pysonar2,happlebao/pysonar2,lambdalab/pysonar2,lambdalab/pysonar2
package org.yinwang.pysonar.types; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.yinwang.pysonar.Binding; import org.yinwang.pysonar.ast.Tuple; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.S...
src/main/java/org/yinwang/pysonar/types/UnionType.java
package org.yinwang.pysonar.types; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.yinwang.pysonar.Binding; import org.yinwang.pysonar.ast.Tuple; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.S...
reorder
src/main/java/org/yinwang/pysonar/types/UnionType.java
reorder
<ide><path>rc/main/java/org/yinwang/pysonar/types/UnionType.java <ide> return u; <ide> } else if (v != Type.NONE && u == Type.NONE) { <ide> return v; <del> } else if (v instanceof TupleType && u instanceof TupleType && <del> ((TupleType) v).size() == ((TupleType)...
Java
apache-2.0
baf3723fceb42b82faac77c731b5ab48bc1fa953
0
crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j,crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j,crockpotveggies/deeplearning4j,crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j,xuzhongxing/deeplearning4j,crockpotveggies/deeplearning4j,crockpotveggies/deeplearning4j,xuzhongxing/deeplearning4j...
package org.deeplearning4j.models.word2vec.wordstore; import lombok.Data; import lombok.NonNull; import org.deeplearning4j.models.embeddings.inmemory.InMemoryLookupTable; import org.deeplearning4j.models.embeddings.wordvectors.WordVectors; import org.deeplearning4j.models.sequencevectors.interfaces.SequenceIterator; i...
deeplearning4j-scaleout/deeplearning4j-nlp/src/main/java/org/deeplearning4j/models/word2vec/wordstore/VocabConstructor.java
package org.deeplearning4j.models.word2vec.wordstore; import lombok.Data; import lombok.NonNull; import org.deeplearning4j.models.embeddings.inmemory.InMemoryLookupTable; import org.deeplearning4j.models.embeddings.wordvectors.WordVectors; import org.deeplearning4j.models.sequencevectors.interfaces.SequenceIterator; i...
Switch VocabConstructor.Builder.setEntriesLimit to public
deeplearning4j-scaleout/deeplearning4j-nlp/src/main/java/org/deeplearning4j/models/word2vec/wordstore/VocabConstructor.java
Switch VocabConstructor.Builder.setEntriesLimit to public
<ide><path>eeplearning4j-scaleout/deeplearning4j-nlp/src/main/java/org/deeplearning4j/models/word2vec/wordstore/VocabConstructor.java <ide> * @param limit <ide> * @return <ide> */ <del> protected Builder<T> setEntriesLimit(int limit) { <add> public Builder<T> setEntriesLimit(int...
JavaScript
mit
c21e46992f66c6c0910332aa7918ab3ad809a5c2
0
jmealo/zongji,jmealo/zongji
var MysqlTypes = { 'DECIMAL': 0, 'TINY': 1, 'SHORT': 2, 'LONG': 3, 'FLOAT': 4, 'DOUBLE': 5, 'NULL': 6, 'TIMESTAMP': 7, 'LONGLONG': 8, 'INT24': 9, 'DATE': 10, 'TIME': 11, 'DATETIME': 12, 'YEAR': 13, 'NEWDATE': 14, 'VARCHAR': 15, 'BIT': 16, // Fractional temporal types in MySQL >=5.6.4...
lib/common.js
var MysqlTypes = { 'DECIMAL': 0, 'TINY': 1, 'SHORT': 2, 'LONG': 3, 'FLOAT': 4, 'DOUBLE': 5, 'NULL': 6, 'TIMESTAMP': 7, 'LONGLONG': 8, 'INT24': 9, 'DATE': 10, 'TIME': 11, 'DATETIME': 12, 'YEAR': 13, 'NEWDATE': 14, 'VARCHAR': 15, 'BIT': 16, // Fractional temporal types in MySQL >=5.6.4...
Optimize convertToMySqlType (14x performance improvement)
lib/common.js
Optimize convertToMySqlType (14x performance improvement)
<ide><path>ib/common.js <ide> 'BLOB': 252, <ide> 'VAR_STRING': 253, <ide> 'STRING': 254, <del> 'GEOMETRY': 255, <add> 'GEOMETRY': 255 <add>}; <add> <add>var MysqlCodeTypes = { <add> 0: 'DECIMAL', <add> 1: 'TINY', <add> 2: 'SHORT', <add> 3: 'LONG', <add> 4: 'FLOAT', <add> 5: 'DOUBLE', <add> 6: 'NULL', <ad...
Java
bsd-3-clause
0e3685ddcbc052fef34e5455fb645037176f1b43
0
raptor-chess/raptor-chess-interface,NightSwimming/Raptor-Chess,raptor-chess-interface/raptor-chess-interface,NightSwimming/Raptor-Chess,raptor-chess-interface/raptor-chess-interface,evilwan/raptor-chess-interface,evilwan/raptor-chess-interface,evilwan/raptor-chess-interface,evilwan/raptor-chess-interface,raptor-chess-i...
package raptor.connector.ics.timeseal; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.Socket; import org.apache.commons.lang.StringUtils; import raptor.connector.ics.IcsUtils; import raptor.util.RaptorLogger; public class TimesealSocketMessageProducer ...
raptor/src/raptor/connector/ics/timeseal/TimesealSocketMessageProducer.java
package raptor.connector.ics.timeseal; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.Socket; import org.apache.commons.lang.StringUtils; import raptor.connector.ics.IcsUtils; import raptor.util.RaptorLogger; public class TimesealSocketMessageProducer ...
Reusing byte buffer
raptor/src/raptor/connector/ics/timeseal/TimesealSocketMessageProducer.java
Reusing byte buffer
<ide><path>aptor/src/raptor/connector/ics/timeseal/TimesealSocketMessageProducer.java <ide> */ <ide> protected void messageLoop() { <ide> try { <add> byte[] buffer = new byte[40000]; <ide> while (isConnected()) { <ide> //long start = System.currentTimeMillis(); <del> byte[] buffer = new byte[40000]; <i...
Java
bsd-3-clause
af322bf879774ce9a6a74b1231a2ff055526612c
0
team-worthwhile/worthwhile,team-worthwhile/worthwhile
package edu.kit.iti.formal.pse.worthwhile.interpreter; import static org.junit.Assert.assertTrue; import org.junit.Test; import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider; import edu.kit.iti.formal.pse.worthwhile.model.ast.*; import edu.kit.iti.formal.pse.worthwhile.interpreter.Interpreter; publi...
implementierung/src/worthwhile.interpreter.tests/src/edu/kit/iti/formal/pse/worthwhile/interpreter/InterpreterExecutionEventListenerTest.java
package edu.kit.iti.formal.pse.worthwhile.interpreter; import static org.junit.Assert.assertTrue; import org.junit.Test; import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider; import edu.kit.iti.formal.pse.worthwhile.model.ast.*; import edu.kit.iti.formal.pse.worthwhile.interpreter.Interpreter; publi...
[interpreter.tests] Run the formatter on InterpreterExecutionEventListenerTest.java
implementierung/src/worthwhile.interpreter.tests/src/edu/kit/iti/formal/pse/worthwhile/interpreter/InterpreterExecutionEventListenerTest.java
[interpreter.tests] Run the formatter on InterpreterExecutionEventListenerTest.java
<ide><path>mplementierung/src/worthwhile.interpreter.tests/src/edu/kit/iti/formal/pse/worthwhile/interpreter/InterpreterExecutionEventListenerTest.java <ide> <ide> public boolean test; <ide> public int counter; <del> <add> <ide> @Test <ide> public void testStatementExecutedBooleanVariableDeclaration() { <del> In...
JavaScript
mit
bd2c22d16b4da8417a3746411a15d6132a561eff
0
lorenzoalfieri/atom-molecule-dev-environment,alanzanattadev/atom-molecule-dev-environment,alanzanattadev/atom-molecule-dev-environment,lorenzoalfieri/atom-molecule-dev-environment,alanzanattadev/atom-molecule-dev-environment,lorenzoalfieri/atom-molecule-dev-environment
"use babel"; // @flow import React from "react"; import type { File } from "../Types/types.js"; import CommitPanel from "./CommitPanel"; import { fromJS, Map } from "immutable"; export default class CommitPanelContainer extends React.Component<DefaultProps, Props, State> { state: State; props: Props; static d...
lib/VersionningEpic/CommitFeature/Presenters/CommitPanelContainer.js
"use babel"; // @flow import React from "react"; import type { File } from "../Types/types.js"; import CommitPanel from "./CommitPanel"; import { fromJS, Map } from "immutable"; export default class CommitPanelContainer extends React.Component<DefaultProps, Props, State> { state: State; props: Props; static d...
Added Commit message reset on Commit (#78)
lib/VersionningEpic/CommitFeature/Presenters/CommitPanelContainer.js
Added Commit message reset on Commit (#78)
<ide><path>ib/VersionningEpic/CommitFeature/Presenters/CommitPanelContainer.js <ide> render() { <ide> return ( <ide> <CommitPanel <del> onCommit={() => <add> onCommit={() => { <ide> this.props.onCommit( <ide> this.state.message, <ide> this.state.files.filter(f...
Java
mit
error: pathspec 'src/pp/arithmetic/leetcode/_1046_lastStoneWeight.java' did not match any file(s) known to git
52c0cac44554eb72133fb76d6137a14113ed4a7c
1
pphdsny/ArithmeticTest
package pp.arithmetic.leetcode; import java.util.Arrays; import java.util.LinkedList; import java.util.List; /** * Created by wangpeng on 2019-06-04. * 1046. 最后一块石头的重量 * <p> * 有一堆石头,每块石头的重量都是正整数。 * <p> * 每一回合,从中选出两块最重的石头,然后将它们一起粉碎。假设石头的重量分别为 x 和 y,且 x <= y。那么粉碎的可能结果如下: * <p> * 如果 x == y,那么两块石头都会被完全粉碎; * 如果 x...
src/pp/arithmetic/leetcode/_1046_lastStoneWeight.java
feat(EASY): add _1046_lastStoneWeight
src/pp/arithmetic/leetcode/_1046_lastStoneWeight.java
feat(EASY): add _1046_lastStoneWeight
<ide><path>rc/pp/arithmetic/leetcode/_1046_lastStoneWeight.java <add>package pp.arithmetic.leetcode; <add> <add>import java.util.Arrays; <add>import java.util.LinkedList; <add>import java.util.List; <add> <add>/** <add> * Created by wangpeng on 2019-06-04. <add> * 1046. 最后一块石头的重量 <add> * <p> <add> * 有一堆石头,每块石头的重量都是正整数。...
Java
apache-2.0
abb874be4512744eb0b64c422f8b9c8bb131f8f7
0
racgupta/EasyCharts
package org.racgupta.EasyCharts; public class Styles { private String textDecoration = ""; private String fill = ""; private String stroke = ""; private String fontFamily = ""; private String fontSize = ""; private String name; private String styleCode; public Styles() { } public Styles(String nam...
src/org/racgupta/EasyCharts/Styles.java
package org.racgupta.EasyCharts; public class Styles { private String textDecoration = ""; private String fill = ""; private String stroke = ""; private String fontFamily = ""; private String fontSize = ""; private String name; private String styleCode; public String getTextDecoration() { if (textDecorati...
Added parameterized constructor for the Style with name as arguments Added parameterized constructor for the Style with name as arguments
src/org/racgupta/EasyCharts/Styles.java
Added parameterized constructor for the Style with name as arguments
<ide><path>rc/org/racgupta/EasyCharts/Styles.java <ide> private String name; <ide> private String styleCode; <ide> <add> <add> public Styles() <add> { <add> <add> } <add> <add> public Styles(String name) <add> { <add> this.name = name; <add> } <ide> public String getTextDecoration() { <ide> if (textDecorati...
Java
mit
6b3f71959e71863f92838ad8e79d379f6f6fe1ba
0
captainbupt/Circle-Progress-View
package at.grabner.circleprogress; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Paint.Style; import android.gra...
CircleProgressView/src/main/java/at/grabner/circleprogress/CircleProgressView.java
package at.grabner.circleprogress; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.Paint.Style; import android.gra...
Fix: #14 Removed unnecessary log.
CircleProgressView/src/main/java/at/grabner/circleprogress/CircleProgressView.java
Fix: #14 Removed unnecessary log.
<ide><path>ircleProgressView/src/main/java/at/grabner/circleprogress/CircleProgressView.java <ide> import android.support.annotation.FloatRange; <ide> import android.support.annotation.IntRange; <ide> import android.util.AttributeSet; <del>import android.util.Log; <ide> import android.view.MotionEvent; <ide> import and...
JavaScript
agpl-3.0
c71d8b62b729fd3701c91943046528725f0b4260
0
eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql
var WidgetList = function(elem, widget_definitions) { var widgets = []; var widget_edit_callbacks = []; widget_definitions.forEach(function(conf) { widgets.push({ conf: conf, container: null, display_obj: null }); }); var render = function() { widgets.forEach(function(widget) ...
src/zbase/webui/views/report/widget_list.js
var WidgetList = function(elem, widget_definitions) { var widgets = []; var widget_edit_callbacks = []; widget_definitions.forEach(function(conf) { widgets.push({ conf: conf, container: null, display_obj: null }); }); var render = function() { widgets.forEach(function(widget) ...
WidgetList.updateWidgetConfig
src/zbase/webui/views/report/widget_list.js
WidgetList.updateWidgetConfig
<ide><path>rc/zbase/webui/views/report/widget_list.js <ide> }; <ide> <ide> var updateWidgetConfig = function(widget_id, conf) { <del> //for (var i = 0; i < widgets.length <add> for (var i = 0; i < widgets.length; i++) { <add> if (widgets[i].conf.uuid == widget_id) { <add> widgets[i].conf = conf;...
Java
apache-2.0
4f09bf0ccd437ee73caa03467af449e2af36ea83
0
lburgazzoli/logging-log4j2,GFriedrich/logging-log4j2,lburgazzoli/logging-log4j2,lqbweb/logging-log4j2,lburgazzoli/apache-logging-log4j2,codescale/logging-log4j2,MagicWiz/log4j2,apache/logging-log4j2,GFriedrich/logging-log4j2,GFriedrich/logging-log4j2,xnslong/logging-log4j2,xnslong/logging-log4j2,codescale/logging-log4j...
/* * 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 n...
log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/AppenderComponentBuilder.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 n...
"assembler" -> "builder" vernacular.
log4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/AppenderComponentBuilder.java
"assembler" -> "builder" vernacular.
<ide><path>og4j-core/src/main/java/org/apache/logging/log4j/core/config/builder/api/AppenderComponentBuilder.java <ide> package org.apache.logging.log4j.core.config.builder.api; <ide> <ide> /** <del> * Assembler for constructing Appenders. <add> * Builder for constructing Appenders. <ide> */ <ide> public interface Ap...