lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
mit
0e93743e00057bedf836e724a183248839a81188
0
bebraw/react-pagify,kwm4385/react-pagify,kwm4385/react-pagify,bebraw/react-pagify
'use strict'; require('highlight.js/styles/github.css'); require('react-ghfork/style.css'); require('./demo.css'); require('../style.css'); var React = require('react'); var Fork = require('react-ghfork'); var math = require('annomath'); var randomName = require('node-random-name'); var Paginator = require('../lib/i...
demo/app.js
'use strict'; require('highlight.js/styles/github.css'); require('react-ghfork/style.css'); require('./demo.css'); require('../style.css'); var React = require('react'); var Fork = require('react-ghfork'); var math = require('annomath'); var randomName = require('node-random-name'); var Paginator = require('../lib/i...
Push demo to up
demo/app.js
Push demo to up
<ide><path>emo/app.js <ide> return <article> <ide> <Fork project='bebraw/react-pagify'></Fork> <ide> <del> <div dangerouslySetInnerHTML={{__html: readme}}></div> <del> <del> <hr></hr> <del> <ide> <h2>Demo</h2> <ide> <ide> <div className='per-page-conta...
Java
apache-2.0
746593b54fffe43afa13414ba114da82809c8afb
0
brotherlogic/pictureframe,brotherlogic/pictureframe,brotherlogic/pictureframe
package com.github.brotherlogic.pictureframe; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.InputStreamReader; import java.util.Locale; import com.dropbox.core.DbxAppInfo; import com.dropbox.core.DbxRequestConfig; import com.dropbox.core.DbxWebAuth; import com.dro...
src/main/java/com/github/brotherlogic/pictureframe/DropboxConnector.java
package com.github.brotherlogic.pictureframe; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.InputStreamReader; import java.util.Locale; import com.dropbox.core.DbxAppInfo; import com.dropbox.core.DbxRequestConfig; import com.dropbox.core.DbxWebAuth; import com.dro...
Next step
src/main/java/com/github/brotherlogic/pictureframe/DropboxConnector.java
Next step
<ide><path>rc/main/java/com/github/brotherlogic/pictureframe/DropboxConnector.java <ide> <ide> <ide> public void processResult(ListFolderResult result, File outputDirectory) throws Exception { <del> for (Metadata child : result.getEntries()) { <del> System.out.println("FOUND " + child.getPathDisplay()); <...
Java
apache-2.0
d05f94d592b7aadf6a884a3eec154b705deba9b7
0
sschepens/pulsar,saandrews/pulsar,merlimat/pulsar,jai1/pulsar,sschepens/pulsar,nkurihar/pulsar,massakam/pulsar,saandrews/pulsar,jai1/pulsar,nkurihar/pulsar,massakam/pulsar,nkurihar/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,nkurihar/pulsar,nkurihar/pulsar,saandrews/pulsar,ArvinDeve...
/** * 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-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceProducer.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...
Performance producer was not using the max producer queue size argument (#1187)
pulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceProducer.java
Performance producer was not using the max producer queue size argument (#1187)
<ide><path>ulsar-testclient/src/main/java/org/apache/pulsar/testclient/PerformanceProducer.java <ide> ProducerConfiguration producerConf = new ProducerConfiguration(); <ide> producerConf.setSendTimeout(0, TimeUnit.SECONDS); <ide> producerConf.setCompressionType(arguments.compression); <add> ...
Java
apache-2.0
dee7709dd86c64529ee0455d05805ab41b34c736
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.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 ...
SOLR-9947: Fix CloudSolrClientTest.testNonRetryableRequests failure
solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
SOLR-9947: Fix CloudSolrClientTest.testNonRetryableRequests failure
<ide><path>olr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java <ide> for (String adminPath : adminPathToMbean.keySet()) { <ide> long errorsBefore = 0; <ide> for (JettySolrRunner runner : cluster.getJettySolrRunners()) { <del> Long numRequests = getNumRequ...
Java
apache-2.0
ecef013d45976bf3efc89a7e6dc513c3c1ceefbf
0
skoulouzis/lobcder,skoulouzis/lobcder,skoulouzis/lobcder
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package nl.uva.cs.lobcder.catalogue; import lombok.extern.java.Log; import nl.uva.cs.lobcder.catalogue.delsweep.ConnectorJDBC; import nl.uva.cs.lobcder.catalogue.delsweep.DeleteSweep; import nl.uva.cs.lobcder.util.Prope...
lobcder-master/src/main/java/nl/uva/cs/lobcder/catalogue/SweepersTimerTask.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package nl.uva.cs.lobcder.catalogue; import lombok.extern.java.Log; import nl.uva.cs.lobcder.catalogue.delsweep.ConnectorJDBC; import nl.uva.cs.lobcder.catalogue.delsweep.DeleteSweep; import nl.uva.cs.lobcder.util.Prope...
Put back bulk wp4sweep
lobcder-master/src/main/java/nl/uva/cs/lobcder/catalogue/SweepersTimerTask.java
Put back bulk wp4sweep
<ide><path>obcder-master/src/main/java/nl/uva/cs/lobcder/catalogue/SweepersTimerTask.java <ide> private final ReplicateSweep replicateSweep; <ide> private final Boolean useRepo; <ide> private final Boolean useSDN; <del> private WP4SweepOLD wp4Sweep = null; <add> private WP4Sweep wp4Sweep = null; <ide>...
Java
apache-2.0
e3e233a3b2ec6d951938423ae4c73272862d8622
0
EVelez79/CodeU-ProjectGroup6,EVelez79/CodeU-ProjectGroup6
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
src/codeu/chat/server/Server.java
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
Imported codeu.chat.common.ServerInfo Imported codeu.chat.common.ServerInfo and added a static ServerInfo object to Server
src/codeu/chat/server/Server.java
Imported codeu.chat.common.ServerInfo
<ide><path>rc/codeu/chat/server/Server.java <ide> import codeu.chat.common.NetworkCode; <ide> import codeu.chat.common.Relay; <ide> import codeu.chat.common.Secret; <add>import codeu.chat.common.ServerInfo; <ide> import codeu.chat.common.User; <ide> import codeu.chat.util.Logger; <ide> import codeu.chat.util.Serializer...
Java
apache-2.0
343ac99dd230e7b2e80975cf4eae1ef77e715acd
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
/* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
src/org/springframework/jms/JmsTemplate11.java
/* * Copyright 2002-2004 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 requi...
Reformatting git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@3091 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
src/org/springframework/jms/JmsTemplate11.java
Reformatting
<ide><path>rc/org/springframework/jms/JmsTemplate11.java <ide> import javax.jms.Session; <ide> <ide> /** <del> * An implementation of the JmsTemplate interface that uses the <del> * JMS 1.1 specification. <add> * An implementation of the JmsTemplate interface that uses the JMS 1.1 specification. <ide> * <del> * <b>...
Java
apache-2.0
d29629528af1d05f9fa6b2d4782a8b69921dc1e3
0
davidegiannella/jackrabbit-oak,alexparvulescu/jackrabbit-oak,code-distillery/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,chetanmeh/jackrabbit-oak,stillalex/jackrabbit-oak,mduerig/jackrabbit-oak,bdelacretaz/jackrabbit-oak,joansmith/jackrabbit-oak,davidegiannella/jackrabbit-oak,leftouterjoin/jackrabbit-oak,stillalex...
/* * 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 ...
oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.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 ...
OAK-709: Consider moving permission evaluation to the node state level fix hasPendingChanges git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1466107 13f79535-47bb-0310-9956-ffa450edef68
oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
OAK-709: Consider moving permission evaluation to the node state level fix hasPendingChanges
<ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java <ide> @Override <ide> public boolean hasPendingChanges() { <ide> checkLive(); <del> // FIXME comparing insecure base state with secure root state <del> return !getBaseState().equals(getRootState()); <add> ...
Java
mit
95b0ef1ff85008b2fa6d846586a7cd70a1fca86d
0
spaarmann/PhysikBioProfilHomework,HomeworkProject/android-client
/* * Copyright (c) 2014 Sebastian Paarmann */ package paarmann.physikprofil; import android.app.Activity; import android.app.DatePickerDialog; import android.app.DialogFragment; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.net.Uri...
app/src/main/java/paarmann/physikprofil/MainActivity.java
/* * Copyright (c) 2014 Sebastian Paarmann */ package paarmann.physikprofil; import android.app.Activity; import android.app.DatePickerDialog; import android.app.DialogFragment; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.net.Uri...
Fix #8
app/src/main/java/paarmann/physikprofil/MainActivity.java
Fix #8
<ide><path>pp/src/main/java/paarmann/physikprofil/MainActivity.java <ide> SharedPreferences prefs; <ide> <ide> private boolean isPaused; <del> private List<DialogFragment> dialogsToShow = new ArrayList<DialogFragment>(); <add> private static List<DialogFragment> dialogsToShow = new ArrayList<DialogFragment>(); <...
Java
apache-2.0
80801b2f3c0aba6d78f6d6b6ad7aa7df13ac01f5
0
ecsec/open-ecard,ecsec/open-ecard,ecsec/open-ecard
/**************************************************************************** * Copyright (C) 2012-2018 HS Coburg. * All rights reserved. * Contact: ecsec GmbH (info@ecsec.de) * * This file is part of the Open eCard App. * * GNU General Public License Usage * This file may be used under the terms of the GNU Gen...
ifd/scio-backend/android-nfc/src/main/java/org/openecard/scio/NFCCardTerminal.java
/**************************************************************************** * Copyright (C) 2012-2018 HS Coburg. * All rights reserved. * Contact: ecsec GmbH (info@ecsec.de) * * This file is part of the Open eCard App. * * GNU General Public License Usage * This file may be used under the terms of the GNU Gen...
Only interrupt card monitor once the NFC tag is removed
ifd/scio-backend/android-nfc/src/main/java/org/openecard/scio/NFCCardTerminal.java
Only interrupt card monitor once the NFC tag is removed
<ide><path>fd/scio-backend/android-nfc/src/main/java/org/openecard/scio/NFCCardTerminal.java <ide> return terminalName; <ide> } <ide> <del> // used externally <ide> @Override <ide> public synchronized boolean isCardPresent() { <ide> return nfcCard != null; <ide> } <ide> <add> // external manag...
Java
apache-2.0
46a86a19ab3f406a4bf4ef6e46a62b8418492413
0
BuddhistDigitalResourceCenter/xmltoldmigration,BuddhistDigitalResourceCenter/xmltoldmigration
package io.bdrc.xmltoldmigration; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFactory; import org.apache.jena.rdf.model.Property; import org.apache.jena.rdf.model.Resource; import org.apache.jena.vocabulary.RDF; i...
src/main/java/io/bdrc/xmltoldmigration/OutlineMigration.java
package io.bdrc.xmltoldmigration; import java.util.List; import org.apache.jena.rdf.model.Model; import org.apache.jena.rdf.model.ModelFactory; import org.apache.jena.rdf.model.Property; import org.apache.jena.rdf.model.Resource; import org.apache.jena.vocabulary.RDF; import org.w3c.dom.Document; import org.w3c.dom.E...
record outline RIDs to ignore
src/main/java/io/bdrc/xmltoldmigration/OutlineMigration.java
record outline RIDs to ignore
<ide><path>rc/main/java/io/bdrc/xmltoldmigration/OutlineMigration.java <ide> package io.bdrc.xmltoldmigration; <ide> <add>import java.util.HashMap; <ide> import java.util.List; <add>import java.util.Map; <ide> <ide> import org.apache.jena.rdf.model.Model; <ide> import org.apache.jena.rdf.model.ModelFactory; <ide> pr...
JavaScript
mit
f31af60aecbbf7ce3afa1c955fb9d5ac8c4f36d5
0
pcki11/HackIdleGame,pcki11/HackIdleGame
var IdleGame = function(gameSettings, $, _) { var log = function(level, msg){ if(level <= gameSettings.logLevel) { console.log(msg); } }; var Settings = { calculatedTiersStart: { // index: 0 price: 1, priceInc: 1, profit: 0.02 }, factor: function(value, factor, index) { return value / ((i...
js/idle.js
var IdleGame = function(gameSettings, $, _) { var log = function(level, msg){ if(level <= gameSettings.logLevel) { console.log(msg); } }; var Settings = { calculatedTiersStart: { // index: 0 price: 1, priceInc: 1, profit: 0.02 }, factor: function(value, factor, index) { return value / ((i...
should now show next tier when user generates half its price
js/idle.js
should now show next tier when user generates half its price
<ide><path>s/idle.js <ide> var isVisible = false; <ide> this.shouldAppearForMoney = function(money){ <ide> if(!isVisible) { <del> log(money+" >= "+sett.getPrice()); <del> isVisible = money >= sett.getPrice(); <add> log(4, money+" >= "+sett.getPrice()/2); <add> isVisible = money >= sett.getPrice()/2; ...
Java
mit
8b8ca773376032b4208bcf1f3df4418ca5b95675
0
civitaspo/embulk-output-sftp,civitaspo/embulk-output-sftp
package org.embulk.output.sftp; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Throwables; import com.google.common.collect.ImmutableMap; import org.apache.commons.vfs2.FileObject; import org.embulk.config.TaskReport; import org.embulk.output.sftp.utils.TimeoutCloser; import org....
src/main/java/org/embulk/output/sftp/SftpLocalFileOutput.java
package org.embulk.output.sftp; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Throwables; import com.google.common.collect.ImmutableMap; import org.apache.commons.vfs2.FileObject; import org.embulk.config.TaskReport; import org.embulk.output.sftp.utils.TimeoutCloser; import org....
Remove unnecessary close (it could cause another hang)
src/main/java/org/embulk/output/sftp/SftpLocalFileOutput.java
Remove unnecessary close (it could cause another hang)
<ide><path>rc/main/java/org/embulk/output/sftp/SftpLocalFileOutput.java <ide> public void close() <ide> { <ide> closeCurrentFile(); <del> closeRemoteFile(); <ide> // TODO <ide> sftpUtils.close(); <ide> }
Java
apache-2.0
006f479a3f8672ec21f9bbc125d577a3fde78569
0
SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store,SnappyDataInc/snappy-store
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/LocalRegion.java
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
made LocalRegion.getRegionSize public for SnappyData
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/LocalRegion.java
made LocalRegion.getRegionSize public for SnappyData
<ide><path>emfire-core/src/main/java/com/gemstone/gemfire/internal/cache/LocalRegion.java <ide> /** <ide> * @return size after considering imageState and TX uncommitted entries <ide> */ <del> protected int getRegionSize() { <add> public int getRegionSize() { <ide> int result; <ide> final ReentrantLock...
Java
mit
d609712fbc8e856ece5d92e76edf580ea319b3a5
0
vurp0/Kart
package org.sandholm.max.kart; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.Screen; import com.badlogic.gdx.controllers.Controller; import com.badlogic.gdx.controllers.ControllerListener; import com.badlogic.gdx.controllers.Controllers; import com.badlogic.gdx.controller...
core/src/org/sandholm/max/kart/MainMenuScreen.java
package org.sandholm.max.kart; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.Screen; import com.badlogic.gdx.controllers.Controller; import com.badlogic.gdx.controllers.ControllerListener; import com.badlogic.gdx.controllers.Controllers; import com.badlogic.gdx.controller...
tweaking parameters
core/src/org/sandholm/max/kart/MainMenuScreen.java
tweaking parameters
<ide><path>ore/src/org/sandholm/max/kart/MainMenuScreen.java <ide> Gdx.gl.glEnable(GL20.GL_DEPTH_TEST); <ide> <ide> titleLabel.setRotation(MathUtils.sin(stateTime*1.8f)*4f); <del> subtitleLabel.setScale(1+0.1f*MathUtils.sin(stateTime*2.5f)); <add> subtitleLabel.setScale(1+0.05f*MathUtils....
Java
apache-2.0
7ba4efa774437105b346c57f9af007fb6dfc2a6a
0
allotria/intellij-community,da1z/intellij-community,idea4bsd/idea4bsd,ThiagoGarciaAlves/intellij-community,suncycheng/intellij-community,suncycheng/intellij-community,semonte/intellij-community,allotria/intellij-community,fitermay/intellij-community,apixandru/intellij-community,mglukhikh/intellij-community,salguarnieri...
/* * 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/documentation/docstrings/PyDocstringGenerator.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...
PY-18733 Consider return type collected by debugger in generated docstrings Don't add empty type annotation for return value inside generated docstring unconditionally in PyDocstringGenerator. It should really be found in PyDocstringGenerator#prepareParameters().
python/src/com/jetbrains/python/documentation/docstrings/PyDocstringGenerator.java
PY-18733 Consider return type collected by debugger in generated docstrings
<ide><path>ython/src/com/jetbrains/python/documentation/docstrings/PyDocstringGenerator.java <ide> statementList.accept(visitor); <ide> if (!isConstructor((PyFunction)myDocStringOwner) && (visitor.myHasReturn || addReturn)) { <ide> // will add :return: placeholder in Sphinx/Epydoc docstrings <del> ...
Java
mit
7df1f1abe42d855a6df21de63833cad8090d4ac1
0
drop-table-ryhmatyo/tekislauta-server
package fi.tekislauta; import static spark.Spark.*; import fi.tekislauta.db.*; import com.google.gson.*; import fi.tekislauta.models.Board; import fi.tekislauta.models.Post; public class Main { public static void main(String[] args) { port(1234); Gson gson = new Gson(); Database db = new...
src/main/java/fi/tekislauta/Main.java
package fi.tekislauta; import static spark.Spark.*; import fi.tekislauta.db.*; import com.google.gson.*; import fi.tekislauta.models.Board; import fi.tekislauta.models.Post; public class Main { public static void main(String[] args) { port(1234); Gson gson = new Gson(); Database db = new...
Add charset to test response
src/main/java/fi/tekislauta/Main.java
Add charset to test response
<ide><path>rc/main/java/fi/tekislauta/Main.java <ide> }); <ide> <ide> get("/api/test", (req, res) -> { <del> res.header("Content-Type","application/json"); <add> res.header("Content-Type","application/json; charset=utf-8"); <ide> Board b = new Board(0, "Koulu", "k", "u...
Java
lgpl-2.1
8b2e4d55de52b8170dad29d8ab3b72b0f531e0c7
0
joval/jSAF,joval/jSAF
// Copyright (C) 2018 jOVAL.org. All rights reserved. // This software is licensed under the LGPL 3.0 license available at http://www.gnu.org/licenses/lgpl.txt package jsaf.intf.net; import java.net.InetSocketAddress; import jsaf.service.PortRegistry; import jsaf.util.Bytes; /** * An interface encapsulating infor...
src/jsaf/intf/net/IService.java
// Copyright (C) 2018 jOVAL.org. All rights reserved. // This software is licensed under the LGPL 3.0 license available at http://www.gnu.org/licenses/lgpl.txt package jsaf.intf.net; import java.net.InetSocketAddress; import jsaf.service.PortRegistry; /** * An interface encapsulating information about a network s...
Fix IService natural ordering.
src/jsaf/intf/net/IService.java
Fix IService natural ordering.
<ide><path>rc/jsaf/intf/net/IService.java <ide> import java.net.InetSocketAddress; <ide> <ide> import jsaf.service.PortRegistry; <add>import jsaf.util.Bytes; <ide> <ide> /** <ide> * An interface encapsulating information about a network service (i.e., a listening socket) on a computer system. <ide> return new S...
Java
apache-2.0
4ef0f78bbf9e82b930aa9cc777610a33d6149a3a
0
Xlythe/AndroidTextManager
package com.xlythe.textmanager.text; import android.content.BroadcastReceiver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.PowerManager; import android.provide...
android-text-manager/src/main/java/com/xlythe/textmanager/text/TextReceiver.java
package com.xlythe.textmanager.text; import android.content.BroadcastReceiver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.AsyncTask; import android.os.PowerManager; import android.provide...
I'm stupid
android-text-manager/src/main/java/com/xlythe/textmanager/text/TextReceiver.java
I'm stupid
<ide><path>ndroid-text-manager/src/main/java/com/xlythe/textmanager/text/TextReceiver.java <ide> Text text = Receive.storeMessage(context, messages, 0); <ide> onMessageReceived(context, text); <ide> } <del> //TODO: Remember why this is commented out <del> // I believe its b...
Java
lgpl-2.1
05453f9f2bd8e00cf539800c87e2f292603c84e5
0
xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
xwiki-core/src/test/java/com/xpn/xwiki/user/impl/xwiki/XWikiRightServiceImplTest.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
Fix test git-svn-id: d23d7a6431d93e1bdd218a46658458610974b053@14228 f329d543-caf0-0310-9063-dda96c69346f
xwiki-core/src/test/java/com/xpn/xwiki/user/impl/xwiki/XWikiRightServiceImplTest.java
Fix test
<ide><path>wiki-core/src/test/java/com/xpn/xwiki/user/impl/xwiki/XWikiRightServiceImplTest.java <ide> mockGlobalRightObj.stubs().method("getIntValue").with(eq("allow")).will(returnValue(1)); <ide> mockGlobalRightObj.stubs().method("setNumber"); <ide> mockGlobalRightObj.stubs().method("setName");...
JavaScript
artistic-2.0
3428611e3b4735fc6d34915a9e86d7bfbd29fd56
0
cchamberlain/npm,haggholm/npm,midniteio/npm,DIREKTSPEED-LTD/npm,thomblake/npm,Volune/npm,ekmartin/npm,cchamberlain/npm,chadnickbok/npm,princeofdarkness76/npm,thomblake/npm,DIREKTSPEED-LTD/npm,kemitchell/npm,misterbyrne/npm,lxe/npm,haggholm/npm,evanlucas/npm,xalopp/npm,kimshinelove/naver-npm,princeofdarkness76/npm,kimsh...
'use strict' // npm install <pkg> <pkg> <pkg> // // See doc/install.md for more description // Managing contexts... // there's a lot of state associated with an "install" operation, including // packages that are already installed, parent packages, current shrinkwrap, and // so on. We maintain this state in a "context...
lib/install.js
'use strict' // npm install <pkg> <pkg> <pkg> // // See doc/install.md for more description // Managing contexts... // there's a lot of state associated with an "install" operation, including // packages that are already installed, parent packages, current shrinkwrap, and // so on. We maintain this state in a "context...
install: Deprecate `--dev` for install PR-URL: https://github.com/npm/npm/pull/9024
lib/install.js
install: Deprecate `--dev` for install
<ide><path>ib/install.js <ide> validate('SAF', [where, args, cb]) <ide> // the /path/to/node_modules/.. <ide> var dryrun = !!npm.config.get('dry-run') <add> <add> if (npm.config.get('dev')) { <add> log.warn('install', 'Usage of the `--dev` option is deprecated. Use `--only=dev` instead.') <add> } <ide> <ide...
JavaScript
mit
78c7bf88b3b46ab26b41e3ee88fa0e73d769fd4e
0
usco/usco-mobile,usco/usco-mobile
import wrapperScope from './wrapperScope2' import { default as modelM } from '../../../common/utils/computeTMatrixFromTransforms' import makeDrawEncl from './drawEncl' let tick = 0 export default function prepareRenderAlt (regl) { const _wrapperScope = wrapperScope(regl) const bg = [1, 1, 1, 1] //const model =...
src/proto1-basics/drawCommands/alternative/main.js
import wrapperScope from './wrapperScope2' import { default as modelM } from '../../../common/utils/computeTMatrixFromTransforms' import makeDrawEncl from './drawEncl' let tick = 0 export default function prepareRenderAlt (regl) { const _wrapperScope = wrapperScope(regl) const bg = [1, 1, 1, 1] const model = m...
feat(model matrix): entity's model matrices are now used instead of a static one
src/proto1-basics/drawCommands/alternative/main.js
feat(model matrix): entity's model matrices are now used instead of a static one
<ide><path>rc/proto1-basics/drawCommands/alternative/main.js <ide> const _wrapperScope = wrapperScope(regl) <ide> <ide> const bg = [1, 1, 1, 1] <del> const model = modelM({sca: [0.5, 0.5, 0.5]}) <add> //const model = modelM({sca: [0.5, 0.5, 0.5]}) <ide> <ide> let drawEncl = makeDrawEncl(regl) <ide> <ide> ...
Java
epl-1.0
d0038120c84a4e5376c7948d90acc16fc52758d5
0
naidu/mercurialeclipse,leinier/mercurialeclipse,boa0332/mercurialeclipse,tectronics/mercurialeclipse
/******************************************************************************* * Copyright (c) 2005-2008 VecTrace (Zingo Andersen) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
src/com/vectrace/MercurialEclipse/menu/CommitHandler.java
/******************************************************************************* * Copyright (c) 2005-2008 VecTrace (Zingo Andersen) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
Disallow "usual" commit if merge is running to avoid "partial commit not allowed". Instead, always show merge commit dialog.
src/com/vectrace/MercurialEclipse/menu/CommitHandler.java
Disallow "usual" commit if merge is running to avoid "partial commit not allowed". Instead, always show merge commit dialog.
<ide><path>rc/com/vectrace/MercurialEclipse/menu/CommitHandler.java <ide> <ide> import org.eclipse.core.resources.IResource; <ide> <add>import com.vectrace.MercurialEclipse.commands.HgStatusClient; <ide> import com.vectrace.MercurialEclipse.dialogs.CommitDialog; <ide> import com.vectrace.MercurialEclipse.exception.Hg...
Java
bsd-2-clause
66821cae0ef05d85b29a52218974280d8213e1e0
0
bogovicj/bigdataviewer-core,bigdataviewer/bigdataviewer-core,bigdataviewer/bigdataviewer-core,bogovicj/bigdataviewer-core
package mpicbg.spim.data; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform...
src/main/java/mpicbg/spim/data/XmlHelpers.java
package mpicbg.spim.data; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform...
bugfix: wrote only file name instead of path in XmlHelpers.pathElement()
src/main/java/mpicbg/spim/data/XmlHelpers.java
bugfix: wrote only file name instead of path in XmlHelpers.pathElement()
<ide><path>rc/main/java/mpicbg/spim/data/XmlHelpers.java <ide> else <ide> { <ide> e.setAttribute( "type", "relative" ); <del> e.appendChild( doc.createTextNode( getRelativePath( path, basePath ).getName() ) ); <add> e.appendChild( doc.createTextNode( getRelativePath( path, basePath ).getPath() ) ); <ide> }...
JavaScript
mit
ea075255302ed00aa88f9f36d379c5ca05978ac6
0
MajorLeagueBaseball/frankenslide,MajorLeagueBaseball/frankenslide,MajorLeagueBaseball/frankenslide
/*! * lectric v0.4.5 * http://github.com/brettbuddin/lectric * * Copyright 2011, Brett C. Buddin * Licensed under the MIT license. * http://github.com/brettbuddin/lectric/blob/master/LICENSE * * Author: Brett C. Buddin (http://github.com/brettbuddin) * * Renamed Frankenslide and modifications copyright 2013 b...
frankenslide.js
/*! * lectric v0.4.5 * http://github.com/brettbuddin/lectric * * Copyright 2011, Brett C. Buddin * Licensed under the MIT license. * http://github.com/brettbuddin/lectric/blob/master/LICENSE * * Author: Brett C. Buddin (http://github.com/brettbuddin) * * Renamed Frankenslide and modifications copyright 2013 b...
reenable scrolling up and down when you touch the slider
frankenslide.js
reenable scrolling up and down when you touch the slider
<ide><path>rankenslide.js <ide> window.addEventListener('touchmove', this, false); <ide> window.addEventListener('touchend', this, false); <ide> window.addEventListener('touchcancel', this, false); <del> <add> <ide> this.element[0].addEventListener('click', this, false); <ide> <del> ...
Java
apache-2.0
3a983d074faf82002cf56db71ccdfe01dd345ecd
0
kenfinnigan/wildfly-swarm,nelsongraca/wildfly-swarm,heiko-braun/wildfly-swarm-1,bobmcwhirter/wildfly-swarm,wildfly-swarm/wildfly-swarm-core,nelsongraca/wildfly-swarm,christian-posta/wildfly-swarm,jamesnetherton/wildfly-swarm,christian-posta/wildfly-swarm,emag/wildfly-swarm,emag/wildfly-swarm,Ladicek/wildfly-swarm,wildf...
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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 require...
tools/src/main/java/org/wildfly/swarm/tools/FractionDescriptor.java
/** * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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 require...
SWARM-456: Add missing properties to FractionDescriptor (#30) * SWARM-456: Add missing properties to FractionDescriptor This adds the name, description, tags and internal flags to the FractionDescriptor class. Follow JavaBean convention for easier JSON serialization Needed for tooling purposes.
tools/src/main/java/org/wildfly/swarm/tools/FractionDescriptor.java
SWARM-456: Add missing properties to FractionDescriptor (#30)
<ide><path>ools/src/main/java/org/wildfly/swarm/tools/FractionDescriptor.java <ide> */ <ide> public class FractionDescriptor { <ide> <del> public FractionDescriptor(String groupId, String artifactId, String version) { <add> public FractionDescriptor(String groupId, String artifactId, String version, String name...
Java
epl-1.0
de184e58eb662e8fff3a6ef5bed7aa312a0740d6
0
debrief/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/Doublet.java
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
fix Doublet comparator, so it handles missing target fix
org.mwc.debrief.legacy/src/Debrief/Wrappers/Track/Doublet.java
fix Doublet comparator, so it handles missing target fix
<ide><path>rg.mwc.debrief.legacy/src/Debrief/Wrappers/Track/Doublet.java <ide> // //////////////////////////////////////////////// <ide> // working variables to help us along. <ide> // //////////////////////////////////////////////// <del> private static final WorldLocation _workingSensorLocation = <del> ne...
JavaScript
mit
8fc14b3286a6032a4341f0de85dfcc313dfce765
0
nus-mtp/zoomable.js,nus-mtp/zoomable.js,nus-mtp/zoomable.js
/** * User.js * * @description :: TODO: You might write a short summary of how this model works and what it represents here. * @docs :: http://sailsjs.org/#!documentation/models */ module.exports = { attributes: { username: { type: 'string', required: true, unique: true }, encryptedPassword: {...
api/models/User.js
/** * User.js * * @description :: TODO: You might write a short summary of how this model works and what it represents here. * @docs :: http://sailsjs.org/#!documentation/models */ module.exports = { attributes: { username: { type: 'string', required: true, unique: true }, encryptedPassword: {...
Add email and lastloggedin attributes to User modal
api/models/User.js
Add email and lastloggedin attributes to User modal
<ide><path>pi/models/User.js <ide> columnName: 'encrypted_password' <ide> }, <ide> <add> lastLoggedIn: { <add> type: 'datetime', <add> defaultsTo: function() {return new Date(); } <add> }, <add> <add> email: { <add> type: 'string', <add> email: true, <add> required: true, <add> unique: true <add> ...
Java
agpl-3.0
482561eba8b194feca121c1c0107c2b97c9f1294
0
ua-eas/kfs,kuali/kfs,bhutchinson/kfs,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/kfs,kuali/kfs,kkronenb/kfs,ua-eas/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,ua-eas/kfs,smith750/kfs,quikkian-ua-devops/will-financials,bhutchinson/kfs,quikkian-ua-devops/kfs,ua-eas/kfs-devops-automation-fork,qu...
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * 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 Softwar...
work/src/org/kuali/kfs/module/ar/ArPropertyConstants.java
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * 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 Softwar...
KFSTP-1538: rename property constant to include "Indicator" as part of the property name
work/src/org/kuali/kfs/module/ar/ArPropertyConstants.java
KFSTP-1538: rename property constant to include "Indicator" as part of the property name
<ide><path>ork/src/org/kuali/kfs/module/ar/ArPropertyConstants.java <ide> } <ide> <ide> public static class ContractsGrantsInvoiceDocumentFields { <del> public static final String FINAL_BILL = "invoiceGeneralDetail.finalBill"; <add> public static final String FINAL_BILL = "invoiceGeneralDetail.fi...
Java
apache-2.0
8a8dea63def497dfb1635131311e4347665cc007
0
abchzty/show-path-in-title-netbeans-module,markiewb/show-path-in-title-netbeans-module
/** * Copyright 2012 markiewb * * 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 wri...
src/de/markiewb/netbeans/plugin/showpathintitle/Installer.java
/** * Copyright 2012 markiewb * * 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 wri...
[fix] show full path, when no relative path is given
src/de/markiewb/netbeans/plugin/showpathintitle/Installer.java
[fix] show full path, when no relative path is given
<ide><path>rc/de/markiewb/netbeans/plugin/showpathintitle/Installer.java <ide> } <ide> <ide> if (options.showFileName) { <del> if (options.showRelativeFilename) { <add> //show relative path, when project dir is in selected path <add> ...
JavaScript
mit
aa1654d1b976714d1d84849a70f99220167b485e
0
pulseenergy/inputex,ArnaudD/inputex,paulRbr/inputex,zackbloom/inputex,clicrdv/inputex,neyric/inputex,ArnaudD/inputex,piercus/inputex,clicrdv/inputex,ArnaudD/inputex,clicrdv/inputex,piercus/inputex,benediktarnold/inputex,paulRbr/inputex,benediktarnold/inputex,paulRbr/inputex,ArnaudD/inputex,zackbloom/inputex,paulRbr/inp...
(function() { var DD = YAHOO.util.DragDropMgr, Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, lang = YAHOO.lang; /** * DDProxy for DDList items (used by DDList) * @class inputEx.widget.DDListItem * @extends YAHOO.util.DDProxy * @constructor * @param {String} id */ inputEx.widget.DDListItem = function(id)...
js/widgets/ddlist.js
(function() { var DD = YAHOO.util.DragDropMgr, Dom = YAHOO.util.Dom, Event = YAHOO.util.Event, lang = YAHOO.lang; /** * DDProxy for DDList items (used by DDList) * @class inputEx.widget.DDListItem * @extends YAHOO.util.DDProxy * @constructor * @param {String} id */ inputEx.widget.DDListItem = function(id)...
Bug in ddlist updateItem method (item can be a value OR an object)
js/widgets/ddlist.js
Bug in ddlist updateItem method (item can be a value OR an object)
<ide><path>s/widgets/ddlist.js <ide> * @param {Integer} index Item index <ide> * @param {Any} value New value <ide> */ <del> updateItem: function(index,value) { <del> this.items[index] = value; <del> this.ul.childNodes[index].childNodes[0].innerHTML = value; <add> updateItem: function(index, i...
Java
agpl-3.0
9c899da1954abbf260e31e7faf71eb02368bfc4c
0
qiuyesuifeng/sql-layer,relateiq/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,ngaut/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,relateiq/sql-layer,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,ngaut/sql-layer,ngaut/sql-layer,shunwang/sql-layer-...
/** * END USER LICENSE AGREEMENT (“EULA”) * * READ THIS AGREEMENT CAREFULLY (date: 9/13/2011): * http://www.akiban.com/licensing/20110913 * * BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING * ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS * AGREEMENT IS ENFOR...
src/main/java/com/akiban/server/PersistitValuePValueSource.java
/** * END USER LICENSE AGREEMENT (“EULA”) * * READ THIS AGREEMENT CAREFULLY (date: 9/13/2011): * http://www.akiban.com/licensing/20110913 * * BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING * ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS * AGREEMENT IS ENFOR...
adding TODOs
src/main/java/com/akiban/server/PersistitValuePValueSource.java
adding TODOs
<ide><path>rc/main/java/com/akiban/server/PersistitValuePValueSource.java <ide> } <ide> else { <ide> Class<?> valueClass = persistitValue.getType(); <del> // workaround for bug 1073357 <add> // TODO This is a workaround for bug 1073357. When that's fixed, we should remo...
Java
mit
6ec2ef16f3b05a2323205c9aa2a54149a20a39ab
0
AntoCuc/Publo,AntoCuc/Publo
/* * The MIT License * * Copyright 2016 Antonino Cucchiara. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to...
src/main/java/org/publo/controller/utils/FileSystemWatcher.java
/* * The MIT License * * Copyright 2016 Antonino Cucchiara. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to...
Document the FileSystemWatcher.
src/main/java/org/publo/controller/utils/FileSystemWatcher.java
Document the FileSystemWatcher.
<ide><path>rc/main/java/org/publo/controller/utils/FileSystemWatcher.java <ide> <ide> private WatchService watchService; <ide> <add> /** <add> * Constructs the {@code FileSystemWatcher} by initialising the <add> * {@code WatchService} and configuring it as a daemon. <add> */ <ide> public FileSy...
Java
apache-2.0
782d8af02c93751f2e103db900894259aa2209e6
0
apiman/apiman-test,wermington/apiman-test,jsmolar/apiman-test
/* * Copyright 2016 Red Hat Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apiman-it-commons/src/main/java/io/apiman/test/integration/runner/RestAssuredUtils.java
/* * Copyright 2016 Red Hat Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Fixed incorrect request specification for gateway requests
apiman-it-commons/src/main/java/io/apiman/test/integration/runner/RestAssuredUtils.java
Fixed incorrect request specification for gateway requests
<ide><path>piman-it-commons/src/main/java/io/apiman/test/integration/runner/RestAssuredUtils.java <ide> import com.jayway.restassured.RestAssured; <ide> import com.jayway.restassured.authentication.NoAuthScheme; <ide> import com.jayway.restassured.builder.RequestSpecBuilder; <del>import com.jayway.restassured.builder.R...
Java
apache-2.0
2a391bcfc02910611284cc62a4b6ffef589bcbcc
0
iconmaster5326/Typhon,TyphonLang/Typhon
package info.iconmaster.typhon.util; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import info.iconmaster.typhon.TyphonInput; import info.iconmaster.typhon.errors.TemplateLabelNotFoundError; import info.iconmaster.typhon.errors.TemplateNumberError; import...
src/main/java/info/iconmaster/typhon/util/TemplateUtils.java
package info.iconmaster.typhon.util; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import info.iconmaster.typhon.TyphonInput; import info.iconmaster.typhon.errors.TemplateLabelNotFoundError; import info.iconmaster.typhon.errors.TemplateNumberError; import...
Added javadoc to TemplateUtils.
src/main/java/info/iconmaster/typhon/util/TemplateUtils.java
Added javadoc to TemplateUtils.
<ide><path>rc/main/java/info/iconmaster/typhon/util/TemplateUtils.java <ide> /** <ide> * Checks to ensure a template instantiation is valid. Adds errors if it isn't. <ide> * <del> * @param typeToMap The type you're checking. Used for error output. <del> * @param template The list of template parameters. <del> ...
Java
mit
1b32c53aa77f92779c5b602f89e67d5e25f260c1
0
dx14/Cell-Society
import java.io.IOException; import java.util.ResourceBundle; import javax.xml.parsers.ParserConfigurationException; import org.xml.sax.SAXException; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Group; import javafx....
src/GUI.java
import java.io.IOException; import java.util.ResourceBundle; import javax.xml.parsers.ParserConfigurationException; import org.xml.sax.SAXException; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Group; import javafx....
nothing
src/GUI.java
nothing
<ide><path>rc/GUI.java <ide> border.setBottom(buttons); <ide> border.setTop(box); <ide> bpX = Math.abs(myScene.getWidth()-border.getPadding().getLeft() - border.getPadding().getRight()); <del> bpY = Math.abs(myScene.getHeight()-2*border.getPadding().getTop() - 4*border.getPadding().getBottom()); <add> bpY = M...
JavaScript
mit
18f7d1bb0c386d50bcf34904155a58cff1e1c72e
0
uber/ringpop,esatterwhite/skyring,esatterwhite/skyring,uber/ringpop-node,uber-node/ringpop-node,uber/ringpop-node,uber-node/ringpop-node
// Copyright (c) 2015 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
lib/gossip/damper.js
// Copyright (c) 2015 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
Address Ben's PR feedback; self.Date.now()
lib/gossip/damper.js
Address Ben's PR feedback; self.Date.now()
<ide><path>ib/gossip/damper.js <ide> // Accumulate responses until rVal is satisfied or is impossible to satisfy because <ide> // too many error responses. <ide> function createDampReqHandler(addr) { <del> var start = Date.now(); <add> var start = self.Date.now(); <ide> return function...
Java
apache-2.0
997756c450e3b720cbf036ebbc8fa60d4a4dcc10
0
TeMoMuKo/AutoStopRace,TeMoMuKo/AutoStopRace-Android,TeMoMuKo/AutoStopRace-Android,TeMoMuKo/AutoStopRace,TeMoMuKo/AutoStopRace-Android
package pl.temomuko.autostoprace; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Matchers; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import java.net.SocketTimeoutException; import okhttp3...
app/src/test/java/pl/temomuko/autostoprace/LoginPresenterTest.java
package pl.temomuko.autostoprace; import org.junit.After; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Matchers; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import java.net.SocketTimeoutException; import okhttp3...
Updated tests
app/src/test/java/pl/temomuko/autostoprace/LoginPresenterTest.java
Updated tests
<ide><path>pp/src/test/java/pl/temomuko/autostoprace/LoginPresenterTest.java <ide> mLoginPresenter.signIn(FAKE_EMAIL, FAKE_PASS); <ide> <ide> //then <add> verify(mMockLoginMvpView).setProgress(true); <ide> verify(mMockDataManager).saveAuthorizationResponse(response); <ide> verify...
Java
bsd-2-clause
3584cf0bba9d0243225ec702d14c44aba8ec9bf1
0
afester/RichTextFX,MewesK/RichTextFX,JordanMartinez/RichTextFX,FXMisc/RichTextFX,TomasMikula/RichTextFX,afester/RichTextFX,JFormDesigner/RichTextFX,JFormDesigner/RichTextFX,JordanMartinez/RichTextFX,TomasMikula/RichTextFX,cemartins/RichTextFX,FXMisc/RichTextFX
package org.fxmisc.flowless; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Optional; import java.util.Queue; import java.util.function.BiFunction; import java.util.stream.Stream; import javafx.application.Platform; import javafx.beans.binding.Bindings; import javafx....
richtextfx/src/main/java/org/fxmisc/flowless/VirtualFlow.java
package org.fxmisc.flowless; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Optional; import java.util.Queue; import java.util.function.BiFunction; import java.util.stream.Stream; import javafx.application.Platform; import javafx.beans.binding.Bindings; import javafx....
VirtualFlow: ensure instant cell layout when placing cells. So that cells can immediately be used for measuring purposes.
richtextfx/src/main/java/org/fxmisc/flowless/VirtualFlow.java
VirtualFlow: ensure instant cell layout when placing cells.
<ide><path>ichtextfx/src/main/java/org/fxmisc/flowless/VirtualFlow.java <ide> import javafx.geometry.Bounds; <ide> import javafx.geometry.Orientation; <ide> import javafx.scene.Node; <add>import javafx.scene.Parent; <ide> import javafx.scene.control.IndexRange; <ide> import javafx.scene.control.ScrollBar; <ide> import ...
JavaScript
mit
f70b54263a5e47d483483506452f6eee03382092
0
evan-dickinson/md4mefi,evan-dickinson/md4mefi
(function(jQuery) { "use strict"; var $ = jQuery; if (window.top !== window) { // Don't run in iframes return; } ///////////////////////////////////////////////// // // Utility functions // Adds http:// to a URL, if it's needed. // Returns false if the string is empty, null, etc. var ver...
lib/inject.js
(function(jQuery) { "use strict"; var $ = jQuery; if (window.top !== window) { // Don't run in iframes return; } ///////////////////////////////////////////////// // // Utility functions // Adds http:// to a URL, if it's needed. // Returns false if the string is empty, null, etc. var ver...
Disable the Show HTML button.
lib/inject.js
Disable the Show HTML button.
<ide><path>ib/inject.js <ide> .append(italicButton) <ide> .append(linkButton); <ide> toolbar <del> .append(showHtmlLabel) <add> //.append(showHtmlLabel) <ide> .append(title) <ide> .append(buttonbar); <ide>
Java
apache-2.0
70d1c9ead984870de87999d89f7a5b343b2f7b81
0
Scalepoint/oauth-jwt-assertion-java-client
package com.scalepoint.jwt_assertion_client; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jws; import io.jsonwebtoken.Jwts; import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; /** * Validate that assertion token is generated according to the specification...
src/test/java/com/scalepoint/jwt_assertion_client/JwtAssertionFactoryTest.java
package com.scalepoint.jwt_assertion_client; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jws; import io.jsonwebtoken.Jwts; import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; /** * Validate that assertion token is generated according to the specification...
Rename test methods
src/test/java/com/scalepoint/jwt_assertion_client/JwtAssertionFactoryTest.java
Rename test methods
<ide><path>rc/test/java/com/scalepoint/jwt_assertion_client/JwtAssertionFactoryTest.java <ide> } <ide> <ide> @Test <del> public void shouldBeJwt() { <add> public void testIsJwt() { <ide> Assert.assertEquals(token.getHeader().getType(), "JWT"); <ide> } <ide> <ide> @Test <del> public vo...
Java
apache-2.0
717b74fcbf1a509c3da7fbf9b617711bea6cf1ab
0
jaguiar/kafka-producer-example
package org.yaourtcorp.kafka.producer.example.yogurt; /** * YogurtEventsProducer class simulates the real time yogurts events generation. * */ import org.springframework.stereotype.Component; import org.yaourtcorp.kafka.producer.example.EventsProducer; @Component(value="eventsProducer") public class YogurtEventsPr...
src/main/java/org/yaourtcorp/kafka/producer/example/yogurt/YogurtEventsProducer.java
package org.yaourtcorp.kafka.producer.example.yogurt; /** * YogurtEventsProducer class simulates the real time yogurts event generation. * */ import org.springframework.stereotype.Component; import org.yaourtcorp.kafka.producer.example.EventsProducer; @Component(value="eventsProducer") public class YogurtEventsPro...
Update YogurtEventsProducer.java
src/main/java/org/yaourtcorp/kafka/producer/example/yogurt/YogurtEventsProducer.java
Update YogurtEventsProducer.java
<ide><path>rc/main/java/org/yaourtcorp/kafka/producer/example/yogurt/YogurtEventsProducer.java <ide> package org.yaourtcorp.kafka.producer.example.yogurt; <ide> <ide> /** <del> * YogurtEventsProducer class simulates the real time yogurts event generation. <add> * YogurtEventsProducer class simulates the real time yogu...
JavaScript
lgpl-2.1
4ba6cac2a10f8fbc3483b457595e63827e841976
0
serrapos/opencms-core,alkacon/opencms-core,it-tavis/opencms-core,ggiudetti/opencms-core,sbonoc/opencms-core,ggiudetti/opencms-core,mediaworx/opencms-core,alkacon/opencms-core,it-tavis/opencms-core,sbonoc/opencms-core,it-tavis/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,alkacon/opencms-c...
/* Represents an items list to use (either for category or gallery view). */ var ItemList = function() { this.items = null; this.markedItem = -1; this.currentPage = 0; this.publishable = false; } /* Global variables. */ var categories; var categoryItems; var galleries; var galleryItems; var activeGallery = -1; va...
modules/org.opencms.workplace/resources/system/workplace/galleries/imagegallery/js/galleryfunctions.js
/* Represents an items list to use (either for category or gallery view). */ var ItemList = function() { this.items = null; this.markedItem = -1; this.currentPage = 0; this.publishable = false; } /* Global variables. */ var categories; var categoryItems; var galleries; var galleryItems; var activeGallery = -1; va...
'alert' in js deleted
modules/org.opencms.workplace/resources/system/workplace/galleries/imagegallery/js/galleryfunctions.js
'alert' in js deleted
<ide><path>odules/org.opencms.workplace/resources/system/workplace/galleries/imagegallery/js/galleryfunctions.js <ide> if (isImageGallery == true && selectedTab == 0 && initValues.viewonly != true) { <ide> $("#categoryfolders").hide(); <ide> $("#categoryitems").show(); <del> alert("isImage preview category"); <i...
Java
apache-2.0
0a0a7cffbee95cc12c2f2e5969d059f9ae839f23
0
nbossard/packlist,nbossard/packlist
/* * PackList is an open-source packing-list for Android * * Copyright (c) 2016 Nicolas Bossard. * * 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/...
app/src/main/java/com/nbossard/packlist/PackListApp.java
/* * PackList is an open-source packing-list for Android * * Copyright (c) 2016 Nicolas Bossard. * * 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/...
Improving comments
app/src/main/java/com/nbossard/packlist/PackListApp.java
Improving comments
<ide><path>pp/src/main/java/com/nbossard/packlist/PackListApp.java <ide> public class PackListApp extends Application { <ide> <ide> // *********************** FIELDS ************************************************************************* <add> <add> /** Saving module singleton. */ <ide> private ISavingModule ...
JavaScript
mit
c56feeb2dfaf434f753b167aa027cb5594293b6b
0
jonas-vanen/image-updater,jonas-vanen/image-updater
// // Create a new sockect. // const socket = io.connect('/'); socket.on('file_count', function (data) { console.log('file_count\n', data); const progress = elements.progressBar; progress.max = data.file_count; }); socket.on('file', function (data) { const progress = elements.progressBar; progress.value = d...
imgupd_data/site/index.js
// // Create a new sockect. // const socket = io.connect('/'); socket.on('file_count', function (data) { console.log('file_count\n', data); const progress = elements.progressBar; progress.max = data.file_count; }); socket.on('file', function (data) { const progress = elements.progressBar; progress.value = d...
Enabled style selection for YGOPro2.
imgupd_data/site/index.js
Enabled style selection for YGOPro2.
<ide><path>mgupd_data/site/index.js <ide> } <ide> else if (item === elements.versionDropdown.options[1]) { <ide> // Disable style selection if the user selected YGOPro2. <del> elements.styleDropdown.disable(); <add> // elements.styleDropdown.disable(); <ide> // Reset the style back to Series 10. <ide>...
Java
apache-2.0
caee96b96587c88e1f17ff4b99a42085bdbeee4b
0
McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,jerome79/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,jeorme/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,McLeodMoores/starling,ChinaQuants/OG-Platform,McLeodMoores/starling,codeaudit/OG-Pl...
/** * Copyright (C) 2009 - 2010 by OpenGamma Inc. * * Please see distribution for license. */ package com.opengamma.financial.world.exchange.master.memory; import java.util.Collection; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import javax.time.Instant; import org....
src/com/opengamma/financial/world/exchange/master/memory/InMemoryExchangeMaster.java
/** * Copyright (C) 2009 - 2010 by OpenGamma Inc. * * Please see distribution for license. */ package com.opengamma.financial.world.exchange.master.memory; import java.util.Collection; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import javax.time.Instant; import com....
[FIN-151] Enhance exchange master API Handle wildcard at end of name
src/com/opengamma/financial/world/exchange/master/memory/InMemoryExchangeMaster.java
[FIN-151] Enhance exchange master API
<ide><path>rc/com/opengamma/financial/world/exchange/master/memory/InMemoryExchangeMaster.java <ide> import java.util.concurrent.ConcurrentMap; <ide> <ide> import javax.time.Instant; <add> <add>import org.apache.commons.lang.StringUtils; <ide> <ide> import com.google.common.base.Predicate; <ide> import com.google.com...
Java
apache-2.0
adc84ba6a5bc9353528e21457b38f71f70e855cf
0
Codeforces/codeforces-commons,Codeforces/codeforces-commons
package com.codeforces.commons.lang; import javax.annotation.Nonnull; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.*; /** * @author Maxim Shipko (sladethe@gmail.com) * Date: 11.09.2017 */ public final class Flow { private Flow() { throw new UnsupportedOperatio...
code/src/main/java/com/codeforces/commons/lang/Flow.java
package com.codeforces.commons.lang; import javax.annotation.Nonnull; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.*; /** * @author Maxim Shipko (sladethe@gmail.com) * Date: 11.09.2017 */ public final class Flow { private Flow() { throw new UnsupportedOperatio...
Added Flow.forLong(...), other minor changes in Flow.
code/src/main/java/com/codeforces/commons/lang/Flow.java
Added Flow.forLong(...), other minor changes in Flow.
<ide><path>ode/src/main/java/com/codeforces/commons/lang/Flow.java <ide> (condition ? trueAction : falseAction).run(); <ide> } <ide> <del> public static void ifElse( <del> @Nonnull BooleanSupplier condition, @Nonnull Runnable trueAction, @Nonnull Runnable falseAction) { <add> public static...
JavaScript
mit
57d2e37679e577e2ea4d99b5926c491aa6ff9788
0
cusd/cusd-website,cusd/cusd-website,cusd/cusd-website
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), remoteUser: 'deployer', remoteHost: '162.243.45.15', remoteDir: '/home/deployer/www/current', uglify: { options: { banner: '/*! <%= pkg.name %> <%= grunt.template.today() %> */\n' }...
Gruntfile.js
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), remoteUser: 'deployer', remoteHost: '162.243.45.15', remoteDir: '/home/deployer/www/current', uglify: { options: { banner: '/*! <%= pkg.name %> <%= grunt.template.today() %> */\n' }...
Fix Grunt watch
Gruntfile.js
Fix Grunt watch
<ide><path>runtfile.js <ide> tasks: ['includes:html'], <ide> }, <ide> css: { <del> files: ['src/sass/*.scss', 'src/sass/**.*.scss'], <add> files: ['src/scss/*.scss', 'src/scss/**.*.scss'], <ide> tasks: ['compass:dev'], <ide> }, <ide> js: {
Java
apache-2.0
413d686562ce90760262b8c9777977c36c2dc4e2
0
confluentinc/camus,confluentinc/camus
package com.linkedin.camus.etl.kafka.common; import com.linkedin.camus.coders.CamusWrapper; import com.linkedin.camus.etl.IEtlKey; import com.linkedin.camus.etl.RecordWriterProvider; import com.linkedin.camus.etl.kafka.mapred.EtlMultiOutputFormat; import java.io.IOException; import org.apache.hadoop.fs.Path; import or...
camus-etl-kafka/src/main/java/com/linkedin/camus/etl/kafka/common/SequenceFileRecordWriterProvider.java
package com.linkedin.camus.etl.kafka.common; import com.linkedin.camus.coders.CamusWrapper; import com.linkedin.camus.etl.IEtlKey; import com.linkedin.camus.etl.RecordWriterProvider; import com.linkedin.camus.etl.kafka.mapred.EtlMultiOutputFormat; import java.io.IOException; import org.apache.hadoop.fs.Path; import or...
Fixed missing import of DefaultCodec
camus-etl-kafka/src/main/java/com/linkedin/camus/etl/kafka/common/SequenceFileRecordWriterProvider.java
Fixed missing import of DefaultCodec
<ide><path>amus-etl-kafka/src/main/java/com/linkedin/camus/etl/kafka/common/SequenceFileRecordWriterProvider.java <ide> <ide> import org.apache.hadoop.io.SequenceFile; <ide> import org.apache.hadoop.io.SequenceFile.CompressionType; <add>import org.apache.hadoop.io.compress.DefaultCodec; <ide> import org.apache.hadoop....
Java
epl-1.0
8138c4470373cb1e8e5bb6c417ccad75a718e4dc
0
rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt
/* ************************************************************************* * Copyright (c) 2004, 2005 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java
/* ************************************************************************* * Copyright (c) 2004, 2005 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
Fix the bugzilla bug 258636 : AssertionError when displaying simple Table-Report containing Aggregation Item deployed on BEA Weblogic 10.0
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java
Fix the bugzilla bug 258636 : AssertionError when displaying simple Table-Report containing Aggregation Item deployed on BEA Weblogic 10.0
<ide><path>ata/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java <ide> reg ); <ide> } <ide> } <del> else <del> { <del> // Should never get here <del> assert false; <del> } <ide> } <ide> <ide> /**
JavaScript
agpl-3.0
287c1c8ca2b8ae1c890bca431c040caae46403d8
0
scotown/cgm-remote-monitor,fredivar1/cgm-remote-monitor,Emmikos/cgm-remote-monitor,drex304/cgm-remote-monitor,ariellecgm/cgm-remote-monitor,thomcost/cgm-remote-monitor,mandy6770/cgm-remote-monitor,chelesawilds/cgm-remote-monitor,aabramowicz/cgm-remote-monitor,Thebassefamily/cgm-remote-monitor,DavMedek/cgm-remote-monito...
'use strict'; var utils = { }; function init( ) { return utils; } module.exports = init; utils.localeDate = function localeDate(day) { var translate = Nightscout.client.translate; var date; if (typeof day === 'string') { date = moment(day).toDate(); } else { date = day; } var ret = [trans...
lib/report_plugins/utils.js
'use strict'; var utils = { }; function init( ) { return utils; } module.exports = init; utils.localeDate = function localeDate(day) { var translate = Nightscout.client.translate; var date; if (typeof day === 'string') { date = new Date(day + ' 00:00:00'); } else { date = day; } var ret = ...
use moment to create date object
lib/report_plugins/utils.js
use moment to create date object
<ide><path>ib/report_plugins/utils.js <ide> var translate = Nightscout.client.translate; <ide> var date; <ide> if (typeof day === 'string') { <del> date = new Date(day + ' 00:00:00'); <add> date = moment(day).toDate(); <ide> } else { <ide> date = day; <ide> } <ide> utils.localeDateTime = function lo...
Java
bsd-3-clause
42c2ea152ee320ffab147e4020f1b1e34f08de11
0
forcedotcom/phoenix,forcedotcom/phoenix
/******************************************************************************* * Copyright (c) 2013, 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: * * Redistr...
src/main/java/com/salesforce/phoenix/pig/PhoenixHBaseStorage.java
/******************************************************************************* * Copyright (c) 2013, 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: * * Redistr...
Issue#303
src/main/java/com/salesforce/phoenix/pig/PhoenixHBaseStorage.java
Issue#303
<ide><path>rc/main/java/com/salesforce/phoenix/pig/PhoenixHBaseStorage.java <ide> } <ide> } <ide> <del> @Override <del> public void cleanupOnSuccess(String location, Job job) throws IOException { <del> try { <del> deregisterDriver(); <del> } catch (SQLException e) { <del> LOG.error("Error while deregistering ...
Java
bsd-2-clause
eda1c828d20e278f21d8db386ce6da260fe52fb1
0
bnanes/slideset
package edu.emory.cellbio.ijbat.ui; import edu.emory.cellbio.ijbat.SlideSet; import edu.emory.cellbio.ijbat.dm.CommandTemplate; import edu.emory.cellbio.ijbat.dm.DataTypeIDService; import edu.emory.cellbio.ijbat.ex.ColumnTypeException; import edu.emory.cellbio.ijbat.ex.NoPluginInputSourceException; import edu.emory.ce...
src/main/java/edu/emory/cellbio/ijbat/ui/SlideSetLauncher.java
package edu.emory.cellbio.ijbat.ui; import edu.emory.cellbio.ijbat.SlideSet; import edu.emory.cellbio.ijbat.dm.CommandTemplate; import edu.emory.cellbio.ijbat.dm.DataTypeIDService; import edu.emory.cellbio.ijbat.ex.ColumnTypeException; import edu.emory.cellbio.ijbat.ex.NoPluginInputSourceException; import edu.emory.ce...
Fix potential concurrency issue saving com. skel.
src/main/java/edu/emory/cellbio/ijbat/ui/SlideSetLauncher.java
Fix potential concurrency issue saving com. skel.
<ide><path>rc/main/java/edu/emory/cellbio/ijbat/ui/SlideSetLauncher.java <ide> }); <ide> log.println("\nFatal Error: Unable to save file"); <ide> log.println("# " + ex.getMessage()); <del> } catch(OperationCanceledException|InvocationTargetException ex) { <add> ...
JavaScript
mit
cc530c8469c86fba63eeefa2f271addaf0ef91e9
0
RobinHerbots/Inputmask,RobinHerbots/Inputmask
/* * Input Mask Core * http://github.com/RobinHerbots/jquery.inputmask * Copyright (c) 2010 - Robin Herbots * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Version: 0.0.0-dev */ (function (factory) { if (typeof define === "function" && define.amd) { define(["./d...
js/inputmask.js
/* * Input Mask Core * http://github.com/RobinHerbots/jquery.inputmask * Copyright (c) 2010 - Robin Herbots * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) * Version: 0.0.0-dev */ (function (factory) { if (typeof define === "function" && define.amd) { define(["./d...
fix gettest case see issue #1843
js/inputmask.js
fix gettest case see issue #1843
<ide><path>s/inputmask.js <ide> amndx = parseInt(altIndexArr[ndx]); <ide> matches = []; <ide> //set the correct ndxInitializer <del> ndxInitializer = resolveNdxI...
Java
apache-2.0
b84b036fef4e79f40c0b2c0393f4b7ef970f181b
0
jimmycd/liquibase,jimmycd/liquibase,fossamagna/liquibase,mattbertolini/liquibase,mattbertolini/liquibase,fossamagna/liquibase,mattbertolini/liquibase,mattbertolini/liquibase,jimmycd/liquibase,liquibase/liquibase,liquibase/liquibase,jimmycd/liquibase,liquibase/liquibase,fossamagna/liquibase
package liquibase.integration.commandline; import liquibase.CatalogAndSchema; import liquibase.Contexts; import liquibase.LabelExpression; import liquibase.Liquibase; import liquibase.change.CheckSum; import liquibase.changelog.visitor.ChangeExecListener; import liquibase.command.CommandFactory; import liquibase.comma...
liquibase-core/src/main/java/liquibase/integration/commandline/Main.java
package liquibase.integration.commandline; import liquibase.CatalogAndSchema; import liquibase.Contexts; import liquibase.LabelExpression; import liquibase.Liquibase; import liquibase.change.CheckSum; import liquibase.changelog.visitor.ChangeExecListener; import liquibase.command.CommandFactory; import liquibase.comma...
Fix bug: can't set some parameters for snapshot & generate changelog commands else if was in wrong place (cherry picked from commit a7d571aac6f4a5f7416856ae457b3b8b968f4645)
liquibase-core/src/main/java/liquibase/integration/commandline/Main.java
Fix bug: can't set some parameters for snapshot & generate changelog commands
<ide><path>iquibase-core/src/main/java/liquibase/integration/commandline/Main.java <ide> } <ide> } <ide> } <del> <add> <ide> } <ide> <ide> /**
Java
mit
6c01c960bde8adb0b509be14c0c3e5eb96451bbe
0
fiveham/Sudoku_Solver
package sudoku.technique; import common.Pair; import common.graph.BasicGraph; import common.graph.Graph; import common.graph.Wrap; import common.graph.WrapVertex; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; impo...
src/sudoku/technique/XYChain.java
package sudoku.technique; import common.Pair; import common.graph.BasicGraph; import common.graph.Graph; import common.graph.Wrap; import common.graph.WrapVertex; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; impo...
refactor/bugfix XYChain give falsePush nodes needed color reuse unchanged mixPush graphs mixPush graphs are each 1 connected component
src/sudoku/technique/XYChain.java
refactor/bugfix XYChain
<ide><path>rc/sudoku/technique/XYChain.java <ide> import sudoku.Fact; <ide> import sudoku.Sudoku; <ide> import sudoku.technique.ColorChain.ColorClaim; <add>import sudoku.technique.ColorChain.ColorSource; <ide> import sudoku.time.FalsifiedTime; <ide> import sudoku.time.TechniqueEvent; <ide> <ide> * "False push" refe...
Java
apache-2.0
402f6fffe93180ac5e03d45d3a1f3f09d2a331da
0
tharindu1st/carbon-apimgt,jaadds/carbon-apimgt,Rajith90/carbon-apimgt,nuwand/carbon-apimgt,bhathiya/carbon-apimgt,nuwand/carbon-apimgt,jaadds/carbon-apimgt,fazlan-nazeem/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,uvindra/carbon-apimgt,nuwand/carbon-apimgt,uvindra/carbon-apimgt,praminda/carbon-apimgt,isharac/carbon-...
/* * Copyright WSO2 Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/security/CORSRequestHandler.java
/* * Copyright WSO2 Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Fix https://github.com/wso2/product-apim/issues/2586
components/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/security/CORSRequestHandler.java
Fix https://github.com/wso2/product-apim/issues/2586
<ide><path>omponents/apimgt/org.wso2.carbon.apimgt.gateway/src/main/java/org/wso2/carbon/apimgt/gateway/handlers/security/CORSRequestHandler.java <ide> private Set<String> allowedOrigins; <ide> private boolean initializeHeaderValues; <ide> private String allowedMethods; <add> private List<String> allowed...
Java
apache-2.0
b87dc55203201c7532b84c649f7737d9a23c0c22
0
apc999/alluxio,bf8086/alluxio,madanadit/alluxio,yuluo-ding/alluxio,wwjiang007/alluxio,madanadit/alluxio,riversand963/alluxio,maobaolong/alluxio,apc999/alluxio,maobaolong/alluxio,aaudiber/alluxio,PasaLab/tachyon,wwjiang007/alluxio,uronce-cc/alluxio,wwjiang007/alluxio,uronce-cc/alluxio,EvilMcJerkface/alluxio,maboelhassan...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
tests/src/test/java/alluxio/shell/command/CheckConsistencyCommandTest.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Fix test
tests/src/test/java/alluxio/shell/command/CheckConsistencyCommandTest.java
Fix test
<ide><path>ests/src/test/java/alluxio/shell/command/CheckConsistencyCommandTest.java <ide> mOutput.reset(); <ide> mFsShell.run("checkConsistency", "-r", "/testRoot"); <ide> String res = mOutput.toString(); <del> Assert.assertTrue(res.contains("/testRoot" + "have: " + "2 files inconsistent.\n") <add> A...
Java
apache-2.0
7d023bf6351b2574d55c6beaedd741b2238442ed
0
fullcontact/grpc-jersey,fullcontact/grpc-jersey
package {{javaPackage}}; import com.fullcontact.rpc.jersey.JerseyStreamObserver; import com.fullcontact.rpc.jersey.RequestParser; import com.fullcontact.rpc.jersey.GrpcErrorUtil; import com.google.protobuf.Descriptors; import java.io.IOException; import javax.ws.rs.*; import javax.ws.rs.core.*; import javax.ws.rs.co...
protoc-gen-jersey/src/main/resources/resource.tmpl.java
package {{javaPackage}}; import com.fullcontact.rpc.jersey.JerseyStreamObserver; import com.fullcontact.rpc.jersey.RequestParser; import com.fullcontact.rpc.jersey.GrpcErrorUtil; import com.google.protobuf.Descriptors; import java.io.IOException; import javax.ws.rs.*; import javax.ws.rs.core.*; import javax.ws.rs.co...
If we fail to parse a request to a gRPC object, we now return a 400 instead of a 500 with some gRPC info. This will need to be updated more later
protoc-gen-jersey/src/main/resources/resource.tmpl.java
If we fail to parse a request to a gRPC object, we now return a 400 instead of a 500 with some gRPC info. This will need to be updated more later
<ide><path>rotoc-gen-jersey/src/main/resources/resource.tmpl.java <ide> RequestParser.setFieldSafely(r, "{{name}}", {{nameSanitized}}); <ide> {{/pathParams}} <ide> } catch(Exception e) { <del> asyncResponse.resume(GrpcErrorUtil.createJerseyResponse(e)); <add> asyncR...
Java
apache-2.0
8022fd6e8f2990fb190fc91f2a9947f844efd58e
0
opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open
package net.onrc.onos.ofcontroller.flowmanager; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Class for collecting performance measurements */ public class PerformanceMonitor { private final static Map<String, Measurement> ma...
src/main/java/net/onrc/onos/ofcontroller/flowmanager/PerformanceMonitor.java
package net.onrc.onos.ofcontroller.flowmanager; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Class for collecting performance measurements */ public class PerformanceMonitor { private final static Map<String, Measurement> ma...
Add a space between the printed value and the "ms" suffix.
src/main/java/net/onrc/onos/ofcontroller/flowmanager/PerformanceMonitor.java
Add a space between the printed value and the "ms" suffix.
<ide><path>rc/main/java/net/onrc/onos/ofcontroller/flowmanager/PerformanceMonitor.java <ide> */ <ide> public String toString() { <ide> double milli = elapsed() / Math.pow(10, 6); <del> return Double.toString(milli) + "ms"; <add> return Double.toString(milli) + " ms"; <ide> } <ide> } <ide>
Java
apache-2.0
a86d32d2ea0a2fdc6c0ec4bc05d40ed6bed55b30
0
cuba-platform/sample-timesheets,cuba-platform/sample-timesheets
/* * Copyright (c) 2016 Haulmont * * 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...
modules/core/src/com/haulmont/timesheets/core/HolidaysCache.java
/* * Copyright (c) 2016 Haulmont * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
fix displaying one-day holidays in Calendar
modules/core/src/com/haulmont/timesheets/core/HolidaysCache.java
fix displaying one-day holidays in Calendar
<ide><path>odules/core/src/com/haulmont/timesheets/core/HolidaysCache.java <ide> Date startDate = holiday.getStartDate(); <ide> Date endDate = holiday.getEndDate(); <ide> Date currentDate = startDate; <del> while (currentDate.before(endDate)) { <add> ...
Java
apache-2.0
7905cff492f6e12df8d88b87fc4a26723227bbd9
0
ol-loginov/intellij-community,ryano144/intellij-community,fengbaicanhe/intellij-community,kdwink/intellij-community,vladmm/intellij-community,pwoodworth/intellij-community,da1z/intellij-community,ivan-fedorov/intellij-community,izonder/intellij-community,pwoodworth/intellij-community,clumsy/intellij-community,semonte/i...
/* * Copyright 2003-2007 Dave Griffith, Bas Leijdekkers * * 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 applicab...
plugins/InspectionGadgets/src/com/siyeh/ig/visibility/MethodOverloadsParentMethodInspection.java
/* * Copyright 2003-2007 Dave Griffith, Bas Leijdekkers * * 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 applicab...
False positive in case the class is named after some its super class fixed.
plugins/InspectionGadgets/src/com/siyeh/ig/visibility/MethodOverloadsParentMethodInspection.java
False positive in case the class is named after some its super class fixed.
<ide><path>lugins/InspectionGadgets/src/com/siyeh/ig/visibility/MethodOverloadsParentMethodInspection.java <ide> return; <ide> } <ide> if (method.getNameIdentifier() == null) { <add> return; <add> } <add> <add> if (method.isConstructor()) { <i...
JavaScript
mit
b00845051419e03ed11b87b93d20f0bf8803c72a
0
lizardoluis/omtg-designer,lizardoluis/omtg-designer,lab-csx-ufmg/omtg-designer,lab-csx-ufmg/omtg-designer,lizardoluis/omtg-designer,lab-csx-ufmg/omtg-designer
(function($) { 'use strict'; // OMTG Connection Editor View // ---------- app.omtg.ConnectionEditorView = Backbone.View.extend({ id : 'connection-editor', className : 'modal fade', events : { // Modal events 'click #btnUpdate' : 'update', 'click #btnDelete' : 'detach', 'hidden.bs.modal' : 'te...
www/js/views/omtg/connectioneditor-view.js
(function($) { 'use strict'; // OMTG Connection Editor View // ---------- app.omtg.ConnectionEditorView = Backbone.View.extend({ id : 'connection-editor', className : 'modal fade', events : { // Modal events 'click #btnUpdate' : 'update', 'click #btnDelete' : 'detach', 'hidden.bs.modal' : 'te...
Fix: Update label position after adding a label
www/js/views/omtg/connectioneditor-view.js
Fix: Update label position after adding a label
<ide><path>ww/js/views/omtg/connectioneditor-view.js <ide> this.cartographicLabel.setLabel(this.$('input:radio[name=inlineRadioOptions]:checked').val()); <ide> } <ide> <del> <add> app.plumbUtils.updateLabelsPosition(this.connection); <ide> //this.teardown(); <ide> }, <ide>
Java
apache-2.0
a48ea74c870b6de90c39325241480a4163f55b47
0
b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl
/* * Copyright 2018-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
commons/com.b2international.index/src/com/b2international/index/revision/BaseRevisionBranching.java
/* * Copyright 2018-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
fix: change param to the new parameter
commons/com.b2international.index/src/com/b2international/index/revision/BaseRevisionBranching.java
fix: change param to the new parameter
<ide><path>ommons/com.b2international.index/src/com/b2international/index/revision/BaseRevisionBranching.java <ide> * Returns <code>true</code> if the given branch has any actual changes. <ide> * An actual change is a commit that has been made on the given branch between the given timeframe (from -> to) and it is n...
Java
apache-2.0
f71715b023c2365489a7638ea1ebf324f7cea51d
0
Johnnei/JavaTorrent
package torrent.protocol; import java.io.IOException; import org.johnnei.utils.JMath; import torrent.download.AFiles; import torrent.download.Torrent; import torrent.download.peer.Peer; import torrent.protocol.messages.MessageBitfield; import torrent.protocol.messages.MessageHave; import torrent.protocol.messages.ex...
torrent/protocol/BitTorrentUtil.java
package torrent.protocol; import java.io.IOException; import org.johnnei.utils.JMath; import torrent.download.AFiles; import torrent.download.Torrent; import torrent.download.peer.Peer; import torrent.protocol.messages.MessageBitfield; import torrent.protocol.messages.MessageHave; import torrent.protocol.messages.ex...
Corrected the sendExtendedMessage with metadata size
torrent/protocol/BitTorrentUtil.java
Corrected the sendExtendedMessage with metadata size
<ide><path>orrent/protocol/BitTorrentUtil.java <ide> } else { <ide> message = new MessageExtension( <ide> BitTorrent.EXTENDED_MESSAGE_HANDSHAKE, <del> new MessageHandshake( <del> //peer.getTorrent().getFiles().getMetadataSize() <del> 0 // TODO Correctly implement the metadata size again. <del> )...
JavaScript
apache-2.0
e654a3dd42ac9e8e10803bd94e1f1d9fcd12eac0
0
trainerbill/paypal-checkout,trainerbill/paypal-checkout,paypal/paypal-checkout,andreabondi/paypal-checkout,andreabondi/paypal-checkout,mstuart/paypal-checkout,trainerbill/paypal-checkout,vishakha94/paypal-checkout,bluepnume/paypal-checkout,mstuart/paypal-checkout,vishakha94/paypal-checkout,paypal/paypal-checkout,bluepn...
/* @flow weak */ import { ENV } from './constants'; export let config = { scriptUrl: `//www.paypalobjects.com/api/${__FILE_NAME__}`, legacyScriptUrl: `//www.paypalobjects.com/api/checkout.js`, paypal_domain_regex: /^(https?|mock):\/\/[a-zA-Z0-9_.-]+\.paypal\.com(:\d+)?$/, version: __MINOR_VERSION__...
src/config/config.js
/* @flow weak */ import { ENV } from './constants'; export let config = { scriptUrl: `//www.paypalobjects.com/api/${__FILE_NAME__}`, legacyScriptUrl: `//www.paypalobjects.com/api/checkout.js`, paypal_domain_regex: /^(https?|mock):\/\/[a-zA-Z0-9_.-]+\.paypal\.com(:\d+)?$/, version: __MINOR_VERSION__...
Fix priorities of languages for each country (#279) * locale sort * TR added * indentation
src/config/config.js
Fix priorities of languages for each country (#279)
<ide><path>rc/config/config.js <ide> }, <ide> <ide> locales: { <del> AD: ['zh', 'es', 'fr', 'en'], <del> AE: ['ar', 'zh', 'es', 'fr', 'en'], <del> AG: ['zh', 'es', 'fr', 'en'], <del> AI: ['zh', 'es', 'fr', 'en'], <del> AL: ['en'], <del> AM: ['zh', 'es', 'fr', 'en'], <d...
Java
mit
f78483f1b166cbedbf78f648848add7f1166ebb0
0
fimkrypto/nxt,fimkrypto/nxt,metrospark/czarcraft,metrospark/czarcraft,fimkrypto/nxt,Ziftr/nxt,Ziftr/nxt,metrospark/czarcraft,Ziftr/nxt,fimkrypto/nxt
package nxt.util; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; public final class Thread...
src/java/nxt/util/ThreadPool.java
package nxt.util; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; public final class Thread...
allow task scheduling in milliseconds too
src/java/nxt/util/ThreadPool.java
allow task scheduling in milliseconds too
<ide><path>rc/java/nxt/util/ThreadPool.java <ide> public final class ThreadPool { <ide> <ide> private static ScheduledExecutorService scheduledThreadPool; <del> private static Map<Runnable,Integer> backgroundJobs = new HashMap<>(); <add> private static Map<Runnable,Long> backgroundJobs = new HashMap<>(); <id...
Java
lgpl-2.1
aa3bf02e35aa8cbe1174b96f43603e917962c56e
0
jimregan/languagetool,jimregan/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,languagetool-org/languagetool,jimregan/languagetool,jimregan/languagetool,jimregan/languagetool
/* LanguageTool, a natural language style checker * Copyright (C) 2011 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
languagetool-server/src/main/java/org/languagetool/server/LanguageToolHttpHandler.java
/* LanguageTool, a natural language style checker * Copyright (C) 2011 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
more verbose error logging; avoid code duplication
languagetool-server/src/main/java/org/languagetool/server/LanguageToolHttpHandler.java
more verbose error logging; avoid code duplication
<ide><path>anguagetool-server/src/main/java/org/languagetool/server/LanguageToolHttpHandler.java <ide> if (referrer != null && referrer.startsWith(ref)) { <ide> String errorMessage = "Error: Access with referrer " + referrer + " denied."; <ide> sendError(httpExchange, HttpURLConnection.HTTP_...
Java
apache-2.0
6944df67de35c2c5acfea6bb7cb2913620cc9dbd
0
ecki/commons-vfs,apache/commons-vfs,ecki/commons-vfs,apache/commons-vfs
/* * 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 ...
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.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 ...
Make private final variable static.
commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java
Make private final variable static.
<ide><path>ommons-vfs2/src/main/java/org/apache/commons/vfs2/provider/zip/ZipFileSystem.java <ide> * A read-only file system for ZIP and JAR files. <ide> */ <ide> public class ZipFileSystem extends AbstractFileSystem { <del> private final char[] ENC = {'!'}; <add> private static final char[] ENC = {'!'}; <ide> ...
Java
apache-2.0
ada136f12c2b6ea9067a0a14b992de3674912952
0
IsuraD/identity-governance,wso2-extensions/identity-governance
package org.wso2.carbon.identity.recovery.endpoint.dto; import io.swagger.annotations.*; import com.fasterxml.jackson.annotation.*; import javax.validation.constraints.NotNull; @ApiModel(description = "") public class ClaimDTO { private String uri = null; private String value = null; ...
components/org.wso2.carbon.identity.recovery.endpoint/src/gen/java/org/wso2/carbon/identity/recovery/endpoint/dto/ClaimDTO.java
package org.wso2.carbon.identity.recovery.endpoint.dto; import io.swagger.annotations.*; import com.fasterxml.jackson.annotation.*; import javax.validation.constraints.NotNull; @ApiModel(description = "") public class ClaimDTO { private String uri = null; private String value = null; ...
Add validation to show only non-read only claims in self sign up page Resolves: https://github.com/wso2/product-is/issues/3598
components/org.wso2.carbon.identity.recovery.endpoint/src/gen/java/org/wso2/carbon/identity/recovery/endpoint/dto/ClaimDTO.java
Add validation to show only non-read only claims in self sign up page
<ide><path>omponents/org.wso2.carbon.identity.recovery.endpoint/src/gen/java/org/wso2/carbon/identity/recovery/endpoint/dto/ClaimDTO.java <ide> /** <ide> **/ <ide> @ApiModelProperty(value = "") <del> @JsonProperty("readOnly") <add> @JsonProperty("read-only") <ide> public Boolean getReadOnly() { <ide> ret...
Java
apache-2.0
47eab9ba7cb94d17878d9b35044d77cdc8b51a8e
0
jwillia/kc-rice1,sonamuthu/rice-1,kuali/kc-rice,ewestfal/rice-svn2git-test,rojlarge/rice-kc,ewestfal/rice-svn2git-test,gathreya/rice-kc,rojlarge/rice-kc,ewestfal/rice,geothomasp/kualico-rice-kc,UniversityOfHawaiiORS/rice,geothomasp/kualico-rice-kc,UniversityOfHawaiiORS/rice,kuali/kc-rice,jwillia/kc-rice1,sonamuthu/rice...
/** * Copyright 2005-2012 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/ecl2.php * * Unless requ...
krad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/widget/Inquiry.java
/** * Copyright 2005-2012 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/ecl2.php * * Unless requ...
KULRICE-6644 - Javadoc Inquiry getViewName
krad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/widget/Inquiry.java
KULRICE-6644 - Javadoc Inquiry getViewName
<ide><path>rad/krad-web-framework/src/main/java/org/kuali/rice/krad/uif/widget/Inquiry.java <ide> this.dataObjectClassName = dataObjectClassName; <ide> } <ide> <add> /** <add> * When multiple target inquiry views exists for the same data object class, the view name can be set to <add> * determin...
Java
apache-2.0
6cda3c4e0950a64ca692b8e8107ca55bc624bd7a
0
MCServerTools/ServerTools-BACKUP,SirFlip/ServerTools-BACKUP
/* * Copyright 2014 ServerTools * * 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 ...
src/main/java/info/servertools/backup/ServerToolsBackup.java
/* * Copyright 2014 ServerTools * * 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 ...
Forgot Servertools dependency
src/main/java/info/servertools/backup/ServerToolsBackup.java
Forgot Servertools dependency
<ide><path>rc/main/java/info/servertools/backup/ServerToolsBackup.java <ide> <ide> import java.io.File; <ide> <del>@Mod(modid = ServerToolsBackup.MOD_ID, name = ServerToolsBackup.MOD_ID) <add>@Mod(modid = ServerToolsBackup.MOD_ID, name = ServerToolsBackup.MOD_ID, dependencies = "required-after:ServerTools") <ide> pub...
JavaScript
mit
5327eb4b4bcf8ffe9848a01b2dad6667bd88e46a
0
TryGhost/Ghost,e10/Ghost,e10/Ghost,TryGhost/Ghost,ErisDS/Ghost,ErisDS/Ghost,TryGhost/Ghost,ErisDS/Ghost
const path = require('path'); module.exports = { env: { es6: true, node: true }, plugins: ['ghost'], extends: [ 'plugin:ghost/node' ], rules: { // @TODO: remove this rule once it's turned into "error" in the base plugin 'no-shadow': 'error', 'no-v...
.eslintrc.js
const path = require('path'); module.exports = { env: { es6: true, node: true }, plugins: ['ghost'], extends: [ 'plugin:ghost/node' ], rules: { // @TODO: remove this rule once it's turned into "error" in the base plugin 'no-shadow': 'error', 'no-v...
Upgraded api max complixity eslint rule to error - We've now squashed all the warnings, upgrade to error to prevent regressions
.eslintrc.js
Upgraded api max complixity eslint rule to error
<ide><path>eslintrc.js <ide> { <ide> files: 'core/server/api/canary/*', <ide> rules: { <del> 'ghost/ghost-custom/max-api-complexity': 'warn' <add> 'ghost/ghost-custom/max-api-complexity': 'error' <ide> } <ide> }, <ide> {
Java
mit
5ae008be66ea2d8b63bbfe949e1cf041b9eb542a
0
Stolpersteine/stolpersteine-android
package com.dreiri.stolpersteine.activities; import java.util.List; import org.csdgn.util.KDTree; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import com.dreiri.stolpersteine.R; import com.dreiri.stolpersteine.client.Ca...
src/com/dreiri/stolpersteine/activities/MapActivity.java
package com.dreiri.stolpersteine.activities; import java.util.List; import org.csdgn.util.KDTree; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import com.dreiri.stolpersteine.R; import com.dreir...
Remove import of Log
src/com/dreiri/stolpersteine/activities/MapActivity.java
Remove import of Log
<ide><path>rc/com/dreiri/stolpersteine/activities/MapActivity.java <ide> import android.app.Activity; <ide> import android.content.Intent; <ide> import android.os.Bundle; <del>import android.util.Log; <ide> import android.view.Menu; <ide> import android.view.MenuItem; <ide>
Java
mit
66360002240833af6522cd8ea4dc5d5091095e3d
0
andreivo/retest
/* * The MIT License * * Copyright 2016 andreivo. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify...
src/test/java/initial/case01/Case01.java
/* * The MIT License * * Copyright 2016 andreivo. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify...
alteração do caso de teste
src/test/java/initial/case01/Case01.java
alteração do caso de teste
<ide><path>rc/test/java/initial/case01/Case01.java <ide> public class Case01 { <ide> <ide> @Test <del> @Ignore <ide> @ReTest(100) <ide> @SaveBrokenTestDataFiles(filePath = "/tmp/testDataCase01.csv") <ide> public void test(@RandomParam Random r) throws InterruptedException { <ide> } <ide> <ide> ...
Java
bsd-3-clause
cb6a9d602003721e16157285ebefdee860b443ec
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.calab.ui.core; import gov.nih.nci.calab.dto.characterization.CharacterizationBean; import gov.nih.nci.calab.dto.common.LabFileBean; import gov.nih.nci.calab.dto.common.UserBean; import gov.nih.nci.calab.dto.function.FunctionBean; import gov.nih.nci.calab.dto.inventory.AliquotBean; import gov.nih.nc...
src/gov/nih/nci/calab/ui/core/InitSessionSetup.java
package gov.nih.nci.calab.ui.core; import gov.nih.nci.calab.dto.characterization.CharacterizationBean; import gov.nih.nci.calab.dto.common.LabFileBean; import gov.nih.nci.calab.dto.common.UserBean; import gov.nih.nci.calab.dto.function.FunctionBean; import gov.nih.nci.calab.dto.inventory.AliquotBean; import gov.nih.nc...
Added additional check in setSampleSourceUnmaskedAliquots() SVN-Revision: 2814
src/gov/nih/nci/calab/ui/core/InitSessionSetup.java
Added additional check in setSampleSourceUnmaskedAliquots()
<ide><path>rc/gov/nih/nci/calab/ui/core/InitSessionSetup.java <ide> throws Exception { <ide> // set map between sample source and samples that have unmasked aliquots <ide> if (session.getAttribute("sampleSourceSamplesWithUnmaskedAliquots") == null <add> || session.getAttribute("allSampleSourcesWithUnmaskedAli...
Java
epl-1.0
09050bfb275fb92a3b08648f0a3e938a84bdbeda
0
traff/pty4j,traff/pty4j,traff/pty4j
package com.pty4j; import org.junit.Test; import testData.RepeatTextWithTimeout; import java.io.IOException; public class FailedToLoadNativePtyLibTest { @Test(expected = IOException.class) public void testErrorMessage() throws IOException { TestUtil.unsetLocalPtyLib(); String[] cmd = TestUtil.getJavaCom...
test/com/pty4j/FailedToLoadNativePtyLibTest.java
package com.pty4j; import junit.framework.TestCase; import org.junit.Assert; import testData.RepeatTextWithTimeout; import java.io.IOException; public class FailedToLoadNativePtyLibTest extends TestCase { public void testErrorMessage() { TestUtil.unsetLocalPtyLib(); String[] cmd = TestUtil.getJavaCommand(R...
use JUnit4 syntax to simplify test
test/com/pty4j/FailedToLoadNativePtyLibTest.java
use JUnit4 syntax to simplify test
<ide><path>est/com/pty4j/FailedToLoadNativePtyLibTest.java <ide> package com.pty4j; <ide> <del>import junit.framework.TestCase; <del>import org.junit.Assert; <add>import org.junit.Test; <ide> import testData.RepeatTextWithTimeout; <ide> <ide> import java.io.IOException; <ide> <del>public class FailedToLoadNativePtyL...
Java
apache-2.0
478bb708f8ebde8f612cb4a2241030446d4d0f84
0
hovinen/softwerkskammer-muenchen-01-2016
package shoppinglist.services; import static com.jayway.restassured.RestAssured.put; import static shoppinglist.JsonMatchers.havingJsonProperties; import static shoppinglist.JsonMatchers.property; import static shoppinglist.JsonMatchers.subobjectWithProperty; import java.util.concurrent.TimeUnit; import org.junit.Ru...
services/integration-test/shoppinglist/services/ShoppingListSubscriptionShould.java
package shoppinglist.services; import static com.jayway.restassured.RestAssured.put; import static shoppinglist.JsonMatchers.havingJsonProperties; import static shoppinglist.JsonMatchers.property; import static shoppinglist.JsonMatchers.subobjectWithProperty; import java.util.concurrent.TimeUnit; import org.junit.Ru...
Formatting
services/integration-test/shoppinglist/services/ShoppingListSubscriptionShould.java
Formatting
<ide><path>ervices/integration-test/shoppinglist/services/ShoppingListSubscriptionShould.java <ide> <ide> @Rule <ide> public final RuleChain rules = RuleChain <del> .outerRule(globalTimeout).around(serverRule).around(eventSubscription); <add> .outerRule(globalTimeout).around(serverRule).around(ev...
Java
bsd-3-clause
d626c4acd6505950e012b1fedbef44f3617d1077
0
ericvergnaud/antlr4,antlr/antlr4,hce/antlr4,Distrotech/antlr4,chandler14362/antlr4,parrt/antlr4,ericvergnaud/antlr4,Pursuit92/antlr4,ericvergnaud/antlr4,lncosie/antlr4,Pursuit92/antlr4,cooperra/antlr4,cooperra/antlr4,wjkohnen/antlr4,cocosli/antlr4,parrt/antlr4,chandler14362/antlr4,antlr/antlr4,parrt/antlr4,deveshg/antl...
/* [The "BSD license"] Copyright (c) 2011 Terence Parr 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 li...
runtime/Java/src/org/antlr/v4/runtime/ParserRuleContext.java
/* [The "BSD license"] Copyright (c) 2011 Terence Parr 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 li...
Simplify ParserRuleContext.toString
runtime/Java/src/org/antlr/v4/runtime/ParserRuleContext.java
Simplify ParserRuleContext.toString
<ide><path>untime/Java/src/org/antlr/v4/runtime/ParserRuleContext.java <ide> public String toString(@NotNull Recognizer<?,?> recog, RuleContext stop) { <ide> if ( recog==null ) return super.toString(recog, stop); <ide> StringBuilder buf = new StringBuilder(); <del> ParserRuleContext<?> p = this; <add> RuleContex...
Java
apache-2.0
2df230f0245e693455e7fc00bfe82157b0180a1e
0
zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,eayun/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,walteryang47...
package org.ovirt.engine.core.bll.lsm; import org.ovirt.engine.core.bll.AbstractSPMAsyncTaskHandler; import org.ovirt.engine.core.bll.ImagesHandler; import org.ovirt.engine.core.bll.storage.PostZeroHandler; import org.ovirt.engine.core.bll.tasks.TaskHandlerCommand; import org.ovirt.engine.core.common.VdcObjectType; im...
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lsm/VmReplicateDiskFinishTaskHandler.java
package org.ovirt.engine.core.bll.lsm; import org.ovirt.engine.core.bll.AbstractSPMAsyncTaskHandler; import org.ovirt.engine.core.bll.ImagesHandler; import org.ovirt.engine.core.bll.storage.PostZeroHandler; import org.ovirt.engine.core.bll.tasks.TaskHandlerCommand; import org.ovirt.engine.core.common.VdcObjectType; im...
core: persist disk image parameters for live migration DiskImage's Disk Profile and Quota wasn't updated. Change-Id: I0d6acdd7e8567294d489d1916ede164683941ef7 Bug-Url: https://bugzilla.redhat.com/1145694 Signed-off-by: Gilad Chaplik <dea872ab2ff5891a487b7a0bd7522d1f6037d559@redhat.com>
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lsm/VmReplicateDiskFinishTaskHandler.java
core: persist disk image parameters for live migration
<ide><path>ackend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/lsm/VmReplicateDiskFinishTaskHandler.java <ide> import org.ovirt.engine.core.utils.transaction.TransactionSupport; <ide> <ide> public class VmReplicateDiskFinishTaskHandler extends AbstractSPMAsyncTaskHandler<TaskHandlerCommand<? extends Liv...
Java
bsd-3-clause
c18190e3286166c06a76df30a9370e2831a1319c
0
ZoltanTheHun/SkyHussars
/* * Copyright (c) 2016, ZoltanTheHun * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of conditio...
src/main/java/skyhussars/engine/plane/PlaneFactory.java
/* * Copyright (c) 2016, ZoltanTheHun * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of conditio...
Small refactoring. Smaller yaw damping.
src/main/java/skyhussars/engine/plane/PlaneFactory.java
Small refactoring. Smaller yaw damping.
<ide><path>rc/main/java/skyhussars/engine/plane/PlaneFactory.java <ide> @Autowired <ide> private SoundManager soundManager; <ide> <del> private LiftCoefficient testCoef = new LiftCoefficient("Testshape", new float[]{0, 2, 4, 6, 8, 10, 15, 30}, new float[]{0.5f}, new float[][]{{0f, 0.246f, 0.475f, 0.68f, 0....
JavaScript
isc
9fb5938e23e828da5cc5c6b46a8b4bf339bfde5f
0
Kryten0807/cacofonix
// dependencies // import React from 'react'; import uniqueId from 'lodash/uniqueId'; import Label from './Label'; /** * The Dropdown class */ class Dropdown extends React.Component { constructor(props) { super(props); // build a list of permitted values from the options values // ...
src/components/Dropdown.js
// dependencies // import React from 'react'; import uniqueId from 'lodash/uniqueId'; import Label from './Label'; /** * The Dropdown class */ class Dropdown extends React.Component { constructor(props) { super(props); // build a list of permitted values from the options values // ...
comment cleanup
src/components/Dropdown.js
comment cleanup
<ide><path>rc/components/Dropdown.js <ide> } <ide> <ide> /** <del> * Handle changes to the `select` element <add> * Handle events from the `select` element <ide> * @param {Object} event The event object <ide> */ <ide> onEvent(event) {
Java
mit
23e0886c0946341812a9789065a5b0e486a5497f
0
thefreshduke/voogasalad,Chase-M/voogasalad_LosTorres,akyker20/TD_Game_Engine,Chase-M/Tower-Defense-Game-Engine,brianbolze/VoogaSalad_Final_Project,thefreshduke/voogasalad,gregory-lyons/CS308-final-project,Chase-M/Tower-Defense-Game-Engine,Chase-M/voogasalad_LosTorres,brianbolze/VoogaSalad_Final_Project,gregory-lyons/CS...
package gameEngine.actors.behaviors; import gameEngine.GridPathFinder; import gameEngine.actors.BaseActor; import gameEngine.actors.BaseEnemy; import gameEngine.actors.InfoObject; import java.util.List; import javafx.geometry.Point2D; public class AIMovement extends BaseMovementBehavior { private transient GridP...
src/gameEngine/actors/behaviors/AIMovement.java
package gameEngine.actors.behaviors; import gameEngine.GridPathFinder; import gameEngine.actors.BaseActor; import gameEngine.actors.BaseEnemy; import gameEngine.actors.InfoObject; import java.util.List; import javafx.geometry.Point2D; public class AIMovement extends BaseMovementBehavior { private transient GridP...
Ai path kind of works
src/gameEngine/actors/behaviors/AIMovement.java
Ai path kind of works
<ide><path>rc/gameEngine/actors/behaviors/AIMovement.java <ide> return; <ide> } <ide> Point2D current = new Point2D(actor.getX(), actor.getY()); <del> Point2D destination = myRoute.get(myIndex).getPoint(); <add> Point2D destination = myAIRoute.get(myIndex); <ide> double...
Java
apache-2.0
919ca8867cc96b549b3fc9947a5f2ce1b75157c5
0
SlapTurtle/GameOfDrones
package expAI; import java.awt.Point; import map.Map; import resources.*; import util.Position; public class ExpDrone extends Drone { int radius; public ExpDrone(Map map, Position position) { super(map, position); this.TYPE = "EXPDRONE"; this.radius=3; } @Override protected void doRun...
Test/src/expAI/ExpDrone.java
package expAI; import java.awt.Point; import map.Map; import resources.*; import util.Position; public class ExpDrone extends Drone { int radius; public ExpDrone(Map map, Position position) { super(map, position); this.TYPE = "EXPDRONE"; this.radius=3; } @Override protected void doRun...
wallw2
Test/src/expAI/ExpDrone.java
wallw2
<ide><path>est/src/expAI/ExpDrone.java <ide> //move(0); <ide> } <ide> } <del> <del> <add> <ide> /** <ide> * Help function to move drone <ide> * @param d <ide> return q; <ide> } <ide> <add> <add> <ide> public void setRadius(int newRadius){ <ide> this.radius=newRadius; <ide> }
Java
apache-2.0
de5f78e77a8d1ddfb131e4c101ea7de14fe421e2
0
erdi/grails-core,clockworkorange/grails-core,clockworkorange/grails-core,erdi/grails-core,clockworkorange/grails-core,erdi/grails-core,clockworkorange/grails-core,clockworkorange/grails-core
/* Copyright 2004-2005 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java
/* Copyright 2004-2005 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
added better error message for unsupported many-to-manys git-svn-id: 29aad96320b2a07b98332cd568fc1316025c072f@935 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
src/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java
added better error message for unsupported many-to-manys
<ide><path>rc/persistence/org/codehaus/groovy/grails/orm/hibernate/cfg/GrailsDomainBinder.java <ide> if(currentGrailsProp.isInherited()) <ide> continue; <ide> <del> // TODO: Implement support for many from many relationships <del> if(currentGrailsProp.isManyToMany()) <del> continue; <add> // TODO: I...
Java
mit
1144992aadfdf9a4194ea27d86aad787f499cebe
0
ictrobot/Cubes,RedTroop/Cubes_2,ictrobot/Cubes,RedTroop/Cubes_2
package ethanjones.cubes.world.save; import ethanjones.cubes.core.logging.Log; import ethanjones.cubes.world.storage.Area; import com.badlogic.gdx.files.FileHandle; import java.io.*; import java.util.zip.Deflater; import java.util.zip.DeflaterOutputStream; import java.util.zip.Inflater; import java.util.zip.Inflater...
core/src/ethanjones/cubes/world/save/SaveAreaIO.java
package ethanjones.cubes.world.save; import ethanjones.cubes.core.logging.Log; import ethanjones.cubes.world.storage.Area; import com.badlogic.gdx.files.FileHandle; import java.io.*; import java.util.zip.Deflater; import java.util.zip.DeflaterOutputStream; import java.util.zip.Inflater; import java.util.zip.Inflater...
SaveAreaIO.write() respect save.readOnly
core/src/ethanjones/cubes/world/save/SaveAreaIO.java
SaveAreaIO.write() respect save.readOnly
<ide><path>ore/src/ethanjones/cubes/world/save/SaveAreaIO.java <ide> } <ide> <ide> public static boolean write(Save save, Area area) { <add> if (save.readOnly) return false; <ide> if (!area.isReady()) return false; <ide> if (!area.modifiedSinceSave()) return false; <ide> area.saveModCount();
Java
mit
e5852c18f135b56d2d82063236306673ea84d0f0
0
mischat/shareNice,mischat/shareNice,mischat/shareNice
package org.sharenice.web; import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.DefaultHandler; import org.eclipse.jetty.server.handler.HandlerList; import org.eclipse.jetty.server.handler.ResourceHandler; import org.eclipse.jetty.server.handler.gzip....
webserver/src/main/java/org/sharenice/web/FileServer.java
package org.sharenice.web; import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.handler.DefaultHandler; import org.eclipse.jetty.server.handler.HandlerList; import org.eclipse.jetty.server.handler.ResourceHandler; import org.eclipse.jetty.server.handler.gzip....
changes file type, jetty figures out the mime-type accordingly
webserver/src/main/java/org/sharenice/web/FileServer.java
changes file type, jetty figures out the mime-type accordingly
<ide><path>ebserver/src/main/java/org/sharenice/web/FileServer.java <ide> // Configure the ResourceHandler. Setting the resource base indicates where the files should be served out of. <ide> // In this example it is the current directory but it can be configured to anything that the jvm has access to. <...
Java
apache-2.0
083c51317f4cde839c2a948e6fa5c2b62221be31
0
apache/parquet-mr,SinghAsDev/parquet-mr,forcedotcom/incubator-parquet-mr,apache/parquet-mr,MickDavies/incubator-parquet-mr,danielcweeks/incubator-parquet-mr,tomwhite/parquet-mr-old,hassyma/parquet-mr,danielcweeks/incubator-parquet-mr,DataDog/parquet-mr,cchang738/parquet-mr,sworisbreathing/parquet-mr,nitin2goyal/parquet...
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...
parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/serde/ParquetHiveSerDe.java
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...
Convert ParquetHiveSerDe back to SerDe interface to support Hive 0.10
parquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/serde/ParquetHiveSerDe.java
Convert ParquetHiveSerDe back to SerDe interface to support Hive 0.10
<ide><path>arquet-hive/parquet-hive-storage-handler/src/main/java/org/apache/hadoop/hive/ql/io/parquet/serde/ParquetHiveSerDe.java <ide> import org.apache.hadoop.conf.Configuration; <ide> import org.apache.hadoop.hive.ql.io.IOConstants; <ide> import org.apache.hadoop.hive.ql.io.parquet.writable.BinaryWritable; <del>imp...
Java
mit
error: pathspec 'src/hackerRank/DataStructures/LinkedList/_09MergeTwoSortedLinkedLists.java' did not match any file(s) known to git
ac0c518e1c842e93a80b0f9211a5004eaec69092
1
darshanhs90/Java-Coding,darshanhs90/Java-InterviewPrep
package hackerRank.DataStructures.LinkedList; /* * Link:https://www.hackerrank.com/challenges/merge-two-sorted-linked-lists */ public class _09MergeTwoSortedLinkedLists { static Node MergeLists(Node headA, Node headB) { if(headA==null && headB==null) return null; if(headA==null && headB!=null) return h...
src/hackerRank/DataStructures/LinkedList/_09MergeTwoSortedLinkedLists.java
hackerrank->datastructure->linkedlist->merge two sorted linked lists
src/hackerRank/DataStructures/LinkedList/_09MergeTwoSortedLinkedLists.java
hackerrank->datastructure->linkedlist->merge two sorted linked lists
<ide><path>rc/hackerRank/DataStructures/LinkedList/_09MergeTwoSortedLinkedLists.java <add>package hackerRank.DataStructures.LinkedList; <add> <add>/* <add> * Link:https://www.hackerrank.com/challenges/merge-two-sorted-linked-lists <add> */ <add> <add>public class _09MergeTwoSortedLinkedLists { <add> <add> static Node M...
Java
lgpl-2.1
46b5478171b306fb4a4e7f7a952daa8d35488a9e
0
languagetool-org/languagetool,meg0man/languagetool,jimregan/languagetool,meg0man/languagetool,jimregan/languagetool,jimregan/languagetool,languagetool-org/languagetool,janissl/languagetool,lopescan/languagetool,janissl/languagetool,janissl/languagetool,jimregan/languagetool,lopescan/languagetool,janissl/languagetool,la...
/* LanguageTool, a natural language style checker * Copyright (C) 2007 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
trunk/JLanguageTool/src/java/de/danielnaber/languagetool/language/LanguageBuilder.java
/* LanguageTool, a natural language style checker * Copyright (C) 2007 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
whitespace fix only
trunk/JLanguageTool/src/java/de/danielnaber/languagetool/language/LanguageBuilder.java
whitespace fix only
<ide><path>runk/JLanguageTool/src/java/de/danielnaber/languagetool/language/LanguageBuilder.java <ide> */ <ide> public static Language makeLanguage(final File file) { <ide> if (file!=null) { <del> if (!file.getName().endsWith(".xml")) <del> throw new RuleFilenameException(file); <del> final String[]...
Java
apache-2.0
866f8be5eed897fa77706b066b688216c8a5bc12
0
walteryang47/ovirt-engine,halober/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,hal...
package org.ovirt.engine.core.vdsbroker; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import j...
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
package org.ovirt.engine.core.vdsbroker; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import j...
engine: Fixing some minor typos. Change-Id: Ica96fc14cfa5d2ff90046a70abf9ec58b47beebb Signed-off-by: Justin Clift <1d9e108a370f5610ce8959711a20c84118e7f1da@redhat.com>
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
engine: Fixing some minor typos.
<ide><path>ackend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java <ide> } <ide> <ide> private void logDeviceInformation(Guid vmId, XmlRpcStruct device) { <del> String message = "Recieved a {0} Device without an address when processing VM {1} devices, ski...
Java
lgpl-2.1
d52ab6a3472aa9024f02e04a7e3c4505efc15653
0
lafita/biojava,lafita/biojava,JolantaWojcik/biojavaOwn,pwrose/biojava,biojava/biojava,andreasprlic/biojava,JolantaWojcik/biojavaOwn,biojava/biojava,andreasprlic/biojava,emckee2006/biojava,pwrose/biojava,andreasprlic/biojava,paolopavan/biojava,heuermh/biojava,lafita/biojava,fionakim/biojava,fionakim/biojava,heuermh/bioj...
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
structure-gui/src/main/java/demo/DemoCE.java
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
adding tmScore to display git-svn-id: a754228c0d23e99fefe44e35d84d6184990ceaa2@7640 7c6358e6-4a41-0410-a743-a5b2a554c398
structure-gui/src/main/java/demo/DemoCE.java
adding tmScore to display
<ide><path>tructure-gui/src/main/java/demo/DemoCE.java <ide> package demo; <ide> <ide> import org.biojava.bio.structure.Atom; <add>import org.biojava.bio.structure.SVDSuperimposer; <ide> import org.biojava.bio.structure.Structure; <ide> import org.biojava.bio.structure.StructureTools; <ide> import org.biojava.bio.stru...
Java
apache-2.0
18e9473939872437fc5199ec59fc4f52057e2cf2
0
blackducksoftware/hub-common,blackducksoftware/hub-common,blackducksoftware/hub-common
package com.blackducksoftware.integration.hub.api.scan; import java.util.EnumSet; import java.util.Set; public enum ScanStatusTypeEnum { UNSTARTED, SCANNING, SAVING_SCAN_DATA, SCAN_DATA_SAVE_COMPLETE, REQUESTED_MATCH_JOB, MATCHING, BOM_VERSION_CHECK, BUILDING_BOM, COMPLETE, CANCELLED, CLONED, ERROR_SCANNI...
src/main/java/com/blackducksoftware/integration/hub/api/scan/ScanStatusTypeEnum.java
package com.blackducksoftware.integration.hub.api.scan; import java.util.Arrays; import java.util.List; public enum ScanStatusTypeEnum { UNSTARTED, SCANNING, SAVING_SCAN_DATA, SCAN_DATA_SAVE_COMPLETE, REQUESTED_MATCH_JOB, MATCHING, BOM_VERSION_CHECK, BUILDING_BOM, COMPLETE, CANCELLED, CLONED, ERROR_SCANNI...
using EnumSet instead of List
src/main/java/com/blackducksoftware/integration/hub/api/scan/ScanStatusTypeEnum.java
using EnumSet instead of List
<ide><path>rc/main/java/com/blackducksoftware/integration/hub/api/scan/ScanStatusTypeEnum.java <ide> package com.blackducksoftware.integration.hub.api.scan; <ide> <del>import java.util.Arrays; <del>import java.util.List; <add>import java.util.EnumSet; <add>import java.util.Set; <ide> <ide> public enum ScanStatusTypeE...
Java
epl-1.0
757e7c2899414f2fd4f8bf8ac4c0233026554efe
0
opendaylight/ovsdb,opendaylight/ovsdb,opendaylight/ovsdb
/* * Copyright (C) 2014 EBay Software Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Ashwin Raveendran, Madhu Venu...
library/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbClientImpl.java
/* * Copyright (C) 2014 EBay Software Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Authors : Ashwin Raveendran, Madhu Venu...
Fix for Sonar Issue(A catch statement should never catch throwable) Signed-off-by: Bindya Narayan <d2d2abdc301316f41f5dc71c0dba202db0a292d8@intel.com>
library/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbClientImpl.java
Fix for Sonar Issue(A catch statement should never catch throwable)
<ide><path>ibrary/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbClientImpl.java <ide> } else if (schema.size() == 1) { <ide> sfuture.set(schema); <ide> } <del> } catch (Throwable e) { <add> ...
Java
agpl-3.0
53a2591f31d7aa157e2c409fe04950540aeeb3d4
0
MarkehMe/FactionsPlus
package markehme.factionsplus.listeners; import java.io.File; import markehme.factionsplus.Utilities; import markehme.factionsplus.config.Config; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.pla...
src/markehme/factionsplus/listeners/AnnounceListener.java
package markehme.factionsplus.listeners; import java.io.File; import markehme.factionsplus.Utilities; import markehme.factionsplus.config.Config; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener;...
Revert "Possibly ready for 2.0.0, needs testing." This reverts commit cc2c0bfbe2ea0721b47f52fd8a89b0b7b1242855.
src/markehme/factionsplus/listeners/AnnounceListener.java
Revert "Possibly ready for 2.0.0, needs testing."
<ide><path>rc/markehme/factionsplus/listeners/AnnounceListener.java <ide> import markehme.factionsplus.Utilities; <ide> import markehme.factionsplus.config.Config; <ide> <del>import org.bukkit.Location; <ide> import org.bukkit.entity.Player; <ide> import org.bukkit.event.EventHandler; <ide> import org.bukkit.event.Eve...
Java
apache-2.0
2ab48b70a94b6a70c1fb7a80eea4c49ed398d0e5
0
mglukhikh/intellij-community,da1z/intellij-community,apixandru/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,allotria/intellij-community,xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,da1z/intellij-community,mglukhikh/intellij-community,suncycheng/intellij-community,asedu...
/* * Copyright 2000-2015 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/lang-api/src/com/intellij/codeInsight/daemon/MergeableLineMarkerInfo.java
/* * Copyright 2000-2015 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...
Revert `MergeableLineMarkerInfo` merges into one all markers with same title and navigation handler (KT-18298, IDEA-173995) This reverts commit a41134894874e9991f532ebee3d18b7b3f5be358
platform/lang-api/src/com/intellij/codeInsight/daemon/MergeableLineMarkerInfo.java
Revert `MergeableLineMarkerInfo` merges into one all markers with same title and navigation handler (KT-18298, IDEA-173995)
<ide><path>latform/lang-api/src/com/intellij/codeInsight/daemon/MergeableLineMarkerInfo.java <ide> for (int i = 0; i < markers.size(); i++) { <ide> MergeableLineMarkerInfo marker = markers.get(i); <ide> List<MergeableLineMarkerInfo> toMerge = new SmartList<>(); <del> GutterIconNavigationHandler han...
Java
apache-2.0
3284483e077bff21a1796e8c4c96a0803b43f058
0
leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere
/* * 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 ...
sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/adapter/AbstractResultSetAdapter.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 ...
delete blank line
sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/adapter/AbstractResultSetAdapter.java
delete blank line
<ide><path>harding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/adapter/AbstractResultSetAdapter.java <ide> <ide> @Override <ide> public final ResultSetMetaData getMetaData() throws SQLException { <del> <ide> return new ShardingResultSetMetaData(resultSe...
Java
apache-2.0
c9c295291937b82b4cbe03129e52367c658df12d
0
pfirmstone/JGDMS,pfirmstone/JGDMS,pfirmstone/river-internet,pfirmstone/JGDMS,pfirmstone/river-internet,pfirmstone/JGDMS,pfirmstone/river-internet
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
src/org/apache/river/api/net/URIEncoderDecoder.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...
Performance enhancement,eliminate calls to String.length() during for loop. git-svn-id: e208463f0da49ce01d17e17a21a9293a7ba6b26a@1463118 13f79535-47bb-0310-9956-ffa450edef68
src/org/apache/river/api/net/URIEncoderDecoder.java
Performance enhancement,eliminate calls to String.length() during for loop.
<ide><path>rc/org/apache/river/api/net/URIEncoderDecoder.java <ide> <ide> StringBuilder result = new StringBuilder(); <ide> ByteArrayOutputStream out = new ByteArrayOutputStream(); <del> for (int i = 0; i < s.length();) { <add> int l = s.length(); <add> for (int i = 0; i < l;) { <i...
Java
apache-2.0
6500d071c255014aa3b28841eb19cc6f9a94a8b5
0
technology16/pgsqlblocks,technology16/pgsqlblocks
package ru.taximaxim.pgsqlblocks.modules.processes.controller; import org.apache.log4j.Logger; import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.viewers.ISele...
src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/controller/ProcessesController.java
package ru.taximaxim.pgsqlblocks.modules.processes.controller; import org.apache.log4j.Logger; import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.viewers.ISele...
minor
src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/controller/ProcessesController.java
minor
<ide><path>rc/main/java/ru/taximaxim/pgsqlblocks/modules/processes/controller/ProcessesController.java <ide> ImageDescriptor.createFromImage(ImageUtils.getImage(Images.DISCONNECT_DATABASE))) { <ide> @Override <ide> public void run() { <del> selected...
JavaScript
bsd-3-clause
70e328559163e9496de07b79e61363dca72bcae5
0
saarsta/IDEMOS-SECUNDI,saarsta/IDEMOS-SECUNDI,saarsta/sheatufim,saarsta/IDEMOS-SECUNDI,saarsta/sheatufim,saarsta/sheatufim
/** * Created by JetBrains WebStorm. * User: saar * Date: 05/03/12 * Time: 18:12 * To change this template use File | Settings | File Templates. */ var resources = require('jest'), util = require('util'), models = require('../models'), common = require('./common'), async = require('async'), n...
api/suggestionResource.js
/** * Created by JetBrains WebStorm. * User: saar * Date: 05/03/12 * Time: 18:12 * To change this template use File | Settings | File Templates. */ var resources = require('jest'), util = require('util'), models = require('../models'), common = require('./common'), async = require('async'), n...
https://www.gravitydev.com/project/48630/issues/96 96דך דיונים חדש > התאריך צריך להיות לינק > ישיר לתגובה > או להצעה
api/suggestionResource.js
https://www.gravitydev.com/project/48630/issues/96 96דך דיונים חדש > התאריך צריך להיות לינק > ישיר לתגובה > או להצעה
<ide><path>pi/suggestionResource.js <ide> id:null, <ide> explanation:null, <ide> updated_user_tokens:null, <add> discussion_id:null, <ide> grade_obj:{ <ide> _id:null, <ide> evaluation_grade:null,