lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
agpl-3.0
1c4d985c81b36443f4f26bcce5ec298522109223
0
jpaoletti/jPOS-Presentation-Manager,jpaoletti/jPOS-Presentation-Manager
/* * jPOS Presentation Manager [http://jpospm.blogspot.com] * Copyright (C) 2010 Jeronimo Paoletti [jeronimo.paoletti@gmail.com] * * 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 Foundati...
modules/pm_struts/src/org/jpos/ee/pm/struts/actions/ListAction.java
/* * jPOS Presentation Manager [http://jpospm.blogspot.com] * Copyright (C) 2010 Jeronimo Paoletti [jeronimo.paoletti@gmail.com] * * 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 Foundati...
BugFix. Now user cant set a 0 or negative page number
modules/pm_struts/src/org/jpos/ee/pm/struts/actions/ListAction.java
BugFix. Now user cant set a 0 or negative page number
<ide><path>odules/pm_struts/src/org/jpos/ee/pm/struts/actions/ListAction.java <ide> if(ctx.getParameter(FINISH)!=null){ <ide> pmlist.setOrder(f.getOrder()); <ide> pmlist.setDesc(f.isDesc()); <del> pmlist.setPage(f.getPage()); <add> pmlist.setPage((f.getPage()!=null ...
JavaScript
apache-2.0
0c4ad747889f5dcbe279f33b1b0099a9f0def71b
0
gencer/gitbook,escopecz/documentation,tshoper/gitbook,athiruban/gitbook,gencer/gitbook,npracht/documentation,strawluffy/gitbook,mautic/documentation,escopecz/documentation,tshoper/gitbook,ryanswanson/gitbook,mautic/documentation,sunlianghua/gitbook,megumiteam/documentation,megumiteam/documentation,sunlianghua/gitbook,h...
var _ = require('lodash'); var Q = require('q'); var npmi = require('npmi'); var npm = require('npm'); var semver = require('semver'); var Plugin = require('./plugin'); var version = require('./version'); var initNPM = _.memoize(function() { return Q.nfcall(npm.load, { silent: true, loglevel: 'silent' }); }); v...
lib/pluginslist.js
var _ = require('lodash'); var Q = require('q'); var npmi = require('npmi'); var npm = require('npm'); var semver = require('semver'); var Plugin = require('./plugin'); var pkg = require('../package.json'); var initNPM = _.memoize(function() { return Q.nfcall(npm.load, { silent: true, loglevel: 'silent' }); }); ...
Fix resolve of plugins for prereleases
lib/pluginslist.js
Fix resolve of plugins for prereleases
<ide><path>ib/pluginslist.js <ide> var semver = require('semver'); <ide> <ide> var Plugin = require('./plugin'); <del>var pkg = require('../package.json'); <add>var version = require('./version'); <ide> <ide> var initNPM = _.memoize(function() { <ide> return Q.nfcall(npm.load, { silent: true, loglevel: 'silent' }...
JavaScript
bsd-3-clause
568fb403bfb5b4b92ec912812b00095047d18850
0
pandiaraj44/react-native,skevy/react-native,Livyli/react-native,tsjing/react-native,janicduplessis/react-native,PlexChat/react-native,pandiaraj44/react-native,farazs/react-native,alin23/react-native,kesha-antonov/react-native,kesha-antonov/react-native,tsjing/react-native,adamjmcgrath/react-native,mironiasty/react-nati...
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @flow */...
packager/src/lib/GlobalTransformCache.js
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @flow */...
packager: GlobalTransformCache: fix bug in retry logic Reviewed By: bestander Differential Revision: D4850644 fbshipit-source-id: ede9991eaac3c7bfd045f2a9c3e9d0b10d45af0f
packager/src/lib/GlobalTransformCache.js
packager: GlobalTransformCache: fix bug in retry logic
<ide><path>ackager/src/lib/GlobalTransformCache.js <ide> return ( <ide> error instanceof FetchError && error.type === 'request-timeout' || ( <ide> error instanceof FetchFailedError && <del> error.details.type === 'wrong_http_status' && <add> error.details.type === 'unhandled_http_status'...
Java
mit
0983057a990c4787614939f0f2ffe3c5df29eba0
0
philippneugebauer/tananzeiger,philippneugebauer/TanManager
package de.uniba.ppn.tananzeiger.model; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Observable; import javax.xml.bind.JAXBException; import org.xml.sax.SAXException; import de.uniba.ppn.tananzeiger.logik.TANSpeicher; import de.uniba.ppn.tananzeiger.logik.TextReader;...
src/de/uniba/ppn/tananzeiger/model/Model.java
package de.uniba.ppn.tananzeiger.model; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Observable; import javax.xml.bind.JAXBException; import de.uniba.ppn.tananzeiger.logik.TANSpeicher; import de.uniba.ppn.tananzeiger.logik.TextReader; import de.uniba.ppn.tananzeiger.x...
model revised and translated to english. supports now the observable interface
src/de/uniba/ppn/tananzeiger/model/Model.java
model revised and translated to english. supports now the observable interface
<ide><path>rc/de/uniba/ppn/tananzeiger/model/Model.java <ide> <ide> import javax.xml.bind.JAXBException; <ide> <add>import org.xml.sax.SAXException; <add> <ide> import de.uniba.ppn.tananzeiger.logik.TANSpeicher; <ide> import de.uniba.ppn.tananzeiger.logik.TextReader; <ide> import de.uniba.ppn.tananzeiger.xml.XMLReade...
Java
mit
c86cc64a433a97715f8bc6eb18e9e491c79ca6cf
0
Daytron/WebCrawler,novoselrok/WebCrawler
package com.redditprog.webcrawler; import java.awt.Desktop; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.H...
src/main/java/com/redditprog/webcrawler/Extractor.java
package com.redditprog.webcrawler; import java.awt.Desktop; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.H...
fix issue #36
src/main/java/com/redditprog/webcrawler/Extractor.java
fix issue #36
<ide><path>rc/main/java/com/redditprog/webcrawler/Extractor.java <ide> import java.net.MalformedURLException; <ide> import java.net.ProtocolException; <ide> import java.net.URL; <add>import java.util.ArrayList; <ide> import java.util.logging.Level; <ide> import java.util.logging.Logger; <ide> <ide> URL urlJson...
Java
apache-2.0
d890abf6f7bd6571dda054c20a6cc056ca81fa14
0
3dcitydb/importer-exporter,3dcitydb/importer-exporter,3dcitydb/importer-exporter
/* * 3D City Database - The Open Source CityGML Database * http://www.3dcitydb.org/ * * Copyright 2013 - 2017 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.gis.bgu.tum.de/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * virt...
impexp-core/src/main/java/org/citydb/citygml/importer/database/content/DBPlantCover.java
/* * 3D City Database - The Open Source CityGML Database * http://www.3dcitydb.org/ * * Copyright 2013 - 2017 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.gis.bgu.tum.de/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * virt...
fixed bug in PlantCover importer
impexp-core/src/main/java/org/citydb/citygml/importer/database/content/DBPlantCover.java
fixed bug in PlantCover importer
<ide><path>mpexp-core/src/main/java/org/citydb/citygml/importer/database/content/DBPlantCover.java <ide> "lod1_multi_surface_id, lod2_multi_surface_id, lod3_multi_surface_id, lod4_multi_surface_id, " + <ide> "lod1_multi_solid_id, lod2_multi_solid_id, lod3_multi_solid_id, lod4_multi_solid_id" + <ide> (hasObj...
Java
apache-2.0
a11bc6a10647f0d74d303a65eeea9ab36270f632
0
gnuhub/intellij-community,caot/intellij-community,caot/intellij-community,fengbaicanhe/intellij-community,fitermay/intellij-community,fnouama/intellij-community,fnouama/intellij-community,slisson/intellij-community,michaelgallacher/intellij-community,hurricup/intellij-community,fengbaicanhe/intellij-community,MER-GROUP...
/* * 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/platform-api/src/com/intellij/ui/components/JBPanel.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...
endless filling
platform/platform-api/src/com/intellij/ui/components/JBPanel.java
endless filling
<ide><path>latform/platform-api/src/com/intellij/ui/components/JBPanel.java <ide> final int h = myBackgroundImage.getIconHeight(); <ide> int x = 0; <ide> int y = 0; <del> while (x < getWidth()) { <del> while (y < getHeight()) { <add> while (w > 0 && x < getWidth()) { <add> whi...
Java
lgpl-2.1
844f200f9a631376e208f159f561a188f0f845d2
0
ervandew/formic,ervandew/formic
/** * Formic installer framework. * Copyright (C) 2004 - 2006 Eric Van Dewoestine * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at you...
src/java/org/formic/wizard/impl/models/MultiPathModel.java
/** * Formic installer framework. * Copyright (C) 2004 - 2006 Eric Van Dewoestine * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at you...
added public version of setCancelAvailable git-svn-id: 64dca1223d331db67f04737d5e1336182ee12169@49 1a7380c6-1923-0410-bcea-c2eae4ba7d6c
src/java/org/formic/wizard/impl/models/MultiPathModel.java
added public version of setCancelAvailable
<ide><path>rc/java/org/formic/wizard/impl/models/MultiPathModel.java <ide> { <ide> super.setPreviousAvailable(available); <ide> } <add> <add> /** <add> * {@inheritDoc} <add> * @see org.pietschy.wizard.AbstractWizardModel#setCancelAvailable(boolean) <add> */ <add> public void setCancelAvailable (boolean ...
JavaScript
agpl-3.0
fe09cc865fd6cd905f021183bcb621bb074867ea
0
baozhoutao/processmaker,hitsumabushi/processmaker,tomolimo/processmaker-server,baozhoutao/processmaker,colosa/processmaker,hitsumabushi/processmaker,baozhoutao/processmaker,colosa/processmaker,colosa/processmaker,colosa/processmaker,hitsumabushi/processmaker,baozhoutao/processmaker,hitsumabushi/processmaker,colosa/proc...
/* PACKAGE : GULLIVER FORMS */ function G_Form ( element, id ) { var me=this; this.info = { name:'G_Form', version :'1.0' }; /*this.module=RESERVED*/ this.formula=''; this.element=element; if (!element) return; this.id=id; this.aElements=[]; this.ajaxServer=''; this.getElementIdByNam...
gulliver/js/form/core/form.js
/* PACKAGE : GULLIVER FORMS */ function G_Form ( element, id ) { var me=this; this.info = { name:'G_Form', version :'1.0' }; /*this.module=RESERVED*/ this.formula=''; this.element=element; if (!element) return; this.id=id; this.aElements=[]; this.ajaxServer=''; this.getElementIdByNam...
BUG 0000 Formula/Functions problem with grids - Take 2
gulliver/js/form/core/form.js
BUG 0000 Formula/Functions problem with grids - Take 2
<ide><path>ulliver/js/form/core/form.js <ide> case 35: case 36: //HOME OR END <ide> case 37: case 38: case 39: case 40: // ARROW KEYS <ide> me.applyMask(pressKey); <del> if (pressKey == 8 || pressKey == 46) me.sendOnChange(); <add> if ((pressKey == 8 || pressKey == 46) && (me.validate ...
Java
apache-2.0
b7a3df7c30588de1995b18d5c94522f0bd8bd46b
0
sqrlserverjava/sqrl-server-base,dbadia/sqrl-server-base,sqrlserverjava/sqrl-server-base
package com.github.dbadia.sqrl.server.backchannel; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Para...
src/test/java/com/github/dbadia/sqrl/server/backchannel/TifTest.java
package com.github.dbadia.sqrl.server.backchannel; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue; import java.util.Arrays; import java.util.Collection; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Para...
working on tif negative tests
src/test/java/com/github/dbadia/sqrl/server/backchannel/TifTest.java
working on tif negative tests
<ide><path>rc/test/java/com/github/dbadia/sqrl/server/backchannel/TifTest.java <ide> <ide> @RunWith(Parameterized.class) <ide> public class TifTest { <del> @Parameters(name = "{index}: url=({0}) escheme=({1}) eurl=({2}) eport=({3}) euri=({4})") <add> @Parameters(name = "{index}: ipmatch=({0}) expected=({1}) tifArray=(...
Java
apache-2.0
aedb7b2642fba4b93560caa9624f26eacf1ff871
0
IHTSDO/rf2-to-rf1-conversion,IHTSDO/rf2-to-rf1-conversion
package org.ihtsdo.snomed.rf2torf1conversion; import static org.ihtsdo.snomed.rf2torf1conversion.GlobalUtils.*; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.apache.commons.io.FileUtils; import com.google.common.base.Stopwatch; import com.google.common.i...
src/main/java/org/ihtsdo/snomed/rf2torf1conversion/ConversionManager.java
package org.ihtsdo.snomed.rf2torf1conversion; import static org.ihtsdo.snomed.rf2torf1conversion.GlobalUtils.*; import java.io.File; import java.util.HashMap; import java.util.Map; import org.apache.commons.io.FileUtils; import com.google.common.base.Stopwatch; import com.google.common.io.Files; public class Conve...
Add support for unzipping to specified location, like a RAM Drive
src/main/java/org/ihtsdo/snomed/rf2torf1conversion/ConversionManager.java
Add support for unzipping to specified location, like a RAM Drive
<ide><path>rc/main/java/org/ihtsdo/snomed/rf2torf1conversion/ConversionManager.java <ide> import static org.ihtsdo.snomed.rf2torf1conversion.GlobalUtils.*; <ide> <ide> import java.io.File; <add>import java.io.IOException; <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <ide> public class ConversionM...
Java
apache-2.0
9e9e13fbe0982f7ef8738a0114ee228e00993edf
0
PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.pdxfinder.services; //import org.apache.commons.cli.Option; import org.pdxfinder.dao.*; import org.pdxfinder.repositories....
data-services/src/main/java/org/pdxfinder/services/DataImportService.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.pdxfinder.services; //import org.apache.commons.cli.Option; import org.pdxfinder.dao.*; import org.pdxfinder.repositories....
Add support methods for creating patients and samples
data-services/src/main/java/org/pdxfinder/services/DataImportService.java
Add support methods for creating patients and samples
<ide><path>ata-services/src/main/java/org/pdxfinder/services/DataImportService.java <ide> return modelCreationRepository.findByMolChar(mc); <ide> } <ide> <add> public Patient createPatient(String patientId, Group dataSource, String sex, String race, String ethnicity){ <add> <add> Patient patient ...
Java
apache-2.0
c298ca905cf964b9dc8917ddad325660425112a6
0
tmtron/Conductor,tmtron/Conductor,bluelinelabs/Conductor,bluelinelabs/Conductor
package com.bluelinelabs.conductor.internal; import android.annotation.TargetApi; import android.app.Activity; import android.app.Application.ActivityLifecycleCallbacks; import android.app.Fragment; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.os.Bu...
conductor/src/main/java/com/bluelinelabs/conductor/internal/LifecycleHandler.java
package com.bluelinelabs.conductor.internal; import android.annotation.TargetApi; import android.app.Activity; import android.app.Application.ActivityLifecycleCallbacks; import android.app.Fragment; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.os.Bu...
Fixes leaked activity introduced in e64fe1c61027db77a788c7a9abeaecac166a11ff
conductor/src/main/java/com/bluelinelabs/conductor/internal/LifecycleHandler.java
Fixes leaked activity introduced in e64fe1c61027db77a788c7a9abeaecac166a11ff
<ide><path>onductor/src/main/java/com/bluelinelabs/conductor/internal/LifecycleHandler.java <ide> if (lifecycleHandler == null) { <ide> lifecycleHandler = new LifecycleHandler(); <ide> activity.getFragmentManager().beginTransaction().add(lifecycleHandler, FRAGMENT_TAG).commit(); <del> <d...
Java
mit
c9378c676dd3875506f134b3d4b32057c6fab5f7
0
bschmeck/android_todo
package com.s10r.todolist; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Ada...
app/src/main/java/com/s10r/todolist/MainActivity.java
package com.s10r.todolist; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Ada...
Put completed Items at the bottom of the list
app/src/main/java/com/s10r/todolist/MainActivity.java
Put completed Items at the bottom of the list
<ide><path>pp/src/main/java/com/s10r/todolist/MainActivity.java <ide> @Override <ide> public boolean onItemLongClick(AdapterView<?> adapter, <ide> View item, int pos, long id) { <del> Item itm = items.get(p...
Java
epl-1.0
a7c042eb89501ce095f583ec48548f79422e0125
0
blalusues/JSPProject_4team,blalusues/JSPProject_4team
package servlet; import java.io.File; //2017/10/23 import java.io.IOException; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpSe...
src/servlet/TravelContentServlet.java
package servlet; import java.io.File; //2017/10/23 import java.io.IOException; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpSe...
--------------
src/servlet/TravelContentServlet.java
--------------
<ide><path>rc/servlet/TravelContentServlet.java <ide> String contentNumStr = mReq.getParameter("contentNum"); <ide> int contentNum = Integer.parseInt(contentNumStr); <ide> <add> // day <ide> String dayNumStr = mReq.getParameter("dayNum"); <ide> int dayNum = Integer.parseInt(dayNumStr); <del> ...
Java
apache-2.0
312cdd959aa01ea759219e223dfb3c7956979b82
0
mohanaraosv/commons-jcs,apache/commons-jcs,apache/commons-jcs,apache/commons-jcs,mohanaraosv/commons-jcs,mohanaraosv/commons-jcs
package org.apache.commons.jcs.engine; /* * 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 Licen...
src/test/org/apache/commons/jcs/engine/SystemPropertyUsageUnitTest.java
package org.apache.commons.jcs.engine; /* * 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 Licen...
Simplify; use shared common value git-svn-id: fd52ae19693b7be904def34076a5ebbd6e132215@1585672 13f79535-47bb-0310-9956-ffa450edef68
src/test/org/apache/commons/jcs/engine/SystemPropertyUsageUnitTest.java
Simplify; use shared common value
<ide><path>rc/test/org/apache/commons/jcs/engine/SystemPropertyUsageUnitTest.java <ide> public void testSystemPropertyUsage() <ide> throws Exception <ide> { <del> System.getProperties().setProperty( "jcs.default.cacheattributes.MaxObjects", "6789" ); <add> final int testValue = 6789; <add>...
Java
mit
40af3cf8153646496cfbac6f236aedd27babd5c9
0
TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,Onuzimoyr/dAndroid,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,ssdwa/android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceCon...
/* HueLightProfile Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.deviceplugin.hue.profile; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import org.deviceconnect...
dConnectDevicePlugin/dConnectDeviceHue/src/org/deviceconnect/android/deviceplugin/hue/profile/HueLightProfile.java
/* HueLightProfile Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.deviceplugin.hue.profile; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import org.deviceconnect...
Add request parameter check and modify returning error code.
dConnectDevicePlugin/dConnectDeviceHue/src/org/deviceconnect/android/deviceplugin/hue/profile/HueLightProfile.java
Add request parameter check and modify returning error code.
<ide><path>ConnectDevicePlugin/dConnectDeviceHue/src/org/deviceconnect/android/deviceplugin/hue/profile/HueLightProfile.java <ide> * エラーコード301. <ide> */ <ide> private static final int HUE_SDK_ERROR_301 = 301; <add> /** RGBの文字列の長さ. */ <add> private static final int RGB_LENGTH = 6; <ide> <ide> @O...
Java
apache-2.0
d13b6cd60dad543ba21d1b040fbf86e377b71a44
0
ipros-team/presto,tellproject/presto,shubham166/presto,twitter-forks/presto,nileema/presto,vishalsan/presto,elonazoulay/presto,troels/nz-presto,martint/presto,DanielTing/presto,springning/presto,miquelruiz/presto,albertocsm/presto,ebyhr/presto,haozhun/presto,nvoron23/presto,xiangel/presto,cberner/presto,shubham166/pres...
package com.facebook.presto.sql.compiler; import com.facebook.presto.sql.tree.QualifiedName; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.base.Predicate; import com.google.comm...
presto-main/src/main/java/com/facebook/presto/sql/compiler/TupleDescriptor.java
package com.facebook.presto.sql.compiler; import com.facebook.presto.sql.tree.QualifiedName; import com.google.common.base.Function; import com.google.common.base.Joiner; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import com.google.common.base.Predicate; import com.google.comm...
Fix toString
presto-main/src/main/java/com/facebook/presto/sql/compiler/TupleDescriptor.java
Fix toString
<ide><path>resto-main/src/main/java/com/facebook/presto/sql/compiler/TupleDescriptor.java <ide> @Override <ide> public String toString() <ide> { <del> return Joiner.on(",").join(slots); <add> return slots.toString(); <ide> } <ide> <ide> public List<NamedSlot> resolve(final QualifiedNa...
Java
apache-2.0
6e11b2d132dc793ac985c39b5ae59bbca2d37efc
0
cfg4j/cfg4j,fromanator/cfg4j
/* * Copyright 2015 Norbert Potocki (norbert.potocki@nort.pl) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
src/main/java/pl/nort/config/source/GitConfigurationSource.java
/* * Copyright 2015 Norbert Potocki (norbert.potocki@nort.pl) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
implement refresh()
src/main/java/pl/nort/config/source/GitConfigurationSource.java
implement refresh()
<ide><path>rc/main/java/pl/nort/config/source/GitConfigurationSource.java <ide> <ide> @Override <ide> public void refresh() { <del> <add> try { <add> clonedRepo.pull().call(); <add> } catch (GitAPIException e) { <add> throw new IllegalStateException("Unable to pull from remote repository", e); <add...
Java
apache-2.0
284238532257a75f0648ed76a7fd26d80f474f50
0
edannenberg/maven-magento-plugin
/** * Copyright 2011-2012 BBe Consulting GmbH * * 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...
src/main/java/de/bbe_consulting/mavento/AbstractMagentoSetupMojo.java
/** * Copyright 2011-2012 BBe Consulting GmbH * * 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...
TestSetup will no longer extract dependencies.
src/main/java/de/bbe_consulting/mavento/AbstractMagentoSetupMojo.java
TestSetup will no longer extract dependencies.
<ide><path>rc/main/java/de/bbe_consulting/mavento/AbstractMagentoSetupMojo.java <ide> } <ide> <ide> // extract magento artifact <del> try { <del> getLog().info("Resolving dependencies.."); <del> MavenUtil.extractCompileDependencies(tempDir, project, getLog()); <del> getLog().info("..done."); <del> ...
JavaScript
mit
ee283f922bcfec33316088f1991c4d928b7f8827
0
alanplotko/Dash,alanplotko/Dash
// --------- Dependencies --------- var User = require('../models/user'); var validator = require('validator'); require('../config/custom-validation.js')(validator); var xss = require('xss'); var debug = (process.env.NODE_ENV == 'dev'); module.exports = function(app, passport) { // --------- Front Page --------- ...
routes/pages.js
// --------- Dependencies --------- var User = require('../models/user'); var validator = require('validator'); require('../config/custom-validation.js')(validator); var xss = require('xss'); var debug = (process.env.NODE_ENV == 'dev'); module.exports = function(app, passport) { // --------- Front Page --------- ...
Add function for post requests to /refresh - A post request to refresh will trigger a manual update with the current logged in user (req.user.updateContent(callback))
routes/pages.js
Add function for post requests to /refresh
<ide><path>outes/pages.js <ide> }); <ide> <ide> // --------- User Dashboard --------- <del> app.get('/dashboard', isLoggedIn, function(req, res) { <del> User.updateContent(req.user._id, function(err, posts) { <del> if (err) return next(err); // An error occurred <del> }); <del> <add...
Java
apache-2.0
fa4b63924bd63ee67e1114f7cfebb65bb93faf2e
0
mglukhikh/intellij-community,ibinti/intellij-community,hurricup/intellij-community,michaelgallacher/intellij-community,hurricup/intellij-community,ThiagoGarciaAlves/intellij-community,vvv1559/intellij-community,michaelgallacher/intellij-community,vvv1559/intellij-community,suncycheng/intellij-community,vvv1559/intellij...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
python/src/com/jetbrains/python/refactoring/PyDefUseUtil.java
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Get element name only when we need it for better performance (PY-17508)
python/src/com/jetbrains/python/refactoring/PyDefUseUtil.java
Get element name only when we need it for better performance (PY-17508)
<ide><path>ython/src/com/jetbrains/python/refactoring/PyDefUseUtil.java <ide> if (instruction instanceof ReadWriteInstruction) { <ide> final ReadWriteInstruction rwInstruction = (ReadWriteInstruction)instruction; <ide> ...
Java
apache-2.0
008b791b7dc00b93aeb2872db8527b5abbf14d16
0
apixandru/intellij-community,allotria/intellij-community,suncycheng/intellij-community,da1z/intellij-community,asedunov/intellij-community,suncycheng/intellij-community,youdonghai/intellij-community,apixandru/intellij-community,ibinti/intellij-community,mglukhikh/intellij-community,xfournet/intellij-community,xfournet/...
package com.intellij.vcs.log.ui.render; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.ui.GraphicsConfig; import com.intellij.openapi.util.registry.Registry; import com.intellij.openapi.vcs.changes.issueLinks.IssueLinkRenderer; import com.intellij.openapi.vfs.VirtualFile; import com.intelli...
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/GraphCommitCellRenderer.java
package com.intellij.vcs.log.ui.render; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.ui.GraphicsConfig; import com.intellij.openapi.util.registry.Registry; import com.intellij.openapi.vcs.changes.issueLinks.IssueLinkRenderer; import com.intellij.openapi.vfs.VirtualFile; import com.intelli...
[vcs-log] fix commit cell width in expanded mode
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/GraphCommitCellRenderer.java
[vcs-log] fix commit cell width in expanded mode
<ide><path>latform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/GraphCommitCellRenderer.java <ide> @Override <ide> public Dimension getPreferredSize() { <ide> Dimension preferredSize = super.getPreferredSize(); <del> return new Dimension(preferredSize.width + (myReferencePainter.isLeftAligned() ? 0 : myRe...
Java
mit
5e968a51c85e8d71df676d6d3232ce74c30aaa1c
0
srbhuyan/mmdb
package com.lukti.android.mmdb.mobilemoviedatabase; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.ap...
app/src/main/java/com/lukti/android/mmdb/mobilemoviedatabase/MainActivityFragment.java
package com.lukti.android.mmdb.mobilemoviedatabase; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.ap...
Sort preference working
app/src/main/java/com/lukti/android/mmdb/mobilemoviedatabase/MainActivityFragment.java
Sort preference working
<ide><path>pp/src/main/java/com/lukti/android/mmdb/mobilemoviedatabase/MainActivityFragment.java <ide> private MovieRecyclerAdapter mMovieAdapter; <ide> private RecyclerView.LayoutManager mLayoutManager; <ide> <add> private SharedPreferences mSharedPref; <add> private String mSortPref; <add> private b...
Java
apache-2.0
91733275e7ee02c19c286fa0f6ebe89b5f6f1bdd
0
apache/accumulo,apache/accumulo,ctubbsii/accumulo,milleruntime/accumulo,apache/accumulo,milleruntime/accumulo,apache/accumulo,apache/accumulo,milleruntime/accumulo,mjwall/accumulo,milleruntime/accumulo,mjwall/accumulo,ctubbsii/accumulo,apache/accumulo,milleruntime/accumulo,ctubbsii/accumulo,ctubbsii/accumulo,millerunti...
/* * 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 ...
minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.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 ...
Add trivial ZK Watcher to MiniAccumuloClusterImpl (#2434) Add a trivial watcher to MiniAccumuloClusterImpl.verifyUp to avoid an annoying ERROR coming from ZooKeeper that is logged when a ZooKeeper client is constructed with a null Watcher. Also address comments on #2414 to remove the redundant use of requireNonN...
minicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java
Add trivial ZK Watcher to MiniAccumuloClusterImpl (#2434)
<ide><path>inicluster/src/main/java/org/apache/accumulo/miniclusterImpl/MiniAccumuloClusterImpl.java <ide> <ide> import static java.nio.charset.StandardCharsets.UTF_8; <ide> import static java.util.Objects.requireNonNull; <add>import static java.util.concurrent.TimeUnit.NANOSECONDS; <ide> import static org.apache.accu...
Java
apache-2.0
41d34406b82661cb7fd52c98847478190ce98872
0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
package ca.corefacility.bioinformatics.irida.service.impl.integration; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Set; import java.util.UUID; import jav...
src/test/java/ca/corefacility/bioinformatics/irida/service/impl/integration/AnalysisExecutionScheduledTaskImplIT.java
package ca.corefacility.bioinformatics.irida.service.impl.integration; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Set; import java.util.UUID; import jav...
Added test to make sure the user who submitted the analysis is the same when the analysis is complete
src/test/java/ca/corefacility/bioinformatics/irida/service/impl/integration/AnalysisExecutionScheduledTaskImplIT.java
Added test to make sure the user who submitted the analysis is the same when the analysis is complete
<ide><path>rc/test/java/ca/corefacility/bioinformatics/irida/service/impl/integration/AnalysisExecutionScheduledTaskImplIT.java <ide> import ca.corefacility.bioinformatics.irida.config.conditions.WindowsPlatformCondition; <ide> import ca.corefacility.bioinformatics.irida.exceptions.IridaWorkflowNotFoundException; <ide>...
Java
apache-2.0
d16e79a1d42f1ad92c144f80ce429c3479d280a7
0
merlimat/pulsar,yahoo/pulsar,yahoo/pulsar,merlimat/pulsar,massakam/pulsar,merlimat/pulsar,merlimat/pulsar,massakam/pulsar,yahoo/pulsar,yahoo/pulsar,merlimat/pulsar,massakam/pulsar,massakam/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,yahoo/pulsar
/** * 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...
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdBase.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 hangs when type invalid args at command-line (#5615) Fixes #5533 *Motivation* When we using command-line tools, it hangs after type an invalid args. *Modifications* We don't need to parse the command, just show the command usage.
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdBase.java
Fix hangs when type invalid args at command-line (#5615)
<ide><path>ulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdBase.java <ide> jcommander.setProgramName("pulsar-admin " + cmdName); <ide> } <ide> <add> private void tryShowCommandUsage() { <add> try { <add> String chosenCommand = jcommander.getParsedCommand(); <add> ...
Java
lgpl-2.1
596af994f8ece302472848fbdbd7fabdae1e36f5
0
deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3
//$HeadURL$ /*---------------------------------------------------------------------------- This file is part of deegree, http://deegree.org/ Copyright (C) 2001-2009 by: Department of Geography, University of Bonn and lat/lon GmbH This library is free software; you can redistribute it and/or modify it under the ...
deegree-core/deegree-core-commons/src/main/java/org/deegree/commons/modules/ModuleInfo.java
//$HeadURL$ /*---------------------------------------------------------------------------- This file is part of deegree, http://deegree.org/ Copyright (C) 2001-2009 by: Department of Geography, University of Bonn and lat/lon GmbH This library is free software; you can redistribute it and/or modify it under the ...
fixed exception when zip classpath entries are found
deegree-core/deegree-core-commons/src/main/java/org/deegree/commons/modules/ModuleInfo.java
fixed exception when zip classpath entries are found
<ide><path>eegree-core/deegree-core-commons/src/main/java/org/deegree/commons/modules/ModuleInfo.java <ide> throws IOException { <ide> SortedSet<ModuleInfo> modules = new TreeSet<ModuleInfo>(); <ide> for ( URL classpathURL : classpathURLs ) { <del> ModuleInfo modul...
JavaScript
lgpl-2.1
df5735f0d87c272c644d1e4b6c95676849109ce1
0
UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob
// JavaScript plugin for RSS and Atom feeds. // // Copyright 2005 - 2006, James G. Ross // var BufferedReader = Packages.java.io.BufferedReader; var File = Packages.java.io.File; var FileInputStream = Packages.java.io.FileInputStream; var InputStreamReader = Packages.java.io.InputStreamReader; var ...
contrib/Feeds.js
// JavaScript plugin for RSS and Atom feeds. // // Copyright 2005 - 2006, James G. Ross // var BufferedReader = Packages.java.io.BufferedReader; var File = Packages.java.io.File; var FileInputStream = Packages.java.io.FileInputStream; var InputStreamReader = Packages.java.io.InputStreamReader; var ...
Bug fix for Atom feeds without a link and date trim.
contrib/Feeds.js
Bug fix for Atom feeds without a link and date trim.
<ide><path>ontrib/Feeds.js <ide> "Generic feed reader with notification.", <ide> "James Ross", <ide> "silver@warwickcompsoc.co.uk", <del> "1.6.3" <add> "1.6.4" <ide> ]; <ide> <ide> <ide> if (ary[9] == "-") { <ide> d = new Date(Number(d) - ((ary[10] * 60) + ary[11]) * 60 * 1000); <ide> } <del> return ...
Java
mit
b3150501e418b2005f1661141a235a8ad5fd8e7e
0
aibax/cryptography-samples
package jp.aibax.rsa; import static javax.crypto.Cipher.DECRYPT_MODE; import static javax.crypto.Cipher.ENCRYPT_MODE; import java.io.File; import java.io.IOException; import java.security.InvalidKeyException; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import ...
src/main/java/jp/aibax/rsa/RSA.java
package jp.aibax.rsa; import static javax.crypto.Cipher.DECRYPT_MODE; import static javax.crypto.Cipher.ENCRYPT_MODE; import java.io.File; import java.io.IOException; import java.security.InvalidKeyException; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import ...
公開鍵と秘密鍵をそれぞれ個別で読み込めるように変更
src/main/java/jp/aibax/rsa/RSA.java
公開鍵と秘密鍵をそれぞれ個別で読み込めるように変更
<ide><path>rc/main/java/jp/aibax/rsa/RSA.java <ide> } <ide> } <ide> <del> public KeyPair loadKeyPairFromFile(File publicKeyFile, File privateKeyFile) throws IOException <add> public PublicKey loadPublicKeyFromFile(File publicKeyFile) throws IOException <ide> { <del> KeyPair keyPair = null;...
Java
bsd-3-clause
03c27a18d2f262a28b24264995f3330e12a33e12
0
asamgir/openspecimen,asamgir/openspecimen,krishagni/openspecimen,asamgir/openspecimen,krishagni/openspecimen,krishagni/openspecimen
/** * */ package edu.wustl.catissuecore.util; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Vector; import edu.wustl.catissuecore.TaskTimeCalculater; import edu.wustl.catissuecore...
WEB-INF/src/edu/wustl/catissuecore/util/CollectionProtocolAuthorization.java
/** * */ package edu.wustl.catissuecore.util; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Vector; import edu.wustl.catissuecore.TaskTimeCalculater; import edu.wustl.catissuecore...
MSR changes for S6 SVN-Revision: 14807
WEB-INF/src/edu/wustl/catissuecore/util/CollectionProtocolAuthorization.java
MSR changes for S6
<ide><path>EB-INF/src/edu/wustl/catissuecore/util/CollectionProtocolAuthorization.java <ide> { <ide> String key = mapItr.next(); <ide> SiteUserRolePrivilegeBean siteUserRolePrivilegeBean = rowIdMap.get(key); <del> User user = null; <add> User user = siteUserRolePrivilegeBean.getUser(); <ide> <ide> if...
Java
lgpl-2.1
a922795971df48ee110a8c0d3c5ee472106f319c
0
Mineshopper/carpentersblocks,Techern/carpentersblocks,burpingdog1/carpentersblocks
package com.carpentersblocks.block; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.BlockDirectional; import net.minecraft.block.BlockRedst...
src/main/java/com/carpentersblocks/block/BlockCoverable.java
package com.carpentersblocks.block; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.BlockContainer; import net.minecraft.block.BlockDirectional; import net.minecraft.block.BlockRedst...
Set non-zero light level to hopefully address mob spawns. Block drops refactored to address bugs.
src/main/java/com/carpentersblocks/block/BlockCoverable.java
Set non-zero light level to hopefully address mob spawns. Block drops refactored to address bugs.
<ide><path>rc/main/java/com/carpentersblocks/block/BlockCoverable.java <ide> public BlockCoverable(Material material) <ide> { <ide> super(material); <add> setLightLevel(1.0F); // Make mob spawns check block light value <ide> } <ide> <ide> @SideOnly(Side.CLIENT) <ide> } <ide> <ide> ...
Java
apache-2.0
c58ecdafbeeed5b240f1a67e7935e765c0523510
0
jeorme/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,nssales/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,jerome79/OG-Platform,jeorme/OG-Platform,nssales/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,codeaudit/OG...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.masterdb.batch; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Maps.newHashMap; import static java.util.Co...
projects/OG-MasterDB/src/test/java/com/opengamma/masterdb/batch/DbBatchWriterTest.java
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.masterdb.batch; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Maps.newHashMap; import static com.google.c...
[PLAT-2779] Checkstyle; use of ComputedValueResult and new API
projects/OG-MasterDB/src/test/java/com/opengamma/masterdb/batch/DbBatchWriterTest.java
[PLAT-2779] Checkstyle; use of ComputedValueResult and new API
<ide><path>rojects/OG-MasterDB/src/test/java/com/opengamma/masterdb/batch/DbBatchWriterTest.java <ide> <ide> import static com.google.common.collect.Lists.newArrayList; <ide> import static com.google.common.collect.Maps.newHashMap; <del>import static com.google.common.collect.Sets.newHashSet; <ide> import static java....
Java
mit
02bb1564716c528bb52947dacce80ebaaf79baac
0
open-keychain/spongycastle,savichris/spongycastle,lesstif/spongycastle,onessimofalconi/bc-java,isghe/bc-java,Skywalker-11/spongycastle,isghe/bc-java,lesstif/spongycastle,savichris/spongycastle,sergeypayu/bc-java,Skywalker-11/spongycastle,open-keychain/spongycastle,lesstif/spongycastle,bcgit/bc-java,Skywalker-11/spongyc...
package org.bouncycastle.crypto.tls; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Hashtable; import java.util.Vector; import org.bouncycastle.asn1.ASN1Encodi...
core/src/main/java/org/bouncycastle/crypto/tls/TlsUtils.java
package org.bouncycastle.crypto.tls; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Hashtable; import java.util.Vector; import org.bouncycastle.asn1.ASN1Encodi...
Minor reformat
core/src/main/java/org/bouncycastle/crypto/tls/TlsUtils.java
Minor reformat
<ide><path>ore/src/main/java/org/bouncycastle/crypto/tls/TlsUtils.java <ide> <ide> case CipherSuite.TLS_DHE_PSK_WITH_AES_128_CCM: <ide> case CipherSuite.TLS_DHE_RSA_WITH_AES_128_CCM: <add> case CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CCM: <ide> case CipherSuite.TLS_PSK_WITH_AES_128_CCM:...
JavaScript
mit
b5d9a00fd1ccb6acfcc43546c71501ba9c789e90
0
sdeveloper/Telescope,msavin/Telescope,guillaumj/Telescope,TelescopeJS/Screenings,youprofit/Telescope,bharatjilledumudi/india-shop,SachaG/bjjbot,azukiapp/Telescope,covernal/Telescope,STANAPO/Telescope,adhikariaman01/Telescope,codebuddiesdotorg/cb-v2,aykutyaman/Telescope,parkeasz/Telescope,nhlennox/gbjobs,ahmadassaf/Tele...
Package.describe({ name: "telescope:releases", summary: "Show Telescope release notes and phone home with some stats.", version: "0.24.0", git: "https://github.com/TelescopeJS/telescope-releases.git" }); Package.onUse(function (api) { api.versionsFrom(['METEOR@1.0']); // --------------------------- 1. Me...
packages/telescope-releases/package.js
Package.describe({ name: "telescope:releases", summary: "Show Telescope release notes and phone home with some stats.", version: "0.24.0", git: "https://github.com/TelescopeJS/telescope-releases.git" }); Package.onUse(function (api) { api.versionsFrom(['METEOR@1.0']); // --------------------------- 1. Me...
fix file name
packages/telescope-releases/package.js
fix file name
<ide><path>ackages/telescope-releases/package.js <ide> api.addFiles('releases/0.21.1.md', 'server', { isAsset: true }); <ide> api.addFiles('releases/0.22.1.md', 'server', { isAsset: true }); <ide> api.addFiles('releases/0.22.2.md', 'server', { isAsset: true }); <del> api.addFiles('releases/0.24.0.md', 'server', ...
Java
apache-2.0
dc817a3b84fe9909275f2549ce37616c3adb6d7a
0
droolsjbpm/droolsjbpm-integration,jesuino/droolsjbpm-integration,jesuino/droolsjbpm-integration,droolsjbpm/droolsjbpm-integration,winklerm/droolsjbpm-integration,droolsjbpm/droolsjbpm-integration,jesuino/droolsjbpm-integration,droolsjbpm/droolsjbpm-integration,jesuino/droolsjbpm-integration,winklerm/droolsjbpm-integrat...
/* * Copyright 2017 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...
kie-server-parent/kie-server-controller/kie-server-controller-impl/src/test/java/org/kie/server/controller/impl/storage/FileBasedKieServerTemplateStorageTest.java
/* * Copyright 2017 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...
remove needless use of guava map in test
kie-server-parent/kie-server-controller/kie-server-controller-impl/src/test/java/org/kie/server/controller/impl/storage/FileBasedKieServerTemplateStorageTest.java
remove needless use of guava map in test
<ide><path>ie-server-parent/kie-server-controller/kie-server-controller-impl/src/test/java/org/kie/server/controller/impl/storage/FileBasedKieServerTemplateStorageTest.java <ide> */ <ide> package org.kie.server.controller.impl.storage; <ide> <del>import static org.junit.Assert.assertEquals; <del>import static org.juni...
Java
apache-2.0
e1c0133ac517fd87415d38f0d1bd54884a28e089
0
consulo/consulo-dotnet
/* * Copyright 2013-2014 must-be.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
dotnet-debugger-impl/src/org/mustbe/consulo/dotnet/debugger/DotNetDebugThread.java
/* * Copyright 2013-2014 must-be.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
use existed typemirror
dotnet-debugger-impl/src/org/mustbe/consulo/dotnet/debugger/DotNetDebugThread.java
use existed typemirror
<ide><path>otnet-debugger-impl/src/org/mustbe/consulo/dotnet/debugger/DotNetDebugThread.java <ide> <ide> val type = (DotNetLineBreakpointType) breakpoint.getType(); <ide> <del> type.createRequest(mySession.getProject(), virtualMachine, breakpoint, null); <add> type.createRequest(mySession.getProject()...
Java
agpl-3.0
19d27cc5412c912f81d3616650f780dc4d5ea09d
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
afc0120c-2e61-11e5-9284-b827eb9e62be
hello.java
afba6c58-2e61-11e5-9284-b827eb9e62be
afc0120c-2e61-11e5-9284-b827eb9e62be
hello.java
afc0120c-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>afba6c58-2e61-11e5-9284-b827eb9e62be <add>afc0120c-2e61-11e5-9284-b827eb9e62be
Java
apache-2.0
9b08bedd7ca6883f3b0d8ad561fb0d4486cf4118
0
jeluard/stone,jeluard/stone
/** * Copyright 2012 Julien Eluard * This project includes software developed by Julien Eluard: https://github.com/jeluard/ * * 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 * * htt...
core/src/test/java/com/github/jeluard/stone/spi/BaseStorageTest.java
/** * Copyright 2012 Julien Eluard * This project includes software developed by Julien Eluard: https://github.com/jeluard/ * * 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 * * htt...
Fixed test.
core/src/test/java/com/github/jeluard/stone/spi/BaseStorageTest.java
Fixed test.
<ide><path>ore/src/test/java/com/github/jeluard/stone/spi/BaseStorageTest.java <ide> final long timestamp = 12345L; <ide> storage.onConsolidation(timestamp, new int[]{1, 2}); <ide> <del> Assert.assertEquals(timestamp, storage.end().get()); <del> Assert.assertEquals(timestamp, Iterables.getLast(storage.al...
Java
bsd-3-clause
5e92c620bca33a05574e0d052cc0082f315f49b4
0
kevinko/mahttp,kevinko/mahttp
// Copyright 2014, Kevin Ko <kevin@faveset.com> package com.faveset.khttp; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import java.text.SimpleDateFormat; import java.util.Date; import java.util.EnumMap; import java.util.Map; imp...
src/main/com/faveset/khttp/HttpConnection.java
// Copyright 2014, Kevin Ko <kevin@faveset.com> package com.faveset.khttp; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; import java.util.EnumMap; import java.util.Map; import com.faveset.log.Log; import com.faveset.log.NullLog; ...
Add request logging. Add error logging when an invalid handler state is encountered.
src/main/com/faveset/khttp/HttpConnection.java
Add request logging. Add error logging when an invalid handler state is encountered.
<ide><path>rc/main/com/faveset/khttp/HttpConnection.java <ide> import java.nio.channels.Selector; <ide> import java.nio.channels.SocketChannel; <ide> <add>import java.text.SimpleDateFormat; <add>import java.util.Date; <ide> import java.util.EnumMap; <ide> import java.util.Map; <ide> <ide> <ide> // Handles an HTTP re...
Java
mit
ea4be4a3bbd4d4c86e4464e09119394a7ddbd9db
0
jpolodna01/Drury-Explorer
package edu.drury.mcs.icarus.druryexplorer; import android.app.ActionBar; import android.app.Activity; import android.content.Intent; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class about_drury extends Activity { @Ov...
DruryExplorer/app/src/main/java/edu/drury/mcs/icarus/druryexplorer/about_drury.java
package edu.drury.mcs.icarus.druryexplorer; import android.app.Activity; import android.content.Intent; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class about_drury extends Activity { @Override protected void onCr...
made the background image more transparent
DruryExplorer/app/src/main/java/edu/drury/mcs/icarus/druryexplorer/about_drury.java
made the background image more transparent
<ide><path>ruryExplorer/app/src/main/java/edu/drury/mcs/icarus/druryexplorer/about_drury.java <ide> package edu.drury.mcs.icarus.druryexplorer; <ide> <add>import android.app.ActionBar; <ide> import android.app.Activity; <ide> import android.content.Intent; <ide> import android.support.v7.app.ActionBarActivity; <ide> ...
Java
apache-2.0
12bf445f4bb13797edb42d7c438365876815dc11
0
eladnava/redalert-android
package com.red.alert.logic.notifications; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.BitmapFactory; import android.graphics.Color; import androidx.annotation.R...
app/src/main/java/com/red/alert/logic/notifications/RocketNotifications.java
package com.red.alert.logic.notifications; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.graphics.BitmapFactory; import android.graphics.Color; import androidx.core.app.NotificationCompat; import android.util.Log;...
Fix #26: Alert Sound even when set to silent
app/src/main/java/com/red/alert/logic/notifications/RocketNotifications.java
Fix #26: Alert Sound even when set to silent
<ide><path>pp/src/main/java/com/red/alert/logic/notifications/RocketNotifications.java <ide> package com.red.alert.logic.notifications; <ide> <add>import android.app.NotificationChannel; <ide> import android.app.NotificationManager; <ide> import android.app.PendingIntent; <ide> import android.content.Context; <ide> im...
Java
apache-2.0
0fc491da82be697d0dbff2627a3c37cc729d5e07
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.sh.rename; import com.intellij.codeInsight.template.impl.TemplateManagerImpl; import com.intellij.codeInsight.template.impl.TemplateState; import com.intelli...
plugins/sh/tests/com/intellij/sh/rename/ShRenameAllOccurrencesTest.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.sh.rename; import com.intellij.codeInsight.template.impl.TemplateManagerImpl; import com.intellij.codeInsight.template.impl.TemplateState; import com.intelli...
sh: fix test when rename action is disabled, e.g. when renaming keywords GitOrigin-RevId: 334fbc36a9696ae7ab6cd39c52563e1c91555442
plugins/sh/tests/com/intellij/sh/rename/ShRenameAllOccurrencesTest.java
sh: fix test when rename action is disabled, e.g. when renaming keywords
<ide><path>lugins/sh/tests/com/intellij/sh/rename/ShRenameAllOccurrencesTest.java <ide> private void doTest(@Nullable String newName) { <ide> configureByFile(getTestName(true) + "-before.sh"); <ide> TemplateManagerImpl.setTemplateTesting(getTestRootDisposable()); <del> executeAction(IdeActions.ACTION_RENAM...
JavaScript
mit
7b8435174142cb793d4efc42045b9c9d3f00b2d0
0
17/seals,17/seals
import helpers from './helpers' function normalizeMessage (chatHistory, me, friend) { // let messageList // let mediaList let result = { message: [] , media: [] } for (let i = 0; i < chatHistory.length; i++) { const _message = chatHistory[i] const _content = _message.c const message = { ...
src/utils/qq.js
import helpers from './helpers' function normalizeMessage (chatHistory, me, friend) { // let messageList // let mediaList let result = { message: [] , media: [] } for (let i = 0; i < chatHistory.length; i++) { const _message = chatHistory[i] const _content = _message.c const message = { ...
修复解析空好友表列时出现的错误
src/utils/qq.js
修复解析空好友表列时出现的错误
<ide><path>rc/utils/qq.js <ide> , name: group.gn <ide> , friend: [] <ide> } <add> if (group.frd == null) { <add> continue <add> } <ide> for (let j = 0; j < group.frd.length; j++) { <ide> let friend = group.frd[j] <ide> friendList.friend.push({
Java
apache-2.0
8b66a4f8e46b2c7d58a281247f7a08c8605b6c8d
0
max3163/jmeter,ra0077/jmeter,max3163/jmeter,max3163/jmeter,kschroeder/jmeter,ra0077/jmeter,d0k1/jmeter,kschroeder/jmeter,hizhangqi/jmeter-1,ubikfsabbe/jmeter,thomsonreuters/jmeter,vherilier/jmeter,liwangbest/jmeter,ThiagoGarciaAlves/jmeter,tuanhq/jmeter,ubikloadpack/jmeter,kschroeder/jmeter,hemikak/jmeter,hemikak/jmete...
/* * 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/reports/org/apache/jmeter/testelement/ReportPlan.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 ...
Bug 52265 - Code:Transient fields not set by deserialization Bugzilla Id: 52265 git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1442357 13f79535-47bb-0310-9956-ffa450edef68
src/reports/org/apache/jmeter/testelement/ReportPlan.java
Bug 52265 - Code:Transient fields not set by deserialization Bugzilla Id: 52265
<ide><path>rc/reports/org/apache/jmeter/testelement/ReportPlan.java <ide> public void testStarted(String host) { <ide> testStarted(); <ide> } <add> <add> protected Object readResolve(){ <add> reportPages = new LinkedList<AbstractThreadGroup>(); <add> configs = new LinkedList<ConfigE...
JavaScript
mit
c39d06f9834f5d4de5ccf0d498062754d1646b97
0
phetsims/chipper,phetsims/chipper,phetsims/chipper
// Copyright 2019, University of Colorado Boulder /** * Launch an instance of the simulation using puppeteer, gather the phet-io api of the simulation, see phetioEngine.getPhetioElementsBaseline * @author Michael Kauzmann (PhET Interactive Simulations) * @author Chris Klusendorf (PhET Interactive Simulations) * @a...
js/grunt/phet-io/generatePhetioAPIFiles.js
// Copyright 2019, University of Colorado Boulder /** * Launch an instance of the simulation using puppeteer, gather the phet-io api of the simulation, see phetioEngine.getPhetioElementsBaseline * @author Michael Kauzmann (PhET Interactive Simulations) * @author Chris Klusendorf (PhET Interactive Simulations) * @a...
remove 'ea' for generating API files, phetsims/phet-io#1589
js/grunt/phet-io/generatePhetioAPIFiles.js
remove 'ea' for generating API files, phetsims/phet-io#1589
<ide><path>s/grunt/phet-io/generatePhetioAPIFiles.js <ide> page.on( 'pageerror', msg => reject( msg ) ); <ide> <ide> try { <del> await page.goto( `${localTestingURL}${repo}/${repo}_en.html?brand=phet-io&phetioStandalone&ea&phetioPrintPhetioFiles` ); <add> await page.goto( `${localTestingURL}${repo}/$...
Java
apache-2.0
f30ac86aa4b73be1d580f6a9396e0722a3eadc5e
0
BlakeDickie/java-template-launcher
/* * Copyright 2015 QHR Technologies. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
src/main/java/com/qhrtech/emr/launcher/docker/DockerInstance.java
/* * Copyright 2015 QHR Technologies. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
EMRDI-10: Fixing monitoring after network errors.
src/main/java/com/qhrtech/emr/launcher/docker/DockerInstance.java
EMRDI-10: Fixing monitoring after network errors.
<ide><path>rc/main/java/com/qhrtech/emr/launcher/docker/DockerInstance.java <ide> <ide> public void startMonitoring() { <ide> EventsCmd eventsCmd = client.eventsCmd(); <del> eventsCmd.exec( new EventMonitor() ); <add> EventMonitor exec = eventsCmd.exec( new EventMonitor() ); <add> Temp...
Java
apache-2.0
3959fb183435e56c1167334031da8849a37f6896
0
enternoescape/opendct,enternoescape/opendct,enternoescape/opendct
/* * Copyright 2015 The OpenDCT Authors. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
src/main/java/opendct/tuning/upnp/config/DCTDefaultUpnpServiceConfiguration.java
/* * Copyright 2015 The OpenDCT Authors. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Logging cleanup.
src/main/java/opendct/tuning/upnp/config/DCTDefaultUpnpServiceConfiguration.java
Logging cleanup.
<ide><path>rc/main/java/opendct/tuning/upnp/config/DCTDefaultUpnpServiceConfiguration.java <ide> } <ide> } <ide> <del> logger.info("Using the interface '{}' with IP address {} for UPnP discovery.", networkInterface.getName(), address); <add> ...
Java
bsd-3-clause
d7e6a4b1e7ea0eeceb2be6aa431e505642e41168
0
dednal/chromium.src,Jonekee/chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,mogoweb/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,hgl888/chromium-crosswalk,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,hgl888/c...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.content.browser; import android.test.FlakyTest; import android.test.suitebuilder.annotation.LargeTest; import android.test.suite...
content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.content.browser; import android.test.suitebuilder.annotation.LargeTest; import android.test.suitebuilder.annotation.MediumTest; ...
Mark PhoneNumberDetectionTest as flaky BUG=231484 Review URL: https://codereview.chromium.org/14265011 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@194241 0039d316-1c4b-4281-b951-d872f2087c98
content/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java
Mark PhoneNumberDetectionTest as flaky
<ide><path>ontent/public/android/javatests/src/org/chromium/content/browser/PhoneNumberDetectionTest.java <ide> <ide> package org.chromium.content.browser; <ide> <add>import android.test.FlakyTest; <ide> import android.test.suitebuilder.annotation.LargeTest; <ide> import android.test.suitebuilder.annotation.MediumTes...
JavaScript
mit
5a755319f95a520fdf9e603451db16822f806416
0
sama2/Viridian-Pokemon-Showdown,Flareninja/Sora,Flareninja/Sora,Sora-Server/Sora,Raina4uberz/Light-server,Raina4uberz/Light-server,sama2/Viridian-Pokemon-Showdown,Sora-Server/Sora,Flareninja/Sora,Sora-Server/Sora
/** * Commands * Pokemon Showdown - https://pokemonshowdown.com/ * * These are commands. For instance, you can define the command 'whois' * here, then use it by typing /whois into Pokemon Showdown. * * A command can be in the form: * ip: 'whois', * This is called an alias: it makes it so /ip does the same th...
config/commands.js
/** * Commands * Pokemon Showdown - https://pokemonshowdown.com/ * * These are commands. For instance, you can define the command 'whois' * here, then use it by typing /whois into Pokemon Showdown. * * A command can be in the form: * ip: 'whois', * This is called an alias: it makes it so /ip does the same th...
Fix indenting
config/commands.js
Fix indenting
<ide><path>onfig/commands.js <ide> tienda: 'shop', <ide> shop: function (target, room, user) { <ide> if (!this.canBroadcast()) return false; <del> this.sendReplyBox('<center><h3><b><u>Tienda de Viridian</u></b></h3><table border="1" cellspacing="0" cellpadding="3" target="_blank"><tbody>' + <del> '<tr><th>Art&iac...
Java
apache-2.0
717d5ccc65b3ae17ee78b3884a223821a2f7432b
0
PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder
package org.pdxfinder.graph.dao; import org.neo4j.ogm.annotation.Index; import org.neo4j.ogm.annotation.NodeEntity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import java.util.HashSet; import java.util.Set; /** * Created by jmason on 17/03/2017. */ @NodeEntity public class Marker { @...
data-model/src/main/java/org/pdxfinder/graph/dao/Marker.java
package org.pdxfinder.graph.dao; import org.neo4j.ogm.annotation.Index; import org.neo4j.ogm.annotation.NodeEntity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import java.util.HashSet; import java.util.Set; /** * Created by jmason on 17/03/2017. */ @NodeEntity public class Marker { @...
Update Marker.java
data-model/src/main/java/org/pdxfinder/graph/dao/Marker.java
Update Marker.java
<ide><path>ata-model/src/main/java/org/pdxfinder/graph/dao/Marker.java <ide> <ide> String ensemblGeneId; <ide> String ncbiGeneId; <del> String uniprotId;// e.g For human KRAS : P01116 <del> <add> String uniprotId; <add> <ide> @Index <ide> Set<String> prevSymbols; <ide> @Index
Java
apache-2.0
ce8924c275998315ac105646d36037079d746b78
0
windofthesky/AutoConfigServer
package configmanageserver; import java.util.Timer; import java.util.TimerTask; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPubSub; /** * @ClassName: ScheduledTimerTask. * @Description: this class extends from TimerTask and override the run() function which will be called when time's up. */ ...
src/ConfigClient.java
package configmanageserver; import java.util.Timer; import java.util.TimerTask; import redis.clients.jedis.Jedis; import redis.clients.jedis.JedisPubSub; /** * @ClassName: ScheduledTimerTask. * @Description: this class extends from TimerTask and override the run() function which will be called when time's up. */ ...
Update ConfigClient.java Modify the code style.
src/ConfigClient.java
Update ConfigClient.java
<ide><path>rc/ConfigClient.java <ide> */ <ide> class ScheduledTimerTask extends TimerTask <ide> { <del> /** <add> /** <ide> * @FieldName: ipaddr. <ide> * @Description: the ip address of the redis server which is used to store the parameter. <ide> */ <del> private String ipaddr; <del> <del> /** <add>...
Java
mit
88769a876dfbf8def01a0443d7c7266587b9b5b4
0
SpongePowered/Sponge,SpongePowered/Sponge,SpongePowered/SpongeCommon,SpongePowered/Sponge,SpongePowered/SpongeCommon
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
src/main/java/org/spongepowered/common/mixin/core/util/MixinDamageSource.java
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Correctly detect the damage type in for registry matching versus vanilla type matching. Signed-off-by: Gabriel Harris-Rouquette <f9869a2c93dad38a06e8fb39147155331a1102ab@me.com>
src/main/java/org/spongepowered/common/mixin/core/util/MixinDamageSource.java
Correctly detect the damage type in for registry matching versus vanilla type matching.
<ide><path>rc/main/java/org/spongepowered/common/mixin/core/util/MixinDamageSource.java <ide> <ide> @Inject(method = "<init>", at = @At("RETURN")) <ide> private void spongeSetDamageTypeFromConstructor(String damageTypeIn, CallbackInfo ci) { <del> if (damageTypeIn.contains(":")) { <add> if (!damag...
Java
apache-2.0
e4f4283c76dd3a13d0bf3a6dc680bd37e8ae5cd4
0
lirui-apache/hive,b-slim/hive,lirui-apache/hive,anishek/hive,sankarh/hive,alanfgates/hive,nishantmonu51/hive,jcamachor/hive,b-slim/hive,b-slim/hive,lirui-apache/hive,anishek/hive,alanfgates/hive,sankarh/hive,vineetgarg02/hive,vineetgarg02/hive,sankarh/hive,b-slim/hive,vineetgarg02/hive,jcamachor/hive,alanfgates/hive,vi...
/* * 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 ...
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRestrictInformationSchema.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 ...
HIVE-20494: GenericUDFRestrictInformationSchema is broken after HIVE-19440 (Daniel Dai, reviewed by Vaibhav Gumashta)
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRestrictInformationSchema.java
HIVE-20494: GenericUDFRestrictInformationSchema is broken after HIVE-19440 (Daniel Dai, reviewed by Vaibhav Gumashta)
<ide><path>l/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRestrictInformationSchema.java <ide> LOG.warn("Error instantiating hive.security.metastore.authorization.manager", e); <ide> } <ide> } <del> <del> if (enableHS2PolicyProvider || enableMetastorePolicyProvider) { <d...
Java
apache-2.0
44bad8a10ebf99a00d4d759e09008e80db033f36
0
artemnikitin/SeriesGuide,UweTrottmann/SeriesGuide,hoanganhx86/SeriesGuide,r00t-user/SeriesGuide,0359xiaodong/SeriesGuide,epiphany27/SeriesGuide,UweTrottmann/SeriesGuide
package com.battlelancer.seriesguide.ui; import com.battlelancer.seriesguide.R; import com.battlelancer.seriesguide.items.SearchResult; import com.battlelancer.seriesguide.provider.SeriesContract.Episodes; import com.battlelancer.seriesguide.util.ImageDownloader; import com.battlelancer.seriesguide.util.ShareU...
SeriesGuide/src/com/battlelancer/seriesguide/ui/TraktFriendsFragment.java
package com.battlelancer.seriesguide.ui; import com.battlelancer.seriesguide.R; import com.battlelancer.seriesguide.items.SearchResult; import com.battlelancer.seriesguide.provider.SeriesContract.Episodes; import com.battlelancer.seriesguide.util.ImageDownloader; import com.battlelancer.seriesguide.util.ShareU...
Check for null activity.
SeriesGuide/src/com/battlelancer/seriesguide/ui/TraktFriendsFragment.java
Check for null activity.
<ide><path>eriesGuide/src/com/battlelancer/seriesguide/ui/TraktFriendsFragment.java <ide> for (ActivityItem activity : friend.watched) { <ide> <ide> // is this an episode? <del> if (activity.type == ActivityType.Episode) { <add> ...
Java
apache-2.0
1cf571b073e73c5243c1b4ca666621f213c1f0c0
0
apache/juddi,apache/juddi,apache/juddi,apache/juddi,apache/juddi
/* * Copyright 2001-2004 The Apache Software Foundation. * * 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...
src/java/org/apache/juddi/datastore/jdbc/FindTModelByCategoryQuery.java
/* * Copyright 2001-2004 The Apache Software Foundation. * * 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...
Replaced tab character with spaces to satisfy Checkstyle. git-svn-id: 9afb1f5cc321249b413187f68ffea1707b8f9361@262677 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/juddi/datastore/jdbc/FindTModelByCategoryQuery.java
Replaced tab character with spaces to satisfy Checkstyle.
<ide><path>rc/java/org/apache/juddi/datastore/jdbc/FindTModelByCategoryQuery.java <ide> String name = keyedRef.getKeyName(); <ide> String value = keyedRef.getKeyValue(); <ide> <del> String tModelKey = keyedRef.getTModelKey(); <add> String tModelKey = keyedRef.getTModelKey(); <ide...
Java
mit
error: pathspec 'data-bus/src/test/java/com/iluwatar/databus/members/MessageCollectorMemberTest.java' did not match any file(s) known to git
f495a88e915a1cc894d231b3911ae619f4536a54
1
StefanHeimberg/java-design-patterns,mookkiah/java-design-patterns,zik43/java-design-patterns,zik43/java-design-patterns,radkrish/java-design-patterns,kingland/java-design-patterns,inbreak/java-design-patterns,kingland/java-design-patterns,fluxw42/java-design-patterns,radkrish/java-design-patterns,radkrish/java-design-p...
package com.iluwatar.databus.members; import com.iluwatar.databus.data.MessageData; import com.iluwatar.databus.data.StartingData; import org.junit.Assert; import org.junit.Test; import java.time.LocalDateTime; /** * Tests for {@link MessageCollectorMember}. * * @author Paul Campbell (pcampbell@kemitix.net) */ p...
data-bus/src/test/java/com/iluwatar/databus/members/MessageCollectorMemberTest.java
#467 data-bus: members: MessageCollectorMemberTest: added
data-bus/src/test/java/com/iluwatar/databus/members/MessageCollectorMemberTest.java
#467 data-bus: members: MessageCollectorMemberTest: added
<ide><path>ata-bus/src/test/java/com/iluwatar/databus/members/MessageCollectorMemberTest.java <add>package com.iluwatar.databus.members; <add> <add>import com.iluwatar.databus.data.MessageData; <add>import com.iluwatar.databus.data.StartingData; <add>import org.junit.Assert; <add>import org.junit.Test; <add> <add>impor...
Java
agpl-3.0
443ae36418ce1f0d859c777997adef7101b8f082
0
geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit
/* * Copyright 2005-2014 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...
kcmit-impl/src/main/java/org/kuali/kra/award/home/Award.java
/* * Copyright 2005-2014 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...
MITKC-755
kcmit-impl/src/main/java/org/kuali/kra/award/home/Award.java
MITKC-755
<ide><path>cmit-impl/src/main/java/org/kuali/kra/award/home/Award.java <ide> import org.springframework.util.AutoPopulatingList; <ide> <ide> import edu.mit.kc.coi.KcCoiLinkService; <del>import edu.mit.kc.coi.KcCoiLinkServiceImpl; <del> <ide> import java.sql.Date; <ide> import java.sql.SQLException; <ide> import java.s...
JavaScript
apache-2.0
c76b6199ae97b4e8bc1d90cac5e604104fc7d7d8
0
bumgardnera07/bloc-jams-angular,bumgardnera07/bloc-jams-angular
(function() { function SongPlayer() { /** * @desc object returned by the songplayer service for public use * @type {Object} */ var SongPlayer = {}; /** * @desc current song object from album songs array * @type {Object} */ var currentSong = null; /**...
app/scripts/services/SongPlayer.js
(function() { function SongPlayer() { var SongPlayer = {}; var currentSong = null; /** * @desc Buzz object audio file * @type {Object} */ var currentBuzzObject = null; /** * @function setSong * @desc Stops currently playing song and loads new audio file a...
documentation added
app/scripts/services/SongPlayer.js
documentation added
<ide><path>pp/scripts/services/SongPlayer.js <ide> (function() { <ide> function SongPlayer() { <add> /** <add> * @desc object returned by the songplayer service for public use <add> * @type {Object} <add> */ <ide> var SongPlayer = {}; <del> <add> /** <add> * @desc current song ob...
Java
lgpl-2.1
414595b68f3edf7bf7e6e695362cdb86fd58fc98
0
jensopetersen/exist,zwobit/exist,zwobit/exist,jensopetersen/exist,ambs/exist,hungerburg/exist,patczar/exist,zwobit/exist,eXist-db/exist,wolfgangmm/exist,wshager/exist,windauer/exist,RemiKoutcherawy/exist,olvidalo/exist,windauer/exist,zwobit/exist,joewiz/exist,kohsah/exist,dizzzz/exist,zwobit/exist,lcahlander/exist,patc...
/* * eXist Open Source Native XML Database * Copyright (C) 2010 The eXist Project * http://exist-db.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2 * ...
extensions/modules/src/org/exist/xquery/modules/file/SerializeToFile.java
/* * eXist Open Source Native XML Database * Copyright (C) 2010 The eXist Project * http://exist-db.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2 * ...
Fix for file:serialize and file:serialize-binary when working with NIO.2
extensions/modules/src/org/exist/xquery/modules/file/SerializeToFile.java
Fix for file:serialize and file:serialize-binary when working with NIO.2
<ide><path>xtensions/modules/src/org/exist/xquery/modules/file/SerializeToFile.java <ide> import java.util.Properties; <ide> import javax.xml.transform.OutputKeys; <ide> import static java.nio.file.StandardOpenOption.APPEND; <del>import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; <add>import static java....
Java
apache-2.0
b75be9c20edda8731e3d802b52a23ff1fce34b94
0
wyona/yanel,baszero/yanel,baszero/yanel,wyona/yanel,baszero/yanel,baszero/yanel,wyona/yanel,wyona/yanel,baszero/yanel,wyona/yanel,baszero/yanel,wyona/yanel
package org.wyona.yanel.servlet; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import java.util.HashMap; import org.apache.commons.io.IOUtils; import org.wyona.yanel.core.Environment; import org.wyona.yanel.core.ResourceConfiguration; import org.wyona.yanel.core.map.Realm; im...
src/webapp/src/java/org/wyona/yanel/servlet/YanelGlobalResourceTypeMatcher.java
package org.wyona.yanel.servlet; import java.io.File; import java.io.FileNotFoundException; import java.io.InputStream; import java.util.HashMap; import org.apache.commons.io.IOUtils; import org.wyona.yanel.core.Environment; import org.wyona.yanel.core.ResourceConfiguration; import org.wyona.yanel.core.map.Realm; im...
use global resource configuration instead hardcoded
src/webapp/src/java/org/wyona/yanel/servlet/YanelGlobalResourceTypeMatcher.java
use global resource configuration instead hardcoded
<ide><path>rc/webapp/src/java/org/wyona/yanel/servlet/YanelGlobalResourceTypeMatcher.java <ide> <ide> //XXX: maybe we should use a configuration file instead! <ide> java.util.Map<String, String> globalRCmap = new HashMap<String, String>(); <add> <ide> globalRCmap.put("workflow-dashboard.html", ...
JavaScript
mit
e8cef7a72f223782489757bbf0f4e83b2cbb7848
0
icetee/remote-ftp,mgrenier/remote-ftp
var __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child...
lib/views/directory-view.js
var __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child...
Switch to case insensitive sorting Case sensitive sorting makes no sense
lib/views/directory-view.js
Switch to case insensitive sorting
<ide><path>ib/views/directory-view.js <ide> return a instanceof DirectoryView ? -1 : 1; <ide> if (a.item.name == b.item.name) <ide> return 0; <del> return a.item.name > b.item.name ? 1 : -1; <add> <add> return a.item.name.toLowerCase().localeCompare(b.item.name.toLowerCase()); <ide> }); <ide> <ide> ...
Java
apache-2.0
81a654684d7fc8f40337e54c56b348abcc19ac07
0
carlosmontoyargz/Sistemas-Operativos-II
package administracion_de_memoria; /** * Clase que permite administrar una lista de segmentos de memoria mediante el * algoritmo del peor ajuste. * * @author carlosmontoya */ public class ListaPeorAjuste extends ListaSegmentos { public ListaPeorAjuste(int memoriaTotal) { super(memoriaTotal); } @Override p...
Sistemas-Operativos-II/src/administracion_de_memoria/ListaPeorAjuste.java
package administracion_de_memoria; /** * Clase que permite administrar una lista de segmentos de memoria mediante el * algoritmo del peor ajuste. * * @author carlosmontoya */ public class ListaPeorAjuste extends ListaSegmentos { public ListaPeorAjuste(int memoriaTotal) { super(memoriaTotal); } @Override p...
Metodos synchronized.
Sistemas-Operativos-II/src/administracion_de_memoria/ListaPeorAjuste.java
Metodos synchronized.
<ide><path>istemas-Operativos-II/src/administracion_de_memoria/ListaPeorAjuste.java <ide> } <ide> <ide> @Override <del> protected Segmento buscarHueco(int longitud) <add> protected synchronized Segmento buscarHueco(int longitud) <ide> { <ide> // Busca el primer hueco compatible <ide> Segmento mayor = super.busc...
Java
bsd-3-clause
1796642bea8a749e189095bc699368fa6ab22e59
0
lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon
/* * $Id$ */ /* Copyright (c) 2000-2015 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, includi...
plugins/test/src/org/lockss/plugin/atypon/wageningen/TestWageningenJournalsHtmlFilterFactory.java
/* * $Id$ */ /* Copyright (c) 2000-2015 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, includi...
Changed plugin name. git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@42162 4f837ed2-42f5-46e7-a7a5-fa17313484d4
plugins/test/src/org/lockss/plugin/atypon/wageningen/TestWageningenJournalsHtmlFilterFactory.java
Changed plugin name.
<ide><path>lugins/test/src/org/lockss/plugin/atypon/wageningen/TestWageningenJournalsHtmlFilterFactory.java <ide> PluginManager pluginMgr; <ide> <ide> private static final String PLUGIN_ID = <del> "org.lockss.plugin.atypon.wageningen.ClockssWageningenAtyponPlugin"; <add> "org.lockss.plugin.atypo...
JavaScript
lgpl-2.1
1d13b2a37f4d9be0f0ed2e8bdc2e5ace63b53af9
0
erasche/jbrowse,nathandunn/jbrowse,erasche/jbrowse,limeng12/jbrowse,igemsoftware/Shenzhen_BGIC_0101_2013,limeng12/jbrowse,GMOD/jbrowse,Arabidopsis-Information-Portal/jbrowse,igemsoftware/Shenzhen_BGIC_0101_2013,SuLab/jbrowse,limeng12/jbrowse,Arabidopsis-Information-Portal/jbrowse,GMOD/jbrowse,Arabidopsis-Information-Po...
require([ 'JBrowse/Browser', 'JBrowse/Store/BigWig', 'JBrowse/Model/XHRBlob' ], function( Browser, BigWig, XHRBlob ) { describe( 'BigWig with volvox_microarray.bw', function() { var b = new BigWig({ browser:...
tests/js_tests/spec/BigWig.spec.js
require(['JBrowse/Store/BigWig','JBrowse/Model/XHRBlob'], function( BigWig, XHRBlob ) { describe( 'BigWig with volvox_microarray.bw', function() { var b = new BigWig({ browser: {}, blob: new XHRBlob('../../sample_data/raw/volvox/volvox_microarray.bw') }); it('constru...
WIP fixing BigWig unit tests
tests/js_tests/spec/BigWig.spec.js
WIP fixing BigWig unit tests
<ide><path>ests/js_tests/spec/BigWig.spec.js <del>require(['JBrowse/Store/BigWig','JBrowse/Model/XHRBlob'], function( BigWig, XHRBlob ) { <add>require([ <add> 'JBrowse/Browser', <add> 'JBrowse/Store/BigWig', <add> 'JBrowse/Model/XHRBlob' <add> ], function( <add> Browse...
JavaScript
bsd-3-clause
41cdcf5734e1bf4b0488ca81c08520ef955bc555
0
forcedotcom/kylie,sdgdsffdsfff/boomerang,lognormal/boomerang,forcedotcom/kylie,FredXue/boomerang,lognormal/boomerang,levexis/boomerang,levexis/boomerang,FredXue/boomerang,sdgdsffdsfff/boomerang
boomerang-0.9.1280532889.js
/* * Copyright (c) 2011, Yahoo! Inc. All rights reserved. * Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms. */ (function(a){var e,c,b,g=a.document;if(typeof BOOMR==="undefined"){BOOMR={}}if(BOOMR.version){return}BOOMR.version="0.9";e={beacon_url:"",site_domain:a.location.host...
remove old build of boomerang file
boomerang-0.9.1280532889.js
remove old build of boomerang file
<ide><path>oomerang-0.9.1280532889.js <del>/* <del> * Copyright (c) 2011, Yahoo! Inc. All rights reserved. <del> * Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms. <del> */ <del>(function(a){var e,c,b,g=a.document;if(typeof BOOMR==="undefined"){BOOMR={}}if(BOOMR.version){return}B...
Java
mit
36263b1d099d97ae7373cd29077f6cd17a62ec3e
0
BartMassey/chomp
/* * Copyright © 2013 Bart Massey * [This program is licensed under the "MIT License"] * Please see the file COPYING in the source * distribution of this software for license terms. */ /* Java player for the simple game "Chomp" (http://en.wikipedia.org/wiki/Chomp) */ import java.io.*; class Move { int r,...
Chomp.java
/* * Copyright © 2013 Bart Massey * [This program is licensed under the "MIT License"] * Please see the file COPYING in the source * distribution of this software for license terms. */ /* Java player for the simple game "Chomp" (http://en.wikipedia.org/wiki/Chomp) */ import java.io.*; class Move { int r,...
decorated poison square with *
Chomp.java
decorated poison square with *
<ide><path>homp.java <ide> for (int r = 0; r < dimy; r++) { <ide> for (int c = 0; c < dimx; c++) { <ide> if (b[r][c]) { <del> System.out.print("o"); <add> if (r == 0 && c == 0) <add> System.out.print("*"); <add> ...
JavaScript
bsd-3-clause
3ac8479d17a09ac3f27ebe8b492e544dc425b492
0
Anaethelion/django-mapentity,makinacorpus/django-mapentity,makinacorpus/django-mapentity,Anaethelion/django-mapentity,Anaethelion/django-mapentity,makinacorpus/django-mapentity
if (!MapEntity) var MapEntity = {}; MapEntity.ObjectsLayer = L.GeoJSON.extend({ COLOR: 'blue', HIGHLIGHT: 'red', WEIGHT: 2, OPACITY: 0.8, includes: L.Mixin.Events, initialize: function (geojson, options) { // Hold the definition of all layers - immutable this._objects = {...
mapentity/static/mapentity/mapentity.js
if (!MapEntity) var MapEntity = {}; MapEntity.ObjectsLayer = L.GeoJSON.extend({ COLOR: 'blue', HIGHLIGHT: 'red', WEIGHT: 2, OPACITY: 0.8, includes: L.Mixin.Events, initialize: function (geojson, options) { // Hold the definition of all layers - immutable this._objects = {...
Show first column clickable for infrastructure (ref #141)
mapentity/static/mapentity/mapentity.js
Show first column clickable for infrastructure (ref #141)
<ide><path>apentity/static/mapentity/mapentity.js <ide> for (var i in layer._layers) { <ide> bounds.extend(layer._layers[i].getBounds()); <ide> } <del> console.log(bounds); <ide> } <ide> else if (layer.getBounds) { <ide> bounds = layer.getBo...
Java
apache-2.0
43007368acf25889a4620d34d123073e3accabf1
0
euclio/learnalanguage
package com.acrussell.learnalanguage; import java.awt.Font; import java.io.IOException; import java.io.OutputStream; import javax.swing.JTextArea; import javax.swing.text.BadLocationException; import javax.swing.text.DefaultCaret; @SuppressWarnings("serial") public class Console extends JTextArea { p...
src/com/acrussell/learnalanguage/Console.java
package com.acrussell.learnalanguage; import java.awt.Font; import java.io.IOException; import java.io.OutputStream; import javax.swing.JTextArea; import javax.swing.SwingUtilities; import javax.swing.text.BadLocationException; import javax.swing.text.DefaultCaret; @SuppressWarnings("serial") public clas...
Rewrote updateTextArea() to not depend on new threads
src/com/acrussell/learnalanguage/Console.java
Rewrote updateTextArea() to not depend on new threads
<ide><path>rc/com/acrussell/learnalanguage/Console.java <ide> import java.io.OutputStream; <ide> <ide> import javax.swing.JTextArea; <del>import javax.swing.SwingUtilities; <ide> import javax.swing.text.BadLocationException; <ide> import javax.swing.text.DefaultCaret; <ide> <ide> <ide> private int maxLines = 80;...
Java
apache-2.0
21a7cc1b0470865b70e557e75768639eb146cbc5
0
Peppe/vaadin,shahrzadmn/vaadin,sitexa/vaadin,oalles/vaadin,fireflyc/vaadin,udayinfy/vaadin,shahrzadmn/vaadin,shahrzadmn/vaadin,oalles/vaadin,peterl1084/framework,Legioth/vaadin,Scarlethue/vaadin,peterl1084/framework,travisfw/vaadin,udayinfy/vaadin,Scarlethue/vaadin,travisfw/vaadin,udayinfy/vaadin,jdahlstrom/vaadin.reac...
/* ************************************************************************* IT Mill Toolkit Development of Browser User Intarfaces Made Easy Copyright (C) 2000-2006 IT Mill Ltd ************************************************************************* This product is distributed under commercial license th...
src/com/itmill/toolkit/service/License.java
/* ************************************************************************* IT Mill Toolkit Development of Browser User Intarfaces Made Easy Copyright (C) 2000-2006 IT Mill Ltd ************************************************************************* This product is distributed under commercial license th...
Minor corrections svn changeset:160/svn branch:toolkit
src/com/itmill/toolkit/service/License.java
Minor corrections
<ide><path>rc/com/itmill/toolkit/service/License.java <ide> import java.security.cert.X509Certificate; <ide> import java.util.Calendar; <ide> import java.util.Iterator; <del>import java.util.TooManyListenersException; <ide> import java.util.TreeSet; <ide> <ide> import javax.xml.parsers.DocumentBuilder; <ide> import or...
JavaScript
mit
1807a60dbf8e24d08bad6655efa7fa652738de80
0
iuap-design/tinper.org,iuap-design/tinper.org,iuap-design/tinper.org
var fs = require('fs'); var gulp = require('gulp'); var sass = require('gulp-sass'); var path = require('path'); var concat = require('gulp-concat'); var webpack = require('gulp-webpack'); var rename = require('gulp-rename'); var zip = require('gulp-zip'); var clean = require('gulp-clean'); // 获取Neoui es6模块依赖关系 var ne...
server/pack.js
var fs = require('fs'); var gulp = require('gulp'); var sass = require('gulp-sass'); var path = require('path'); var concat = require('gulp-concat'); var webpack = require('gulp-webpack'); var rename = require('gulp-rename'); var zip = require('gulp-zip'); var clean = require('gulp-clean'); // 获取Neoui es6模块依赖关系 var ne...
feat: 取消sass编译,直接合并
server/pack.js
feat: 取消sass编译,直接合并
<ide><path>erver/pack.js <ide> * JS Match: jsselect <ide> */ <ide> var dataJson = data; <del> console.log(dataJson); <add> // console.log(dataJson); <ide> var basePath = '../node_modules/'; <ide> <ide> /** <ide> var neouiBasePath = path.resolve(__dirname,basePath + tinperNeoui); <ide> var neouiCss =[]; <ide> ...
Java
apache-2.0
f31d6465944adb4e4a6b66f4e35538610e6f4bbd
0
apache/helix,dasahcc/helix,apache/helix,lei-xia/helix,lei-xia/helix,lei-xia/helix,lei-xia/helix,dasahcc/helix,lei-xia/helix,dasahcc/helix,apache/helix,apache/helix,lei-xia/helix,apache/helix,dasahcc/helix,apache/helix,dasahcc/helix,dasahcc/helix
package org.apache.helix.monitoring.mbeans; /* * 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 ...
helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ResourceMonitor.java
package org.apache.helix.monitoring.mbeans; /* * 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 ...
Fix issue in reporting MissingMinActiveReplicaPartitionGauge metric in ResourceMonitor when there is no IdealMapping persisted in IdealState.
helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ResourceMonitor.java
Fix issue in reporting MissingMinActiveReplicaPartitionGauge metric in ResourceMonitor when there is no IdealMapping persisted in IdealState.
<ide><path>elix-core/src/main/java/org/apache/helix/monitoring/mbeans/ResourceMonitor.java <ide> try { <ide> replica = Integer.valueOf(idealState.getReplicas()); <ide> } catch (NumberFormatException e) { <add> _logger.error("Invalid replica count for " + _resourceName + ", failed to update its Resour...
Java
lgpl-2.1
ba6c3133d47b28d8ab81cc0b4bfb92463bf139f6
0
bjalon/nuxeo-features,deadcyclo/nuxeo-features,nuxeo-archives/nuxeo-features,deadcyclo/nuxeo-features,bjalon/nuxeo-features,nuxeo-archives/nuxeo-features,bjalon/nuxeo-features,nuxeo-archives/nuxeo-features,bjalon/nuxeo-features,nuxeo-archives/nuxeo-features,deadcyclo/nuxeo-features,nuxeo-archives/nuxeo-features,deadcyc...
package org.nuxeo.ecm.automation.jaxrs.io.documents; import static org.nuxeo.ecm.core.api.security.SecurityConstants.BROWSE; import static org.nuxeo.ecm.core.api.security.SecurityConstants.EVERYONE; import java.io.OutputStream; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import java.util.Ar...
nuxeo-automation/nuxeo-automation-io/src/main/java/org/nuxeo/ecm/automation/jaxrs/io/documents/JsonESDocumentWriter.java
package org.nuxeo.ecm.automation.jaxrs.io.documents; import static org.nuxeo.ecm.core.api.security.SecurityConstants.BROWSE; import static org.nuxeo.ecm.core.api.security.SecurityConstants.EVERYONE; import java.io.OutputStream; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import java.util.Ar...
NXP-14009 fix typo in primaryType
nuxeo-automation/nuxeo-automation-io/src/main/java/org/nuxeo/ecm/automation/jaxrs/io/documents/JsonESDocumentWriter.java
NXP-14009 fix typo in primaryType
<ide><path>uxeo-automation/nuxeo-automation-io/src/main/java/org/nuxeo/ecm/automation/jaxrs/io/documents/JsonESDocumentWriter.java <ide> jg.writeStringField("ecm:name", doc.getName()); <ide> jg.writeStringField("ecm:title", doc.getTitle()); <ide> jg.writeStringField("ecm:path", doc.getPathAsStri...
JavaScript
mit
72b3cd76048e90fb71b6528af716f171b7340820
0
seznam/IMA.js-core,seznam/IMA.js-core
let gulp = require('gulp'); let babel = require('gulp-babel'); let plumber = require('gulp-plumber'); let sourcemaps = require('gulp-sourcemaps'); let tap = require('gulp-tap'); gulp.task('ima:compile', () => { return ( gulp .src([ __dirname + '/main.js', __dirname + '/namespace.js', __dirname + '/B...
gulpfile.js
let gulp = require('gulp'); let babel = require('gulp-babel'); let plumber = require('gulp-plumber'); let sourcemaps = require('gulp-sourcemaps'); let tap = require('gulp-tap'); gulp.task('ima:compile', () => { return ( gulp .src([ __dirname + '/main.js', __dirname + '/namespace.js', __dirname + '/O...
added Boostrap.js to the compiled files
gulpfile.js
added Boostrap.js to the compiled files
<ide><path>ulpfile.js <ide> .src([ <ide> __dirname + '/main.js', <ide> __dirname + '/namespace.js', <add> __dirname + '/Bootstrap.js', <ide> __dirname + '/ObjectContainer.js', <ide> __dirname + '/!(node_modules)/**/!(*Spec).js' <ide> ])
Java
lgpl-2.1
4dae1cadf569becae2be6a4868a3d7b47d6e2743
0
rhusar/wildfly,99sono/wildfly,golovnin/wildfly,pferraro/wildfly,wildfly/wildfly,tadamski/wildfly,iweiss/wildfly,xasx/wildfly,tomazzupan/wildfly,pferraro/wildfly,wildfly/wildfly,iweiss/wildfly,xasx/wildfly,rhusar/wildfly,99sono/wildfly,wildfly/wildfly,xasx/wildfly,pferraro/wildfly,golovnin/wildfly,jstourac/wildfly,99son...
/* * JBoss, Home of Professional Open Source. * Copyright 2010, 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...
messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/JMSService.java
/* * JBoss, Home of Professional Open Source. * Copyright 2010, 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...
[WFLY-8746] RejectedExecutionException in the MDB during shutdown Add a dependency from the JMS server service to the Artemis client thread pools to ensure that the thread pools are cleaned up after the JMS servers are stopped. JIRA: https://issues.jboss.org/browse/WFLY-8746
messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/JMSService.java
[WFLY-8746] RejectedExecutionException in the MDB during shutdown
<ide><path>essaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/jms/JMSService.java <ide> import org.jboss.msc.value.InjectedValue; <ide> import org.wildfly.extension.messaging.activemq.ActiveMQActivationService; <ide> import org.wildfly.extension.messaging.activemq.DefaultCredentials; <add>import o...
Java
apache-2.0
e815567d6834ffcbae920c4be5128b8f3ca2060f
0
reinert/requestor,reinert/requestor,reinert/requestor
/* * Copyright 2022 Danilo Reinert * * 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 ...
requestor/core/requestor-core/src/main/java/io/reinert/requestor/core/StoreManager.java
/* * Copyright 2022 Danilo Reinert * * 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 ...
#142 [core] Consider data in store available even if expired
requestor/core/requestor-core/src/main/java/io/reinert/requestor/core/StoreManager.java
#142 [core] Consider data in store available even if expired
<ide><path>equestor/core/requestor-core/src/main/java/io/reinert/requestor/core/StoreManager.java <ide> <ide> final Data data = dataMap.get(key); <ide> <del> if (data == null || data.isExpired()) return null; <add> if (data == null) return null; <ide> <ide> return (T) data.getValue(); <...
JavaScript
mit
614820919dc2072ef886ce2ea07e0549e8d26883
0
team-kke/erichika
"use strict"; var error = require('debug')('error'); var generate = require('./base'); var room = require('../room'); var verbose = require('debug')('verbose:queue'); var TEAMSIZE = 6; var user = {}; var teams = { waitPlayer: [], waitConfirm: [] }; var queue = []; function Team() { verbose('Team() constructor cal...
backend/sockets/queue.js
"use strict"; var error = require('debug')('error'); var generate = require('./base'); var room = require('../room'); var verbose = require('debug')('verbose:queue'); var TEAMSIZE = 6; var user = {}; var teams = { waitPlayer: [], waitConfirm: [] }; var queue = []; function Team() { verbose('Team() constructor cal...
Fix 'current' value when state is 'wait-confirm'. Sorry
backend/sockets/queue.js
Fix 'current' value when state is 'wait-confirm'.
<ide><path>ackend/sockets/queue.js <ide> }; <ide> <ide> function updateClient(team, state) { <del> verbose('emit queue/update, state: %s, current: %s', state, team.members.length); <add> var current; <add> if (state === 'wait-player') { <add> current = team.members.length; <add> } else if (state === 'wait-confi...
Java
apache-2.0
421a300d8ba1af22bc64c61fef6cce266c3507de
0
williampma/relex,opencog/relex,linas/relex,ainishdave/relex,williampma/relex,ainishdave/relex,linas/relex,virneo/relex,AmeBel/relex,opencog/relex,anitzkin/relex,anitzkin/relex,rodsol/relex,ainishdave/relex,anitzkin/relex,rodsol/relex,leungmanhin/relex,anitzkin/relex,leungmanhin/relex,ainishdave/relex,rodsol/relex,anitz...
/* * Copyright 2009 Linas Vepstas * * 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/java_test/relex/test/TestRelEx.java
/* * Copyright 2009 Linas Vepstas * * 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...
Fixing binary relationships of test sentences
src/java_test/relex/test/TestRelEx.java
Fixing binary relationships of test sentences
<ide><path>rc/java_test/relex/test/TestRelEx.java <ide> "_subj(run, he)\n" + <ide> "_subj(do, John)\n" + <ide> "_quantity(mile, many)\n"+ <del> "degree(many, comparative)\n"); <add> "degree(much, comparative)\n"); <ide> <ide> rc &= test_sentence ("He runs many less miles than ...
Java
epl-1.0
8d86ea73834a4f98ae6e9e110b050192c89de153
0
elexis/elexis-3-core,elexis/elexis-3-core,elexis/elexis-3-core,elexis/elexis-3-core
package ch.elexis.core.jpa.entities; import java.util.Collection; import java.util.HashSet; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.persistence.EntityListeners; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import ...
bundles/ch.elexis.core.jpa.entities/src/ch/elexis/core/jpa/entities/User.java
package ch.elexis.core.jpa.entities; import java.util.Collection; import java.util.HashSet; import javax.persistence.Column; import javax.persistence.Convert; import javax.persistence.Entity; import javax.persistence.EntityListeners; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import ...
[22949] ch.elexis.core.jpa.entities - add cache expiry to User
bundles/ch.elexis.core.jpa.entities/src/ch/elexis/core/jpa/entities/User.java
[22949] ch.elexis.core.jpa.entities - add cache expiry to User
<ide><path>undles/ch.elexis.core.jpa.entities/src/ch/elexis/core/jpa/entities/User.java <ide> import javax.persistence.Table; <ide> import javax.xml.bind.annotation.XmlRootElement; <ide> <add>import org.eclipse.persistence.annotations.Cache; <add> <ide> import ch.elexis.core.jpa.entities.converter.BooleanCharacterConv...
Java
apache-2.0
92598a9c5e504532c1eea6b0cb73cd51decff1a6
0
kimchy/compass,johnnywale/compass,johnnywale/compass,kimchy/compass,johnnywale/compass
/* * Copyright 2004-2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
src/main/src/org/compass/spring/LocalCompassBean.java
/* * Copyright 2004-2006 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
CMP-735 LocalCompassBean MUST implement org.springframework.beans.factory.BeanClassLoaderAware
src/main/src/org/compass/spring/LocalCompassBean.java
CMP-735 LocalCompassBean MUST implement org.springframework.beans.factory.BeanClassLoaderAware
<ide><path>rc/main/src/org/compass/spring/LocalCompassBean.java <ide> import org.compass.core.util.ClassUtils; <ide> import org.compass.spring.transaction.SpringSyncTransactionFactory; <ide> import org.springframework.beans.BeansException; <add>import org.springframework.beans.factory.BeanClassLoaderAware; <ide> import...
Java
apache-2.0
33f08c8a9258d371fe5b3ef03f38ce78466f44fc
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
package de.plushnikov.intellij.plugin.util; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.PsiAnnotation; import com.intellij.psi.PsiAnnotationOwner; import com.intellij.psi.PsiJavaCodeReferenceElement; import com.intellij.psi.PsiModifierList; import com...
plugins/lombok/src/main/java/de/plushnikov/intellij/plugin/util/PsiAnnotationSearchUtil.java
package de.plushnikov.intellij.plugin.util; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.PsiAnnotation; import com.intellij.psi.PsiAnnotationOwner; import com.intellij.psi.PsiJavaCodeReferenceElement; import com.intellij.psi.PsiModifierList; import com...
Recalculate cached FQN if annotation name changed Fixed #210, #270, #423 GitOrigin-RevId: 37c2f4f23ff1722541cd99e77195369a3087ffa9
plugins/lombok/src/main/java/de/plushnikov/intellij/plugin/util/PsiAnnotationSearchUtil.java
Recalculate cached FQN if annotation name changed Fixed #210, #270, #423
<ide><path>lugins/lombok/src/main/java/de/plushnikov/intellij/plugin/util/PsiAnnotationSearchUtil.java <ide> for (PsiAnnotation annotation : annotations) { <ide> PsiJavaCodeReferenceElement referenceElement = annotation.getNameReferenceElement(); <ide> if (null != referenceElement) { <del> if (sh...
Java
mit
3ffd891e436f52dd7249496ce240699aa7aa43e9
0
elancom/jvm.go,elancom/jvm.go,zxh0/jvm.go,rednaxelafx/jvm.go,zxh0/jvm.go,rednaxelafx/jvm.go,rednaxelafx/jvm.go,zxh0/jvm.go,elancom/jvm.go
public class ThreadTest { public static void main(String[] args) { new Thread();//.start(); } }
testclasses/src/main/java/ThreadTest.java
public class ThreadTest { public static void main(String[] args) { new Thread().start(); } }
add ThreadTest.java
testclasses/src/main/java/ThreadTest.java
add ThreadTest.java
<ide><path>estclasses/src/main/java/ThreadTest.java <ide> public class ThreadTest { <ide> <ide> public static void main(String[] args) { <del> new Thread().start(); <add> new Thread();//.start(); <ide> } <ide> <ide> }
JavaScript
mit
d7641e5bcc3c63e45842bc95726c63509c3d6b65
0
sindresorhus/got,floatdrop/got
'use strict'; const util = require('util'); const EventEmitter = require('events'); const http = require('http'); const https = require('https'); const {PassThrough, Transform} = require('stream'); const urlLib = require('url'); const fs = require('fs'); const querystring = require('querystring'); const CacheableReques...
index.js
'use strict'; const util = require('util'); const EventEmitter = require('events'); const http = require('http'); const https = require('https'); const {PassThrough, Transform} = require('stream'); const urlLib = require('url'); const fs = require('fs'); const querystring = require('querystring'); const CacheableReques...
fix Buffer.byteLength(req._header) throwing error (#490)
index.js
fix Buffer.byteLength(req._header) throwing error (#490)
<ide><path>ndex.js <ide> } <ide> <ide> const lastUploaded = uploaded; <del> const headersSize = Buffer.byteLength(req._header); <add> const headersSize = req._header ? Buffer.byteLength(req._header) : 0; <ide> uploaded = socket.bytesWritten - headersSize; <ide> <ide> // Prevent...
JavaScript
mit
a30e034265b5157efddc27aaba591f0683a4a63f
0
Flieral/Dashboard-Panel,Flieral/Dashboard-Panel,Flieral/Dashboard-Panel,Flieral/Dashboard-Panel
function wrapAccessToken(url, accessToken) { if (url.indexOf('?') !== -1) return url + '&access_token=' + accessToken else return url + '?access_token=' + accessToken } function wrapFilter(url, filter) { if (url.indexOf('?') !== -1) return url + '&filter=' + filter else return url + '?filter=' + filter } ...
js/pages/announcer/subcampaigns.js
function wrapAccessToken(url, accessToken) { if (url.indexOf('?') !== -1) return url + '&access_token=' + accessToken else return url + '?access_token=' + accessToken } function wrapFilter(url, filter) { if (url.indexOf('?') !== -1) return url + '&filter=' + filter else return url + '?filter=' + filter } ...
Add Handlers for Transition Between Pages
js/pages/announcer/subcampaigns.js
Add Handlers for Transition Between Pages
<ide><path>s/pages/announcer/subcampaigns.js <ide> fillEditSubcampaignFields(subcampName); <ide> $("#selectSettingSelect").selectpicker('val', subcampName) <ide> fillSettingSubcampaignFields(subcampName); <add> localStorage.removeItem("editableSubcampaignName") <ide> } <ide> $("#mySubcampaigns").hi...
JavaScript
apache-2.0
6f60bfc69bcaa2f0fbea6baf34aef9d4c31fdae9
0
dennisausbremen/tunefish,dennisausbremen/tunefish,dennisausbremen/tunefish
var helper = (function ($) { 'use strict'; /* PRIVATE FUNCTIONS */ /** * Login Page */ var setActivePanel = function setActiveTab(target) { var tabs = $('.tabs'), children = tabs.children().length, steps = 100 / children, tab = tabs.find(...
client/src/js/lib/helpers-vote.js
var helper = (function ($) { 'use strict'; /* PRIVATE FUNCTIONS */ /** * Login Page */ var setActivePanel = function setActiveTab(target) { var tabs = $('.tabs'), children = tabs.children().length, steps = 100 / children, tab = tabs.find(...
Clean comment after submit
client/src/js/lib/helpers-vote.js
Clean comment after submit
<ide><path>lient/src/js/lib/helpers-vote.js <ide> band: this.get('model') <ide> }); <ide> comment.save(); <add> this.set('comment', ''); <ide> }, <ide> <ide> addAllTracks: function...
JavaScript
mit
d3d5d4d78d65baab572803f031e5eb267f8d1952
0
ethantw/Han,ethantw/Han
define(function() { var $ = { /** * Query selectors which return arrays of the resulted * node lists. */ id: function( selector, $context ) { return ( $context || document ).getElementById( selector ) }, tag: function( selector, $context ) { return this.makeArray( ( $context || document...
src/js/method.js
define(function() { var $ = { /** * Query selectors which return arrays of the resulted * node lists. */ id: function( selector, $context ) { return ( $context || document ).getElementById( selector ) }, tag: function( selector, $context ) { return this.makeArray( ( $context || document...
Add `.qs()` method
src/js/method.js
Add `.qs()` method
<ide><path>rc/js/method.js <ide> return this.makeArray( <ide> ( $context || document ).getElementsByTagName( selector ) <ide> ) <add> }, <add> <add> qs: function( selector, $context ) { <add> return ( $context || document ).querySelector( selector ) <ide> }, <ide> <ide> qsa: function( selector, ...
JavaScript
mit
34155fff8f074adf8aa2558304838be7139de192
0
undoZen/oauth2-errorhandlers
'use strict'; module.exports = function (os) { var result = []; result.push(function(req, res, next) { var err; err = new Error('Resource not found.'); err.code = 'invalid_request'; err.status = 404; return next(err); }); result.push(function(err, req, res, next) { if (err.message === ...
index.js
'use strict'; module.exports = function (os) { var result = []; result.push(function(req, res, next) { var err; err = new Error('Resource not found.'); err.code = 'invalid_request'; err.status = 404; return next(err); }); result.push(function(err, req, res, next) { if (err.message === ...
print out unknown error to stderr
index.js
print out unknown error to stderr
<ide><path>ndex.js <ide> err.message = req.url === '/token' ? 'auth failed' : 'access token is required'; <ide> err.code = 'access_denied'; <ide> err.status = 403; <del> } else if ((err.status != null) && err.status >= 500) { <add> } else if (!err.status || err.status >= 500) { <ide> conso...
Java
bsd-3-clause
error: pathspec 'projects/core/src/main/java/gov/nih/nci/cabig/caaers/domain/GridIdentifiable.java' did not match any file(s) known to git
b0f3e6a958b5672a6afdb956a3c7b629997df7ee
1
CBIIT/caaers,NCIP/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers
package gov.nih.nci.cabig.caaers.domain; /** * * @author Sujith Vellat Thayyilthodi * */ public interface GridIdentifiable { /** * @return the grid-scoped unique identifier for this object */ String getGridId(); /** * Specify the grid-scoped unique identifier for this object * @param gr...
projects/core/src/main/java/gov/nih/nci/cabig/caaers/domain/GridIdentifiable.java
Interface for Grid Identifiable Domain objects. SVN-Revision: 288
projects/core/src/main/java/gov/nih/nci/cabig/caaers/domain/GridIdentifiable.java
Interface for Grid Identifiable Domain objects.
<ide><path>rojects/core/src/main/java/gov/nih/nci/cabig/caaers/domain/GridIdentifiable.java <add>package gov.nih.nci.cabig.caaers.domain; <add> <add>/** <add> * <add> * @author Sujith Vellat Thayyilthodi <add> * */ <add>public interface GridIdentifiable { <add> <add> /** <add> * @return the grid-scoped unique identif...
JavaScript
mit
e47fbac0ab5a539e57494ef190896b4d36f528f9
0
oropezahector/the-project,oropezahector/the-project
var path = require('path'); var models = require('../models'); module.exports = function(app, passport) { app.get('/logout', function(req, res) { req.logout(); res.redirect('/'); }); app.get('/', function(req, res) { res.render('index', { title: 'Test' }); }); app.get('/:id/:name', function(re...
controllers/html-routes.js
var path = require('path'); var models = require('../models'); module.exports = function(app, passport) { app.get('/logout', function(req, res) { req.logout(); res.redirect('/'); }); app.get('/', function(req, res) { res.render('index', { title: 'Test' }); }); app.get('/:id/:name', function(re...
Fixed callback after login
controllers/html-routes.js
Fixed callback after login
<ide><path>ontrollers/html-routes.js <ide> app.get('/:id/:name', function(req, res) { <ide> var id = req.params.id; <ide> var name = req.params.name; <del> res.render('index', { user: name, id:id }); <del> }); <add> res.render('index', { user: name, id: id }); <ide> }); <ide> <ide> app.get('/aut...
Java
bsd-3-clause
081d07fcb6ac88e9c1a981576e2142acb227b3ed
0
Chiru/ServiceFusionAR,Chiru/ServiceFusionAR
package fi.cie.chiru.servicefusionar.calendar; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.List; import commands.Command; import util.IO; import util.Vec; import fi.cie.chiru.servicefusionar.R; im...
src/fi/cie/chiru/servicefusionar/calendar/ServiceFusionCalendar.java
package fi.cie.chiru.servicefusionar.calendar; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.List; import commands.Command; import util.IO; import util.Vec; import fi.cie.chiru.servicefusionar.R; im...
The visibility of the camera can be changed.
src/fi/cie/chiru/servicefusionar/calendar/ServiceFusionCalendar.java
The visibility of the camera can be changed.
<ide><path>rc/fi/cie/chiru/servicefusionar/calendar/ServiceFusionCalendar.java <ide> root.addView(v); <ide> v.setVisibility(View.GONE); <ide> <add> Vec eventPos = eventsToday.getPosition(); <add> Vec eventRot = calendar.getRotation(); <add> <add> serviceManager.getSetup().camera.detachFr...
Java
apache-2.0
error: pathspec 'tests/junit/org/jgroups/tests/UnicastLoopbackTest.java' did not match any file(s) known to git
26d70cf0c60c9125680d61dc1530381935090f3e
1
rpelisse/JGroups,TarantulaTechnology/JGroups,pferraro/JGroups,pruivo/JGroups,Sanne/JGroups,ibrahimshbat/JGroups,rhusar/JGroups,slaskawi/JGroups,deepnarsay/JGroups,vjuranek/JGroups,pruivo/JGroups,danberindei/JGroups,pferraro/JGroups,ibrahimshbat/JGroups,rhusar/JGroups,ligzy/JGroups,dimbleby/JGroups,rpelisse/JGroups,bela...
package org.jgroups.tests; import junit.framework.TestCase; import org.jgroups.*; /** * Tests unicasts to self (loopback of transport protocol) * @author Bela Ban Dec 31 2003 * @version $Id: UnicastLoopbackTest.java,v 1.1 2004/01/01 00:54:55 belaban Exp $ */ public class UnicastLoopbackTest extends TestCase { ...
tests/junit/org/jgroups/tests/UnicastLoopbackTest.java
new unit test
tests/junit/org/jgroups/tests/UnicastLoopbackTest.java
new unit test
<ide><path>ests/junit/org/jgroups/tests/UnicastLoopbackTest.java <add>package org.jgroups.tests; <add> <add>import junit.framework.TestCase; <add>import org.jgroups.*; <add> <add>/** <add> * Tests unicasts to self (loopback of transport protocol) <add> * @author Bela Ban Dec 31 2003 <add> * @version $Id: UnicastLoopbac...
Java
apache-2.0
db5c3a76674e52ad52c7dbb5b366b8532fe8a125
0
jayeshrpatel/githelp,jayeshrpatel/githelp,teosoft123/maven-php-plugin,Vaysman/maven-php-plugin,Vaysman/maven-php-plugin,teosoft123/maven-php-plugin,Vaysman/maven-php-plugin,jayeshrpatel/githelp,jayeshrpatel/githelp,php-maven/maven-php-plugin,Vaysman/maven-php-plugin,jayeshrpatel/githelp,php-maven/maven-php-plugin,Vaysm...
/** * Copyright 2010-2012 by PHP-maven.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
branches/2.0-SNAPSHOT/maven-php-pear/src/main/java/org/phpmaven/pear/impl/PearUtility.java
/** * Copyright 2010-2012 by PHP-maven.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
adding force and nodeps version
branches/2.0-SNAPSHOT/maven-php-pear/src/main/java/org/phpmaven/pear/impl/PearUtility.java
adding force and nodeps version
<ide><path>ranches/2.0-SNAPSHOT/maven-php-pear/src/main/java/org/phpmaven/pear/impl/PearUtility.java <ide> <ide> Collections.reverse(filesToInstall); <ide> for (final File file : filesToInstall) { <del> this.executePearCmd("install \"" + file.getAbsolutePath() + "\"")...
Java
apache-2.0
20de4090ace7585a66ad79035a4f040a0db996a4
0
Terasology/Minimap
/* * Copyright 2015 MovingBlocks * * 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...
src/main/java/org/terasology/minimap/rendering/nui/layers/MinimapCell.java
/* * Copyright 2015 MovingBlocks * * 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 engine change (gestalt-asset-core)
src/main/java/org/terasology/minimap/rendering/nui/layers/MinimapCell.java
Fix for engine change (gestalt-asset-core)
<ide><path>rc/main/java/org/terasology/minimap/rendering/nui/layers/MinimapCell.java <ide> <ide> public MinimapCell() { <ide> <del> textureAtlas = Assets.getTexture("engine:terrain"); <del> questionMarkTextureRegion = Assets.getTextureRegion("engine:items.questionMark"); <add> textureAtlas = ...
Java
apache-2.0
a6c6ac4b9dce7900691d3454dc7f9a602c24cd49
0
mission-peace/interview,mission-peace/interview,mission-peace/interview
package com.interview.multiarray; /** * Date 10/20/2016 * @author Tushar Roy * Given a board with m by n cells, each cell has an initial state live (1) or dead (0). * Each cell interacts with its eight neighbors (horizontal, vertical, diagonal) using the following * four rules (taken from the above Wikipedia arti...
src/com/interview/multiarray/GameOfLife.java
package com.interview.multiarray; public class GameOfLife { boolean [][]board = null; boolean [][]tempBoard = null; public GameOfLife(boolean[][] initialState){ board = initialState; tempBoard = new boolean[board.length][board.length]; } public void printState(){ for(int i=0; i < board.length; i++){ f...
Update game of life
src/com/interview/multiarray/GameOfLife.java
Update game of life
<ide><path>rc/com/interview/multiarray/GameOfLife.java <ide> package com.interview.multiarray; <ide> <add>/** <add> * Date 10/20/2016 <add> * @author Tushar Roy <add> * Given a board with m by n cells, each cell has an initial state live (1) or dead (0). <add> * Each cell interacts with its eight neighbors (horizontal...
JavaScript
mit
8c12f786a2f0c48d62f0d3c1671728f8903ae464
0
packrat386/Website
var http = require('http'); var getPageData = function(title, callback){ //this is the link format var link = "/starcraft2/api.php?format=json&action=query&titles="+ title + "&prop=revisions&rvprop=content"; //here we have the variable we're going to run the callback on var holder; //thes...
parser.js
var http = require('http'); var getPageData = function(title, callback){ //this is the link format var link = "/starcraft2/api.php?format=json&action=query&titles="+ title + "&prop=revisions&rvprop=content"; //here we have the variable we're going to run the callback on var holder; //thes...
Added support for headings to separate group stages
parser.js
Added support for headings to separate group stages
<ide><path>arser.js <ide> }; <ide> <ide> var parseGroupStage = function(lines) { <del> var inGroupTable = false, <add> var inGroupStage = false, <add> groupStageCount = 1, <add> groupStageHeadingLevel = 0, <add> inGroupTable = false, <ide> result; <ide> <ide> for(i in lines){ <add> // If we are in a group sta...
Java
mit
bd557c5c6800e8bc2f65db3a3f268445c85faf53
0
diirt/diirt,diirt/diirt,diirt/diirt,berryma4/diirt,berryma4/diirt,ControlSystemStudio/diirt,ControlSystemStudio/diirt,richardfearn/diirt,ControlSystemStudio/diirt,berryma4/diirt,richardfearn/diirt,berryma4/diirt,diirt/diirt,ControlSystemStudio/diirt,richardfearn/diirt
/** * Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT * All rights reserved. Use is subject to license terms. See LICENSE.TXT */ package org.diirt.service.exec; import java.io.File; import java.io.FileInputStream; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java....
pvmanager/pvmanager-exec/src/main/java/org/diirt/service/exec/ExecServiceFactory.java
/** * Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT * All rights reserved. Use is subject to license terms. See LICENSE.TXT */ package org.diirt.service.exec; import java.io.File; import java.io.FileInputStream; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java....
exec: fix log
pvmanager/pvmanager-exec/src/main/java/org/diirt/service/exec/ExecServiceFactory.java
exec: fix log
<ide><path>vmanager/pvmanager-exec/src/main/java/org/diirt/service/exec/ExecServiceFactory.java <ide> } <ide> if (directory.exists()) { <ide> if (directory.isDirectory()) { // We have a configuration directory <del> log.log(Level.CONFIG, "Loading exec services from '{0}'", dir...
Java
bsd-3-clause
e056954467767e3462f80318f15546d8893913a7
0
xizi-xu/Argus,rajsarkapally-sfdc/Argus,SalesforceEng/Argus,rajsarkapally/Argus,rajsarkapally/Argus,salesforce/Argus,dilipdevaraj-sfdc/Argus-1,xizi-xu/Argus,rajsarkapally/Argus,salesforce/Argus,xizi-xu/Argus,rajsarkapally-sfdc/Argus,rajsarkapally-sfdc/Argus,rajsarkapally/Argus,dilipdevaraj-sfdc/Argus-1,salesforce/Argus,...
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * 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 retain the above copyright notice, * this list of c...
ArgusCore/src/main/java/com/salesforce/dva/argus/service/schema/AsyncHbaseSchemaService.java
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * 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 retain the above copyright notice, * this list of c...
Update AsyncHbaseSchemaService.java
ArgusCore/src/main/java/com/salesforce/dva/argus/service/schema/AsyncHbaseSchemaService.java
Update AsyncHbaseSchemaService.java
<ide><path>rgusCore/src/main/java/com/salesforce/dva/argus/service/schema/AsyncHbaseSchemaService.java <ide> <ide> MetricSchemaRecord schemaRecord = RecordType.METRIC.equals(type) ? <ide> new MetricSchemaRecord(null, record) : new MetricSchemaRecord(record, null); <del> //MetricSchemaRecord sch...
Java
mit
68732ed35ea52502b2989df8ae8822d13eed89ee
0
kaffeel/PhilHackerNews,kkkkxu/PhilHackerNews,GeorgeMe/PhilHackerNews,Ternence/PhilHackerNews,kmdupr33/PhilHackerNews
package com.philosophicalhacker.philhackernews; import android.app.Application; import android.content.Context; import android.os.Bundle; import android.support.test.runner.AndroidJUnitRunner; import android.util.Log; /** * Created by MattDupree on 7/16/15. */ public class DaggerModuleOverridingAndroidJUnitRunner e...
app/src/androidTest/java/com/philosophicalhacker/philhackernews/DaggerModuleOverridingAndroidJUnitRunner.java
package com.philosophicalhacker.philhackernews; import android.app.Application; import android.content.Context; import android.os.Bundle; import android.support.test.runner.AndroidJUnitRunner; import android.util.Log; /** * Created by MattDupree on 7/16/15. */ public class DaggerModuleOverridingAndroidJUnitRunner e...
removed unnecessary oncreate method
app/src/androidTest/java/com/philosophicalhacker/philhackernews/DaggerModuleOverridingAndroidJUnitRunner.java
removed unnecessary oncreate method
<ide><path>pp/src/androidTest/java/com/philosophicalhacker/philhackernews/DaggerModuleOverridingAndroidJUnitRunner.java <ide> public class DaggerModuleOverridingAndroidJUnitRunner extends AndroidJUnitRunner { <ide> <ide> @Override <del> public void onCreate(Bundle arguments) { <del> super.onCreate(argume...
Java
mit
145ba9416b14caea2475d8ff5d31676e8f32eb73
0
lemmy/tlaplus,tlaplus/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus,lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus
package org.lamport.tla.toolbox; import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.ui.application.IWorkbenchConfigurer; import org.eclipse.ui.application.IWorkbenchWindowConfigurer; import org.eclipse.ui.appli...
org.lamport.tla.toolbox.product.standalone/src/org/lamport/tla/toolbox/ApplicationWorkbenchAdvisor.java
package org.lamport.tla.toolbox; import org.eclipse.core.resources.IWorkspace; import org.eclipse.core.resources.ResourcesPlugin; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.ui.application.IWorkbenchConfigurer; import org.eclipse.ui.application.IWorkbenchWindowConfigurer; import org.eclipse.ui.appli...
git-svn-id: svn+ssh://svn.msr-inria.inria.fr/var/lib/svn/repository/tla/trunk/tla2-inria@12829 76a6fc44-f60b-0410-a9a8-e67b0e8fc65c
org.lamport.tla.toolbox.product.standalone/src/org/lamport/tla/toolbox/ApplicationWorkbenchAdvisor.java
<ide><path>rg.lamport.tla.toolbox.product.standalone/src/org/lamport/tla/toolbox/ApplicationWorkbenchAdvisor.java <ide> import org.eclipse.ui.application.IWorkbenchWindowConfigurer; <ide> import org.eclipse.ui.application.WorkbenchAdvisor; <ide> import org.eclipse.ui.application.WorkbenchWindowAdvisor; <add>import org....
JavaScript
isc
aef4e2981d4527fe986db0a68ea74d7a30b58aa4
0
d3/d3-transition
var tape = require("tape"), jsdom = require("jsdom"), d3 = require("../build/d3"); tape.Test.prototype.inDelta = function(actual, expected) { this._assert(expected - 1e-6 < actual && actual < expected + 1e-6, { message: "should be in delta", operator: "inDelta", actual: actual, expected: expe...
test/ease-test.js
var tape = require("tape"), jsdom = require("jsdom"), d3 = require("../build/d3"); tape.Test.prototype.inDelta = function(actual, expected) { this._assert(expected - 1e-6 < actual && actual < expected + 1e-6, { message: "should be in delta", operator: "inDelta", actual: actual, expected: expe...
Tests for ease("poly").
test/ease-test.js
Tests for ease("poly").
<ide><path>est/ease-test.js <ide> test.equal(ease(1.01), 1); <ide> test.end(); <ide> }); <add> <add>tape('d3.ease("poly") is an alias for d3.ease("cubic")', function(test) { <add> test.equal(d3.ease("poly"), d3.ease("cubic")); <add> test.end(); <add>}); <add> <add>tape('d3.ease("poly-in") is an alias for d3.ease(...