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
JavaScript
mit
cd5f54429efbf31bb9548ae7c8a895c2d1d8cd0c
0
junwatu/blogel,junwatu/blogel,junwatu/blogel
/* @flow */ 'use strict' import moment from 'moment' import type { Post, PostCreated } from '../core/types.js' import { compile } from '../core/compile' import { Logger } from '../logger' import { savePost, getAllPost, getPostById, updateThePost } from '../db.js' const app = require('../../package.json') const stript...
server/routes/api.js
/* @flow */ 'use strict' import moment from 'moment' import type { Post, PostCreated } from '../core/types.js' import { compile } from '../core/compile' import { Logger } from '../logger' import { savePost, getAllPost, getPostById, updateThePost } from '../db.js' const app = require('../../package.json') const stript...
Move API to api.js
server/routes/api.js
Move API to api.js
<ide><path>erver/routes/api.js <ide> updateThePost(doc).then((result) => res.json(result)) <ide> } <ide> <del> <add> listPostsAPI (req: any, res: any) { <add> getAllPost().then((result) => { <add> res.json(result) <add> }, (err) => console.log(err)) <add> } <add> <add> listDraftPostsAPI (req: a...
Java
epl-1.0
253d342eb02c5f87bf16fe3a0a40d3e5eed82c3d
0
codenvy/plugin-datasource,codenvy/plugin-datasource
/* * CODENVY CONFIDENTIAL * __________________ * * [2013] - [2014] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to Coden...
codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherPresenter.java
/* * CODENVY CONFIDENTIAL * __________________ * * [2013] - [2014] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to Coden...
Add textarea for the result zone
codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherPresenter.java
Add textarea for the result zone
<ide><path>odenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherPresenter.java <ide> private DatasourceManager datasourceManager; <ide> <ide> private TextArea editorArea; <add> private TextArea ...
Java
epl-1.0
db392fbfcbc7def861ca7851971e19311fefe4b3
0
MarcojAdaro/Concu2015,MarcojAdaro/Concu2015
package Modelo; /** * Clase principal del programa * @author Adaro, Barreda, Vogelghj * */ public class Main { /** * @param args */ public static void main(String[] args){ Monitor m = new Monitor(); /* int[] recorrido_v1 = {1, 8, 5, 0, 0}; int[] recorrido_v2 = {1, 9, 10, 5, 0};...
FINAL/src/Modelo/Main.java
package Modelo; import java.io.FileNotFoundException; import java.io.IOException; /** * Clase principal del programa * @author Adaro, Barreda, Vogel * */ public class Main { /** * * @param args */ public static void main(String[] args){ Monitor m = new Monitor(); /* int[] re...
gfjgfhgf
FINAL/src/Modelo/Main.java
gfjgfhgf
<ide><path>INAL/src/Modelo/Main.java <ide> package Modelo; <ide> <del>import java.io.FileNotFoundException; <del>import java.io.IOException; <ide> <ide> /** <ide> * Clase principal del programa <del> * @author Adaro, Barreda, Vogel <add> * @author Adaro, Barreda, Vogelghj <ide> * <ide> */ <ide> public class Main {...
Java
mit
9731dc1e8ea7a44d904b6d147d63befa236fc78b
0
orionlee/aBrightnessQS,orionlee/aBrightnessQS
package net.oldev.aBrightnessQS; import android.content.DialogInterface; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.text.InputType; import android.view.KeyEvent; import android.view.View; import android.view.inputmethod.EditorInfo; import androi...
app/src/main/java/net/oldev/aBrightnessQS/MainActivity.java
package net.oldev.aBrightnessQS; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.content.DialogInterface; import android.os.Handler; import android.view.View; import android.widget.TextView; import android.widget.EditText; import android.text.InputType; import android.view.in...
Settings UI refactor: encapsulate dialog implementation into an inner class
app/src/main/java/net/oldev/aBrightnessQS/MainActivity.java
Settings UI refactor: encapsulate dialog implementation into an inner class
<ide><path>pp/src/main/java/net/oldev/aBrightnessQS/MainActivity.java <ide> package net.oldev.aBrightnessQS; <ide> <add>import android.content.DialogInterface; <add>import android.os.Bundle; <add>import android.os.Handler; <ide> import android.support.v7.app.AppCompatActivity; <del>import android.os.Bundle; <del>impor...
Java
apache-2.0
c78ba5c24ebef5c39edab49cdb5c4100ace72b35
0
hoge1e3/soyText,hoge1e3/soyText
/* * 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 ...
src/jp/tonyu/soytext2/servlet/Auth.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 ...
Auth.isRoot
src/jp/tonyu/soytext2/servlet/Auth.java
Auth.isRoot
<ide><path>rc/jp/tonyu/soytext2/servlet/Auth.java <ide> String user=(this.user==null?"nobody":this.user); // currentSession().userName(); <ide> return user; <ide> } <add> public boolean isRoot() { <add> return a.isRootUser(user()); <add> } <ide> }
Java
apache-2.0
67d3e7ef3ea9c3c48e294d074121529523f8f3cb
0
WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules
/* * Copyright (c) 2020 LabKey Corporation * * 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...
WNPRC_Purchasing/test/src/org/labkey/test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java
/* * Copyright (c) 2020 LabKey Corporation * * 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...
Fixes for test timing issue (#154) * Fix for test timing issues. * Waiting for element before clicking
WNPRC_Purchasing/test/src/org/labkey/test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java
Fixes for test timing issue (#154)
<ide><path>NPRC_Purchasing/test/src/org/labkey/test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java <ide> <ide> goToRequesterPage(); <ide> impersonate(REQUESTER_USER_1); <del> clickButton("Create Request"); <add> waitAndClickAndWait(Locator.linkWithText("Create Request")); <ide> ...
Java
apache-2.0
15b312cf975e7a63a4664638b5cc458fa6804842
0
dkcreinoso/jitsi,laborautonomo/jitsi,ibauersachs/jitsi,dkcreinoso/jitsi,bebo/jitsi,laborautonomo/jitsi,ringdna/jitsi,jitsi/jitsi,Metaswitch/jitsi,martin7890/jitsi,marclaporte/jitsi,cobratbq/jitsi,jibaro/jitsi,cobratbq/jitsi,marclaporte/jitsi,iant-gmbh/jitsi,gpolitis/jitsi,mckayclarey/jitsi,459below/jitsi,level7systems/...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.slick.protocol.sip; import junit.framework.*; import net.java.sip.communicator.util.*; import net.java.sip.communicator.servic...
test/net/java/sip/communicator/slick/protocol/sip/TestOperationSetBasicTelephonySipImpl.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.slick.protocol.sip; import junit.framework.*; import net.java.sip.communicator.util.*; import net.java.sip.communicator.servic...
Renames CallParticipant to CallPeer so that it would better reflect our new Call architecture that also includes conferencing and ConferenceMembers
test/net/java/sip/communicator/slick/protocol/sip/TestOperationSetBasicTelephonySipImpl.java
Renames CallParticipant to CallPeer so that it would better reflect our new Call architecture that also includes conferencing and ConferenceMembers
<ide><path>est/net/java/sip/communicator/slick/protocol/sip/TestOperationSetBasicTelephonySipImpl.java <ide> ,CallEvent.CALL_RECEIVED, callReceivedEvent.getEventID()); <ide> assertNotNull("CallEvent.getSource()", callAtP2); <ide> <del> //verify that call participants are properly cr...
Java
apache-2.0
1dd16354521e40566ddc388609362c6037af80ef
0
signed/intellij-community,mglukhikh/intellij-community,vladmm/intellij-community,semonte/intellij-community,adedayo/intellij-community,Distrotech/intellij-community,suncycheng/intellij-community,amith01994/intellij-community,samthor/intellij-community,wreckJ/intellij-community,SerCeMan/intellij-community,pwoodworth/int...
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-impl/src/org/jetbrains/io/NettyUtil.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
We must not use variable if it is not yet set — we must set channel in "init" handler, but not in "connected" handler. Issue is actual under windows (I don't know why).
platform/platform-impl/src/org/jetbrains/io/NettyUtil.java
We must not use variable if it is not yet set — we must set channel in "init" handler, but not in "connected" handler. Issue is actual under windows (I don't know why).
<ide><path>latform/platform-impl/src/org/jetbrains/io/NettyUtil.java <ide> return bootstrap; <ide> } <ide> <add> @SuppressWarnings("UnusedDeclaration") <ide> public static Bootstrap nioClientBootstrap() { <ide> Bootstrap bootstrap = new Bootstrap().group(new NioEventLoopGroup(1, PooledThreadExecutor.INSTA...
Java
apache-2.0
cd9c91b0830b3b49baa27f5c426ff5fe7b093739
0
dragonsKnight5/aquatic-roster-database-setup-and-configuration
/* * Copyright 2016 james. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
src/dbConnection.java
/* * Copyright 2016 james. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
progress update
src/dbConnection.java
progress update
<ide><path>rc/dbConnection.java <ide> public boolean databaseGrants(String network, String databaseUser) <ide> { <ide> int count = 1; <del> String command = "grant select, insert, delete, alter on staff.* to \'" + databaseUser + "\'@\'" + network +"\'"; <add> String command = "grant s...
Java
apache-2.0
019ca85701b636513d3830587550982c97c52e8f
0
peacekeeper/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,pe...
package org.hyperledger.indy.sdk.crypto; import org.hyperledger.indy.sdk.IndyIntegrationTest; import org.hyperledger.indy.sdk.IndyIntegrationTestWithSingleWallet; import org.hyperledger.indy.sdk.InvalidStructureException; import org.hyperledger.indy.sdk.did.Did; import org.hyperledger.indy.sdk.did.DidResults; import o...
wrappers/java/src/test/java/org/hyperledger/indy/sdk/crypto/PackUnpackMessageTest.java
package org.hyperledger.indy.sdk.crypto; import org.hyperledger.indy.sdk.IndyIntegrationTest; import org.hyperledger.indy.sdk.IndyIntegrationTestWithSingleWallet; import org.hyperledger.indy.sdk.InvalidStructureException; import org.hyperledger.indy.sdk.did.Did; import org.hyperledger.indy.sdk.did.DidResults; import o...
finishes tests Signed-off-by: matt raffel <a1c361500f8f28827fe56351c610aa9d1ba26ce8@evernym.com>
wrappers/java/src/test/java/org/hyperledger/indy/sdk/crypto/PackUnpackMessageTest.java
finishes tests
<ide><path>rappers/java/src/test/java/org/hyperledger/indy/sdk/crypto/PackUnpackMessageTest.java <ide> public class PackUnpackMessageTest extends IndyIntegrationTestWithSingleWallet { <ide> <ide> @Test <del> public void testPackMessage() throws Exception { <add> public void testPackMessageSuccessfully() thro...
Java
lgpl-2.1
f4a29a313b81099ff749a95f032cf2ee866a892b
0
sbliven/biojava,sbliven/biojava,sbliven/biojava
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
biojava3-structure/src/main/java/org/biojava/bio/structure/io/PDBFileReader.java
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
making field public git-svn-id: ed25c26de1c5325e8eb0deed0b990ab8af8a4def@9804 7c6358e6-4a41-0410-a743-a5b2a554c398
biojava3-structure/src/main/java/org/biojava/bio/structure/io/PDBFileReader.java
making field public
<ide><path>iojava3-structure/src/main/java/org/biojava/bio/structure/io/PDBFileReader.java <ide> private static final String LOCAL_BIO_ASSEMBLY_DIRECTORY = "bio_assembly"; <ide> FileParsingParameters params ; <ide> <del> private static final long lastRemediationDate ; <add> public static final long lastRemediationDa...
Java
mit
9853a694c5befe167d6e482bd05c15c33f2901ef
0
Telerik-Verified-Plugins/PushNotification,Telerik-Verified-Plugins/PushNotification,Telerik-Verified-Plugins/PushNotification,Telerik-Verified-Plugins/PushNotification,Telerik-Verified-Plugins/PushNotification
package com.plugin.gcm; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.g...
src/android/com/plugin/gcm/CordovaGCMBroadcastReceiver.java
package com.plugin.gcm; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import...
Crash on Android 7 when using 'largeIcon' #88
src/android/com/plugin/gcm/CordovaGCMBroadcastReceiver.java
Crash on Android 7 when using 'largeIcon' #88
<ide><path>rc/android/com/plugin/gcm/CordovaGCMBroadcastReceiver.java <ide> import android.content.Context; <ide> import android.content.Intent; <ide> import android.content.res.Resources; <add>import android.graphics.Bitmap; <add>import android.graphics.BitmapFactory; <ide> import android.graphics.Color; <ide> import ...
Java
mit
fbd9d84f68af0302c502778bc248ea72b5917119
0
NamelessMC/Nameless-Plugin
package com.namelessmc.NamelessBungee.commands; import com.namelessmc.NamelessAPI.NamelessException; import com.namelessmc.NamelessAPI.NamelessPlayer; import com.namelessmc.NamelessBungee.NamelessMessages; import com.namelessmc.NamelessBungee.NamelessPlugin; import net.md_5.bungee.api.ChatColor; import net.md_5.bunge...
NamelessBungee/src/com/namelessmc/NamelessBungee/commands/RegisterCommand.java
package com.namelessmc.NamelessBungee.commands; import com.namelessmc.namelessplugin.bungeecord.NamelessPlugin; import com.namelessmc.namelessplugin.bungeecord.API.NamelessAPI; import com.namelessmc.namelessplugin.bungeecord.API.Player.NamelessPlayer; import com.namelessmc.namelessplugin.bungeecord.API.Utils.NamelessC...
Register command
NamelessBungee/src/com/namelessmc/NamelessBungee/commands/RegisterCommand.java
Register command
<ide><path>amelessBungee/src/com/namelessmc/NamelessBungee/commands/RegisterCommand.java <ide> package com.namelessmc.NamelessBungee.commands; <ide> <del>import com.namelessmc.namelessplugin.bungeecord.NamelessPlugin; <del>import com.namelessmc.namelessplugin.bungeecord.API.NamelessAPI; <del>import com.namelessmc.name...
Java
mit
ff14171e5ba842daaa758a8e290b2170e29a2770
0
miami-acm/arcade-machine-highscore
package edu.miamioh.acm.highscore; public class Player { private int id; private String name; /** * Construct a new Player object with the given id and name. * * @param id The ID number to be given to this Player * @param name The name to be given to this Player */ private Player(int id, String name) { ...
src/main/java/edu/miamioh/acm/highscore/Player.java
package edu.miamioh.acm.highscore; public class Player { private int id; private String name; /** * Construct a new Player object with the given id and name. * * @param id The ID number to be given to this Player * @param name The name to be given to this Player */ private Player(int id, String name) { ...
fix javadoc comment
src/main/java/edu/miamioh/acm/highscore/Player.java
fix javadoc comment
<ide><path>rc/main/java/edu/miamioh/acm/highscore/Player.java <ide> * Search the Player database and if a Player with a matching name exists, <ide> * return that Player, otherwise create it and save to the database. <ide> * <del> * @param name The name to search for in the database <add> * @param id The ID numb...
Java
apache-2.0
27e6d7c9ec4c644c3991c2dfd59e71f276d7ab77
0
sys1yagi/loader_closet
package com.cookpad.android.loadercloset.sample.activities; import com.cookpad.android.loadercloset.sample.R; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.widget.ArrayAdapter; import android.widget.ListView; public class MainActivity extends ActionBarActivity { enum ...
sample/src/main/java/com/cookpad/android/loadercloset/sample/activities/MainActivity.java
package com.cookpad.android.loadercloset.sample.activities; import com.sys1yagi.loadercloset.sample.R; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.widget.ArrayAdapter; import android.widget.ListView; public class MainActivity extends ActionBarActivity { enum Pages ...
Fix package name.
sample/src/main/java/com/cookpad/android/loadercloset/sample/activities/MainActivity.java
Fix package name.
<ide><path>ample/src/main/java/com/cookpad/android/loadercloset/sample/activities/MainActivity.java <ide> package com.cookpad.android.loadercloset.sample.activities; <ide> <del>import com.sys1yagi.loadercloset.sample.R; <add>import com.cookpad.android.loadercloset.sample.R; <ide> <ide> import android.os.Bundle; <ide>...
Java
apache-2.0
94b93b334fc1c32165d0916811ce5f7b41cc85f1
0
telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform
package es.tid.cosmos.mobility; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; import es.tid.cosmos.mobility.btslabelling.BtsLabellingRunner; import es.tid.cosmos.mob...
cosmos/models/mobility/src/main/java/es/tid/cosmos/mobility/MobilityMain.java
package es.tid.cosmos.mobility; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.Path; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; import es.tid.cosmos.mobility.btslabelling.BtsLabellingRunner; import es.tid.cosmos.mob...
Path bug fix.
cosmos/models/mobility/src/main/java/es/tid/cosmos/mobility/MobilityMain.java
Path bug fix.
<ide><path>osmos/models/mobility/src/main/java/es/tid/cosmos/mobility/MobilityMain.java <ide> } <ide> <ide> Path tmpExtractPoisPath = new Path(tmpPath, "extract_pois"); <del> Path clientsInfoPath = new Path(tmpPath, "clients_info"); <add> Path clientsInfoPath = new Path(tmpExtract...
Java
bsd-2-clause
ba108ea8834ac02d3cff2328e997cd0e272bcf43
0
jayantk/jklol,jayantk/jklol,jayantk/jklol,jayantk/jklol
package com.jayantkrish.jklol.cvsm.tree; import java.util.Arrays; import java.util.List; import com.google.common.base.Preconditions; import com.jayantkrish.jklol.cvsm.CvsmGradient; import com.jayantkrish.jklol.cvsm.lrt.LowRankTensor; import com.jayantkrish.jklol.cvsm.lrt.TensorLowRankTensor; import com.jayantkrish.j...
src/com/jayantkrish/jklol/cvsm/tree/CvsmTanhTree.java
package com.jayantkrish.jklol.cvsm.tree; import java.util.Arrays; import java.util.List; import com.google.common.base.Preconditions; import com.jayantkrish.jklol.cvsm.CvsmGradient; import com.jayantkrish.jklol.cvsm.lrt.LowRankTensor; import com.jayantkrish.jklol.cvsm.lrt.TensorLowRankTensor; import com.jayantkrish.j...
fixing tanh derivative (really, this time)
src/com/jayantkrish/jklol/cvsm/tree/CvsmTanhTree.java
fixing tanh derivative (really, this time)
<ide><path>rc/com/jayantkrish/jklol/cvsm/tree/CvsmTanhTree.java <ide> Tensor tanh = getValue().getTensor(); <ide> Tensor nodeGradient = tanh.elementwiseProduct(tanh).elementwiseProduct(-1.0).elementwiseAddition(1.0); <ide> <del> Tensor subtreeGradient = nodeGradient.elementwiseInverse().elementwiseProduct(t...
Java
mit
a0260d30c125ba67f1b0e53f8289559a7f94031d
0
jbannick/hellokata-java,jbannick/hellokata-java
src/modules/simplest/hellomodjar/src/appmod/module-info.java
module appmod { }
Delete module-info.java
src/modules/simplest/hellomodjar/src/appmod/module-info.java
Delete module-info.java
<ide><path>rc/modules/simplest/hellomodjar/src/appmod/module-info.java <del>module appmod { <del> <del>}
Java
agpl-3.0
b23b1e569384f98f359d62d5df0d1a4fe8567364
0
SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart
/* * uIAM - the IAM for microservices * Copyright (C) SoftInstigate Srl * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) an...
security/src/main/java/io/uiam/handlers/exchange/AbstractExchange.java
/* * uIAM - the IAM for microservices * Copyright (C) SoftInstigate Srl * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) an...
AbstractExchange.getWrapped() package access
security/src/main/java/io/uiam/handlers/exchange/AbstractExchange.java
AbstractExchange.getWrapped() package access
<ide><path>ecurity/src/main/java/io/uiam/handlers/exchange/AbstractExchange.java <ide> /** <ide> * @return the wrapped <ide> */ <del> public HttpServerExchange getWrapped() { <add> HttpServerExchange getWrapped() { <ide> return wrapped; <ide> } <ide>
Java
lgpl-2.1
bc8d9bea3ee2d3d7ce6f42fb2cbcb46888637dc0
0
languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool
/* LanguageTool, a natural language style checker * Copyright (C) 2013 Daniel Naber (http://www.danielnaber.de) * * 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 ...
languagetool-wikipedia/src/main/java/org/languagetool/dev/dumpcheck/SentenceSourceChecker.java
/* LanguageTool, a natural language style checker * Copyright (C) 2013 Daniel Naber (http://www.danielnaber.de) * * 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 ...
print total number of sentences in summary at the end
languagetool-wikipedia/src/main/java/org/languagetool/dev/dumpcheck/SentenceSourceChecker.java
print total number of sentences in summary at the end
<ide><path>anguagetool-wikipedia/src/main/java/org/languagetool/dev/dumpcheck/SentenceSourceChecker.java <ide> } finally { <ide> lt.shutdown(); <ide> if (resultHandler != null) { <add> System.out.printf(lang + ": %d total matches\n", ruleMatchCount); <add> System.out.printf(lang + ": %d to...
Java
agpl-3.0
8fae958e245749966ffc14e5f5339ac7feec87f9
0
fayezasar/jPOS,jpos/jPOS,juanibdn/jPOS,alcarraz/jPOS,alcarraz/jPOS,c0deh4xor/jPOS,yinheli/jPOS,yinheli/jPOS,bharavi/jPOS,c0deh4xor/jPOS,jpos/jPOS,bharavi/jPOS,imam-san/jPOS-1,bharavi/jPOS,barspi/jPOS,jpos/jPOS,atancasis/jPOS,barspi/jPOS,yinheli/jPOS,imam-san/jPOS-1,barspi/jPOS,atancasis/jPOS,poynt/jPOS,atancasis/jPOS,j...
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2008 Alejandro P. Revilla * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your ...
jpos6/modules/q2/src/org/jpos/q2/QFactory.java
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2008 Alejandro P. Revilla * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your ...
I'm removing Bharavi's call to e.printStackTrace() because a) we do a lot of Duck Typing and b) the output was going to stdout and got very noisy.
jpos6/modules/q2/src/org/jpos/q2/QFactory.java
I'm removing Bharavi's call to e.printStackTrace() because a) we do a lot of Duck Typing and b) the output was going to stdout and got very noisy.
<ide><path>pos6/modules/q2/src/org/jpos/q2/QFactory.java <ide> throws ConfigurationException <ide> { <ide> try { <del> if(p!=null){ <del> Class[] paramTemplate = { pc }; <del> Method method = obj.getClass().getMethod(m, paramTemplate); <del> Object[] para...
Java
mit
ebaef8aa228cf5529312f9fb750808e48ee96e2f
0
spixi/Dijkstra
/** * ConnectionVisualization * <p> * This widget is a visualization of the airport data model * * @author Marius Spix */ package de.bwv_aachen.dijkstra.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import j...
src/de/bwv_aachen/dijkstra/gui/ConnectionVisualization.java
/** * ConnectionVisualization * <p> * This widget is a visualization of the airport data model * * @author Marius Spix */ package de.bwv_aachen.dijkstra.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import j...
fixed the line color issu
src/de/bwv_aachen/dijkstra/gui/ConnectionVisualization.java
fixed the line color issu
<ide><path>rc/de/bwv_aachen/dijkstra/gui/ConnectionVisualization.java <ide> <ide> public void actionPerformed(ActionEvent ev) { <ide> switch (ev.getActionCommand()) { <del> case "calculate": <add> case "calculate": <add> route = new Pathfinder(startAirpo...
Java
lgpl-2.1
96fe88243b994dbcb9d4e0d335ecf788d2466b13
0
kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe
/** * Test socket timeouts for accept and read for simple stream sockets * * @author Godmar Back <gback@cs.utah.edu> */ import java.net.*; import java.io.*; public class SoTimeout { public static void main(String av[]) throws Exception { final String foo = "foo"; int tryport = 45054; ServerSocket server; ...
test/regression/SoTimeout.java
/** * Test socket timeouts for accept and read for simple stream sockets * * @author Godmar Back <gback@cs.utah.edu> */ import java.net.*; import java.io.*; public class SoTimeout { public static void main(String av[]) throws Exception { final String foo = "foo"; int tryport = 45054; ServerSocket server; ...
* Fixed watchdog timeout.
test/regression/SoTimeout.java
* Fixed watchdog timeout.
<ide><path>est/regression/SoTimeout.java <ide> if (s.equals(foo)) { <ide> System.out.println("Success 4."); <ide> } <add> System.exit(0); <ide> } <ide> } <ide>
JavaScript
agpl-3.0
3500cfd0d90b617a9744173e63e63790cc6588c9
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
/* * (c) Copyright Ascensio System SIA 2010-2017 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its S...
cell/view/WorksheetView.js
/* * (c) Copyright Ascensio System SIA 2010-2017 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its S...
fix Bug 36888
cell/view/WorksheetView.js
fix Bug 36888
<ide><path>ell/view/WorksheetView.js <ide> WorksheetView.prototype.emptySelection = function ( options ) { <ide> // Удаляем выделенные графичекие объекты <ide> if ( this.objectRender.selectedGraphicObjectsExists() ) { <del> this.objectRender.controller.deleteSelectedObjects(); <add> ...
JavaScript
mit
5aa7435cb46a38b12229aa58d7a09eafa7e58424
0
blockstack/blockstack-site,blockstack/blockstack-site
'use strict' import {Component} from 'react' import {Link} from 'react-router' import DocumentTitle from 'react-document-title' import {bindActionCreators} from 'redux' import {connect} from 'react-redux' import {BlogActions} from '../datastore/Blog' import {StatsActions} from '../datastore/Stats' import Im...
app/js/pages/HomePage.js
'use strict' import {Component} from 'react' import {Link} from 'react-router' import DocumentTitle from 'react-document-title' import {bindActionCreators} from 'redux' import {connect} from 'react-redux' import {BlogActions} from '../datastore/Blog' import {StatsActions} from '../datastore/Stats' import Im...
update home page copy
app/js/pages/HomePage.js
update home page copy
<ide><path>pp/js/pages/HomePage.js <ide> <div className="container"> <ide> <section> <ide> <h1 className="modern text-center"> <del> Blockstack gives you a full trustless stack <add> A full trustless stack <ide> </h1...
Java
apache-2.0
a6db56fe023ca749f5cf050abb91a674b9d78cb4
0
riptano/brisk,milliondreams/brisk,milliondreams/brisk,milliondreams/brisk,milliondreams/brisk,riptano/brisk,riptano/brisk,riptano/brisk
/** * 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...
src/java/src/org/apache/cassandra/hadoop/fs/CassandraOutputStream.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...
fix unnessisary allocation
src/java/src/org/apache/cassandra/hadoop/fs/CassandraOutputStream.java
fix unnessisary allocation
<ide><path>rc/java/src/org/apache/cassandra/hadoop/fs/CassandraOutputStream.java <ide> { <ide> nextBlock = new Block(currentBlockUUID, <ide> filePos - bytesWrittenToBlock - pos, bytesWrittenToBlock, <del> subBlocks.toArray(new SubBlock[subBlocks.si...
Java
apache-2.0
2411e5dfef83ade5d58678ae0367a7c2f595a074
0
xmairaa/eiffel-remrem-publish,Ericsson/eiffel-remrem-produce,Ericsson/eiffel-remrem-publish,xmairaa/eiffel-remrem-publish,xumakap/eiffel-remrem-publish,xumakap/eiffel-remrem-publish
/* Copyright 2018 Ericsson AB. For a full list of individual contributors, please see the commit history. 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.or...
publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java
/* Copyright 2018 Ericsson AB. For a full list of individual contributors, please see the commit history. 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.or...
Fixed issue in /generateAndPublish endpoint
publish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java
Fixed issue in /generateAndPublish endpoint
<ide><path>ublish-service/src/main/java/com/ericsson/eiffel/remrem/publish/controller/ProducerController.java <ide> headers.setContentType(MediaType.APPLICATION_JSON); <ide> HttpEntity<String> entity = new HttpEntity<>(bodyJson.toString(), headers); <ide> <del> String postURL = generateURLTempla...
Java
apache-2.0
193b3aeac33ede28198a7e7da53930ffe79559b9
0
diorcety/intellij-community,consulo/consulo,ryano144/intellij-community,ol-loginov/intellij-community,ernestp/consulo,slisson/intellij-community,da1z/intellij-community,supersven/intellij-community,ernestp/consulo,ivan-fedorov/intellij-community,TangHao1987/intellij-community,diorcety/intellij-community,da1z/intellij-c...
package com.intellij.openapi.actionSystem.impl; import com.intellij.ide.DataManager; import com.intellij.ide.impl.DataManagerImpl; import com.intellij.openapi.Disposable; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.actionSystem.ex.ActionButtonLook; import com.intellij.openapi.actionSystem.e...
platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java
package com.intellij.openapi.actionSystem.impl; import com.intellij.ide.DataManager; import com.intellij.ide.impl.DataManagerImpl; import com.intellij.openapi.Disposable; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.actionSystem.ex.ActionButtonLook; import com.intellij.openapi.actionSystem.e...
[revd lesya] Make update actions on setTargetComponent() async, since it otherwise is being called on partially initialized UI classes.
platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java
[revd lesya] Make update actions on setTargetComponent() async, since it otherwise is being called on partially initialized UI classes.
<ide><path>latform-impl/src/com/intellij/openapi/actionSystem/impl/ActionToolbarImpl.java <ide> import com.intellij.openapi.actionSystem.ex.ActionManagerEx; <ide> import com.intellij.openapi.actionSystem.ex.AnActionListener; <ide> import com.intellij.openapi.actionSystem.ex.CustomComponentAction; <add>import com.intell...
JavaScript
agpl-3.0
6c9b75cccb64907a4f07203f8f98a475f620fc0a
0
debiki/debiki-server-old,debiki/debiki-server-old,debiki/debiki-server-old,debiki/debiki-server-old
/* Debiki Utterscroll — dragscroll everywhere, adjusted to run in an <iframe> too. * http://www.debiki.com/dev/utterscroll * * Copyright (c) 2012 - 2013 Kaj Magnus Lindberg (born 1979) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public *...
client/page/scripts/debiki-utterscroll.js
/* Debiki Utterscroll — dragscroll everywhere, adjusted to run in an <iframe> too. * http://www.debiki.com/dev/utterscroll * * Copyright (c) 2012 - 2013 Kaj Magnus Lindberg (born 1979) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public *...
Make <iframe> Utterscroll compatible with jQuery 2.x jQuery 2.x might not have $.browser.
client/page/scripts/debiki-utterscroll.js
Make <iframe> Utterscroll compatible with jQuery 2.x
<ide><path>lient/page/scripts/debiki-utterscroll.js <ide> var mul; <ide> if (distTotal.x > 9){ <ide> mul = Math.log((distTotal.x - 9) / 3); <del> if (mul > 1.7 && $.browser.opera) mul = 1.7; // see comment above <add> if (mul > 1.7 && $.browser && $.browser.opera) mul = 1.7; // see comment abo...
Java
apache-2.0
191f24417919993f01e733ef90fb68d17fc59e08
0
lesfurets/dOOv
/* * Copyright 2017 Courtanet * * 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...
generator/src/main/java/io/doov/gen/ModelMapGenMojo.java
/* * Copyright 2017 Courtanet * * 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...
Fix for class type verification
generator/src/main/java/io/doov/gen/ModelMapGenMojo.java
Fix for class type verification
<ide><path>enerator/src/main/java/io/doov/gen/ModelMapGenMojo.java <ide> Class<? extends T> classToLoad = defaultClass; <ide> if (className != null) { <ide> Class<?> loadedClass = Class.forName(className, true, classLoader); <del> if (!type.isAssignableFrom(type)) { <add> ...
JavaScript
mit
923edadc9225e32241032f9149bb51a690cf8fab
0
nikolay-saskovets/typecode-js,Architizer/typecode-js
/* ============================================================================ >4SESz., _, ,gSEE2zx.,_ .azx ,w. @Sh. "QEE3. JEE3. &ss `*4EEEEE2x.,_ "EEV ,aS5^;dEEEE2x., VEEF _ \E2`_,gF4EEEx.?jF EE5L `*4EEEEE2zpn..ZEEF ;sz. `*EEESzw.w* '|EE. ,dEEF `"?j] _,_ ,_...
lib/Carousel.js
/* ============================================================================ >4SESz., _, ,gSEE2zx.,_ .azx ,w. @Sh. "QEE3. JEE3. &ss `*4EEEEE2x.,_ "EEV ,aS5^;dEEEE2x., VEEF _ \E2`_,gF4EEEx.?jF EE5L `*4EEEEE2zpn..ZEEF ;sz. `*EEESzw.w* '|EE. ,dEEF `"?j] _,_ ,_...
add offset and other tweaks to Carousel
lib/Carousel.js
add offset and other tweaks to Carousel
<ide><path>ib/Carousel.js <ide> elastic_delay: 100, <ide> keyboard: true, <ide> touch: true, <add> offset: 0, <ide> on_before_move: function(instance, info) {}, <ide> on_move: function(instance, info) {} <ide> }, options); <ide> function target_position($panel) { <ide> if (o.vertical) { <ide> ...
Java
apache-2.0
9322f8ec7fe6fe991dfe73bc7fe662aed81c7d67
0
evanchooly/morphia,evanchooly/morphia
package com.google.code.morphia.issue148; import java.util.ArrayList; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.Vector; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.bson.types.Obje...
morphia/src/test/java/com/google/code/morphia/issue148/TestAsListPerf.java
package com.google.code.morphia.issue148; import java.util.ArrayList; import java.util.Date; import java.util.LinkedList; import java.util.List; import java.util.Vector; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.bson.types.Obje...
ignore by default ...
morphia/src/test/java/com/google/code/morphia/issue148/TestAsListPerf.java
ignore by default ...
<ide><path>orphia/src/test/java/com/google/code/morphia/issue148/TestAsListPerf.java <ide> <ide> import org.bson.types.ObjectId; <ide> import org.junit.Assert; <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> <ide> import com.google.code.morphia.Datastore; <ide> import com.mongodb.BasicDBObject; <ide>...
Java
apache-2.0
1f172318ad1cc55026049cac08ffa56f8b4c2ea2
0
akosyakov/intellij-community,amith01994/intellij-community,robovm/robovm-studio,ThiagoGarciaAlves/intellij-community,fitermay/intellij-community,fitermay/intellij-community,asedunov/intellij-community,slisson/intellij-community,apixandru/intellij-community,clumsy/intellij-community,gnuhub/intellij-community,semonte/int...
package com.jetbrains.python.codeInsight.imports; import com.intellij.codeInsight.CodeInsightUtilBase; import com.intellij.codeInsight.daemon.impl.ShowAutoImportPass; import com.intellij.codeInsight.hint.HintManager; import com.intellij.codeInsight.intention.HighPriorityAction; import com.intellij.codeInspection.Local...
python/src/com/jetbrains/python/codeInsight/imports/AutoImportQuickFix.java
package com.jetbrains.python.codeInsight.imports; import com.intellij.codeInsight.CodeInsightUtilBase; import com.intellij.codeInsight.daemon.impl.ShowAutoImportPass; import com.intellij.codeInsight.hint.HintManager; import com.intellij.codeInsight.intention.HighPriorityAction; import com.intellij.codeInspection.Local...
auto-import doesn't hide parameter info (PY-5764)
python/src/com/jetbrains/python/codeInsight/imports/AutoImportQuickFix.java
auto-import doesn't hide parameter info (PY-5764)
<ide><path>ython/src/com/jetbrains/python/codeInsight/imports/AutoImportQuickFix.java <ide> if (ImportFromExistingAction.isResolved(myReference)) { <ide> return false; <ide> } <del> if (HintManager.getInstance().hasShownHintsThatWillHideByOtherHint()) { <add> if (HintManager.getInstance().hasShownHi...
JavaScript
mit
b11c9d35c63548cd1c35828e779e677a1b84452b
0
puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway
$(function () { 'strict mode'; var CONFIG_ITEMS = [ new GroupItem("General Config", legendFactory), new ConfigItem("deviceName", deviceNameInputFactory, inputApply, inputGet, "The general name of the device"), new ConfigItem("configPassword", devicePasswordInputFactory, inputApply, inpu...
web/src/js/script.js
$(function () { 'strict mode'; var CONFIG_ITEMS = [ new GroupItem("General Config", legendFactory), new ConfigItem("deviceName", inputFieldFactory, inputApply, inputGet, "The general name of the device"), new ConfigItem("configPassword", passwordFieldFactory, inputApply, passwordGet, "T...
Frontend: use html5 form data validation
web/src/js/script.js
Frontend: use html5 form data validation
<ide><path>eb/src/js/script.js <ide> <ide> var CONFIG_ITEMS = [ <ide> new GroupItem("General Config", legendFactory), <del> new ConfigItem("deviceName", inputFieldFactory, inputApply, inputGet, "The general name of the device"), <del> new ConfigItem("configPassword", passwordFieldFactory, inp...
JavaScript
mit
cd09857bff09820a1bbee0a9464a6217edf9e442
0
cofacts/rumors-site,cofacts/rumors-site
import { useRef, useEffect } from 'react'; import { makeStyles, withStyles } from '@material-ui/core/styles'; import { Tabs, Tab, Box, Container } from '@material-ui/core'; import SearchIcon from '@material-ui/icons/Search'; import { useRouter } from 'next/router'; import Head from 'next/head'; import getConfig from 'n...
pages/search.js
import { useRef, useEffect } from 'react'; import { makeStyles, withStyles } from '@material-ui/core/styles'; import { Tabs, Tab, Box, Container } from '@material-ui/core'; import SearchIcon from '@material-ui/icons/Search'; import { useRouter } from 'next/router'; import Head from 'next/head'; import getConfig from 'n...
Make production build works by opt-out static build for search pages
pages/search.js
Make production build works by opt-out static build for search pages
<ide><path>ages/search.js <ide> ); <ide> } <ide> <del>export default withApollo()(SearchPage); <add>export default withApollo({ <add> /** <add> * Although this page is mostly not server-rendered, we need this so that publicRuntimeConfig works. <add> * @see https://nextjs.org/docs/api-reference/next.config.js/ru...
Java
apache-2.0
1f5e82ec3b9063f41f24f24c4b8aac58e14b2f6b
0
retomerz/intellij-community,MichaelNedzelsky/intellij-community,fitermay/intellij-community,lucafavatella/intellij-community,vvv1559/intellij-community,michaelgallacher/intellij-community,clumsy/intellij-community,SerCeMan/intellij-community,lucafavatella/intellij-community,ibinti/intellij-community,retomerz/intellij-c...
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/ui/tree/BreakpointItemsTreeController.java
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
http://ea.jetbrains.com/browser/ea_problems/43930
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/ui/tree/BreakpointItemsTreeController.java
http://ea.jetbrains.com/browser/ea_problems/43930
<ide><path>latform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/ui/tree/BreakpointItemsTreeController.java <ide> <ide> public void removeSelectedBreakpoints(Project project) { <ide> final TreePath[] paths = myTreeView.getSelectionPaths(); <add> if (paths == null) return; <ide> final List<Bre...
Java
mit
error: pathspec 'src/exception/MultiCatch.java' did not match any file(s) known to git
ab0b9215aba54cb17ad40e0b1968eead730a9ad6
1
ubbn/CoreJava,tugul/CoreJava
package exception; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.file.FileSystemException; import java.sql.SQLException; /** * - MultiCatch block * introduced in Java 7 * multiple exceptions can be caught in same catch block * those must be unrelated class * * Note: * It is ...
src/exception/MultiCatch.java
Mult-catch is introduced in Java 7
src/exception/MultiCatch.java
Mult-catch is introduced in Java 7
<ide><path>rc/exception/MultiCatch.java <add>package exception; <add> <add>import java.io.FileNotFoundException; <add>import java.io.IOException; <add>import java.nio.file.FileSystemException; <add>import java.sql.SQLException; <add> <add>/** <add> * - MultiCatch block <add> * introduced in Java 7 <add> * multiple exce...
Java
apache-2.0
54fd3895f1d3c694db67bf2b2acd0ceccb57e43e
0
henrichg/PhoneProfiles
package sk.henrichg.phoneprofiles; import android.annotation.SuppressLint; import android.app.Application; import android.app.NotificationChannel; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPre...
phoneProfiles/src/main/java/sk/henrichg/phoneprofiles/PPApplication.java
package sk.henrichg.phoneprofiles; import android.annotation.SuppressLint; import android.app.Application; import android.app.NotificationChannel; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.content.SharedPre...
Changed latest extender version code.
phoneProfiles/src/main/java/sk/henrichg/phoneprofiles/PPApplication.java
Changed latest extender version code.
<ide><path>honeProfiles/src/main/java/sk/henrichg/phoneprofiles/PPApplication.java <ide> static String PACKAGE_NAME; <ide> <ide> static final int VERSION_CODE_EXTENDER_1_0_4 = 60; <del> static final int VERSION_CODE_EXTENDER_2_0 = 70; <add> static final int VERSION_CODE_EXTENDER_2_0 = 80; <ide> stati...
Java
apache-2.0
6c254989ce5177c80f788424be6deb0e01009d38
0
apache/commons-functor,apache/commons-functor
/* * 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/main/java/org/apache/commons/functor/core/IsNotNull.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 ...
fixed checkstyle violations: Type Javadoc comment is missing an @param <T> tag git-svn-id: 7e88b6689c675bf212a536fca2a3ed2c50d982c1@1160398 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/commons/functor/core/IsNotNull.java
fixed checkstyle violations: Type Javadoc comment is missing an @param <T> tag
<ide><path>rc/main/java/org/apache/commons/functor/core/IsNotNull.java <ide> * <code>false</code> iff its argument <ide> * is <code>null</code>. <ide> * <add> * @param <T> the argument type. <ide> * @version $Revision$ $Date$ <ide> * @author Rodney Waldhoff <ide> */
Java
mit
16de4b2ad3011f06495adfd70b31865c2c47543e
0
navinpai/OSMT2013
package org.iiitb.os.os_proj.shell; import org.iiitb.os.os_proj.User; import org.iiitb.os.os_proj.commands.ICommand; import org.iiitb.os.os_proj.controller.Controller; import javax.swing.*; import javax.swing.border.Border; import java.awt.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import ja...
src/main/java/org/iiitb/os/os_proj/shell/Shell.java
package org.iiitb.os.os_proj.shell; import org.iiitb.os.os_proj.User; import org.iiitb.os.os_proj.commands.ICommand; import org.iiitb.os.os_proj.controller.Controller; import javax.swing.*; import javax.swing.border.Border; import java.awt.*; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import ja...
Fixed logout
src/main/java/org/iiitb/os/os_proj/shell/Shell.java
Fixed logout
<ide><path>rc/main/java/org/iiitb/os/os_proj/shell/Shell.java <ide> command.setForeground(new Color(255,255,255)); <ide> command.setText(""); <ide> sudoProcedureOngoing=false; <add> isRoot=true; <ide> ...
Java
apache-2.0
38d118bcb3fee683326c8fe2d40958fd5f2ee8fd
0
bazaarvoice/emodb,bazaarvoice/emodb
package com.bazaarvoice.emodb.blob.db.astyanax; import com.bazaarvoice.emodb.blob.BlobReadConsistency; import com.bazaarvoice.emodb.blob.api.Names; import com.bazaarvoice.emodb.blob.db.MetadataProvider; import com.bazaarvoice.emodb.blob.db.StorageProvider; import com.bazaarvoice.emodb.blob.db.StorageSummary; import co...
blob/src/main/java/com/bazaarvoice/emodb/blob/db/astyanax/AstyanaxStorageProvider.java
package com.bazaarvoice.emodb.blob.db.astyanax; import com.bazaarvoice.emodb.blob.BlobReadConsistency; import com.bazaarvoice.emodb.blob.api.Names; import com.bazaarvoice.emodb.blob.db.MetadataProvider; import com.bazaarvoice.emodb.blob.db.StorageProvider; import com.bazaarvoice.emodb.blob.db.StorageSummary; import co...
PD-183114 tune scan blob metadata logic (#443)
blob/src/main/java/com/bazaarvoice/emodb/blob/db/astyanax/AstyanaxStorageProvider.java
PD-183114 tune scan blob metadata logic (#443)
<ide><path>lob/src/main/java/com/bazaarvoice/emodb/blob/db/astyanax/AstyanaxStorageProvider.java <ide> .getKey(storage.getRowKey(blobId)) <ide> .withColumnRange(start, end, false, Integer.MAX_VALUE)); <ide> <del> StorageSummary summary = toStorageSummary(columns); <add> St...
Java
mit
1673452d30038e7d94722d8441b9b51d7b473739
0
OpenMods/OpenData
package openeye.logic; import java.lang.Thread.UncaughtExceptionHandler; import java.util.*; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import openeye.Log; import openeye.net.GenericSender.FailedToReceive; import openeye.net.GenericSender.Fail...
src/openeye/logic/SenderWorker.java
package openeye.logic; import java.lang.Thread.UncaughtExceptionHandler; import java.util.*; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import openeye.Log; import openeye.net.GenericSender.FailedToReceive; import openeye.net.GenericSender.Fail...
Remove malformed reports
src/openeye/logic/SenderWorker.java
Remove malformed reports
<ide><path>rc/openeye/logic/SenderWorker.java <ide> } <ide> } catch (Exception e) { <ide> // no point of sending those to server <del> Log.warn(e, "Failed to read crash %s", crash.getId()); <add> Log.warn(e, "Failed to read crash %s, removing", crash.getId()); <add> crash.delete(); <ide> } <ide> ...
Java
apache-2.0
2ce246afec10003cfafe83111073094366134fb8
0
mcxiaoke/Android-Next,mcxiaoke/Android-Next
package com.mcxiaoke.next.http; import android.os.Bundle; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.mcxiaoke.next.http.callback.BitmapCallback; import com.mcxiaoke.next.http.callback.FileCallback; import com.mcxiaoke.next.http.callback.HttpCallback; import com.mcxiaoke.next.http.callb...
http/src/main/java/com/mcxiaoke/next/http/HttpQueue.java
package com.mcxiaoke.next.http; import android.os.Bundle; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.mcxiaoke.next.http.callback.BitmapCallback; import com.mcxiaoke.next.http.callback.FileCallback; import com.mcxiaoke.next.http.callback.HttpCallback; import com.mcxiaoke.next.http.callb...
add missing final
http/src/main/java/com/mcxiaoke/next/http/HttpQueue.java
add missing final
<ide><path>ttp/src/main/java/com/mcxiaoke/next/http/HttpQueue.java <ide> public <T> String add(final NextRequest request, <ide> final HttpTransformer<T> transformer, <ide> final HttpCallback<T> callback, <del> Object caller, <add> ...
Java
mit
f709c1956f578bb6ee443066acfd4096f544bd6f
0
mkrause/gx,mkrause/gx
package gx.realtime; import java.util.Map; import java.util.Map.Entry; import java.util.Set; public class Model implements EventTarget { private Document document; private CollaborativeMap<CollaborativeObject> root; private boolean initialized; private boolean canRedo; private boolean canUndo...
src/gx/realtime/Model.java
package gx.realtime; import java.util.Map; import java.util.Map.Entry; import java.util.Set; public class Model implements EventTarget { private Document document; private CollaborativeMap<CollaborativeObject> root; private boolean initialized; private boolean canRedo; private boolean canUndo; private boolean...
Tabs -> spaces.
src/gx/realtime/Model.java
Tabs -> spaces.
<ide><path>rc/gx/realtime/Model.java <ide> import java.util.Set; <ide> <ide> public class Model implements EventTarget { <del> <del> private Document document; <del> private CollaborativeMap<CollaborativeObject> root; <del> private boolean initialized; <del> private boolean canRedo; <del> private boolean canUndo; <de...
Java
apache-2.0
eecde0df7d4c89b8300705e023e207b69cba8162
0
shivawu/topcoder-greed,shivawu/topcoder-greed,fries1/topcoder-greed,fries1/topcoder-greed
package greed.util; import java.io.*; /** * Greed is good! Cheers! */ public class FileSystem { private static final int NUM_BACKUPS = 3; private static final String BUILTIN_PREFIX = "builtin "; public static InputStream getInputStream(String resourcePath) throws FileNotFoundException { Log.i("...
src/main/java/greed/util/FileSystem.java
package greed.util; import java.io.*; /** * Greed is good! Cheers! */ public class FileSystem { private static final int NUM_BACKUPS = 3; private static final String BUILTIN_PREFIX = "builtin "; public static InputStream getInputStream(String resourcePath) throws FileNotFoundException { Log.i("...
Makes getRawFile return a canonical path if possible.
src/main/java/greed/util/FileSystem.java
Makes getRawFile return a canonical path if possible.
<ide><path>rc/main/java/greed/util/FileSystem.java <ide> } <ide> <ide> public static File getRawFile(String relativePath) { <del> return new File(Configuration.getWorkspace() + "/" + relativePath); <add> File f = new File(Configuration.getWorkspace() + "/" + relativePath); <add> try { <ad...
Java
epl-1.0
de0cff3b844dc1bd9ff52d3e851e3ba14008cd9b
0
rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1
package org.eclipse.birt.report.designer.internal.ui.ide.propertyeditor; import org.eclipse.birt.report.designer.core.model.SessionHandleAdapter; import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler; import org.eclipse.birt.report.designer.internal.ui.views.attributes.provider.GroupHyperLinkDescr...
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/propertyeditor/IDEHyperLinkDescriptorProvider.java
package org.eclipse.birt.report.designer.internal.ui.ide.propertyeditor; import org.eclipse.birt.report.designer.core.model.SessionHandleAdapter; import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandler; import org.eclipse.birt.report.designer.internal.ui.views.attributes.provider.HyperLinkDescriptor...
Append a group provider to set hyperlink on all selections.
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/propertyeditor/IDEHyperLinkDescriptorProvider.java
Append a group provider to set hyperlink on all selections.
<ide><path>I/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/internal/ui/ide/propertyeditor/IDEHyperLinkDescriptorProvider.java <ide> <ide> import org.eclipse.birt.report.designer.core.model.SessionHandleAdapter; <ide> import org.eclipse.birt.report.designer.internal.ui.util.ExceptionHandl...
Java
mit
b92b03b2f8ba99a95697ca16d490d2d2cd6f3ce7
0
CyclopsMC/CyclopsCore
package org.cyclops.cyclopscore.client.gui; import com.mojang.blaze3d.matrix.MatrixStack; import com.mojang.blaze3d.systems.RenderSystem; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.player.ClientPlayerEntity; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.render...
src/main/java/org/cyclops/cyclopscore/client/gui/RenderItemExtendedSlotCount.java
package org.cyclops.cyclopscore.client.gui; import com.mojang.blaze3d.platform.GlStateManager; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.player.ClientPlayerEntity; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.renderer.BufferBuilder; import net.minecraft.clie...
Fix RenderItemExtendedSlotCount rendering amount behind item
src/main/java/org/cyclops/cyclopscore/client/gui/RenderItemExtendedSlotCount.java
Fix RenderItemExtendedSlotCount rendering amount behind item
<ide><path>rc/main/java/org/cyclops/cyclopscore/client/gui/RenderItemExtendedSlotCount.java <ide> package org.cyclops.cyclopscore.client.gui; <ide> <del>import com.mojang.blaze3d.platform.GlStateManager; <add>import com.mojang.blaze3d.matrix.MatrixStack; <add>import com.mojang.blaze3d.systems.RenderSystem; <ide> impor...
Java
apache-2.0
24d6978ab87e233b46ebb5f07584d3cdf15208ea
0
onyxbits/TextFiction,onyxbits/TextFiction,onyxbits/TextFiction
package de.onyxbits.textfiction; import java.io.File; import java.io.FilenameFilter; import java.util.Arrays; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.AsyncTask; import android.os.Environment; import android.util.Log; import android.widget....
src/de/onyxbits/textfiction/ImportTask.java
package de.onyxbits.textfiction; import java.io.File; import java.io.FilenameFilter; import java.util.Arrays; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.AsyncTask; import android.os.Environment; import android.util.Log; import android.widget....
Only show the toast if something was succesfully
src/de/onyxbits/textfiction/ImportTask.java
Only show the toast if something was succesfully
<ide><path>rc/de/onyxbits/textfiction/ImportTask.java <ide> * Flags the files in "toImport" that are to be downloaded <ide> */ <ide> private boolean[] selected; <add> <add> /** <add> * Set if we actually did import something <add> */ <add> private boolean didImport=false; <ide> <ide> /** <ide> * The library...
Java
apache-2.0
7ac66d93f5c353014ef5f307ce5912c6e457dccf
0
wso2/product-apim,wso2/product-apim,chamilaadhi/product-apim,chamilaadhi/product-apim,chamilaadhi/product-apim,chamilaadhi/product-apim,wso2/product-apim,chamilaadhi/product-apim,wso2/product-apim,wso2/product-apim
/* * Copyright (c) 2019, WSO2 Inc. (http://wso2.com) 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 re...
modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java
/* * Copyright (c) 2019, WSO2 Inc. (http://wso2.com) 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 re...
Remove wildcard imports
modules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java
Remove wildcard imports
<ide><path>odules/integration/tests-common/integration-test-utils/src/main/java/org/wso2/am/integration/test/impl/RestAPIPublisherImpl.java <ide> import org.wso2.am.integration.clients.publisher.api.v1.ThrottlingPoliciesApi; <ide> import org.wso2.am.integration.clients.publisher.api.v1.UnifiedSearchApi; <ide> import or...
Java
apache-2.0
0f8a21ab9457c422fe971d482282c25c83fa14e3
0
Uni-Sol/batik,Uni-Sol/batik,apache/batik,apache/batik,Uni-Sol/batik,apache/batik,Uni-Sol/batik,Uni-Sol/batik,apache/batik
/***************************************************************************** * Copyright (C) The Apache Software Foundation. All rights reserved. * * ------------------------------------------------------------------------- * * This software is published under the terms of the Apache Software License * * v...
sources/org/apache/batik/bridge/URIResolver.java
/***************************************************************************** * Copyright (C) The Apache Software Foundation. All rights reserved. * * ------------------------------------------------------------------------- * * This software is published under the terms of the Apache Software License * * v...
1) Synced JavaDocs with Implementation. git-svn-id: e944db0f7b5c8f0ae3e1ad43ca99b026751ef0c2@200271 13f79535-47bb-0310-9956-ffa450edef68
sources/org/apache/batik/bridge/URIResolver.java
1) Synced JavaDocs with Implementation.
<ide><path>ources/org/apache/batik/bridge/URIResolver.java <ide> } <ide> <ide> /** <del> * Imports the element referenced by the given URI. <add> * Imports the Element referenced by the given URI on Element <add> * <tt>ref</tt>. <ide> * @param uri The element URI. <add> * @param ref The El...
Java
apache-2.0
04af1b6a293d90c216a8af0e2a36c8864a228156
0
tbeadle/selenium,doungni/selenium,petruc/selenium,rovner/selenium,dcjohnson1989/selenium,livioc/selenium,jsarenik/jajomojo-selenium,lrowe/selenium,petruc/selenium,blackboarddd/selenium,manuelpirez/selenium,misttechnologies/selenium,bayandin/selenium,actmd/selenium,dandv/selenium,Sravyaksr/selenium,amikey/selenium,mach6...
/* Copyright 2011 WebDriver committers Copyright 2011 Software Freedom Conservancy. 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 ...
java/client/src/org/openqa/selenium/support/ui/ExpectedConditions.java
/* Copyright 2011 WebDriver committers Copyright 2011 Software Freedom Conservancy. 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 ...
EranMes: Fixing some ExpectedConditions not catching StaleElementReferenceException and adding expected conditions for selection state. r14940
java/client/src/org/openqa/selenium/support/ui/ExpectedConditions.java
EranMes: Fixing some ExpectedConditions not catching StaleElementReferenceException and adding expected conditions for selection state.
<ide><path>ava/client/src/org/openqa/selenium/support/ui/ExpectedConditions.java <ide> * null. <ide> */ <ide> private static WebElement elementIfVisible(WebElement element) { <del> return element.isDisplayed() ? element : null; <add> try { <add> return element.isDisplayed() ? element : null; ...
Java
agpl-3.0
a7ebb690d5275a45e62c2020a317971cce4402b0
0
Skelril/Aurora
/* * Copyright (c) 2014 Wyatt Childers. * * All Rights Reserved */ package com.skelril.aurora.economic.store; import com.sk89q.commandbook.CommandBook; import com.sk89q.commandbook.commands.PaginatedResult; import com.sk89q.commandbook.session.SessionComponent; import com.sk89q.commandbook.util.entity.player.Play...
src/main/java/com/skelril/aurora/economic/store/AdminStoreComponent.java
/* * Copyright (c) 2014 Wyatt Childers. * * All Rights Reserved */ package com.skelril.aurora.economic.store; import com.sk89q.commandbook.CommandBook; import com.sk89q.commandbook.commands.PaginatedResult; import com.sk89q.commandbook.session.SessionComponent; import com.sk89q.commandbook.util.entity.player.Play...
Fixed a compilation error
src/main/java/com/skelril/aurora/economic/store/AdminStoreComponent.java
Fixed a compilation error
<ide><path>rc/main/java/com/skelril/aurora/economic/store/AdminStoreComponent.java <ide> if (cost < 0) { <ide> throw new CommandException("That item cannot be enchanted!"); <ide> } <del> if (!econ.has(player, cost)) { <add> if (!econ.has(...
Java
epl-1.0
61f7efd08902a21054255951381fbb65dbd90743
0
Beagle-PSE/Beagle,Beagle-PSE/Beagle,Beagle-PSE/Beagle
package de.uka.ipd.sdq.beagle.core; import de.uka.ipd.sdq.beagle.analysis.ResultAnalyser; import java.io.Serializable; /** * Interface for classes that wish to write their state to the Blackboard. The type of the * state object is defined by {@code WRITTEN_TYPE}. * * <p>To illustrate the usage of this interface,...
src/main/java/de/uka/ipd/sdq/beagle/core/BlackboardStorer.java
package de.uka.ipd.sdq.beagle.core; import java.io.Serializable; /** * Interface for classes that wish to write something to the Blackboard. * * @author Joshua Gleitze * @param <WRITTEN_TYPE> * The type of data the BlackboardStorer wants to write to the blackboard. */ public interface BlackboardStore...
Extended documentation of Blackboard Storer
src/main/java/de/uka/ipd/sdq/beagle/core/BlackboardStorer.java
Extended documentation of Blackboard Storer
<ide><path>rc/main/java/de/uka/ipd/sdq/beagle/core/BlackboardStorer.java <ide> package de.uka.ipd.sdq.beagle.core; <add> <add>import de.uka.ipd.sdq.beagle.analysis.ResultAnalyser; <ide> <ide> import java.io.Serializable; <ide> <ide> /** <del> * Interface for classes that wish to write something to the Blackboard. <ad...
JavaScript
mit
6cc4c0efba1b3cb1e6222a64b78307af0fb243b7
0
gtremper/vr-server
#!/usr/bin/env node var WebSocketServer = require('websocket').server; var http = require('http'); var _ = require('underscore') // // Configurations // var PORT = 5000 // // Create and start http server // var server = http.createServer(function(request, response) { console.log((new Date()) + ' Received request ...
index.js
#!/usr/bin/env node var WebSocketServer = require('websocket').server; var http = require('http'); var _ = require('underscore') // // Configurations // var PORT = 5000 // // Create and start http server // var server = http.createServer(function(request, response) { console.log((new Date()) + ' Received request ...
First deserialize message, then serialize wrapper
index.js
First deserialize message, then serialize wrapper
<ide><path>ndex.js <ide> var msg = { <ide> "player": socketID, <ide> "event": "update", <del> "data": message.utf8Data <add> "data": JSON.parse(message.utf8Data) <ide> }; <ide> conn.sendUTF(JSON.stringify(msg)); <ide> }
Java
agpl-3.0
ab903be19bf6d50e268c9932ab4fd265b82c72bf
0
more1/rstudio,piersharding/rstudio,sfloresm/rstudio,edrogers/rstudio,pssguy/rstudio,jrnold/rstudio,jar1karp/rstudio,suribes/rstudio,more1/rstudio,githubfun/rstudio,tbarrongh/rstudio,nvoron23/rstudio,nvoron23/rstudio,jzhu8803/rstudio,jar1karp/rstudio,thklaus/rstudio,more1/rstudio,jrnold/rstudio,maligulzar/Rstudio-instru...
/* * TextEditingTarget.java * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FIT...
src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTarget.java
/* * TextEditingTarget.java * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FIT...
never focus the console after executing code
src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTarget.java
never focus the console after executing code
<ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTarget.java <ide> activeEl.blur(); <ide> docDisplay_.focus(); <ide> <del> boolean focusConsole = false; <ide> String code = docDisplay_.getSelectionValue(); <ide> if (code == null || code.leng...
Java
apache-2.0
2657ed088b939bc34ac883e383426e4bad665ffc
0
baszero/yanel,baszero/yanel,baszero/yanel,wyona/yanel,wyona/yanel,wyona/yanel,baszero/yanel,wyona/yanel,baszero/yanel,wyona/yanel,baszero/yanel,wyona/yanel
/* * Copyright 2007 Wyona */ package org.wyona.yanel.impl.resources.updatefinder; import org.apache.log4j.Category; import org.apache.xml.resolver.tools.CatalogResolver; import org.apache.xml.serializer.Serializer; import org.wyona.yanel.core.Path; import org.wyona.yanel.core.Resource; import org.wyona.yanel.core....
src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/UpdateFinder.java
/* * Copyright 2007 Wyona */ package org.wyona.yanel.impl.resources.updatefinder; import org.apache.log4j.Category; import org.apache.xml.resolver.tools.CatalogResolver; import org.apache.xml.serializer.Serializer; import org.wyona.yanel.core.Path; import org.wyona.yanel.core.Resource; import org.wyona.yanel.core....
missing space added, usecase param introduced, javadoc fixed and logging statement added
src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/UpdateFinder.java
missing space added, usecase param introduced, javadoc fixed and logging statement added
<ide><path>rc/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/updatefinder/UpdateFinder.java <ide> } else { <ide> if (request.getParameter("save-as") != null) { <ide> body = plainRequest(); <del> } else if (request.getParameter("u...
JavaScript
apache-2.0
7426403e31a947e5a1ce22cab57ea8dfa05ef8e8
0
contactlab/contactlab-ui-components,contactlab/contactlab-ui-components
Polymer({ is: 'elekti-mer', properties: { label: { type: String, }, name: { type: String, value: 'elekti' }, options: { type: Array, value: [{value: 0, label: 'Option 1'} ,{value: 1, label: 'Option 2'}] }, default: { type: Number }, value: { type: 'String', readonly: true ...
elekti/script.js
Polymer({ is: 'elekti-mer', properties: { label: { type: String, }, name: { type: String, value: 'elekti' }, options: { type: Array, value: [{value: 0, label: 'Option 1'} ,{value: 1, label: 'Option 2'}] }, default: { type: Number }, value: { type: 'String', readonly: true ...
<elekti-mer> fires a 'change' event when user click on an option
elekti/script.js
<elekti-mer> fires a 'change' event when user click on an option
<ide><path>lekti/script.js <ide> this.input.value = evt.target.innerHTML; <ide> this.value = evt.target.getAttribute('data-value'); <ide> this.activeInput('blur'); <add> this.fire('change'); <ide> }, <ide> handleListVisibility: function(evt){ <ide> this.input.classList.add('active');
Java
apache-2.0
55ddb04f786cb3291667e0c340f3cead09ba99eb
0
vrozov/incubator-apex-core,mt0803/incubator-apex-core,chinmaykolhatkar/incubator-apex-core,PramodSSImmaneni/apex-core,vrozov/incubator-apex-core,PramodSSImmaneni/apex-core,vrozov/apex-core,tushargosavi/apex-core,klynchDS/incubator-apex-core,brightchen/incubator-apex-core,brightchen/apex-core,sandeshh/incubator-apex-cor...
/** * Copyright (c) 2012-2012 Malhar, Inc. * All rights reserved. */ package com.malhartech.stram; import com.malhartech.dag.DAG; import com.malhartech.dag.DAG.Operator; import com.malhartech.dag.GenericTestModule; import com.malhartech.dag.Module; import com.malhartech.dag.ModuleContext; import com.malhartech.dag....
engine/src/test/java/com/malhartech/stram/CheckpointTest.java
/** * Copyright (c) 2012-2012 Malhar, Inc. * All rights reserved. */ package com.malhartech.stram; import java.io.File; import java.net.InetSocketAddress; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.hadoop.fs.FileContext; import org.apache....
removed dependency on scala package.
engine/src/test/java/com/malhartech/stram/CheckpointTest.java
removed dependency on scala package.
<ide><path>ngine/src/test/java/com/malhartech/stram/CheckpointTest.java <ide> * All rights reserved. <ide> */ <ide> package com.malhartech.stram; <del> <del>import java.io.File; <del>import java.net.InetSocketAddress; <del>import java.util.Collections; <del>import java.util.HashMap; <del>import java.util.List; <del>i...
Java
mit
6dc70317da2e7ed304bc9d6e01dd581e1a1fb760
0
dongritengfei/bestpractice
package com.bestpractice.controller; import java.util.List; import org.apache.commons.collections.CollectionUtils; import org.springframework.beans.propertyeditors.CustomNumberEditor; import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.InitBinder; import org.springframewo...
bestpractice-dao-service/src/main/java/com/bestpractice/controller/AbstractRestfullController.java
package com.bestpractice.controller; import java.util.List; import org.apache.commons.collections.CollectionUtils; import org.springframework.beans.propertyeditors.CustomNumberEditor; import org.springframework.web.bind.WebDataBinder; import org.springframework.web.bind.annotation.InitBinder; import org.springframewo...
支持所有的数字类型的默认值绑定
bestpractice-dao-service/src/main/java/com/bestpractice/controller/AbstractRestfullController.java
支持所有的数字类型的默认值绑定
<ide><path>estpractice-dao-service/src/main/java/com/bestpractice/controller/AbstractRestfullController.java <ide> <ide> public abstract class AbstractRestfullController<T extends BaseModel> implements IController<T> { <ide> <del> private static class IntEditor extends CustomNumberEditor { <del> public IntEditor() ...
JavaScript
agpl-3.0
68fd6f8253b08669addd8f85579a101d939621be
0
berdaniera/mapapp,berdaniera/mapapp,berdaniera/mapapp
Number.prototype.round = function(places) { return +(Math.round(this + "e+" + places) + "e-" + places); } var coo; var latd; var lond; var coors; var map = L.map('mapbox').setView([36, -78], 5); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpandmbXliNDBj...
static/js/ellymap.js
Number.prototype.round = function(places) { return +(Math.round(this + "e+" + places) + "e-" + places); } var coo; var latd; var lond; var coors; var map = L.map('mapbox').setView([36, -78], 5); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpandmbXliNDBj...
fixing resize
static/js/ellymap.js
fixing resize
<ide><path>tatic/js/ellymap.js <ide> } <ide> <ide> // change size <del>$('input[name=size]').change( getMapSize() ); <add>$('input[name=size]').change( getMapSize ); <ide> // change orientation <del>$('input[name=orient]').change( getMapSize() ); <add>$('input[name=orient]').change( getMapSize ); <ide> <ide> // check...
Java
lgpl-2.1
85d25808b2bbce018fae1603f3d5a5bae5839c01
0
tomazzupan/wildfly,iweiss/wildfly,rhusar/wildfly,golovnin/wildfly,tadamski/wildfly,tadamski/wildfly,rhusar/wildfly,jstourac/wildfly,99sono/wildfly,iweiss/wildfly,pferraro/wildfly,tomazzupan/wildfly,pferraro/wildfly,iweiss/wildfly,99sono/wildfly,golovnin/wildfly,xasx/wildfly,wildfly/wildfly,golovnin/wildfly,wildfly/wild...
/* * 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/or modify it * unde...
undertow/src/main/java/org/wildfly/extension/undertow/deployment/UndertowDeploymentInfoService.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/or modify it * unde...
ServletContext.getVirtualServerName always returns "localhost" I experimented with the new getVirtualServerName method introduced for interface ServletContext in servlet spec 3.1. The JavaDoc states: Returns the primary name of the virtual host on which this context is deployed. The name may or may not be a valid host...
undertow/src/main/java/org/wildfly/extension/undertow/deployment/UndertowDeploymentInfoService.java
ServletContext.getVirtualServerName always returns "localhost"
<ide><path>ndertow/src/main/java/org/wildfly/extension/undertow/deployment/UndertowDeploymentInfoService.java <ide> d.setDisplayName(mergedMetaData.getDescriptionGroup().getDisplayName()); <ide> } <ide> d.setDeploymentName(deploymentName); <add> d.setHostName(host.getV...
Java
apache-2.0
4d10ba1ebe6a738a6be4b35a25476c05d6f4c645
0
GwtMaterialDesign/gwt-material-table,GwtMaterialDesign/gwt-material-table,GwtMaterialDesign/gwt-material-table
package gwt.material.design.client.data; import gwt.material.design.client.data.component.CategoryComponent; import gwt.material.design.client.data.loader.LoadCallback; import gwt.material.design.client.data.loader.LoadConfig; import gwt.material.design.client.data.loader.LoadResult; import java.util.ArrayList; impor...
src/main/java/gwt/material/design/client/data/MapDataSource.java
package gwt.material.design.client.data; import gwt.material.design.client.data.component.CategoryComponent; import gwt.material.design.client.data.loader.LoadCallback; import gwt.material.design.client.data.loader.LoadConfig; import gwt.material.design.client.data.loader.LoadResult; import java.util.ArrayList; impor...
Make MapDataSource#add Collection rather than List.
src/main/java/gwt/material/design/client/data/MapDataSource.java
Make MapDataSource#add Collection rather than List.
<ide><path>rc/main/java/gwt/material/design/client/data/MapDataSource.java <ide> import gwt.material.design.client.data.loader.LoadResult; <ide> <ide> import java.util.ArrayList; <add>import java.util.Collection; <ide> import java.util.HashMap; <ide> import java.util.List; <ide> import java.util.Map; <ide> } <...
Java
apache-2.0
d50e18e95e020adbbfb18f7032fa2f841eaabe3a
0
kageiit/buck,kageiit/buck,shs96c/buck,LegNeato/buck,brettwooldridge/buck,nguyentruongtho/buck,Addepar/buck,SeleniumHQ/buck,brettwooldridge/buck,LegNeato/buck,brettwooldridge/buck,facebook/buck,shybovycha/buck,shs96c/buck,shybovycha/buck,Addepar/buck,LegNeato/buck,shs96c/buck,clonetwin26/buck,clonetwin26/buck,LegNeato/b...
/* * Copyright 2017-present Facebook, 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...
src/com/facebook/buck/jvm/java/DefaultJavaLibraryBuilder.java
/* * Copyright 2017-present Facebook, 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...
DefaultJavaLibraryBuilder: Inline a bunch of `buildXXX` methods. Summary: These were intended to be overridden by the now-no-longer-needed subclasses. Test Plan: CI Reviewed By: asp2insp fbshipit-source-id: 2d7085e
src/com/facebook/buck/jvm/java/DefaultJavaLibraryBuilder.java
DefaultJavaLibraryBuilder: Inline a bunch of `buildXXX` methods.
<ide><path>rc/com/facebook/buck/jvm/java/DefaultJavaLibraryBuilder.java <ide> <ide> protected final ImmutableSortedSet<BuildRule> getFinalFullJarDeclaredDeps() { <ide> if (finalFullJarDeclaredDeps == null) { <del> finalFullJarDeclaredDeps = buildFinalFullJarDeclaredDeps(); <add> finalFullJarDec...
Java
apache-2.0
068827e6b7d1eec9884e56bcb91e31f8439877a9
0
gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom
/* * Copyright 2016 Crown Copyright * * 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...
stroom-query-api/src/main/java/stroom/query/api/ExpressionOperator.java
/* * Copyright 2016 Crown Copyright * * 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...
Fixed equality
stroom-query-api/src/main/java/stroom/query/api/ExpressionOperator.java
Fixed equality
<ide><path>troom-query-api/src/main/java/stroom/query/api/ExpressionOperator.java <ide> import javax.xml.bind.annotation.XmlElementWrapper; <ide> import javax.xml.bind.annotation.XmlElements; <ide> import javax.xml.bind.annotation.XmlType; <add>import java.util.Arrays; <ide> <ide> @JsonPropertyOrder({"op", "children"}...
JavaScript
mit
b0c1bc975a8de47687199a3d5895b6f94c892dff
0
jonschlinkert/deep-filter-object
'use strict'; var filterObject = require('filter-object'); var isObject = require('isobject'); /** * Expose `deepFilter` */ module.exports = deepFilter; function deepFilter(obj, patterns, options, i) { if (obj == null) { throw new Error('deep-filter-object expects an object'); } if (arguments.length =...
index.js
'use strict'; var filterObject = require('filter-object'); var isObject = require('isobject'); module.exports = function deepFilter(obj, patterns) { if (obj == null) { throw new Error('deep-filter-object expects an object'); } if (arguments.length === 1) { return obj; } obj = filterObject(obj, patt...
optimizations, pass options to filter-object
index.js
optimizations, pass options to filter-object
<ide><path>ndex.js <ide> var filterObject = require('filter-object'); <ide> var isObject = require('isobject'); <ide> <del>module.exports = function deepFilter(obj, patterns) { <add>/** <add> * Expose `deepFilter` <add> */ <add> <add>module.exports = deepFilter; <add> <add> <add>function deepFilter(obj, patterns, opti...
Java
apache-2.0
3004ebf520dd3aeaa158a4ea3908de512b2e41dd
0
MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab,MyRobotLab/myrobotlab
package org.myrobotlab.service; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.repo.ServiceType; import org.myrobotlab.logging.LoggerFactory; import org.myrobotlab.logging.Logging; import org.myrobotlab.logging.LoggingFactory; import org.myrobotlab.service.interfaces.I2CControl; import org.sl...
src/org/myrobotlab/service/Mpu6050.java
package org.myrobotlab.service; import org.myrobotlab.framework.Service; import org.myrobotlab.framework.repo.ServiceType; import org.myrobotlab.logging.LoggerFactory; import org.myrobotlab.logging.Logging; import org.myrobotlab.logging.LoggingFactory; import org.myrobotlab.service.interfaces.I2CControl; import org.sl...
Corrected infinite loop problem.
src/org/myrobotlab/service/Mpu6050.java
Corrected infinite loop problem.
<ide><path>rc/org/myrobotlab/service/Mpu6050.java <ide> chunkSize = MPU6050_DMP_MEMORY_CHUNK_SIZE; <ide> <ide> // make sure we don't go past the data size <del> if (i + chunkSize > dataSize) chunkSize = dataSize - i; <add> if (i + chunkSize > dataSize) <add> {chunkSize = data...
Java
epl-1.0
a3310118044c5b8f4cd05d02ac5b09d5f81413ff
0
ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/...
/* * Copyright (c) 2010 Stiftung Deutsches Elektronen-Synchrotron, * Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY. * * THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS. * WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE WARRANTIES OF MERCHA...
applications/plugins/org.csstudio.archive.common.service.mysqlimpl/src/java/org/csstudio/archive/common/service/mysqlimpl/persistengine/PersistDataWorker.java
/* * Copyright (c) 2010 Stiftung Deutsches Elektronen-Synchrotron, * Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY. * * THIS SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "../AS IS" BASIS. * WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE WARRANTIES OF MERCHA...
o.c.archive.common.service.mysqlimpl: debugged double creation of rescue statements
applications/plugins/org.csstudio.archive.common.service.mysqlimpl/src/java/org/csstudio/archive/common/service/mysqlimpl/persistengine/PersistDataWorker.java
o.c.archive.common.service.mysqlimpl: debugged double creation of rescue statements
<ide><path>pplications/plugins/org.csstudio.archive.common.service.mysqlimpl/src/java/org/csstudio/archive/common/service/mysqlimpl/persistengine/PersistDataWorker.java <ide> @Nonnull final List<T> rescueDataList) { <ide> final Queue<T> queue = handler.getQueue(); <...
Java
epl-1.0
3145d0256518bddec38fe2d141029e034706c266
0
fappel/xiliary,fappel/xiliary,fappel/xiliary,fappel/xiliary
/** * Copyright (c) 2014 - 2017 Frank Appel * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Fran...
com.codeaffine.eclipse.swt.test/src/com/codeaffine/eclipse/swt/util/ReadAndDispatchTest.java
/** * Copyright (c) 2014 - 2017 Frank Appel * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Fran...
Try to fix build problem on Mac of ReadAndDispatchTest
com.codeaffine.eclipse.swt.test/src/com/codeaffine/eclipse/swt/util/ReadAndDispatchTest.java
Try to fix build problem on Mac of ReadAndDispatchTest
<ide><path>om.codeaffine.eclipse.swt.test/src/com/codeaffine/eclipse/swt/util/ReadAndDispatchTest.java <ide> <ide> public class ReadAndDispatchTest { <ide> <del> private static final int DURATION = 10; <del> private static final int SCHEDULE = 10; <add> private static final int DURATION = 50; <add> private static...
Java
mit
e91845db24d78855f9279c4eae824df88b34fc05
0
PrinceOfAmber/CyclicMagic
/******************************************************************************* * The MIT License (MIT) * * Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
src/main/java/com/lothrazar/cyclic/block/crafter/TileCrafter.java
/******************************************************************************* * The MIT License (MIT) * * Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
getContainerItem to output fix
src/main/java/com/lothrazar/cyclic/block/crafter/TileCrafter.java
getContainerItem to output fix
<ide><path>rc/main/java/com/lothrazar/cyclic/block/crafter/TileCrafter.java <ide> ModCyclic.LOGGER.info(i + "getContainerItem " + recipeLeftover.getContainerItem()); <ide> //not just 1 <ide> ItemStack result = recipeLeftover.getContainerItem().copy(); <del> ...
JavaScript
mit
4e33fb760670a2af7dc0d00ebe64eec8ed71ab77
0
Noojuno/ludumdare,sgstair/ludumdare,local-minimum/ludumdare,Noojuno/ludumdare,povrazor/ludumdare,Noojuno/ludumdare,ludumdare/ludumdare,zwrawr/ludumdare,sgstair/ludumdare,Noojuno/ludumdare,povrazor/ludumdare,local-minimum/ludumdare,zwrawr/ludumdare,ludumdare/ludumdare,local-minimum/ludumdare,ludumdare/ludumdare,zwrawr/l...
import {h, Component} from 'preact/preact'; import SVGIcon from 'com/svg-icon/icon'; export default class YoutubeEmbed extends Component { constructor(props) { super(props); this.state = { 'iframe': false }; this.onClick = this.onClick.bind(this); } onClick(e) { this.setState({'ifram...
src/com/autoembed/youtube.js
import {h, Component} from 'preact/preact'; import SVGIcon from 'com/svg-icon/icon'; export default class YoutubeEmbed extends Component { constructor(props) { super(props); this.state = { 'iframe': false }; this.onClick = this.onClick.bind(this); } onClick(e) { this.setState({'ifram...
Fixed youtube autoembed
src/com/autoembed/youtube.js
Fixed youtube autoembed
<ide><path>rc/com/autoembed/youtube.js <ide> <SVGIcon middle>play</SVGIcon> <ide> </div> <ide> <div class="-external"> <del> <a href={props.href} target="_blank"> <add> <a href={props.href} target="_blank" onclick={(e) => {e.stopPropagation();}}> <ide> ...
JavaScript
mit
893443b0b26fb313d7900005601e839050465d2f
0
KleeGroup/focus-core
//Dependencies. import CoreStore from '../CoreStore'; import getDefinition from './definition'; import Immutable from 'immutable'; /** * Class standing for the cartridge store. */ class ApplicationStore extends CoreStore { constructor(conf) { conf = conf || {}; conf.definition = conf.definition ||...
src/store/application/store.js
//Dependencies. import CoreStore from '../CoreStore'; import getDefinition from './definition'; import Immutable from 'immutable'; /** * Class standing for the cartridge store. */ class ApplicationStore extends CoreStore { constructor(conf) { conf = conf || {}; conf.definition = conf.definition ||...
Application Store : mode should be only 0 or 1 (not 2, -1, ...)
src/store/application/store.js
Application Store : mode should be only 0 or 1 (not 2, -1, ...)
<ide><path>rc/store/application/store.js <ide> super(conf); <ide> } <ide> /** <del> * Update the mode value. <del> * @param {object} dataNode - The value of the data. <del> */ <add> * Update the mode value. <add> * @param {object} dataNode - The value of the data. <add> */ <ide> ...
Java
apache-2.0
f3a33673fcc39e3673a1b1e712fb44fcf781d8f5
0
apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin
/* * 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 ...
core-cube/src/main/java/org/apache/kylin/gridtable/GTScanRangePlanner.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 ...
KYLIN-1585 make MAX_HBASE_FUZZY_KEYS in GTScanRangePlanner configurable
core-cube/src/main/java/org/apache/kylin/gridtable/GTScanRangePlanner.java
KYLIN-1585 make MAX_HBASE_FUZZY_KEYS in GTScanRangePlanner configurable
<ide><path>ore-cube/src/main/java/org/apache/kylin/gridtable/GTScanRangePlanner.java <ide> <ide> private static final Logger logger = LoggerFactory.getLogger(GTScanRangePlanner.class); <ide> <del> private static final int MAX_HBASE_FUZZY_KEYS = 100; <del> <ide> protected int maxScanRanges; <add> protect...
Java
mit
c08d2e9d3fbee579236476f843257ce6f7fd2b1b
0
almibe/CodeEditor,almibe/CodeEditor
package org.almibe.codearea; import javafx.beans.property.ReadOnlyBooleanProperty; import javafx.beans.property.ReadOnlyBooleanWrapper; import javafx.beans.property.StringProperty; import javafx.concurrent.Worker; import javafx.scene.Parent; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import ne...
src/main/java/org/almibe/codearea/CodeMirrorArea.java
package org.almibe.codearea; import javafx.beans.property.ReadOnlyBooleanProperty; import javafx.beans.property.ReadOnlyBooleanWrapper; import javafx.beans.property.StringProperty; import javafx.concurrent.Worker; import javafx.scene.Parent; import javafx.scene.web.WebEngine; import javafx.scene.web.WebView; import ne...
removing get available X methods
src/main/java/org/almibe/codearea/CodeMirrorArea.java
removing get available X methods
<ide><path>rc/main/java/org/almibe/codearea/CodeMirrorArea.java <ide> import javafx.scene.web.WebEngine; <ide> import javafx.scene.web.WebView; <ide> import netscape.javascript.JSObject; <del> <del>import java.util.List; <ide> <ide> public class CodeMirrorArea implements CodeArea { <ide> private final WebView webV...
Java
mit
bbf5c61c3947e685e1a962d29f4b0ff0a5a647fd
0
bakaschwarz/modules
package org.yabue.baka.modules; import org.apache.commons.io.FileUtils; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.file.Files; import java.util.Arrays; import java.util.HashMap; import java.util.List; import jav...
src/main/java/org/yabue/baka/modules/ModuleManager.java
package org.yabue.baka.modules; import org.apache.commons.io.FileUtils; import java.io.File; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.file.Files; import java.util.Arrays; import java.util.HashMap; import java.util.List; import jav...
Some more documentation
src/main/java/org/yabue/baka/modules/ModuleManager.java
Some more documentation
<ide><path>rc/main/java/org/yabue/baka/modules/ModuleManager.java <ide> <ide> private static String modulesPackagePath = ModuleManager.class.getPackage().getName(); <ide> <add> /** <add> * These names will be added into a newly generated module configuration file. <add> */ <ide> private static fina...
JavaScript
mit
e47d7603ccec64ca78b920052a8d29f6d4967baf
0
onehilltech/ember-cli-gatekeeper,onehilltech/ember-cli-gatekeeper
import Service from '@ember/service'; import { get, getWithDefault, set } from '@ember/object'; import { isPresent, isNone, isEmpty } from '@ember/utils'; import { getOwner } from '@ember/application'; import { resolve, Promise, reject, all } from 'rsvp'; import { assign } from '@ember/polyfills'; import { KJUR, KEYUT...
addon/services/gatekeeper.js
import Service from '@ember/service'; import { get, getWithDefault, set } from '@ember/object'; import { isPresent, isNone, isEmpty } from '@ember/utils'; import { getOwner } from '@ember/application'; import { resolve, Promise, reject, all } from 'rsvp'; import { assign } from '@ember/polyfills'; import { KJUR, KEYUT...
fix: added reset() methot to the client
addon/services/gatekeeper.js
fix: added reset() methot to the client
<ide><path>ddon/services/gatekeeper.js <ide> * Unauthenticate the client on the platform. <ide> */ <ide> unauthenticate () { <del> return this.signOut (this.accessToken.toString()); <add> return this.signOut (this.accessToken.toString()).then (() => this.reset ()); <add> } <add> <add> /** <add> * Rese...
Java
agpl-3.0
50dcc7346aad36df4af07a36881d72f95bf3135f
0
geothomasp/kcmit,UniversityOfHawaiiORS/kc,geothomasp/kcmit,ColostateResearchServices/kc,iu-uits-es/kc,jwillia/kc-old1,jwillia/kc-old1,kuali/kc,mukadder/kc,UniversityOfHawaiiORS/kc,geothomasp/kcmit,geothomasp/kcmit,iu-uits-es/kc,geothomasp/kcmit,kuali/kc,ColostateResearchServices/kc,jwillia/kc-old1,ColostateResearchServ...
/* * 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 required by...
src/main/java/org/kuali/kra/negotiations/sorting/ActivitySortingType.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 required by...
KRACOEUS-4977: Adding location as a sorting option for activities.
src/main/java/org/kuali/kra/negotiations/sorting/ActivitySortingType.java
KRACOEUS-4977: Adding location as a sorting option for activities.
<ide><path>rc/main/java/org/kuali/kra/negotiations/sorting/ActivitySortingType.java <ide> new MultiComparator<NegotiationActivity>(new Comparator[]{new LastUpdateByComparator(), new LastUpdateComparator()})), <ide> @SuppressWarnings("unchecked") <ide> TU ("Activity Type, Last Update", <del> ...
Java
mit
5152bcc2945384c555e72ea09bb1b502d8a61343
0
opennars/opennars,opennars/opennars,opennars/opennars,opennars/opennars
/* * Copyright (C) 2014 peiwang * * 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 the License, or * (at your option) any later version. * * This program is distribute...
nars_core/nars/inference/TemporalRules.java
/* * Copyright (C) 2014 peiwang * * 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 the License, or * (at your option) any later version. * * This program is distribute...
Comments, and as before. So it is like 1.6.5 but with an interval fix now.
nars_core/nars/inference/TemporalRules.java
Comments, and as before. So it is like 1.6.5 but with an interval fix now.
<ide><path>ars_core/nars/inference/TemporalRules.java <ide> BudgetValue budget4 = BudgetFunctions.forward(truth4, nal); //this one is sequence in sequenceBag, no need to reduce here <ide> <ide> //https://groups.google.com/forum/#!topic/open-nars/0k-TxYqg4Mc <del> /*if(!SucceedingEventsIn...
Java
apache-2.0
971bd20722c788a1918649862a27068808219096
0
lovemomia/mapi,lovemomia/mapi
package cn.momia.mapi.api.v1.course; import cn.momia.api.base.MetaUtil; import cn.momia.api.base.dto.AgeRangeDto; import cn.momia.api.base.dto.SortTypeDto; import cn.momia.api.course.CourseServiceApi; import cn.momia.api.course.SubjectServiceApi; import cn.momia.api.course.dto.CourseCommentDto; import cn.momia.api.cou...
src/main/java/cn/momia/mapi/api/v1/course/SubjectV1Api.java
package cn.momia.mapi.api.v1.course; import cn.momia.api.base.MetaUtil; import cn.momia.api.base.dto.AgeRangeDto; import cn.momia.api.base.dto.SortTypeDto; import cn.momia.api.course.CourseServiceApi; import cn.momia.api.course.SubjectServiceApi; import cn.momia.api.course.dto.CourseCommentDto; import cn.momia.api.cou...
计算优惠后的价格
src/main/java/cn/momia/mapi/api/v1/course/SubjectV1Api.java
计算优惠后的价格
<ide><path>rc/main/java/cn/momia/mapi/api/v1/course/SubjectV1Api.java <ide> return MomiaHttpResponse.SUCCESS; <ide> } <ide> <add> @RequestMapping(value = "/order/coupon", method = RequestMethod.GET) <add> public MomiaHttpResponse coupon(@RequestParam String utoken, <add> ...
Java
apache-2.0
ea02c02394255cbcafff69c15eadd95cadc2c03c
0
CloudSlang/cs-actions,CloudSlang/score-actions,CloudSlang/cs-actions,victorursan/cs-actions
/******************************************************************************* * (c) Copyright 2017 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * T...
cs-http-client/src/main/java/io/cloudslang/content/httpclient/HttpClientAction.java
/******************************************************************************* * (c) Copyright 2017 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * T...
added defaults to the keystore inputs
cs-http-client/src/main/java/io/cloudslang/content/httpclient/HttpClientAction.java
added defaults to the keystore inputs
<ide><path>s-http-client/src/main/java/io/cloudslang/content/httpclient/HttpClientAction.java <ide> httpClientInputs.setX509HostnameVerifier(x509HostnameVerifier); <ide> httpClientInputs.setTrustKeystore(defaultIfEmpty(trustKeystore, DEFAULT_JAVA_KEYSTORE)); <ide> httpClientInputs.setTrustPasswo...
JavaScript
mit
c3b41e308ad97181496baa916cec50eed2d42495
0
vfile/to-vfile
/** * @typedef {import('vfile').VFileValue} Value * @typedef {import('vfile').VFileOptions} Options * @typedef {import('vfile').BufferEncoding} BufferEncoding * * @typedef {number|string} Mode * @typedef {BufferEncoding|{encoding?: null|BufferEncoding, flag?: string}} ReadOptions * @typedef {BufferEncoding|{enco...
lib/index.js
/** * @typedef {import('vfile').VFileValue} Value * @typedef {import('vfile').VFileOptions} Options * @typedef {import('vfile').BufferEncoding} BufferEncoding * * @typedef {number|string} Mode * @typedef {BufferEncoding|{encoding?: null|BufferEncoding, flag?: string}} ReadOptions * @typedef {BufferEncoding|{enco...
Fix `Buffer` type Closes GH-20. Reviewed-by: Christian Murphy <87443399f33738b7ca84788ff25901f64eee28bb@gmail.com> Reviewed-by: Titus Wormer <5a19dbfdb793ef6d212461b3c03b23ad19ae3ed1@gmail.com>
lib/index.js
Fix `Buffer` type
<ide><path>ib/index.js <ide> * @typedef {BufferEncoding|{encoding?: null|BufferEncoding, flag?: string}} ReadOptions <ide> * @typedef {BufferEncoding|{encoding?: null|BufferEncoding, mode: Mode?, flag?: string}} WriteOptions <ide> * <del> * @typedef {string|Uint8Array} Path Path of the file. <del> * @typedef {Path|U...
Java
apache-2.0
46f8473fa7ffb8aafc577e69c3b19bd75ee29b30
0
nus-ncl/services-in-one,nus-ncl/services-in-one
package sg.ncl.service.team.data.jpa; import org.hibernate.annotations.GenericGenerator; import sg.ncl.common.jpa.AbstractEntity; import sg.ncl.service.team.domain.*; import sg.ncl.service.team.web.TeamMemberInfo; import javax.persistence.*; import java.time.ZonedDateTime; import java.util.*; /** * @author Christop...
service-team/src/main/java/sg/ncl/service/team/data/jpa/TeamEntity.java
package sg.ncl.service.team.data.jpa; import org.hibernate.annotations.GenericGenerator; import sg.ncl.common.jpa.AbstractEntity; import sg.ncl.service.team.domain.*; import sg.ncl.service.team.web.TeamMemberInfo; import javax.persistence.*; import java.time.ZonedDateTime; import java.util.ArrayList; import java.util...
use iterator to remove instead of map method
service-team/src/main/java/sg/ncl/service/team/data/jpa/TeamEntity.java
use iterator to remove instead of map method
<ide><path>ervice-team/src/main/java/sg/ncl/service/team/data/jpa/TeamEntity.java <ide> <ide> import javax.persistence.*; <ide> import java.time.ZonedDateTime; <del>import java.util.ArrayList; <del>import java.util.HashMap; <del>import java.util.List; <del>import java.util.Map; <add>import java.util.*; <ide> <ide> /*...
Java
mit
98acd0ce128c71e0dabe79f2d557c6e648e5d40f
0
companieshouse/forms-enablement-api,companieshouse/forms-enablement-api
package com.ch.client; import javax.ws.rs.client.Client; import javax.ws.rs.client.Entity; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.Response; /** * Created by elliott.jenkins on 05/04/2016. */ public final class ClientHelper { private final Client client; public ClientHelper(Client client)...
src/main/java/com/ch/client/ClientHelper.java
package com.ch.client; import com.ch.exception.ConnectionException; import javax.ws.rs.client.Client; import javax.ws.rs.client.Entity; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.Response; /** * Created by elliott.jenkins on 05/04/2016. */ public final class ClientHelper { private final Client...
remove connection exception until it is fixed
src/main/java/com/ch/client/ClientHelper.java
remove connection exception until it is fixed
<ide><path>rc/main/java/com/ch/client/ClientHelper.java <ide> package com.ch.client; <del> <del>import com.ch.exception.ConnectionException; <ide> <ide> import javax.ws.rs.client.Client; <ide> import javax.ws.rs.client.Entity; <ide> */ <ide> public Response postJson(String url, String json) { <ide> final WebT...
Java
bsd-3-clause
782e2b25e3cf415c8895cebe036cca9f30b85b01
0
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
/* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the use...
cdm/src/main/java/thredds/catalog/InvCatalogImpl.java
/* * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the use...
fix debug statement throwing NPE
cdm/src/main/java/thredds/catalog/InvCatalogImpl.java
fix debug statement throwing NPE
<ide><path>dm/src/main/java/thredds/catalog/InvCatalogImpl.java <ide> * @see InvCatalog#findDatasetByID <ide> */ <ide> public void addDatasetByID(InvDatasetImpl ds) { <del> if (ds.getID().startsWith("null")) <add> if (ds.getID() != null && ds.getID().startsWith("null")) <ide> System.out.printf("HEY ...
Java
apache-2.0
fa4bcd441fef305cd6f443c4c7620c84bee3d354
0
kantega/Flyt-cms,kantega/Flyt-cms,kantega/Flyt-cms
/* * Copyright 2010 Kantega AS * * 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...
modules/core/src/java/no/kantega/publishing/common/util/templates/ContentTemplateReader.java
/* * Copyright 2010 Kantega AS * * 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...
AP-1660 git-svn-id: 8def386c603904b39326d3fc08add479b8279298@4816 fd808399-8219-4f14-9d4c-37719d9ec93d
modules/core/src/java/no/kantega/publishing/common/util/templates/ContentTemplateReader.java
AP-1660
<ide><path>odules/core/src/java/no/kantega/publishing/common/util/templates/ContentTemplateReader.java <ide> package no.kantega.publishing.common.util.templates; <ide> <ide> import no.kantega.commons.exception.InvalidFileException; <add>import no.kantega.commons.exception.SystemException; <ide> import no.kantega.commo...
Java
agpl-3.0
80fd089bf61884062b49ca4ba3f735d31042996a
0
objectiveCarlo/player-sdk-native-android,objectiveCarlo/player-sdk-native-android,kaltura/player-sdk-native-android,kaltura/player-sdk-native-android
package com.kaltura.playersdk.players; import android.app.Activity; import android.util.Log; import android.view.Gravity; import com.kaltura.hlsplayersdk.HLSPlayerViewController; import com.kaltura.hlsplayersdk.events.OnDurationChangedListener; import com.kaltura.hlsplayersdk.types.PlayerStates; import com.kaltura.pl...
playerSDK/src/main/java/com/kaltura/playersdk/players/HLSPlayer.java
package com.kaltura.playersdk.players; import android.app.Activity; import android.util.Log; import android.view.Gravity; import com.kaltura.hlsplayersdk.HLSPlayerViewController; import com.kaltura.hlsplayersdk.events.OnDurationChangedListener; import com.kaltura.hlsplayersdk.types.PlayerStates; import com.kaltura.pl...
minor
playerSDK/src/main/java/com/kaltura/playersdk/players/HLSPlayer.java
minor
<ide><path>layerSDK/src/main/java/com/kaltura/playersdk/players/HLSPlayer.java <ide> } <ide> <ide> @Override <add> public void onAudioSwitchingStart(int oldTrackIndex, int newTrackIndex) { <add> mListenerExecutor.executeOnAudioSwitchingStart(oldTrackIndex, newTrackIndex); <add> } <add> <add> @O...
JavaScript
unlicense
a5363f0c4e8379c464147001517e82cf655447c7
0
twolfson/react-playground
// Load in our dependencies import {expect} from 'chai'; import * as httpUtils from '../utils/http'; // Define our tests describe('A GraphQL query request for `echo` via arguments', function () { httpUtils.graphql({ body: ` query { echo(content: "hi") } `, expectedStatusCode: 200 }...
test/server/graphql/query-echo.js
// Load in our dependencies import {expect} from 'chai'; import * as httpUtils from '../utils/http'; // Define our tests describe('A GraphQL query request for `echo`', function () { httpUtils.graphql({ body: ` query { echo(content: "hi") } `, expectedStatusCode: 200 }); it('reus...
Attempting to get variables working with GraphQL
test/server/graphql/query-echo.js
Attempting to get variables working with GraphQL
<ide><path>est/server/graphql/query-echo.js <ide> import * as httpUtils from '../utils/http'; <ide> <ide> // Define our tests <del>describe('A GraphQL query request for `echo`', function () { <add>describe('A GraphQL query request for `echo` via arguments', function () { <ide> httpUtils.graphql({ <ide> body: ` <...
Java
apache-2.0
0bdf4a86e7ce404cd21876911353e0b03b64b80f
0
Amutheezan/product-das,nirandaperera/product-bam,keizer619/product-bam,nirandaperera/product-bam,Amutheezan/product-das,madusankapremaratne/product-das,madusankapremaratne/product-das,nirmal070125/product-bam,liurl3/product-bam,thiliA/product-das,wso2/product-bam,nirandaperera/product-bam,nirmal070125/product-bam,wso2/...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
modules/integration/tests-integration/src/test/java/org/wso2/das/integration/tests/messageconsole/MessageConsoleTestCase.java
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
Fixing intermittent integration test failure on builder
modules/integration/tests-integration/src/test/java/org/wso2/das/integration/tests/messageconsole/MessageConsoleTestCase.java
Fixing intermittent integration test failure on builder
<ide><path>odules/integration/tests-integration/src/test/java/org/wso2/das/integration/tests/messageconsole/MessageConsoleTestCase.java <ide> Thread.sleep(15000); <ide> List<Event> events = new ArrayList<>(100); <ide> for (int i = 0; i < 100; i++) { <del> Event event = new Event(null,...
Java
mpl-2.0
bb818e8cb875e64675628a1af8ecd5bb56f46be8
0
GreenDelta/olca-modules,GreenDelta/olca-modules,GreenDelta/olca-modules
package org.openlca.core.matrix.cache; import java.util.List; import org.openlca.core.database.IDatabase; import org.openlca.core.matrix.CalcAllocationFactor; import org.openlca.core.matrix.CalcCostEntry; import org.openlca.core.matrix.CalcExchange; import org.openlca.core.matrix.CalcImpactFactor; import com.google....
olca-core/src/main/java/org/openlca/core/matrix/cache/MatrixCache.java
package org.openlca.core.matrix.cache; import java.util.List; import org.openlca.core.database.IDatabase; import org.openlca.core.matrix.CalcAllocationFactor; import org.openlca.core.matrix.CalcCostEntry; import org.openlca.core.matrix.CalcExchange; import org.openlca.core.matrix.CalcImpactFactor; import com.google....
added 'evict' functions to matrix cache
olca-core/src/main/java/org/openlca/core/matrix/cache/MatrixCache.java
added 'evict' functions to matrix cache
<ide><path>lca-core/src/main/java/org/openlca/core/matrix/cache/MatrixCache.java <ide> costCache = CostEntryCache.create(database); <ide> } <ide> <add> public void evictAll() { <add> flowTypeTable.reload(); <add> conversionTable.reload(); <add> processTable.reload(); <add> exchangeCache.invalidateAll(); <add> ...
JavaScript
mit
f75daea693a582dc4066bdad6d7a1847ea672912
0
camsjams/puremvc-js-util-statemachine-demo-locks
/** * @author Cameron Manavian * * @class ViewEvents */ puremvc.define({ name: 'lockApp.view.event.ViewEvents' }, {}, // INSTANCE MEMBERS { // Add event listener using jQuery.bind() addEventListener: function (object, eventName, listener) { object.bind(eventName, {self: listener}, listener.handleEvent); },...
js/view/events/ViewEvents.js
/** * @author Cameron Manavian * * @class ViewEvents */ puremvc.define({ name: 'lockApp.view.event.ViewEvents' }, {}, // INSTANCE MEMBERS { // Add event listener addEventListener: function (object, eventName, listener) { object.bind(eventName, {self: listener}, listener.handleEvent); }, // Dispatch even...
Update ViewEvents.js fixed comments and removed trailing comma
js/view/events/ViewEvents.js
Update ViewEvents.js
<ide><path>s/view/events/ViewEvents.js <ide> // INSTANCE MEMBERS <ide> { <ide> <del> // Add event listener <add>// Add event listener using jQuery.bind() <ide> addEventListener: function (object, eventName, listener) { <ide> object.bind(eventName, {self: listener}, listener.handleEvent); <ide> }, <ide> <del> /...
Java
apache-2.0
f4d1591a2c3165605c73dbabddbeb7b3f19cdafd
0
HaStr/kieker,leadwire-apm/leadwire-javaagent,HaStr/kieker,HaStr/kieker,HaStr/kieker,kieker-monitoring/kieker,kieker-monitoring/kieker,HaStr/kieker,kieker-monitoring/kieker,leadwire-apm/leadwire-javaagent,kieker-monitoring/kieker,kieker-monitoring/kieker
/*************************************************************************** * Copyright 2013 Kieker Project (http://kieker-monitoring.net) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
src/common/kieker/common/logging/LogImplWebguiLogging.java
/*************************************************************************** * Copyright 2013 Kieker Project (http://kieker-monitoring.net) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
Added a method to LogImplWebguiLogging to receive the names of all logs.
src/common/kieker/common/logging/LogImplWebguiLogging.java
Added a method to LogImplWebguiLogging to receive the names of all logs.
<ide><path>rc/common/kieker/common/logging/LogImplWebguiLogging.java <ide> } <ide> <ide> /** <add> * Delivers an array with the names of all used loggers. <add> * <add> * @return The available log names. <add> */ <add> public static String[] getAvailableLogs() { <add> synchronized (LogImplWebguiLogging.QUEUES)...
Java
bsd-3-clause
fbe7848a24383189abe588e2eac0ec020b481e98
0
bdezonia/zorbage,bdezonia/zorbage
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (C) 2016-2019 Barry DeZonia * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ret...
src/test/java/nom/bdezonia/zorbage/algorithm/TestEstimateErf.java
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (C) 2016-2019 Barry DeZonia * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ret...
Test the complex number capability of the EstimateErf algorithm
src/test/java/nom/bdezonia/zorbage/algorithm/TestEstimateErf.java
Test the complex number capability of the EstimateErf algorithm
<ide><path>rc/test/java/nom/bdezonia/zorbage/algorithm/TestEstimateErf.java <ide> import org.junit.Test; <ide> <ide> import nom.bdezonia.zorbage.algebras.G; <add>import nom.bdezonia.zorbage.type.data.float64.complex.ComplexFloat64Member; <ide> import nom.bdezonia.zorbage.type.data.float64.real.Float64Member; <ide> <i...
Java
bsd-3-clause
error: pathspec 'src/xal/tools/LinearInterpolator.java' did not match any file(s) known to git
5c8c21314acefa2c7f5f54baa8f7ab12c666fe50
1
EuropeanSpallationSource/openxal,openxal/openxal,luxiaohan/openxal-csns-luxh,EuropeanSpallationSource/openxal,openxal/openxal,EuropeanSpallationSource/openxal,openxal/openxal,luxiaohan/openxal-csns-luxh,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-luxh,EuropeanSpallationSource/openxal,luxiaohan/openxal-csns-...
/* * LinearInterpolator.java * * Created on August 11, 2003, 4:10 PM * * Copyright 2003, Spallation Neutron Source * Oak Ridge National Laboratory * Oak Ridge, TN 37830 */ package xal.tools; /** * LinearInterpolator calculates the linear interpolated value at at any point * within the bounds of an array of ...
src/xal/tools/LinearInterpolator.java
-n Port the Linear Interpolator from XAL to Open XAL.
src/xal/tools/LinearInterpolator.java
-n Port the Linear Interpolator from XAL to Open XAL.
<ide><path>rc/xal/tools/LinearInterpolator.java <add>/* <add> * LinearInterpolator.java <add> * <add> * Created on August 11, 2003, 4:10 PM <add> * <add> * Copyright 2003, Spallation Neutron Source <add> * Oak Ridge National Laboratory <add> * Oak Ridge, TN 37830 <add> */ <add> <add>package xal.tools; <add> <add>/** <a...
Java
mit
83bf6d79ccb1cd6be4b75180bbc38c532a3ca73d
0
ollie314/args4j,chambas/args4j,ChartBoost/args4j,NickVolynkin/args4j,ChartBoost/args4j,ollie314/args4j,ollie314/args4j,chambas/args4j,kohsuke/args4j,sannies/args4j,chambas/args4j,kohsuke/args4j,sannies/args4j,NickVolynkin/args4j,sannies/args4j,ChartBoost/args4j,kohsuke/args4j,NickVolynkin/args4j
package org.kohsuke.args4j; import java.io.File; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.Writer; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; ...
args4j/src/org/kohsuke/args4j/CmdLineParser.java
package org.kohsuke.args4j; import java.io.File; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.Writer; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; ...
- removed dupliation. - removed the bean field to make room for multi-bean binding.
args4j/src/org/kohsuke/args4j/CmdLineParser.java
- removed dupliation. - removed the bean field to make room for multi-bean binding.
<ide><path>rgs4j/src/org/kohsuke/args4j/CmdLineParser.java <ide> */ <ide> public class CmdLineParser { <ide> /** <del> * Option bean instance. <del> */ <del> private final Object bean; <del> <del> /** <ide> * Discovered {@link OptionHandler}s for options. <ide> */ <ide> private final Li...
Java
apache-2.0
fffb68f84d4e80cab4ecdcf1fbcc6a24729b43c8
0
MichaelNedzelsky/intellij-community,da1z/intellij-community,blademainer/intellij-community,MichaelNedzelsky/intellij-community,da1z/intellij-community,TangHao1987/intellij-community,fitermay/intellij-community,retomerz/intellij-community,tmpgit/intellij-community,holmes/intellij-community,gnuhub/intellij-community,ftom...
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
java/java-psi-api/src/com/intellij/codeInsight/NullableNotNullManager.java
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
init with default values in case read external was not called
java/java-psi-api/src/com/intellij/codeInsight/NullableNotNullManager.java
init with default values in case read external was not called
<ide><path>ava/java-psi-api/src/com/intellij/codeInsight/NullableNotNullManager.java <ide> <ide> public static final String[] DEFAULT_NULLABLES = {AnnotationUtil.NULLABLE, "javax.annotation.Nullable", "edu.umd.cs.findbugs.annotations.Nullable"}; <ide> public static final String[] DEFAULT_NOT_NULLS = {AnnotationUti...
Java
agpl-3.0
c5b3bed1f8ef9bdba1a912bae853760cf6e35479
0
imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms
package com.imcode.imcms.model; import lombok.NoArgsConstructor; import java.io.Serializable; @NoArgsConstructor public abstract class CategoryType implements Serializable { private static final long serialVersionUID = 6975350692159491957L; protected CategoryType(CategoryType from) { setId(from.get...
src/main/java/com/imcode/imcms/model/CategoryType.java
package com.imcode.imcms.model; import lombok.NoArgsConstructor; import java.io.Serializable; @NoArgsConstructor public abstract class CategoryType implements Serializable { private static final long serialVersionUID = 6975350692159491957L; protected CategoryType(CategoryType from) { setId(from.get...
Issue IMCMS-335: New design to super admin page: categories tab - Improve constructor category type;
src/main/java/com/imcode/imcms/model/CategoryType.java
Issue IMCMS-335: New design to super admin page: categories tab - Improve constructor category type;
<ide><path>rc/main/java/com/imcode/imcms/model/CategoryType.java <ide> setId(from.getId()); <ide> setName(from.getName()); <ide> setMultiSelect(from.isMultiSelect()); <add> setInherited(from.isInherited()); <ide> } <ide> <ide> public abstract boolean isMultiSelect();
Java
agpl-3.0
1470255b45dca7f7add02eb089107af07bf3630f
0
telefonicaid/fiware-cygnus,telefonicaid/fiware-cygnus,telefonicaid/fiware-cygnus,telefonicaid/fiware-cygnus
/** * Copyright 2014-2017 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of fiware-cygnus (FIWARE project). * * fiware-cygnus 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, eith...
cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMySQLSink.java
/** * Copyright 2014-2017 Telefonica Investigación y Desarrollo, S.A.U * * This file is part of fiware-cygnus (FIWARE project). * * fiware-cygnus 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, eith...
log native types mysql
cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMySQLSink.java
log native types mysql
<ide><path>ygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMySQLSink.java <ide> } else { <ide> value = "" + value + ""; // redundant ? <ide> } <del> LOGGER.debug("[" getName() + "] value type ...
Java
mit
cdcfb56b59ee72d83b360497c2cf711f77327161
0
classgraph/classgraph,lukehutch/fast-classpath-scanner,lukehutch/fast-classpath-scanner
/* * This file is part of ClassGraph. * * Author: Luke Hutchison * * Hosted at: https://github.com/lukehutch/fast-classpath-scanner * * -- * * The MIT License (MIT) * * Copyright (c) 2018 Luke Hutchison * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
src/test/java/io/github/classgraph/issues/issue238/Issue238Test.java
/* * This file is part of ClassGraph. * * Author: Luke Hutchison * * Hosted at: https://github.com/lukehutch/fast-classpath-scanner * * -- * * The MIT License (MIT) * * Copyright (c) 2018 Luke Hutchison * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
Remove println
src/test/java/io/github/classgraph/issues/issue238/Issue238Test.java
Remove println
<ide><path>rc/test/java/io/github/classgraph/issues/issue238/Issue238Test.java <ide> final List<String> classNames = new ClassGraph() <ide> .whitelistPackages(Issue238Test.class.getPackage().getName()).enableAllInfo().scan().getAllClasses() <ide> .get(E.class.getName()).getSuperc...
Java
mit
8a7bc41d4ec357a6718b89c86616d243bcc2beee
0
isi-nlp/tac-kbp-eal,isi-nlp/tac-kbp-eal,BBN-E/tac-kbp-eal,BBN-E/tac-kbp-eal,rgabbard-bbn/kbp-2014-event-arguments,rgabbard-bbn/kbp-2014-event-arguments
package com.bbn.kbp.events2014.assessmentDiff.observers; import com.bbn.bue.common.symbols.Symbol; import com.bbn.kbp.events2014.Response; import com.bbn.kbp.events2014.ResponseAssessment; import com.bbn.kbp.events2014.assessmentDiff.observers.ConfusionMatrixAssessmentPairObserver; public class AETObserver extends Co...
kbp-events2014-scorer/src/main/java/com/bbn/kbp/events2014/assessmentDiff/observers/AETObserver.java
package com.bbn.kbp.events2014.assessmentDiff.observers; import com.bbn.bue.common.symbols.Symbol; import com.bbn.kbp.events2014.Response; import com.bbn.kbp.events2014.ResponseAssessment; import com.bbn.kbp.events2014.assessmentDiff.observers.ConfusionMatrixAssessmentPairObserver; public class AETObserver extends Co...
Update AET diff observer for possibility AET is absent
kbp-events2014-scorer/src/main/java/com/bbn/kbp/events2014/assessmentDiff/observers/AETObserver.java
Update AET diff observer for possibility AET is absent
<ide><path>bp-events2014-scorer/src/main/java/com/bbn/kbp/events2014/assessmentDiff/observers/AETObserver.java <ide> <ide> @Override <ide> protected boolean filter(Response response, ResponseAssessment left, ResponseAssessment right) { <del> return true; <add> return left.justificationSupportsEve...
Java
apache-2.0
07ba1c50b34235f12d0f6e58e4bb6e623bc3bcb8
0
SpineEventEngine/gae-java,SpineEventEngine/gae-java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
datastore/src/test/java/io/spine/server/storage/datastore/DsAggregateStorageTest.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Fix formatting
datastore/src/test/java/io/spine/server/storage/datastore/DsAggregateStorageTest.java
Fix formatting
<ide><path>atastore/src/test/java/io/spine/server/storage/datastore/DsAggregateStorageTest.java <ide> } <ide> <ide> @Override <del> protected AggregateStorage<ProjectId> <del> newStorage(Class<? extends Entity<?, ?>> cls) { <add> protected AggregateStorage<ProjectId> newStorage(Class<? extends Entity<...
Java
apache-2.0
f2478939558f9d1a014660a0813adeea5baa3b26
0
manstis/drools,jomarko/drools,lanceleverich/drools,winklerm/drools,sotty/drools,sutaakar/drools,winklerm/drools,sotty/drools,reynoldsm88/drools,reynoldsm88/drools,ngs-mtech/drools,jomarko/drools,lanceleverich/drools,ngs-mtech/drools,manstis/drools,reynoldsm88/drools,romartin/drools,romartin/drools,winklerm/drools,drool...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
drools-core/src/main/java/org/drools/core/util/ServiceDiscoveryImpl.java
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
Fixing log formatting
drools-core/src/main/java/org/drools/core/util/ServiceDiscoveryImpl.java
Fixing log formatting
<ide><path>rools-core/src/main/java/org/drools/core/util/ServiceDiscoveryImpl.java <ide> log.error( "Unable to build kie service url={}\n", url.toExternalForm() ); <ide> } <ide> } catch (IOException e1) { <del> log.warn( "Unable to close Str...