lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | lgpl-2.1 | cf5a75c5fa38cdb5bd1ad13008aa5e2cdf900591 | 0 | CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine | /*
* jETeL/CloverETL - Java based ETL application framework.
* Copyright (c) Javlin, a.s. (info@cloveretl.com)
*
* 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 ... | cloveretl.engine/src/org/jetel/graph/BufferedEdge.java | /*
* jETeL/CloverETL - Java based ETL application framework.
* Copyright (c) Javlin, a.s. (info@cloveretl.com)
*
* 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 ... | FIX: CL-2693 BufferedEdge leaves open files after postExecute()
BufferedEdge.reset() code has been moved to BufferedEdge.preExecute() and to BufferedEdge.postExecute()
git-svn-id: ea4e32a9c087aaafabd002c256df6ce060387585@13610 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
| cloveretl.engine/src/org/jetel/graph/BufferedEdge.java | FIX: CL-2693 BufferedEdge leaves open files after postExecute() | <ide><path>loveretl.engine/src/org/jetel/graph/BufferedEdge.java
<ide> public void init() throws IOException {
<ide> recordBuffer = new DynamicRecordBuffer(internalBufferSize);
<ide> recordBuffer.init();
<add> }
<add>
<add> @Override
<add> public void preExecute() {
<add> super.preExecute();
<add>
<ide> outpu... | |
Java | apache-2.0 | 29dfe2bcb8f01a2f004c40f5613116946b47b173 | 0 | ahb0327/intellij-community,adedayo/intellij-community,alphafoobar/intellij-community,clumsy/intellij-community,Distrotech/intellij-community,vladmm/intellij-community,wreckJ/intellij-community,fitermay/intellij-community,ftomassetti/intellij-community,supersven/intellij-community,semonte/intellij-community,orekyuu/inte... | /*
* Copyright 2000-2009 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/testFramework/src/com/intellij/testFramework/LightPlatformTestCase.java | /*
* Copyright 2000-2009 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... | clear UndoManagerHistory on EDT
| platform/testFramework/src/com/intellij/testFramework/LightPlatformTestCase.java | clear UndoManagerHistory on EDT | <ide><path>latform/testFramework/src/com/intellij/testFramework/LightPlatformTestCase.java
<ide> ((PsiDocumentManagerImpl)PsiDocumentManager.getInstance(project)).clearUncommitedDocuments();
<ide>
<ide>
<del> ((UndoManagerImpl)UndoManager.getGlobalInstance()).dropHistoryInTests();
<add> Runnable runnable = ... | |
Java | apache-2.0 | 11475a1b884551619438396d8ffa21379fa87188 | 0 | retomerz/intellij-community,slisson/intellij-community,ThiagoGarciaAlves/intellij-community,jagguli/intellij-community,petteyg/intellij-community,ernestp/consulo,samthor/intellij-community,holmes/intellij-community,MER-GROUP/intellij-community,Lekanich/intellij-community,fitermay/intellij-community,tmpgit/intellij-comm... | package com.intellij.testFramework;
import com.intellij.ide.highlighter.ModuleFileType;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.module.ModuleType;
import com.intellij.openapi.mod... | ExtendedApi/src/com/intellij/testFramework/ModuleTestCase.java | package com.intellij.testFramework;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.module.ModuleType;
import com.intellij.openapi.module.StdModuleTypes;
import com.intellij.openapi.modu... | more reliable teardown
| ExtendedApi/src/com/intellij/testFramework/ModuleTestCase.java | more reliable teardown | <ide><path>xtendedApi/src/com/intellij/testFramework/ModuleTestCase.java
<ide> package com.intellij.testFramework;
<ide>
<add>import com.intellij.ide.highlighter.ModuleFileType;
<ide> import com.intellij.openapi.application.ApplicationManager;
<ide> import com.intellij.openapi.module.Module;
<ide> import com.intellij.... | |
JavaScript | bsd-3-clause | 32b15f5cd07565351683086ed1afd3dae860ec9d | 0 | maier49/dgrid,maier49/dgrid,dylans/dgrid,kfranqueiro/dgrid,kfranqueiro/dgrid,dylans/dgrid,dylans/dgrid,kfranqueiro/dgrid,maier49/dgrid | define([
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/dom-class',
'dojo/dom-construct',
'dojo/on',
'dojo/aspect',
'dojo/query',
'dojo/has',
'./util/misc',
'dojo/_base/sniff'
], function (declare, lang, domClass, domConstruct, on, aspect, query, has, miscUtil) {
has.add('event-mousewheel', function (global,... | ColumnSet.js | define([
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/dom-construct',
'dojo/on',
'dojo/aspect',
'dojo/query',
'dojo/has',
'./util/misc',
'dojo/_base/sniff'
], function (declare, lang, domConstruct, on, aspect, query, has, miscUtil) {
has.add('event-mousewheel', function (global, document, element) {
retur... | Fix #1179: ColumnSet: Avoid wheel/touch event errors in empty viewport
| ColumnSet.js | Fix #1179: ColumnSet: Avoid wheel/touch event errors in empty viewport | <ide><path>olumnSet.js
<ide> define([
<ide> 'dojo/_base/declare',
<ide> 'dojo/_base/lang',
<add> 'dojo/dom-class',
<ide> 'dojo/dom-construct',
<ide> 'dojo/on',
<ide> 'dojo/aspect',
<ide> 'dojo/has',
<ide> './util/misc',
<ide> 'dojo/_base/sniff'
<del>], function (declare, lang, domConstruct, on, aspect, query, h... | |
Java | apache-2.0 | 815b356e61475ede4794ca9a0f5e31feb6104c37 | 0 | cheng-li/pyramid,cheng-li/pyramid | package edu.neu.ccs.pyramid.classification.logistic_regression;
import edu.neu.ccs.pyramid.dataset.ClfDataSet;
import edu.neu.ccs.pyramid.dataset.DataSet;
import edu.neu.ccs.pyramid.dataset.GradientMatrix;
import edu.neu.ccs.pyramid.dataset.ProbabilityMatrix;
import edu.neu.ccs.pyramid.optimization.Optimizable;
import... | src/main/java/edu/neu/ccs/pyramid/classification/logistic_regression/LogisticLoss.java | package edu.neu.ccs.pyramid.classification.logistic_regression;
import edu.neu.ccs.pyramid.dataset.ClfDataSet;
import edu.neu.ccs.pyramid.dataset.DataSet;
import edu.neu.ccs.pyramid.dataset.GradientMatrix;
import edu.neu.ccs.pyramid.dataset.ProbabilityMatrix;
import edu.neu.ccs.pyramid.optimization.Optimizable;
import... | change ProbabilityMatrix in logistic loss
| src/main/java/edu/neu/ccs/pyramid/classification/logistic_regression/LogisticLoss.java | change ProbabilityMatrix in logistic loss | <ide><path>rc/main/java/edu/neu/ccs/pyramid/classification/logistic_regression/LogisticLoss.java
<ide> private Vector gradient;
<ide> private int numParameters;
<ide> private int numClasses;
<del> /**
<del> * numDataPoints by numClasses;
<del> */
<del> private ProbabilityMatrix probabilityMatr... | |
Java | apache-2.0 | error: pathspec 'management/server/core/messenger/messenger-rest/src/test/java/org/safehaus/subutai/core/messenger/rest/RestServiceImplTest.java' did not match any file(s) known to git
| c70d2f1f9e18fd6ba9c9a762296a3cda17503212 | 1 | subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai | package org.safehaus.subutai.core.messenger.rest;
import javax.ws.rs.core.Response;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.safehaus.subutai.core.messenger.api.MessageException;
import org.safe... | management/server/core/messenger/messenger-rest/src/test/java/org/safehaus/subutai/core/messenger/rest/RestServiceImplTest.java | unit tests for messenger
| management/server/core/messenger/messenger-rest/src/test/java/org/safehaus/subutai/core/messenger/rest/RestServiceImplTest.java | unit tests for messenger | <ide><path>anagement/server/core/messenger/messenger-rest/src/test/java/org/safehaus/subutai/core/messenger/rest/RestServiceImplTest.java
<add>package org.safehaus.subutai.core.messenger.rest;
<add>
<add>
<add>import javax.ws.rs.core.Response;
<add>
<add>import org.junit.Before;
<add>import org.junit.Test;
<add>import ... | |
Java | apache-2.0 | 9647d174411f229a2a0400c7fe21fff62b11d995 | 0 | MatthewTamlin/AndroidUtilities | /*
* Copyright 2016 Matthew Tamlin
*
* 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 ... | library/src/main/java/com/matthewtamlin/android_utilities/library/utilities/UiThreadUtil.java | /*
* Copyright 2016 Matthew Tamlin
*
* 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 ... | docs(utilities): fixed Javadoc regarding null condition
| library/src/main/java/com/matthewtamlin/android_utilities/library/utilities/UiThreadUtil.java | docs(utilities): fixed Javadoc regarding null condition | <ide><path>ibrary/src/main/java/com/matthewtamlin/android_utilities/library/utilities/UiThreadUtil.java
<ide> * Submits the supplied runnable to the UI thread.
<ide> *
<ide> * @param runnable
<del> * the runnable to submit, may be null
<add> * the runnable to submit, cannot be null
<ide> */
<ide> public ... | |
Java | agpl-3.0 | 9d06347e9aec28b5a637f2b561d4f7ce9ae3a885 | 0 | Tanaguru/Tanaguru,Tanaguru/Tanaguru,Tanaguru/Tanaguru,Tanaguru/Tanaguru | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.tanaguru.kafka.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import j... | engine/tanaguru-kafka/src/main/java/org/tanaguru/kafka/util/AuditPageConsumed.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.tanaguru.kafka.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import j... | Fix Html unescape Json response
| engine/tanaguru-kafka/src/main/java/org/tanaguru/kafka/util/AuditPageConsumed.java | Fix Html unescape Json response | <ide><path>ngine/tanaguru-kafka/src/main/java/org/tanaguru/kafka/util/AuditPageConsumed.java
<ide> StringBuilder snippet = new StringBuilder("");
<ide> if (((SourceCodeRemark) processRemark).getSnippet() != null) {
<ide> String snippetDirty = (... | |
Java | apache-2.0 | e7497b8d492098cab0e21332763315e1aca4abd9 | 0 | zwsong/wicket,zwsong/wicket,martin-g/wicket-osgi,freiheit-com/wicket,astrapi69/wicket,klopfdreh/wicket,topicusonderwijs/wicket,aldaris/wicket,freiheit-com/wicket,mosoft521/wicket,dashorst/wicket,dashorst/wicket,topicusonderwijs/wicket,zwsong/wicket,aldaris/wicket,astrapi69/wicket,martin-g/wicket-osgi,AlienQueen/wicket,... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | wicket/src/main/java/org/apache/wicket/Page.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Fix unecessary page id incrementing with redirect_to_render
git-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@981337 13f79535-47bb-0310-9956-ffa450edef68
| wicket/src/main/java/org/apache/wicket/Page.java | Fix unecessary page id incrementing with redirect_to_render | <ide><path>icket/src/main/java/org/apache/wicket/Page.java
<ide> import org.apache.wicket.request.mapper.parameter.PageParameters;
<ide> import org.apache.wicket.session.ISessionStore;
<ide> import org.apache.wicket.settings.IDebugSettings;
<add>import org.apache.wicket.settings.IRequestCycleSettings.RenderStrategy;
<i... | |
Java | apache-2.0 | 2144479a27cbcc0220ec792f92f7bc21702dea61 | 0 | davidmoten/logan,davidmoten/logan,davidmoten/logan,davidmoten/logan | package com.github.davidmoten.logan;
import java.io.File;
import java.util.Date;
import java.util.Map.Entry;
import java.util.NavigableSet;
import java.util.concurrent.ConcurrentSkipListSet;
import java.util.concurrent.locks.ReentrantLock;
import java.util.logging.Logger;
import org.davidmoten.kool.Stream;
import co... | src/main/java/com/github/davidmoten/logan/DataPersistedBPlusTree.java | package com.github.davidmoten.logan;
import java.io.File;
import java.util.Date;
import java.util.Map.Entry;
import java.util.NavigableSet;
import java.util.concurrent.ConcurrentSkipListSet;
import java.util.concurrent.locks.ReentrantLock;
import java.util.logging.Logger;
import org.davidmoten.kool.Stream;
import co... | add logging to query
| src/main/java/com/github/davidmoten/logan/DataPersistedBPlusTree.java | add logging to query | <ide><path>rc/main/java/com/github/davidmoten/logan/DataPersistedBPlusTree.java
<ide>
<ide> @Override
<ide> public Buckets execute(BucketQuery query) {
<add> long t = System.currentTimeMillis();
<ide> lock.lock();
<ide> try {
<ide> log.info(query.toString());
<ide> ... | |
Java | apache-2.0 | 5e1ed2acbbfcd5413555ed7d6fb72c4c282a4bf0 | 0 | ChristianNavolskyi/YCSB,cricket007/YCSB,leschekhomann/YCSB,leschekhomann/YCSB,madhurihn/YCSB_ToyDB,brianfrankcooper/YCSB,zyguan/ycsb,cricket007/YCSB,zyguan/ycsb,madhurihn/YCSB_ToyDB,madhurihn/YCSB_ToyDB,madhurihn/YCSB_ToyDB,jaemyoun/YCSB,leschekhomann/YCSB,cricket007/YCSB,manolama/YCSB,brianfrankcooper/YCSB,leschekhoma... | package com.yahoo.ycsb.generator;
import java.util.concurrent.locks.ReentrantLock;
/**
* A CounterGenerator that reports generated integers via lastInt()
* only after they have been acknowledged.
*/
public class AcknowledgedCounterGenerator extends CounterGenerator
{
private static final int WINDOW_SIZE = 10000;
... | core/src/main/java/com/yahoo/ycsb/generator/AcknowledgedCounterGenerator.java | package com.yahoo.ycsb.generator;
import java.util.PriorityQueue;
/**
* A CounterGenerator that reports generated integers via lastInt()
* only after they have been acknowledged.
*/
public class AcknowledgedCounterGenerator extends CounterGenerator
{
private PriorityQueue<Integer> ack;
private int limit;
/**
... | Use a sliding window to track acknowledged values.
| core/src/main/java/com/yahoo/ycsb/generator/AcknowledgedCounterGenerator.java | Use a sliding window to track acknowledged values. | <ide><path>ore/src/main/java/com/yahoo/ycsb/generator/AcknowledgedCounterGenerator.java
<ide> package com.yahoo.ycsb.generator;
<ide>
<del>import java.util.PriorityQueue;
<add>import java.util.concurrent.locks.ReentrantLock;
<ide>
<ide> /**
<ide> * A CounterGenerator that reports generated integers via lastInt()
<id... | |
Java | apache-2.0 | 0181961ac9d045b7b6473d76f7e75234962199e9 | 0 | electrum/presto,shixuan-fan/presto,prestodb/presto,miniway/presto,nezihyigitbasi/presto,haozhun/presto,wyukawa/presto,youngwookim/presto,Yaliang/presto,electrum/presto,treasure-data/presto,elonazoulay/presto,Teradata/presto,twitter-forks/presto,hgschmie/presto,prestodb/presto,losipiuk/presto,mvp/presto,martint/presto,h... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | presto-geospatial/src/main/java/com/facebook/presto/geospatial/BingTileFunctions.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Fix potential overflow in Bing tile functions
Both tileCount and the return value of getPointCount() are integers
and the multiplication can overflow before it is widened to a long.
| presto-geospatial/src/main/java/com/facebook/presto/geospatial/BingTileFunctions.java | Fix potential overflow in Bing tile functions | <ide><path>resto-geospatial/src/main/java/com/facebook/presto/geospatial/BingTileFunctions.java
<ide> checkCondition(tileCount <= 1_000_000, "The number of input tiles is too large (more than 1M) to compute a set of covering bing tiles.");
<ide> }
<ide> else {
<del> long complexit... | |
Java | apache-2.0 | error: pathspec 'src/main/java/es/usc/citius/lab/hipster/function/impl/ScalarOperation.java' did not match any file(s) known to git
| 2af12c9a506e5d74043128b0ecb8a67a2a700531 | 1 | pablormier/hipster,kigsmtua/hipster,Navaneethsen/hipster,Navaneethsen/hipster,artfullyContrived/hipster,Navaneethsen/hipster,artfullyContrived/hipster,citiususc/hipster,caidongyun/hipster,caidongyun/hipster,pablormier/hipster,caidongyun/hipster,pablormier/hipster,kigsmtua/hipster,gabizekany/hipster,nkhuyu/hipster,gabiz... | package es.usc.citius.lab.hipster.function.impl;
import es.usc.citius.lab.hipster.function.ScalarFunction;
/**
* A scalar operation is an implementation of {@link ScalarFunction} that
* also defines:
* <ul>
* <li>identity element (A*i = A)</li>
* </ul>
*
* @author Adrián González <adrian.gonzalez@usc.es>
*... | src/main/java/es/usc/citius/lab/hipster/function/impl/ScalarOperation.java | Added ScalarOperation | src/main/java/es/usc/citius/lab/hipster/function/impl/ScalarOperation.java | Added ScalarOperation | <ide><path>rc/main/java/es/usc/citius/lab/hipster/function/impl/ScalarOperation.java
<add>package es.usc.citius.lab.hipster.function.impl;
<add>
<add>import es.usc.citius.lab.hipster.function.ScalarFunction;
<add>
<add>/**
<add> * A scalar operation is an implementation of {@link ScalarFunction} that
<add> * also defin... | |
JavaScript | agpl-3.0 | 680c0fda09c8d6a9d091b4a9c5f74f15166d64df | 0 | schuel/hmmm,schuel/hmmm,schuel/hmmm,Openki/Openki,digideskio/hmmm,Openki/Openki,digideskio/hmmm,Openki/Openki,digideskio/hmmm |
////////////// loading-indicator
Meteor.startup(function () {
Session.setDefault('coursesLoaded', false);
var region = localStorage.getItem("region")
if (!region) region = 'all';
Session.set("region", region);
});
////////////// db-subscriptions:
Meteor.subscribe('categories');
Meteor.subscribe('comments');
Met... | client/main.js |
////////////// loading-indicator
Meteor.startup(function () {
Session.setDefault('coursesLoaded', false);
var region = localStorage.getItem("region")
if (!region) region = 'all';
Session.set("region", region);
});
////////////// db-subscriptions:
Meteor.subscribe('categories');
Meteor.subscribe('comments');... | whitespace
| client/main.js | whitespace | <ide><path>lient/main.js
<ide>
<ide> ////////////// loading-indicator
<ide> Meteor.startup(function () {
<del> Session.setDefault('coursesLoaded', false);
<del> var region = localStorage.getItem("region")
<del> if (!region) region = 'all';
<del> Session.set("region", region);
<add> Session.setDefault('coursesLoade... | |
Java | apache-2.0 | 81e2cadc4f677e0b312bf87258378c530e4942d1 | 0 | google/j2cl,google/j2cl,google/j2cl,google/j2cl,google/j2cl | /*
* Copyright 2015 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... | transpiler/java/com/google/j2cl/transpiler/frontend/jdt/JdtUtils.java | /*
* Copyright 2015 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... | Remove stale comments and small cleanups in JdtUtils.
PiperOrigin-RevId: 378407125
| transpiler/java/com/google/j2cl/transpiler/frontend/jdt/JdtUtils.java | Remove stale comments and small cleanups in JdtUtils. | <ide><path>ranspiler/java/com/google/j2cl/transpiler/frontend/jdt/JdtUtils.java
<ide> return createTypeDescriptorWithNullability(typeBinding, new IAnnotationBinding[0]);
<ide> }
<ide>
<del> /**
<del> * Creates a type descriptor for the given type binding, taking into account nullability.
<del> *
<del> * @... | |
Java | apache-2.0 | d25e35431256bbd575c09fadc652925354eaf6d8 | 0 | JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse,JayanthyChengan/dataverse | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.harvard.iq.dataverse;
import com.sun.mail.smtp.SMTPSendFailedException;
import edu.harvard.iq.dataverse.authorization.grou... | src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.harvard.iq.dataverse;
import com.sun.mail.smtp.SMTPSendFailedException;
import edu.harvard.iq.dataverse.authorization.grou... | use bundle in 'unused' method as well | src/main/java/edu/harvard/iq/dataverse/MailServiceBean.java | use bundle in 'unused' method as well | <ide><path>rc/main/java/edu/harvard/iq/dataverse/MailServiceBean.java
<ide> InternetAddress[] recipients = new InternetAddress[recipientStrings.length];
<ide> try {
<ide> InternetAddress fromAddress=getSystemAddress();
<del> fromAddress.setPersonal(fromAddress.getPersona... | |
Java | mit | e3a5da4b50cd01ebc6b7f213c52c764503811c4a | 0 | DiamondSwordDev/moddle | package com.dsdev.assets;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import java.io.*;
import java.net.URL;
import org.apache.commons.io.FileUtils;
import com.dsdev.moddle.*;
/**
* This class contains all of the tools required to build and maintain a copy of
* the Minecraft a... | src/com/dsdev/assets/AssetBuilder.java | package com.dsdev.assets;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import java.io.*;
import java.net.URL;
import org.apache.commons.io.FileUtils;
import com.dsdev.moddle.*;
/**
* This class contains all of the tools required to build and maintain a copy of
* the Minecraft a... | Continuing to refactor assets
#5, Fixed #16
Signed-off-by:Nathan2055 <ceb1310360c52e34e999b0ae18863b8803e22ab2@gmail.com> | src/com/dsdev/assets/AssetBuilder.java | Continuing to refactor assets | <ide><path>rc/com/dsdev/assets/AssetBuilder.java
<ide> public class AssetBuilder {
<ide>
<ide> /**
<add> * Checks to see if the assets needs updating, and if so, updates them.
<add> *
<add> * @param directory A String representing the directory where the assets
<add> * should be created.
<add> ... | |
Java | bsd-3-clause | af14bea53b3b628e66715a66f55b871fff4812c6 | 0 | CBIIT/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,NCIP/caaers,NCIP/caaers | package gov.nih.nci.cabig.caaers.security;
import gov.nih.nci.cagrid.common.Utils;
import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import java.util.StringTokenizer;
import org.acegisecurity.AuthenticationException;
import org.acegisecurity.providers.cas.CasAuthoritiesPopulator;
import or... | projects/core/src/main/java/gov/nih/nci/cabig/caaers/security/WebSSOAuthoritiesPopulator.java | package gov.nih.nci.cabig.caaers.security;
import java.util.Map;
import java.util.HashMap;
import java.util.StringTokenizer;
import java.io.StringReader;
import gov.nih.nci.cagrid.common.Utils;
import org.acegisecurity.AuthenticationException;
import org.acegisecurity.providers.cas.CasAuthoritiesPopulator;
import org... | extracting user id from CAGRID_SSO_GRID_IDENTITY
SVN-Revision: 6463
| projects/core/src/main/java/gov/nih/nci/cabig/caaers/security/WebSSOAuthoritiesPopulator.java | extracting user id from CAGRID_SSO_GRID_IDENTITY | <ide><path>rojects/core/src/main/java/gov/nih/nci/cabig/caaers/security/WebSSOAuthoritiesPopulator.java
<ide> package gov.nih.nci.cabig.caaers.security;
<ide>
<add>import gov.nih.nci.cagrid.common.Utils;
<add>
<add>import java.io.StringReader;
<add>import java.util.HashMap;
<ide> import java.util.Map;
<del>import java... | |
Java | unlicense | fd4bdf1ccb3d420db4c28a0edea5db6dc6ff62fe | 0 | errorPort3R/CodeSnipper,errorPort3R/CodeSnipper | package sample.View;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.Column... | src/sample/View/DisplayResults.java | package sample.View;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.GridPa... | Set widths on DisplayResults
| src/sample/View/DisplayResults.java | Set widths on DisplayResults | <ide><path>rc/sample/View/DisplayResults.java
<ide> import javafx.scene.Node;
<ide> import javafx.scene.Scene;
<ide> import javafx.scene.control.*;
<add>import javafx.scene.layout.ColumnConstraints;
<ide> import javafx.scene.layout.GridPane;
<ide> import javafx.scene.layout.HBox;
<ide> import javafx.scene.text.Text;
<i... | |
Java | mit | 10b4180aa6b8beb79a0bab6f4c044007a433741a | 0 | hhu-stups/bmoth | package de.bmoth.modelchecker.esmc;
import com.microsoft.z3.BoolExpr;
import com.microsoft.z3.Context;
import com.microsoft.z3.Expr;
import com.microsoft.z3.Sort;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class State {
private State predecessor;
private Map<String, Expr>... | src/main/java/de/bmoth/modelchecker/esmc/State.java | package de.bmoth.modelchecker.esmc;
import com.microsoft.z3.BoolExpr;
import com.microsoft.z3.Context;
import com.microsoft.z3.Expr;
import com.microsoft.z3.Sort;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class State {
State predecessor;
Map<String, Expr> values;
pu... | minor visibility changes
| src/main/java/de/bmoth/modelchecker/esmc/State.java | minor visibility changes | <ide><path>rc/main/java/de/bmoth/modelchecker/esmc/State.java
<ide> import java.util.Map;
<ide>
<ide> public class State {
<del> State predecessor;
<del> Map<String, Expr> values;
<add> private State predecessor;
<add> private Map<String, Expr> values;
<ide>
<ide> public State(State predecessor, Map<S... | |
Java | lgpl-2.1 | 503bbe3f45781bb0c49a23a135cc2e0287b720ee | 0 | gallardo/opencms-core,gallardo/opencms-core,alkacon/opencms-core,gallardo/opencms-core,gallardo/opencms-core,alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (C) Alkacon Software (http://www.alkacon.com)
*
* 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 Softwar... | src/org/opencms/ui/components/CmsFileTable.java | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (C) Alkacon Software (http://www.alkacon.com)
*
* 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 Softwar... | Improved sorting for String properties in file tables. | src/org/opencms/ui/components/CmsFileTable.java | Improved sorting for String properties in file tables. | <ide><path>rc/org/opencms/ui/components/CmsFileTable.java
<ide> import org.opencms.util.CmsStringUtil;
<ide> import org.opencms.util.CmsUUID;
<ide>
<add>import java.text.Collator;
<ide> import java.util.ArrayList;
<ide> import java.util.Collection;
<ide> import java.util.Collections;
<ide> result =... | |
Java | apache-2.0 | a90cc83cbadd370fe54e414c8b16ab8743b79069 | 0 | toomasr/sgf4j-gui,toomasr/sgf4j-gui | package com.toomasr.sgf4j.gui;
import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import com.toomasr.sgf4j.Sgf;
import com.toomasr.sgf4j.SgfProperties;
import com.toomasr.sgf4j.board.BoardStone;
i... | src/main/java/com/toomasr/sgf4j/gui/MainUI.java | package com.toomasr.sgf4j.gui;
import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import com.toomasr.sgf4j.Sgf;
import com.toomasr.sgf4j.SgfProperties;
import com.toomasr.sgf4j.board.BoardStone;
i... | Set minimum size for movepane to avoid weird scrolling issues
| src/main/java/com/toomasr/sgf4j/gui/MainUI.java | Set minimum size for movepane to avoid weird scrolling issues | <ide><path>rc/main/java/com/toomasr/sgf4j/gui/MainUI.java
<ide>
<ide> treePaneScrollPane = new ScrollPane(movePane);
<ide> treePaneScrollPane.setPrefHeight(150);
<del> treePaneScrollPane.setHbarPolicy(ScrollBarPolicy.ALWAYS);
<add> treePaneScrollPane.setHbarPolicy(ScrollBarPolicy.AS_NEEDED);
<ide> tr... | |
Java | apache-2.0 | 6552cc645ba12e68dff2415f99f0ab3c3ba9210d | 0 | objectiser/overlord-commons,Governance/overlord-commons,objectiser/overlord-commons,Governance/overlord-commons,objectiser/overlord-commons | /*
* Copyright 2014 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | overlord-commons-karaf-commands/src/main/java/org/overlord/commons/karaf/commands/configure/AbstractConfigureFabricCommand.java | /*
* Copyright 2014 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | SRAMP-588 Fuse Fabric Karaf Command Encrypt Aes Password
| overlord-commons-karaf-commands/src/main/java/org/overlord/commons/karaf/commands/configure/AbstractConfigureFabricCommand.java | SRAMP-588 Fuse Fabric Karaf Command Encrypt Aes Password | <ide><path>verlord-commons-karaf-commands/src/main/java/org/overlord/commons/karaf/commands/configure/AbstractConfigureFabricCommand.java
<ide> import java.util.Properties;
<ide>
<ide> import org.apache.felix.gogo.commands.Argument;
<add>import org.overlord.commons.codec.AesEncrypter;
<ide> import org.overlord.commons... | |
JavaScript | mit | 96920c4110bb1433f9e7f163d0ab9a00d0cb35de | 0 | dannyhecht/ams-air-quality,dannyhecht/ams-air-quality | /* MAPBOXGL
// Add geolocate control to the map.
map.addControl(new mapboxgl.GeolocateControl({
positionOptions: {
enableHighAccuracy: true
},
trackUserLocation: true
}));
*/
// LEAFLET
var osmUrl='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data ... | js/geolocate.js | /* MAPBOXGL
// Add geolocate control to the map.
map.addControl(new mapboxgl.GeolocateControl({
positionOptions: {
enableHighAccuracy: true
},
trackUserLocation: true
}));
*/
// LEAFLET
var osmUrl='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
var osmAttrib='Map data ... | Update geolocate.js | js/geolocate.js | Update geolocate.js | <ide><path>s/geolocate.js
<ide> zoomOffset: -1
<ide> });
<ide>
<add>var map = new L.Map('map', {
<add> layers: [mapbox],
<add> center: [52.35963, 4.885431],
<add> zoom: 11.5,
<add> zoomControl: true
<add>});
<add>
<ide> // add location control to global name space for testing only
<ide> // on a productio... | |
Java | apache-2.0 | 029d2b02ee0db79423086e593b5ad3c29f61676b | 0 | businesscode/BCD-UI,businesscode/BCD-UI,businesscode/BCD-UI | /*
Copyright 2010-2017 BusinessCode GmbH, Germany
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... | Server/src/main/java/de/businesscode/bcdui/menu/Menus.java | /*
Copyright 2010-2017 BusinessCode GmbH, Germany
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... | grid page cleanup | Server/src/main/java/de/businesscode/bcdui/menu/Menus.java | grid page cleanup | <ide><path>erver/src/main/java/de/businesscode/bcdui/menu/Menus.java
<ide> newEntry.setOnClick(entry.getOnClick());
<ide> newEntry.setRights(entry.getRights());
<ide> newEntry.setTitle(entry.getTitle());
<del> newEntry.setBcdTranslate(entry.getBcdTranslate());
<ide>
<ide> return newEntry;
<ide> } | |
Java | mit | 295fbd54e9ffa626ea727f0633b1c3e917886209 | 0 | nallar/TickThreading | package me.nallar.tickthreading.patcher;
import javax.xml.transform.TransformerException;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import me.nallar.tickthreading.Log;
import me.nallar.tickthreading.mappings.MCPMappings;
import me.nallar.tickthreading.mappings.Mappings;
impor... | src/common/me/nallar/tickthreading/patcher/PatchMain.java | package me.nallar.tickthreading.patcher;
import javax.xml.transform.TransformerException;
import java.io.File;
import java.io.IOException;
import java.util.Arrays;
import me.nallar.tickthreading.Log;
import me.nallar.tickthreading.mappings.MCPMappings;
import me.nallar.tickthreading.mappings.Mappings;
impor... | Corrected usage of copyOfRange (endIndex is exclusive)
Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
| src/common/me/nallar/tickthreading/patcher/PatchMain.java | Corrected usage of copyOfRange (endIndex is exclusive) | <ide><path>rc/common/me/nallar/tickthreading/patcher/PatchMain.java
<ide> }
<ide> location = argv[0];
<ide> String type = argv[1];
<del> String[] args = Arrays.copyOfRange(argv, 1, argv.length - 1);
<add> String[] args = Arrays.copyOfRange(argv, 1, argv.length);
<ide> if (type.equalsIgnoreCase("obfuscator")) ... | |
Java | mit | 396dd632f91607c284dfd191241b56135590e57f | 0 | SleepyTonic/cordova-notification-bar-plugin,SleepyTonic/cordova-notification-bar-plugin | // This class is used on all Androids below Honeycomb
package org.sleepytonic.cordova.plugins.notification;
import android.app.Notification;
import android.app.Notification.Builder;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManage... | src/android/StatusNotificationIntent.java | // This class is used on all Androids below Honeycomb
package org.sleepytonic.cordova.plugins.notification;
import android.app.Notification;
import android.app.Notification.Builder;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManage... | use a dummy R class import
| src/android/StatusNotificationIntent.java | use a dummy R class import | <ide><path>rc/android/StatusNotificationIntent.java
<ide> import android.content.Intent;
<ide> import android.content.pm.PackageManager;
<ide>
<del>import org.sleepytonic.HelloCordovaTouch.R;
<add>//change this to your application's Java package
<add>import com.your.app.R;
<ide>
<ide> public class StatusNotification... | |
Java | mit | be3705f85b9aa1ec6b0254127a500885bd0d4796 | 0 | hunny/xplus,hunny/xplus,hunny/xplus,hunny/xplus,hunny/xplus | package com.example.bootweb.pg.logging;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpRequest;
import org.springframework.http.client.ClientHttpRequestExecution;
import... | bootweb/trunk/bootweb-pg/src/main/java/com/example/bootweb/pg/logging/LoggingRestTemplate.java | package com.example.bootweb.pg.logging;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpRequest;
import org.springframework.http.client.ClientHttpRequestExecution;
import... | Optimize. | bootweb/trunk/bootweb-pg/src/main/java/com/example/bootweb/pg/logging/LoggingRestTemplate.java | Optimize. | <ide><path>ootweb/trunk/bootweb-pg/src/main/java/com/example/bootweb/pg/logging/LoggingRestTemplate.java
<ide> if (!LOGGER.isDebugEnabled()) {
<ide> return response;
<ide> }
<del> final ClientHttpResponse responseCopy = new BufferingClientHttpResponseWrapper(response);
<add> final ClientHttpResponse... | |
JavaScript | mit | c7f600a349f50abcfdd6443521d642e2777db89c | 0 | halfalpine/simon,halfalpine/simon,halfalpine/simon | $(".document").ready(function() {
let timerID;
let data = {
sequence: null,
compSeq: [],
humanSeq: [],
ms: [1200, 1000, 800],
colors: [green, red, yellow, blue],
turns: 0
};
let controller = {
init: function() {
view.init();
},
/*
play: function(){
// Add func... | js/index.js | $(".document").ready(function() {
let timerID;
let data = {
sequence: null,
compSeq: [],
humanSeq: [],
ms: [1200, 1000, 800],
colors: [green, red, yellow, blue],
turns: 0
};
let controller = {
init: function() {
view.init();
},
/*
play: function(){
// Add func... | Removed push to compSeq from .turn()
| js/index.js | Removed push to compSeq from .turn() | <ide><path>s/index.js
<ide>
<ide> start: function() {
<ide> data.sequence = simon.makeSequence();
<del> console.log(data.sequence)
<del> //data.compSeq.push(data.sequence[0]);
<add> data.compSeq.push(data.sequence[data.turns]);
<ide> simon.turn();
<ide> },
<ide>
<ide>
<ide> tur... | |
Java | apache-2.0 | 4936c4092a4b4f4dc5eff51aa98372e0b004bd79 | 0 | kalaspuffar/pdfbox,apache/pdfbox,kalaspuffar/pdfbox,apache/pdfbox | /*
* 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 ... | pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverter.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 ... | PDFBOX-4847: fix bug that created unusable icc profile, by Emmeran Seehuber
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1878199 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverter.java | PDFBOX-4847: fix bug that created unusable icc profile, by Emmeran Seehuber | <ide><path>dfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PNGConverter.java
<ide> == 1 ? COSName.DEVICEGRAY : COSName.DEVICERGB);
<ide> if (state.iCCP != null)
<ide> {
<add> cosStream.setItem(COSName.FILTER, COSName.FLATE_DECODE);
<ide> ... | |
Java | mit | 9cbae4e7a7e6347cc35b10b26e23bedc5f662d25 | 0 | jaquadro/StorageDrawers,bloodmc/StorageDrawers,jaquadro/StorageDrawers | package com.jaquadro.minecraft.storagedrawers.core;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.block.BlockDrawers;
import com.jaquadro.minecraft.storagedrawers.config.ConfigManager;
import com.jaquadro.minecraft.storagedrawers.core.recipe.FallbackShapedOre... | src/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java | package com.jaquadro.minecraft.storagedrawers.core;
import com.jaquadro.minecraft.storagedrawers.StorageDrawers;
import com.jaquadro.minecraft.storagedrawers.block.BlockDrawers;
import com.jaquadro.minecraft.storagedrawers.config.ConfigManager;
import com.jaquadro.minecraft.storagedrawers.core.recipe.FallbackShapedOre... | Fix fallback shaped ore recipe sorting priority
Fixes #214 | src/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java | Fix fallback shaped ore recipe sorting priority | <ide><path>rc/com/jaquadro/minecraft/storagedrawers/core/ModRecipes.java
<ide> public void init () {
<ide> OreDictionary.registerOre("chestWood", new ItemStack(Blocks.chest)); // Remove when porting to 1.8
<ide>
<del> RecipeSorter.register("StorageDrawers:FallbackShapedOreRecipe", FallbackShapedOreR... | |
Java | apache-2.0 | 29fbff3ba63d05be97a87d18021864b24cde8d8b | 0 | AmeBel/relex,rodsol/relex-temp,virneo/relex,rodsol/relex-temp,rodsol/relex-temp,anitzkin/relex,virneo/relex,anitzkin/relex,anitzkin/relex,leungmanhin/relex,ainishdave/relex,rodsol/relex,ainishdave/relex,opencog/relex,ainishdave/relex,linas/relex,rodsol/relex,ainishdave/relex,williampma/relex,leungmanhin/relex,AmeBel/re... | /*
* Copyright 2008 Novamente LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | src/java/relex/feature/Atom.java | /*
* Copyright 2008 Novamente LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | wtf .. typo
| src/java/relex/feature/Atom.java | wtf .. typo | <ide><path>rc/java/relex/feature/Atom.java
<ide> {
<ide> return truth_value;
<ide> }
<del> public void setTruthValue(TruthVale tv)
<add> public void setTruthValue(TruthValue tv)
<ide> {
<ide> truth_value = tv;
<ide> } | |
Java | epl-1.0 | 3c20b85de5760f8f95b16499e09a16ee035cd678 | 0 | bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui | package de.prob2.ui.beditor;
import java.io.IOException;
import java.io.PushbackReader;
import java.io.StringReader;
import java.time.Duration;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.R... | src/main/java/de/prob2/ui/beditor/BEditor.java | package de.prob2.ui.beditor;
import java.io.IOException;
import java.io.PushbackReader;
import java.io.StringReader;
import java.time.Duration;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.ResourceBundle;
import j... | Implement highlighting for multiline and zero-length error ranges
| src/main/java/de/prob2/ui/beditor/BEditor.java | Implement highlighting for multiline and zero-length error ranges | <ide><path>rc/main/java/de/prob2/ui/beditor/BEditor.java
<ide> import java.util.Collection;
<ide> import java.util.Collections;
<ide> import java.util.HashMap;
<add>import java.util.List;
<ide> import java.util.Map;
<ide> import java.util.Optional;
<ide> import java.util.ResourceBundle;
<ide>
<ide> private void apply... | |
Java | bsd-3-clause | 9973db592d6bd34a9ef92ebee25baefce0fd85de | 0 | picocontainer/PicoContainer1,picocontainer/PicoContainer1 | /*****************************************************************************
* Copyright (c) PicoContainer Organization. All rights reserved. *
* ------------------------------------------------------------------------- *
* The software in this package is published under the terms of the BSD *
* s... | container/src/test/org/picocontainer/defaults/DefaultPicoContainerLifecycleTestCase.java | /*****************************************************************************
* Copyright (c) PicoContainer Organization. All rights reserved. *
* ------------------------------------------------------------------------- *
* The software in this package is published under the terms of the BSD *
* s... | fixed
git-svn-id: 39c93fb42c3fce26a4768237af3b74bd47e2a670@2310 ac66bb80-72f5-0310-8d68-9f556cfffb23
| container/src/test/org/picocontainer/defaults/DefaultPicoContainerLifecycleTestCase.java | fixed | <ide><path>ontainer/src/test/org/picocontainer/defaults/DefaultPicoContainerLifecycleTestCase.java
<ide> MutablePicoContainer child = parent.makeChildContainer();
<ide> child.registerComponentImplementation(Three.class);
<ide> child.registerComponentImplementation(FiveTriesToBeMalicious.class);
... | |
Java | apache-2.0 | ee8b925606f12d195d9a95c118d53bef577dd9e8 | 0 | mikegr/mmc,kvolstorf/FCMonitor | package at.elfkw.mmc;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.lang.reflect.Method;
import java.util.StringTokenizer;
import android.app.Activity;
import android.app.AlertDialog;
import android.blu... | src/at/elfkw/mmc/TestActivity.java | package at.elfkw.mmc;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.lang.reflect.Method;
import java.util.StringTokenizer;
import android.app.Activity;
import android.app.AlertDialog;
import android.blu... | light on/off
| src/at/elfkw/mmc/TestActivity.java | light on/off | <ide><path>rc/at/elfkw/mmc/TestActivity.java
<ide>
<ide> speedTextView.setTextColor(Color.BLACK);
<ide> speedTextView.setGravity(CENTER_HORIZONTAL + CENTER_VERTICAL);
<del> speedTextView.setText("28.7km/h");
<add> speedTextView.setText("0.0km/h");
<ide>
<ide> consumeTextView = (TextView) findViewById(R.id.c... | |
Java | agpl-3.0 | 803152b4ced59e1d9076d365cd1259e697e28ffb | 0 | UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,bhutchinson/kfs,kuali/kfs,quikkian-ua-devops/kfs,ua-eas/kfs,quikkian-ua-devops/will-financials,ua-eas/kfs-devops-automation-fork,kkronenb/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,kkronenb/kfs,ua-eas/kfs-devops-automation-fork,ua-e... | /*
* Copyright 2008 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 required by appl... | work/src/org/kuali/kfs/module/cam/document/web/struts/AssetTransferAction.java | /*
* Copyright 2008 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 required by appl... | KFSMI-6446 : Removing reference to ErrorMap API method
| work/src/org/kuali/kfs/module/cam/document/web/struts/AssetTransferAction.java | KFSMI-6446 : Removing reference to ErrorMap API method | <ide><path>ork/src/org/kuali/kfs/module/cam/document/web/struts/AssetTransferAction.java
<ide> import org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentActionBase;
<ide> import org.kuali.rice.kew.util.KEWConstants;
<ide> import org.kuali.rice.kim.bo.Person;
<del>import org.kuali.rice.kns.util.Er... | |
Java | apache-2.0 | fb63f8c3a5a79713a803d6e8328bd11de805943a | 0 | svn2github/commons-scxml2,svn2github/commons-scxml2,svn2github/commons-scxml2 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/test/java/org/apache/commons/scxml2/io/SCXMLRequiredAttributesTest.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 ... | SCXML-190: Check and enforce required scxml element attributes as defined by the spec, http://www.w3.org/TR/2013/WD-scxml-20130801
- checks for <foreach> element added
TODO: when support for <<raise> is added, also add checks for its required attributes (id)
git-svn-id: 5d8fe9a566db79829532a6a4175371ceef757e7a@1561916... | src/test/java/org/apache/commons/scxml2/io/SCXMLRequiredAttributesTest.java | SCXML-190: Check and enforce required scxml element attributes as defined by the spec, http://www.w3.org/TR/2013/WD-scxml-20130801 - checks for <foreach> element added TODO: when support for <<raise> is added, also add checks for its required attributes (id) | <ide><path>rc/test/java/org/apache/commons/scxml2/io/SCXMLRequiredAttributesTest.java
<ide> * TODO required attributes for elements:
<ide> * <ul>
<ide> * <li><raise> required attribute: 'id'</li>
<del> * <li><foreach> required attributes: 'array' and 'item'</li>
<ide> * </ul>
<ide> * </p>
<ide> */ | |
JavaScript | apache-2.0 | 27d63e7e7157bcc72658533709633afd826ebbde | 0 | rogerpueyo/luci,openwrt/luci,rogerpueyo/luci,hnyman/luci,tobiaswaldvogel/luci,lbthomsen/openwrt-luci,tobiaswaldvogel/luci,openwrt/luci,lbthomsen/openwrt-luci,lbthomsen/openwrt-luci,lbthomsen/openwrt-luci,openwrt/luci,lbthomsen/openwrt-luci,tobiaswaldvogel/luci,openwrt/luci,rogerpueyo/luci,openwrt/luci,hnyman/luci,tobia... | 'use strict';
'require fs';
'require uci';
'require form';
return L.Class.extend({
title: _('Iptables Plugin Configuration'),
description: _('The iptables plugin will monitor selected firewall rules and collect information about processed bytes and packets per rule.'),
addFormOptions: function(s) {
var o, ss;
... | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/iptables.js | 'use strict';
'require fs';
'require uci';
'require form';
return L.Class.extend({
title: _('Iptables Plugin Configuration'),
description: _('The iptables plugin will monitor selected firewall rules and collect information about processed bytes and packets per rule.'),
addFormOptions: function(s) {
var o, ss;
... | luci-app-statistics: iptables.js: fix rule match expression
Fixes: #3658
Signed-off-by: Jo-Philipp Wich <bd73d35759d75cc215150d1bbc94f1b1078bee01@mein.io>
| applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/iptables.js | luci-app-statistics: iptables.js: fix rule match expression | <ide><path>pplications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/iptables.js
<ide> table = m[1];
<ide> count = {};
<ide> }
<del> else if ((m = lines[i].match(/^-A (.+?) (-.+)$/)) != null) {
<add> else if ((m = lines[i].match(/^-A (.+?) ([!-].+)$/)) != null) {... | |
Java | mpl-2.0 | 0bfdf2cce23415e4aad782924dc0031d244ba672 | 0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core | /*************************************************************************
*
* $RCSfile: EnhancedComplexTestCase.java,v $
*
* $Revision: 1.3 $
*
* last change: $Date: 2005-02-24 17:20:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | qadevOOo/runner/convwatch/EnhancedComplexTestCase.java | /*************************************************************************
*
* $RCSfile: EnhancedComplexTestCase.java,v $
*
* $Revision: 1.2 $
*
* last change: $Date: 2004-11-02 11:09:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | INTEGRATION: CWS qadev21 (1.2.14); FILE MERGED
2005/01/06 09:16:05 lla 1.2.14.1: #i31243# handle help in IMPORT/EXPORT filter
| qadevOOo/runner/convwatch/EnhancedComplexTestCase.java | INTEGRATION: CWS qadev21 (1.2.14); FILE MERGED 2005/01/06 09:16:05 lla 1.2.14.1: #i31243# handle help in IMPORT/EXPORT filter | <ide><path>adevOOo/runner/convwatch/EnhancedComplexTestCase.java
<ide> *
<ide> * $RCSfile: EnhancedComplexTestCase.java,v $
<ide> *
<del> * $Revision: 1.2 $
<add> * $Revision: 1.3 $
<ide> *
<del> * last change: $Date: 2004-11-02 11:09:05 $
<add> * last change: $Date: 2005-02-24 17:20:07 $
<ide> *
<ide> * Th... | |
Java | apache-2.0 | e52f20e59643b79b23b98f79fa255a4880472ce1 | 0 | googleapis/java-dialogflow-cx,googleapis/java-dialogflow-cx,googleapis/java-dialogflow-cx | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/it/ITSystemTest.java | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | chore: skip TrainFlow IT for now (#231)
| google-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/it/ITSystemTest.java | chore: skip TrainFlow IT for now (#231) | <ide><path>oogle-cloud-dialogflow-cx/src/test/java/com/google/cloud/dialogflow/cx/v3beta1/it/ITSystemTest.java
<ide> import java.util.concurrent.ExecutionException;
<ide> import org.junit.AfterClass;
<ide> import org.junit.BeforeClass;
<add>import org.junit.Ignore;
<ide> import org.junit.Test;
<ide>
<ide> public class... | |
Java | apache-2.0 | a87bea71d488b7ffff91dfe3f803d00f51fb005b | 0 | esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,esaunders/autopsy,esaunders/autopsy,esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,esaunders/autopsy,rcordovano/autopsy | /*
* Autopsy Forensic Browser
*
* Copyright 2012-2020 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | Core/src/org/sleuthkit/autopsy/casemodule/Case.java | /*
* Autopsy Forensic Browser
*
* Copyright 2012-2020 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | adding progress updates
| Core/src/org/sleuthkit/autopsy/casemodule/Case.java | adding progress updates | <ide><path>ore/src/org/sleuthkit/autopsy/casemodule/Case.java
<ide> checkForCancellation();
<ide> openCommunicationChannels(progressIndicator);
<ide> checkForCancellation();
<del> openFileSystems();
<add> openFileSystems(progressIndicator);
<ide> ret... | |
Java | mit | a61c79b6fafc34ce1ed5cb25d6c0fb836b289386 | 0 | cdai/interview | package advanced.dp.statemac.lc188_besttimetobuyandsellstock4;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import sun.plugin.javascript.navig.Array;
import java.util.Arrays;
/**
* Say you have an array for which the ith element is the price of a given stock on day i.
* Design an alg... | 1-algorithm/13-leetcode/java/src/advanced/dp/statemac/lc188_besttimetobuyandsellstock4/Solution.java | package advanced.dp.statemac.lc188_besttimetobuyandsellstock4;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import sun.plugin.javascript.navig.Array;
import java.util.Arrays;
/**
* Say you have an array for which the ith element is the price of a given stock on day i.
* Design an alg... | leetcode-188: best time to buy and sell stock 4
| 1-algorithm/13-leetcode/java/src/advanced/dp/statemac/lc188_besttimetobuyandsellstock4/Solution.java | leetcode-188: best time to buy and sell stock 4 | <ide><path>-algorithm/13-leetcode/java/src/advanced/dp/statemac/lc188_besttimetobuyandsellstock4/Solution.java
<ide> Assertions.assertEquals(15, maxProfit(4, new int[]{1, 2, 4, 2, 5, 7, 2, 4, 9, 0}));
<ide> }
<ide>
<add> // Note max(dp[i-1][?] not dp[i], since we have 2D matrix, last value of state woul... | |
Java | mit | 90bda028ec4eaee3e59d8420893414de218289a1 | 0 | frosch95/SmartCSV.fx | /*
The MIT License (MIT)
-----------------------------------------------------------------------------
Copyright (c) 2015-2016 javafx.ninja <info@javafx.ninja>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... | src/main/java/ninja/javafx/smartcsv/validation/configuration/StringFormat.java | /*
The MIT License (MIT)
-----------------------------------------------------------------------------
Copyright (c) 2015-2016 javafx.ninja <info@javafx.ninja>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... | finding enum based on external value should use external value as compare value
| src/main/java/ninja/javafx/smartcsv/validation/configuration/StringFormat.java | finding enum based on external value should use external value as compare value | <ide><path>rc/main/java/ninja/javafx/smartcsv/validation/configuration/StringFormat.java
<ide> }
<ide>
<ide> public static StringFormat fromExternalValue(String externalValue) {
<del> for (StringFormat value: StringFormat.values()) {
<del> if (value.name().equals(externalValue)) {
<del> ... | |
JavaScript | mit | 8c6ed151bdfd03b8a8ec3707963caada8e73d041 | 0 | mzgol/sizzle,npmcomponent/cristiandouce-sizzle | /*global
QUnit: true,
q: true,
t: true,
url: true,
createWithFriesXML: true,
Sizzle: true,
module: true,
test: true,
asyncTest: true,
expect: true,
stop: true,
start: true,
ok: true,
equal: true,
notEqual: true,
deepEqual: true,
notDeepEqual: true,
strictEqual: true,
notStrictEqual: true,
raises: tr... | test/unit/selector.js | /*global
QUnit: true,
q: true,
t: true,
url: true,
createWithFriesXML: true,
Sizzle: true,
module: true,
test: true,
asyncTest: true,
expect: true,
stop: true,
start: true,
ok: true,
equal: true,
notEqual: true,
deepEqual: true,
notDeepEqual: true,
strictEqual: true,
notStrictEqual: true,
raises: tr... | Add comment about bypassing QUnit's window.error in 'broken' tests
| test/unit/selector.js | Add comment about bypassing QUnit's window.error in 'broken' tests | <ide><path>est/unit/selector.js
<ide>
<ide> function broken( name, selector ) {
<ide> raises(function() {
<add> // Setting context to null here somehow avoids QUnit's window.error handling
<add> // making the e & e.message correct
<add> // For whatever reason, without this,
<add> // Sizzle.error will be cal... | |
Java | mit | 1d956cb46abd8fed5a1a643c182ac89ea3627168 | 0 | xiwan/xlsEditor,xiwan/xlsEditor | package Composites;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Vector;
import javax.swing.table.DefaultTableModel;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.TableEditor;
import org.eclipse.swt.events.SelectionAdapter;
impor... | src/Composites/XlsTable.java | package Composites;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Vector;
import javax.swing.table.DefaultTableModel;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.TableEditor;
import org.eclipse.swt.events.SelectionAdapter;
impor... | update a row
| src/Composites/XlsTable.java | update a row | <ide><path>rc/Composites/XlsTable.java
<ide> return (Vector) this.data.get(row);
<ide> }
<ide>
<add> public void setData(int row, Vector dd) {
<add> this.data.set(row, dd);
<add> }
<ide>
<ide> public void setData(int row, int col, String update) {
<ide> //this.data = data; | |
JavaScript | mit | 29e37eeefd097254cea34ea67338f44be5846970 | 0 | dbaldon/toolkit-for-ynab,dbaldon/toolkit-for-ynab,boxfoot/toolkit-for-ynab,boxfoot/toolkit-for-ynab,Niictar/toolkit-for-ynab,Niictar/toolkit-for-ynab,mhum/ynab-enhanced,blargity/toolkit-for-ynab,dbaldon/toolkit-for-ynab,johde/toolkit-for-ynab,boxfoot/toolkit-for-ynab,mhum/ynab-enhanced,gpeden/ynab-enhanced,toolkit-for-... | function injectCollapseInitializer() {
if (typeof Em !== 'undefined' && typeof Ember !== 'undefined') {
(function($){
$.event.special.destroyed = {
remove: function(o) {
if (o.handler) {
o.handler()
}
}
}
})(jQuery)
// Wait for loading thingy to... | src/features/collapse-side-menu/main.js | function injectInitializer() {
if (typeof Em !== 'undefined' && typeof Ember !== 'undefined') {
(function($){
$.event.special.destroyed = {
remove: function(o) {
if (o.handler) {
o.handler()
}
}
}
})(jQuery)
// Wait for loading thingy to go away... | Change function name to avoid conflict
| src/features/collapse-side-menu/main.js | Change function name to avoid conflict | <ide><path>rc/features/collapse-side-menu/main.js
<del>function injectInitializer() {
<add>function injectCollapseInitializer() {
<ide> if (typeof Em !== 'undefined' && typeof Ember !== 'undefined') {
<ide> (function($){
<ide> $.event.special.destroyed = {
<ide> }
<ide> });
<ide> } else {
<del> ... | |
JavaScript | bsd-2-clause | f28eacffc3c7092c337e0622196ea1df1cda84c5 | 0 | macbre/phantomas,macbre/phantomas,macbre/phantomas | /**
* phantomas CommonJS module
*/
"use strict";
const Browser = require("./browser"),
EventEmitter = require("./AwaitEventEmitter"),
debug = require("debug")("phantomas:core"),
loader = require("./loader"),
puppeteer = require("puppeteer"),
path = require("path"),
Results = require("../core/results"),
... | lib/index.js | /**
* phantomas CommonJS module
*/
"use strict";
const Browser = require("./browser"),
EventEmitter = require("./AwaitEventEmitter"),
debug = require("debug")("phantomas:core"),
loader = require("./loader"),
puppeteer = require("puppeteer"),
path = require("path"),
Results = require("../core/results"),
... | lib/index.js: skip coverage for two code branches
| lib/index.js | lib/index.js: skip coverage for two code branches | <ide><path>ib/index.js
<ide> evaluate: page.evaluate.bind(page),
<ide>
<ide> // @see https://github.com/GoogleChrome/puppeteer/blob/v1.11.0/docs/api.md#pageselector-1
<add> /* istanbul ignore next */
<ide> querySelectorAll: async (selector) => {
<ide> debug('querySelectorAll("%... | |
Java | apache-2.0 | 29b2d19e511c8a264d6688eaedd6fbb57c99506e | 0 | pinotlytics/pinot,linkedin/pinot,fx19880617/pinot-1,Hanmourang/Pinot,izzizz/pinot,fx19880617/pinot-1,Hanmourang/Pinot,linkedin/pinot,fx19880617/pinot-1,pinotlytics/pinot,izzizz/pinot,Hanmourang/Pinot,sajavadi/pinot,apucher/pinot,slietz/pinot,apucher/pinot,izzizz/pinot,tkao1000/pinot,apucher/pinot,fx19880617/pinot-1,pin... | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | pinot-common/src/main/java/com/linkedin/pinot/common/utils/MmapUtils.java | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | [PINOT 2094] Fix MmapUtils to use thread-safe map
Fixed MmapUtils to use Collections.synchronizedMap instead of
the thread-unsafe version. All integration tests pass reliably on
the local machine now.
RB=575684
G=pinot-dev-reviewers
R=kgopalak,jfim,ssubrama,dpatel,mshrivas
A=kgopalak
| pinot-common/src/main/java/com/linkedin/pinot/common/utils/MmapUtils.java | [PINOT 2094] Fix MmapUtils to use thread-safe map | <ide><path>inot-common/src/main/java/com/linkedin/pinot/common/utils/MmapUtils.java
<ide> import java.io.File;
<ide> import java.lang.reflect.Method;
<ide> import java.nio.ByteBuffer;
<add>import java.util.Collections;
<add>import java.util.Map;
<ide> import java.util.WeakHashMap;
<ide> import java.util.concurrent.atom... | |
Java | apache-2.0 | 0f191731a2aeccb5baf7f19b743e71e4cb3c7413 | 0 | protyposis/Spectaculum,protyposis/Spectaculum | /*
* Copyright (c) 2014 Mario Guggenberger <mg@protyposis.net>
*
* This file is part of MediaPlayer-Extended.
*
* MediaPlayer-Extended is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of... | Spectaculum-Demo/src/main/java/net/protyposis/android/spectaculumdemo/ParameterListAdapter.java | /*
* Copyright (c) 2014 Mario Guggenberger <mg@protyposis.net>
*
* This file is part of MediaPlayer-Extended.
*
* MediaPlayer-Extended is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of... | Init spinner with current value
| Spectaculum-Demo/src/main/java/net/protyposis/android/spectaculumdemo/ParameterListAdapter.java | Init spinner with current value | <ide><path>pectaculum-Demo/src/main/java/net/protyposis/android/spectaculumdemo/ParameterListAdapter.java
<ide> final ArrayAdapter<Enum> adapter = new ArrayAdapter<>(mActivity, android.R.layout.simple_spinner_item, p.getEnumValues());
<ide> adapter.setDropDownViewResource(android.R.layout.simple... | |
Java | lgpl-2.1 | 55aa99926ee7323bb6a101d7a31e3b5671d283f7 | 0 | certusoft/swingx,certusoft/swingx | /*
* $Id$
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*/
package org.jdesktop.swingx;
import java.awt.Point;
import java.awt.event.MouseEvent;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.T... | src/test/org/jdesktop/swingx/JXTreeTableUnitTest.java | /*
* $Id$
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*/
package org.jdesktop.swingx;
import java.awt.Point;
import java.awt.event.MouseEvent;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.T... | fixed headlessException in test
| src/test/org/jdesktop/swingx/JXTreeTableUnitTest.java | fixed headlessException in test | <ide><path>rc/test/org/jdesktop/swingx/JXTreeTableUnitTest.java
<ide> import org.jdesktop.swingx.treetable.TreeTableModel;
<ide> import org.jdesktop.swingx.util.ComponentTreeTableModel;
<ide> import org.jdesktop.swingx.util.PropertyChangeReport;
<add>import org.jdesktop.swingx.util.TreeSelectionReport;
<ide>
<ide>
<i... | |
Java | apache-2.0 | bfa79a5638c09131693eb3b902bd8d9f8a204858 | 0 | metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax-eclipse,metaborg/spoofax | /*******************************************************************************
* Copyright (c) 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/outline/FilteringInfoPopup.java | /*******************************************************************************
* Copyright (c) 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | I assume this is a bug. Creating controls before the statements in
subclass constructors have been executed is likely to result in
nullpointers. | org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/outline/FilteringInfoPopup.java | I assume this is a bug. Creating controls before the statements in subclass constructors have been executed is likely to result in nullpointers. | <ide><path>rg.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/outline/FilteringInfoPopup.java
<ide> setTitleText(""); //$NON-NLS-1$
<ide> setInfoText(""); // //$NON-NLS-1$
<ide>
<del> // Create all controls early to preserve the life cycle of the original implementation.
<del> create();
<del>
<i... | |
Java | agpl-3.0 | a7a89a7bf110cb38542626f1d6561aed9f7d51bd | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | 0d97ee18-2e62-11e5-9284-b827eb9e62be | hello.java | 0d9243a0-2e62-11e5-9284-b827eb9e62be | 0d97ee18-2e62-11e5-9284-b827eb9e62be | hello.java | 0d97ee18-2e62-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>0d9243a0-2e62-11e5-9284-b827eb9e62be
<add>0d97ee18-2e62-11e5-9284-b827eb9e62be | |
JavaScript | mit | b243052a20279509b4b6566bbe44e58daf2b9d42 | 0 | tolmasky/language,tolmasky/language |
var hasOwnProperty = Object.prototype.hasOwnProperty;
// start = (("a" "a") "a") "b") /
// (("a" "a") "a") !"d" "c")
// A?
// R = A / ""
// A*
// U = A / ""
// R = U / R
// A+
//
var CHARACTER = 0,
CHOICE = 1,
SEQUENCE = 2,
NOT = 3,
AND = 4,
NAME = 5,
... | languages/Objective-J/stab.js |
var hasOwnProperty = Object.prototype.hasOwnProperty;
// start = (("a" "a") "a") "b") /
// (("a" "a") "a") !"d" "c")
// A?
// R = A / ""
// A*
// U = A / ""
// R = U / R
// A+
//
var CHARACTER = 0,
CHOICE = 1,
SEQUENCE = 2,
NOT = 3,
AND = 4,
DOT = -... | Some cleanup in preparation for more than 2 sequences/choices.
Reviewed by @tolmasky.
| languages/Objective-J/stab.js | Some cleanup in preparation for more than 2 sequences/choices. | <ide><path>anguages/Objective-J/stab.js
<ide> // U = A / ""
<ide> // R = U / R
<ide> // A+
<del>//
<add>//
<ide>
<ide> var CHARACTER = 0,
<ide> CHOICE = 1,
<ide> SEQUENCE = 2,
<ide> NOT = 3,
<ide> AND = 4,
<add> NAME = 5,
<ide> DOT = -1;
<ide>
<ide> ... | |
Java | apache-2.0 | 570c57d8237dcad73bcccae3716016b2f47b21dc | 0 | vector-im/vector-android,vector-im/riot-android,noepitome/neon-android,floviolleau/vector-android,vector-im/vector-android,vector-im/riot-android,noepitome/neon-android,riot-spanish/riot-android,floviolleau/vector-android,noepitome/neon-android,riot-spanish/riot-android,vector-im/vector-android,vt0r/vector-android,vect... | /*
* Copyright 2015 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | console/src/main/java/im/vector/activity/VectorUnifiedSearchActivity.java | /*
* Copyright 2015 OpenMarket Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | add_login_splash_activity
"no results" was displayed with results.
| console/src/main/java/im/vector/activity/VectorUnifiedSearchActivity.java | add_login_splash_activity | <ide><path>onsole/src/main/java/im/vector/activity/VectorUnifiedSearchActivity.java
<ide>
<ide> /**
<ide> * The search is done.
<add> * @param tabIndex the tab index
<ide> * @param nbrMessages the number of found messages.
<ide> */
<del> private void onSearchEnd(int nbrMessages) {
<del> ... | |
Java | unlicense | b030b89196cadaea49c6ad0572ac219344855a0f | 0 | ferran294/HundirLaFlota | package tablero;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
public class Juego {
/**
* Implementa el juego 'Hundir la flota' mediante una interfaz grafica (GUI)
*/
/** Estado... | HundirLaFlota/src/tablero/Juego.java | package tablero;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
public class Juego {
/**
* Implementa el juego 'Hundir la flota' mediante una interfaz grafica (GUI)
*/
/** Estado... | Método anyadeMenu implementado. | HundirLaFlota/src/tablero/Juego.java | Método anyadeMenu implementado. | <ide><path>undirLaFlota/src/tablero/Juego.java
<ide> */
<ide> private void ejecuta() {
<ide> // POR IMPLEMENTAR
<add> frame = new JFrame();
<add> frame.setVisible(true);
<add> anyadeMenu();
<ide> } // end ejecuta
<ide>
<ide> /**
<ide> * Dibuja el tablero de juego y crea la partida inicial
<ide> */... | |
Java | apache-2.0 | e2819768868aba80971ba5787f54129cd7c9110a | 0 | WestCoastInformatics/UMLS-Terminology-Server,WestCoastInformatics/UMLS-Terminology-Server,WestCoastInformatics/UMLS-Terminology-Server,WestCoastInformatics/UMLS-Terminology-Server,WestCoastInformatics/UMLS-Terminology-Server | /*
* Copyright 2015 West Coast Informatics, LLC
*/
package com.wci.umls.server.jpa.algo;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import org.hibernate.Scro... | jpa-services/src/main/java/com/wci/umls/server/jpa/algo/Rf2SnapshotLoaderAlgorithm.java | /*
* Copyright 2015 West Coast Informatics, LLC
*/
package com.wci.umls.server.jpa.algo;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import org.hibernate.Scro... | RF2 Loader now loads association references as concept_relationships
| jpa-services/src/main/java/com/wci/umls/server/jpa/algo/Rf2SnapshotLoaderAlgorithm.java | RF2 Loader now loads association references as concept_relationships | <ide><path>pa-services/src/main/java/com/wci/umls/server/jpa/algo/Rf2SnapshotLoaderAlgorithm.java
<ide> /**
<ide> * Implementation of an algorithm to import RF2 snapshot data.
<ide> */
<del>public class Rf2SnapshotLoaderAlgorithm extends HistoryServiceJpa implements
<del> Algorithm {
<add>public class Rf2SnapshotL... | |
Java | mit | 678c84ba0ec97a3692871d0926045e6940778b99 | 0 | trendrr/java-oss-lib,MarkG/java-oss-lib | /**
*
*/
package com.trendrr.oss;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set... | src/com/trendrr/oss/DynMap.java | /**
*
*/
package com.trendrr.oss;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
... | Add toXMLString method
| src/com/trendrr/oss/DynMap.java | Add toXMLString method | <ide><path>rc/com/trendrr/oss/DynMap.java
<ide> import java.util.Date;
<ide> import java.util.HashMap;
<ide> import java.util.HashSet;
<add>import java.util.Iterator;
<ide> import java.util.List;
<add>import java.util.Map;
<ide> import java.util.Set;
<ide> import java.util.concurrent.ConcurrentHashMap;
<ide> import jav... | |
Java | apache-2.0 | 09bcb3615c38d7dd4e492290eaff4bdb35fbd3ea | 0 | jpallas/beakerx,twosigma/beaker-notebook,twosigma/beakerx,jpallas/beakerx,twosigma/beakerx,twosigma/beakerx,jpallas/beakerx,twosigma/beaker-notebook,twosigma/beakerx,jpallas/beakerx,jpallas/beakerx,twosigma/beakerx,twosigma/beaker-notebook,twosigma/beaker-notebook,twosigma/beaker-notebook,twosigma/beakerx,jpallas/beake... | /*
* Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | kernel/clojure/src/main/java/com/twosigma/beakerx/clojure/evaluator/ClojureEvaluator.java | /*
* Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | #5641: kill clojure threads (#6184)
* #5641: kill clojure threads
* #5641: change to one call of runCode method
| kernel/clojure/src/main/java/com/twosigma/beakerx/clojure/evaluator/ClojureEvaluator.java | #5641: kill clojure threads (#6184) | <ide><path>ernel/clojure/src/main/java/com/twosigma/beakerx/clojure/evaluator/ClojureEvaluator.java
<ide>
<ide> public ClojureEvaluator(String id, String sId) {
<ide> this(id, sId, new BeakerCellExecutor("clojure"), new TempFolderFactoryImpl());
<add> }
<add>
<add> @Override
<add> public void resetEnvironment... | |
Java | mpl-2.0 | 24f2b3978b5058dfeefd7a794707b9a8c6a09d9f | 0 | opensensorhub/osh-android | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
Software distributed under the License is distri... | sensorhub-driver-android/src/main/java/org/sensorhub/impl/sensor/android/AndroidSensorOutput.java | /***************************** BEGIN LICENSE BLOCK ***************************
The contents of this file are subject to the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.
Software distributed under the License is distri... | Clarified javadoc of getLatestRecordTime() and properly generate/handle
NaN case everywhere | sensorhub-driver-android/src/main/java/org/sensorhub/impl/sensor/android/AndroidSensorOutput.java | Clarified javadoc of getLatestRecordTime() and properly generate/handle NaN case everywhere | <ide><path>ensorhub-driver-android/src/main/java/org/sensorhub/impl/sensor/android/AndroidSensorOutput.java
<ide> public double getLatestRecordTime()
<ide> {
<ide> // TODO Auto-generated method stub
<del> return 0;
<add> return Double.NaN;
<ide> }
<ide>
<ide> | |
Java | apache-2.0 | 271418cf7678ce99cd29c057ca391ef55c8d12c9 | 0 | Inari-Soft/inari-dash-demo,InariSoft/inari-dash-demo | package com.inari.dash.game.tasks;
import com.inari.dash.game.GameExitCondition;
import com.inari.dash.game.GameSystem;
import com.inari.dash.game.StartGameCondition;
import com.inari.firefly.component.build.ComponentBuilder;
import com.inari.firefly.state.StateChange;
import com.inari.firefly.state.StateSystem;
impor... | src/main/java/com/inari/dash/game/tasks/InitGameWorkflow.java | package com.inari.dash.game.tasks;
import com.inari.dash.game.GameExitCondition;
import com.inari.dash.game.GameSystem;
import com.inari.dash.game.StartGameCondition;
import com.inari.firefly.state.StateChange;
import com.inari.firefly.state.StateSystem;
import com.inari.firefly.state.Workflow;
import com.inari.firefl... | task trigger | src/main/java/com/inari/dash/game/tasks/InitGameWorkflow.java | task trigger | <ide><path>rc/main/java/com/inari/dash/game/tasks/InitGameWorkflow.java
<ide> import com.inari.dash.game.GameExitCondition;
<ide> import com.inari.dash.game.GameSystem;
<ide> import com.inari.dash.game.StartGameCondition;
<add>import com.inari.firefly.component.build.ComponentBuilder;
<ide> import com.inari.firefly.sta... | |
JavaScript | mit | 5910efe01241f94942d2fb4be3d52125ff65bd10 | 0 | TechnoX/rcj-rescue-scoring,TechnoX/rcj-rescue-scoring | // register the directive with your app module
var app = angular.module('ddApp', ['ngAnimate', 'ui.bootstrap', 'rzModule']);
// function referenced by the drop target
app.controller('ddController', ['$scope', '$uibModal', '$log','$http', function($scope, $uibModal, $log, $http){
$scope.sliderOptions = {
fl... | public/javascripts/maze_editor.js | // register the directive with your app module
var app = angular.module('ddApp', ['ngAnimate', 'ui.bootstrap', 'rzModule']);
// function referenced by the drop target
app.controller('ddController', ['$scope', '$uibModal', '$log','$http', function($scope, $uibModal, $log, $http){
$scope.sliderOptions = {
fl... | Save and load maze map from correct URL
| public/javascripts/maze_editor.js | Save and load maze map from correct URL | <ide><path>ublic/javascripts/maze_editor.js
<ide>
<ide>
<ide> if(mapId){
<del> $http.get("/api/maps/" + mapId + "?populate=true").then(function(response){
<add> $http.get("/api/maps/maze/" + mapId + "?populate=true").then(function(response){
<ide> $scope.startTile = response.data.startTi... | |
Java | apache-2.0 | 5cecd460eb15249e423493f4bb709dfc618ef172 | 0 | gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle | /*
* Copyright 2016 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 applica... | subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/PluginDeclaration.java | /*
* Copyright 2016 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 applica... | Convert tags into a property
| subprojects/plugin-development/src/main/java/org/gradle/plugin/devel/PluginDeclaration.java | Convert tags into a property | <ide><path>ubprojects/plugin-development/src/main/java/org/gradle/plugin/devel/PluginDeclaration.java
<ide>
<ide> package org.gradle.plugin.devel;
<ide>
<del>import com.google.common.base.Objects;
<ide> import org.gradle.api.Incubating;
<ide> import org.gradle.api.Named;
<add>import org.gradle.api.Project;
<add>impor... | |
Java | mit | 015a4c01a08d05d4a0665f650d8517b73605ce76 | 0 | tblsoft/solr-cmd-utils,tblsoft/solr-cmd-utils | package de.tblsoft.solr.pipeline.filter;
import com.google.common.base.Joiner;
import de.tblsoft.solr.pipeline.AbstractFilter;
import de.tblsoft.solr.pipeline.bean.Document;
import de.tblsoft.solr.pipeline.bean.Field;
import de.tblsoft.solr.util.IOUtils;
import org.apache.commons.csv.CSVFormat;
import org.apache.commo... | src/main/java/de/tblsoft/solr/pipeline/filter/CSVWriter.java | package de.tblsoft.solr.pipeline.filter;
import com.google.common.base.Joiner;
import de.tblsoft.solr.pipeline.AbstractFilter;
import de.tblsoft.solr.pipeline.bean.Document;
import de.tblsoft.solr.pipeline.bean.Field;
import de.tblsoft.solr.util.IOUtils;
import org.apache.commons.csv.CSVFormat;
import org.apache.commo... | only close the writer if its not null
| src/main/java/de/tblsoft/solr/pipeline/filter/CSVWriter.java | only close the writer if its not null | <ide><path>rc/main/java/de/tblsoft/solr/pipeline/filter/CSVWriter.java
<ide> @Override
<ide> public void end() {
<ide> try {
<del> printer.close();
<add> if(printer != null) {
<add> printer.close();
<add> }
<ide> } catch (IOException e) {
<ide> ... | |
JavaScript | mit | 27630d9b93add1f92fb1734d5343a0bd4a007be6 | 0 | connorbode/datastructor,connorbode/datastructor | var colors = require('colors');
var port = 3000;
global.app = {};
require('./config')();
app.tasks = require('./tasks');
app.models = require('./models');
app.controllers = require('./controllers')();
app.routing.get('*', function (req, res) {
res.sendFile(__dirname + '/public/index.html');
});
app.routing.listen... | app/index.js | var colors = require('colors');
var port = 3000;
global.app = {};
require('./config')();
app.tasks = require('./tasks');
app.models = require('./models');
app.controllers = require('./controllers')();
app.routing.listen(port);
console.log(('datastructor running on port ' + port).green); | redirect all traffic to index.html
| app/index.js | redirect all traffic to index.html | <ide><path>pp/index.js
<ide> app.models = require('./models');
<ide> app.controllers = require('./controllers')();
<ide>
<add>app.routing.get('*', function (req, res) {
<add> res.sendFile(__dirname + '/public/index.html');
<add>});
<ide> app.routing.listen(port);
<ide>
<ide> console.log(('datastructor running on por... | |
Java | apache-2.0 | 14a4bce2db0b73ca5a5dea35d519ba70ff4e37a2 | 0 | ricepanda/rice-git3,ricepanda/rice-git2,ricepanda/rice-git2,kuali/rice-playground,ricepanda/rice-git3,ricepanda/rice-git3,kuali/rice-playground,kuali/rice-playground,kuali/rice-playground,ricepanda/rice-git3,ricepanda/rice-git2,ricepanda/rice-git2 | /**
* 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/datadictionary/DataDictionary.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-8326 - enabling external message processing
git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@35397 7a7aa7f6-c479-11dc-97e2-85a2497f191d
| krad/krad-web-framework/src/main/java/org/kuali/rice/krad/datadictionary/DataDictionary.java | KULRICE-8326 - enabling external message processing | <ide><path>rad/krad-web-framework/src/main/java/org/kuali/rice/krad/datadictionary/DataDictionary.java
<ide> */
<ide> public void performDictionaryPostProcessing(boolean allowConcurrentValidation) {
<ide> // invoke post processing of the dictionary bean definitions
<del>// DictionaryBeanFactoryP... | |
JavaScript | mit | 20536466a88c2a66067b50407a83c10ea63ea3d0 | 0 | mweststrate/fume | /* jshint immed:true, latedef:true, newcap:true, browser:true, node:true */
var _ = require("lodash");
var clutility = require("clutility");
/** @namespace Fume */
var Fume = Fume || {};
Fume.trace = false;
/** @namespace Fume.util */
Fume.util = {};
/**
Throws illegal state exception. Use this for code / state th... | src/fume.js | /* jshint immed:true, latedef:true, newcap:true, browser:true, node:true */
var _ = require("lodash");
var clutility = require("clutility");
/** @namespace Fume */
var Fume = Fume || {};
Fume.trace = false;
/** @namespace Fume.util */
Fume.util = {};
/**
Throws illegal state exception. Use this for code / state th... | Bye, Expression (for now)
| src/fume.js | Bye, Expression (for now) | <ide><path>rc/fume.js
<ide> }
<ide> });
<ide>
<del>var Expression = Fume.Expression = clutility(Relay, {
<del> closure : null,
<del> inputStreams : null,
<del> initialize : function($super, streams) {
<del> this.inputStreams = _.map(streams, Stream.fromValue);
<del> $super();
<del> },
<del> setClosure : function(cl... | |
Java | apache-2.0 | 61f04283ef2a7140854328b455debd0eac75df19 | 0 | HtmlUnit/selenium,joshmgrant/selenium,HtmlUnit/selenium,valfirst/selenium,titusfortner/selenium,SeleniumHQ/selenium,titusfortner/selenium,SeleniumHQ/selenium,joshmgrant/selenium,SeleniumHQ/selenium,titusfortner/selenium,joshmgrant/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,joshmgrant/selenium,valfirst/selenium,valf... | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | java/server/src/org/openqa/selenium/docker/v1_40/PullImage.java | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | [grid] Pulling images from custom registries
Fixes https://github.com/SeleniumHQ/docker-selenium/issues/1264
| java/server/src/org/openqa/selenium/docker/v1_40/PullImage.java | [grid] Pulling images from custom registries | <ide><path>ava/server/src/org/openqa/selenium/docker/v1_40/PullImage.java
<ide>
<ide> LOG.info("Pulling " + ref);
<ide>
<add> String image = String.format("%s/%s/%s", ref.getDomain(), ref.getRepository(), ref.getName());
<ide> HttpRequest req = new HttpRequest(POST, "/v1.40/images/create")
<ide> .add... | |
Java | epl-1.0 | 9a52fe336e4dfa5f782f7fd8385699cf09b75c32 | 0 | rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt | /*******************************************************************************
* Copyright (c) 2004 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 availabl... | data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQueryUtil.java | /*******************************************************************************
* Copyright (c) 2004 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 availabl... | CheckIn: Fix 87980 IV - Aggregation UI - Exception when modifying existing aggregation defn.
| data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQueryUtil.java | CheckIn: Fix 87980 IV - Aggregation UI - Exception when modifying existing aggregation defn. | <ide><path>ata/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQueryUtil.java
<ide> import org.eclipse.birt.data.engine.api.IPreparedQuery;
<ide> import org.eclipse.birt.data.engine.api.IQueryDefinition;
<ide> import org.eclipse.birt.data.engine.api.IScriptDataSetDesign;
<add>import org.eclipse.birt... | |
Java | apache-2.0 | 487010cfb945afe15a8fc4072aac0e4d31d6962f | 0 | ruspl-afed/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,AndrewKhitrin/dbeaver,AndrewKhitrin/dbeaver,ruspl-afed/dbeaver,liuyuanyuan/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program ... | plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/resultset/ResultSetViewer.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2016 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program ... | #737 RSV row delete - shift down only if row wasn't removed from the list
| plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/resultset/ResultSetViewer.java | #737 RSV row delete - shift down only if row wasn't removed from the list | <ide><path>lugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/controls/resultset/ResultSetViewer.java
<ide> }
<ide> redrawData(rowsRemoved > 0);
<ide> // Move one row down (if we are in grid mode)
<del> if (!recordMode && lastRowNum < model.getRowCount() - 1) {
<add> if (!recor... | |
Java | apache-2.0 | e887b5774179d77d49c324abfc4b992d9217f3d8 | 0 | OpenHFT/Chronicle-Network | package net.openhft.chronicle.network;
import net.openhft.chronicle.core.Jvm;
import net.openhft.chronicle.core.util.Time;
import net.openhft.chronicle.network.connection.FatalFailureMonitor;
import net.openhft.chronicle.network.connection.SocketAddressSupplier;
import net.openhft.chronicle.wire.Marshallable;
import o... | src/main/java/net/openhft/chronicle/network/ConnectionStrategy.java | package net.openhft.chronicle.network;
import net.openhft.chronicle.core.Jvm;
import net.openhft.chronicle.core.util.Time;
import net.openhft.chronicle.network.connection.FatalFailureMonitor;
import net.openhft.chronicle.network.connection.SocketAddressSupplier;
import net.openhft.chronicle.wire.Marshallable;
import o... | added support for enqueuing the the fix sendMessage() directly on the out bytes, rather than going via an intermediate buffer
| src/main/java/net/openhft/chronicle/network/ConnectionStrategy.java | added support for enqueuing the the fix sendMessage() directly on the out bytes, rather than going via an intermediate buffer | <ide><path>rc/main/java/net/openhft/chronicle/network/ConnectionStrategy.java
<ide> default SocketChannel openSocketChannel(@NotNull InetSocketAddress socketAddress,
<ide> int tcpBufferSize,
<ide> long timeoutMs) throws IOExcept... | |
Java | apache-2.0 | 46bc0deb60983549b9e895d51ae130bd5b5786ba | 0 | rwl/requestfactory-addon | package org.springframework.roo.addon.web.mvc.controller;
import java.beans.Introspector;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.S... | addon-web-mvc-controller/src/main/java/org/springframework/roo/addon/web/mvc/controller/WebScaffoldMetadata.java | package org.springframework.roo.addon.web.mvc.controller;
import java.beans.Introspector;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.S... | ROO-1918: WebScaffoldMetadata should use its MetadataProvider class name to ensure optimal loop detection semantics
| addon-web-mvc-controller/src/main/java/org/springframework/roo/addon/web/mvc/controller/WebScaffoldMetadata.java | ROO-1918: WebScaffoldMetadata should use its MetadataProvider class name to ensure optimal loop detection semantics | <ide><path>ddon-web-mvc-controller/src/main/java/org/springframework/roo/addon/web/mvc/controller/WebScaffoldMetadata.java
<ide> }
<ide>
<ide> private MethodMetadata methodExists(JavaSymbolName methodName, List<AnnotatedJavaType> parameters) {
<del> return MemberFindingUtils.getMethod(detailsScanner.getMemberDetai... | |
JavaScript | mit | 31b0a09a4ed9d3b5a06cbb8311b15a03e20da148 | 0 | MostlyJS/mostly-feathers-mongoose | import assert from 'assert';
import fp from 'ramda';
import makeDebug from 'debug';
import { Service as BaseService } from 'feathers-mongoose';
import { errorHandler } from 'feathers-mongoose/lib/error-handler';
const debug = makeDebug('mostly:feathers-mongoose:service');
const defaultOptions = {
lean: true,
pagi... | src/service.js | import assert from 'assert';
import fp from 'ramda';
import makeDebug from 'debug';
import { Service as BaseService } from 'feathers-mongoose';
import { errorHandler } from 'feathers-mongoose/lib/error-handler';
const debug = makeDebug('mostly:feathers-mongoose:service');
const defaultOptions = {
lean: true,
pagi... | minor change
| src/service.js | minor change | <ide><path>rc/service.js
<ide>
<ide> // TODO secure action call by find
<ide> if (this[action] && defaultMethods.indexOf(action) < 0) {
<del> let params2 = fp.dissoc('__action', params);
<del> return this._action(action, null, {}, params2);
<add> params = fp.dissoc('__action', params);
<add> ... | |
JavaScript | mit | fe517b33a5be58f1e7d4ea72a91d8e8bf24b9061 | 0 | bitjson/bitcore,bitpay/bitcore,dashevo/insight-api-dash,bitjson/bitcore,bitpay/bitcore,pnagurny/bitcore-node,martindale/bitcore,martindale/bitcore,netanelkl/bitcore-node,bitpay/bitcore,bitpay/bitcore,maraoz/bitcore-node,martindale/bitcore,martindale/bitcore,bitjson/bitcore,bitjson/bitcore | 'use strict';
var TRANSACTION_DISPLAYED = 5;
var BLOCKS_DISPLAYED = 5;
angular.module('insight.system').controller('IndexController',
function($scope, $rootScope, Global, get_socket, Blocks, Block, Transactions, Transaction) {
$scope.global = Global;
var getTransaction = function(txid) {
Transaction.get({
... | public/js/controllers/index.js | 'use strict';
var TRANSACTION_DISPLAYED = 5;
var BLOCKS_DISPLAYED = 5;
angular.module('insight.system').controller('IndexController',
function($scope, $rootScope, Global, get_socket, Blocks, Block, Transactions, Transaction) {
$scope.global = Global;
var getTransaction = function(txid) {
Transaction.get({
... | homepage: fixed, only show 5 elements (it is!)
| public/js/controllers/index.js | homepage: fixed, only show 5 elements (it is!) | <ide><path>ublic/js/controllers/index.js
<ide> socket.on('tx', function(tx) {
<ide> var txStr = tx.txid.toString();
<ide> console.log('Transaction received! ' + JSON.stringify(tx));
<del> if (parseInt($scope.txs.length) === parseInt(TRANSACTION_DISPLAYED)) {
<add> if (parseInt($scope.txs.length) > parse... | |
Java | apache-2.0 | e13e71c062b0e12fb12f856fe30ad8bd8f21849f | 0 | michaelkourlas/voipms-sms-client | /*
* VoIP.ms SMS
* Copyright (C) 2015-2016 Michael Kourlas
*
* 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 ... | voipms-sms/src/main/java/net/kourlas/voipms_sms/activities/ConversationActivity.java | /*
* VoIP.ms SMS
* Copyright (C) 2015-2016 Michael Kourlas
*
* 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 ... | Cleanup ConversationActivity
| voipms-sms/src/main/java/net/kourlas/voipms_sms/activities/ConversationActivity.java | Cleanup ConversationActivity | <ide><path>oipms-sms/src/main/java/net/kourlas/voipms_sms/activities/ConversationActivity.java
<ide> import android.annotation.TargetApi;
<ide> import android.app.Activity;
<ide> import android.app.NotificationManager;
<del>import android.content.*;
<add>import android.content.ClipData;
<add>import android.content.Clip... | |
Java | mit | 8259c51415d6bec2eb8a67b5ac02ce16a88955d5 | 0 | CS2103JAN2017-T16-B2/main,CS2103JAN2017-T16-B2/main | package seedu.address.logic;
import java.util.logging.Logger;
import javafx.collections.ObservableList;
import seedu.address.commons.core.ComponentManager;
import seedu.address.commons.core.LogsCenter;
import seedu.address.logic.commands.Command;
import seedu.address.logic.commands.CommandResult;
import seedu.address... | src/main/java/seedu/address/logic/LogicManager.java | package seedu.address.logic;
import java.util.logging.Logger;
import javafx.collections.ObservableList;
import seedu.address.commons.core.ComponentManager;
import seedu.address.commons.core.LogsCenter;
import seedu.address.logic.commands.Command;
import seedu.address.logic.commands.CommandResult;
import seedu.address... | Add undo manager initialisation in Logic Manager class
| src/main/java/seedu/address/logic/LogicManager.java | Add undo manager initialisation in Logic Manager class | <ide><path>rc/main/java/seedu/address/logic/LogicManager.java
<ide> import seedu.address.logic.commands.Command;
<ide> import seedu.address.logic.commands.CommandResult;
<ide> import seedu.address.logic.commands.exceptions.CommandException;
<add>import seedu.address.logic.parser.DateTimeParser;
<add>import seedu.addres... | |
JavaScript | mit | b9bf26316931fa4f06c3fe908fa282848ebbef93 | 0 | phase/flower-site,flower/flower.github.io,phase/flower-site,flower/flower.github.io | jQuery.githubUser = function(username, callback) {
jQuery.getJSON('https://api.github.com/users/'+username+'/repos?callback=?',callback)
}
jQuery.fn.loadRepositories = function(username) {
this.html("<span>Querying GitHub for " + username +"'s repositories...</span>");
var target = this;
$.github... | js/github.js | jQuery.githubUser = function(username, callback){
jQuery.getJSON("http://github.com/api/v1/json/" + username + "?callback=?", callback);
}
jQuery.fn.loadRepositories = function(username) {
this.html("<span>Querying GitHub for repositories...</span>");
var target = this;
$.githubUser(username, function(data... | Use newer version | js/github.js | Use newer version | <ide><path>s/github.js
<del>jQuery.githubUser = function(username, callback){
<del> jQuery.getJSON("http://github.com/api/v1/json/" + username + "?callback=?", callback);
<add>jQuery.githubUser = function(username, callback) {
<add> jQuery.getJSON('https://api.github.com/users/'+username+'/repos?callback=?',callback... | |
JavaScript | mit | 3a84aa9577bf3d381bbeb9197d03be143ef4618d | 0 | EdgeCaseBerg/GreenUp,EdgeCaseBerg/green-web,EdgeCaseBerg/green-web,EdgeCaseBerg/GreenUp,EdgeCaseBerg/GreenUp,EdgeCaseBerg/GreenUp,EdgeCaseBerg/GreenUp,EdgeCaseBerg/GreenUp,EdgeCaseBerg/GreenUp,EdgeCaseBerg/green-web,EdgeCaseBerg/green-web |
var map, pointarray, heatmap, pickupMarker, markerFlag;
var markerType = -1;
var markerEvent;
var HELP_TRASH = 1;
var TRASH_DROP = 2;
var COMMENT_LOC = 3;
var MOUSEDOWN_TIME;
var MOUSEUP_TIME;
var heatmapData = [
{location: new google.maps.LatLng(37.782, -122.447), weight: 0.5},
... | client/js/mapsUI.js |
var map, pointarray, heatmap, pickupMarker, markerFlag;
var markerType = -1;
var markerEvent;
var HELP_TRASH = 1;
var TRASH_DROP = 2;
var COMMENT_LOC = 3;
var MOUSEDOWN_TIME;
var MOUSEUP_TIME;
var heatmapData = [
{location: new google.maps.LatLng(37.782, -122.447), weight: 0.5},
... | Set the layers to be disabled by default to match the checkbox state
| client/js/mapsUI.js | Set the layers to be disabled by default to match the checkbox state | <ide><path>lient/js/mapsUI.js
<ide> radius: 5
<ide> });
<ide>
<del> heatmap.setMap(map);
<add> heatmap.setMap(null);
<ide>
<ide> google.maps.event.addListener(map, 'mousedown', markerSelectDown);
<ide> google.maps.event.addListener(map, 'mouseup', markerSelectUp);
<ide> map: map,
<ide> icon:... | |
Java | artistic-2.0 | 5fcb4d930aff5412f3202338cc3af46649fd24d4 | 0 | aliyun/aliyun-emapreduce-sdk,uncleGen/aliyun-emapreduce-sdk,aliyun/aliyun-spark-sdk,aliyun/aliyun-emapreduce-sdk,aliyun/aliyun-emapreduce-sdk | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | core/src/main/java/com/aliyun/fs/oss/utils/Utils.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | fix disk usage imbalance
| core/src/main/java/com/aliyun/fs/oss/utils/Utils.java | fix disk usage imbalance | <ide><path>ore/src/main/java/com/aliyun/fs/oss/utils/Utils.java
<ide> */
<ide> package com.aliyun.fs.oss.utils;
<ide>
<add>import org.apache.commons.logging.Log;
<add>import org.apache.commons.logging.LogFactory;
<ide> import org.apache.hadoop.conf.Configuration;
<ide> import org.apache.hadoop.fs.Path;
<ide>
<ide> i... | |
Java | mit | error: pathspec 'Java/Queue.java' did not match any file(s) known to git
| 0c9b813f7ea1bb76149a5be7e1fee3fff2931339 | 1 | saru95/DSA,saru95/DSA,saru95/DSA,saru95/DSA,saru95/DSA | import java.util.ArrayList;
public class Queue <T>{
private ArrayList <T> queue;
Queue() {
queue = new ArrayList<T>();
}
public void enqueue(T element){
queue.add(element);
}
public boolean isEmpty(){
return (queue.size() < 1);
}
public T dequeue() throws... | Java/Queue.java | Adding Queue in Java
| Java/Queue.java | Adding Queue in Java | <ide><path>ava/Queue.java
<add>import java.util.ArrayList;
<add>
<add>public class Queue <T>{
<add> private ArrayList <T> queue;
<add> Queue() {
<add> queue = new ArrayList<T>();
<add> }
<add>
<add> public void enqueue(T element){
<add> queue.add(element);
<add> }
<add>
<add> public... | |
JavaScript | mit | 004c806efab91c721b66ce2c16bf88610567965d | 0 | foolywk/perfect-pitch | // dependencies
var fs = require('fs');
var http = require('http');
var express = require('express');
var routes = require('./routes');
var path = require('path');
var app = express();
var config = require('./oauth.js');
var User = require('./user.js');
var Video = require('./video.js');
var mongoose = require('mongoos... | app.js | // dependencies
var fs = require('fs');
var http = require('http');
var express = require('express');
var routes = require('./routes');
var path = require('path');
var app = express();
var config = require('./oauth.js');
var User = require('./user.js');
var Video = require('./video.js');
var mongoose = require('mongoos... | updaing views
| app.js | updaing views | <ide><path>pp.js
<ide> app.set('view engine', 'jade');
<ide> // app.use(express.logger());
<ide> /* app.use(express.bodyParser({
<del> keepExtensions: true,
<add> keepExtensions: true,
<ide> uploadloadDir: __dirname +'/temp' })); */
<ide> app.use(express.multipart());
<ide> ap... | |
Java | bsd-3-clause | cd994c726e363cf53b8791ef7456b886ad1ab414 | 0 | agmip/translator-dssat,MengZhang/translator-dssat | package org.agmip.translators.dssat;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import static org.agmip.translators.dssat.DssatCommonInput.c... | src/main/java/org/agmip/translators/dssat/DssatXFileOutput.java | package org.agmip.translators.dssat;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import static org.agmip.translators.dssat.DssatCommonInput.c... | Add handling for harvest option in simulation control. If harvest date is valid in the data, then use R, otherwise use M. | src/main/java/org/agmip/translators/dssat/DssatXFileOutput.java | Add handling for harvest option in simulation control. If harvest date is valid in the data, then use R, otherwise use M. | <ide><path>rc/main/java/org/agmip/translators/dssat/DssatXFileOutput.java
<ide> } // harvest event
<ide> else if (getValueOr(evtData, "event", "").equals("harvest")) {
<ide> mhSubArr.add(evtData);
<add> copyItem(smDat... | |
Java | apache-2.0 | a375fdcafb9bde5297f2d46933f71cee437b314d | 0 | subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai | package org.safehaus.subutai.core.broker.impl;
import javax.jms.BytesMessage;
import javax.jms.Connection;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TopicSubscriber;... | management/server/core/broker/broker-impl/src/main/java/org/safehaus/subutai/core/broker/impl/BrokerImpl.java | package org.safehaus.subutai.core.broker.impl;
import javax.jms.BytesMessage;
import javax.jms.Connection;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TopicSubscriber;... | changed to use multiple connections to topics
| management/server/core/broker/broker-impl/src/main/java/org/safehaus/subutai/core/broker/impl/BrokerImpl.java | changed to use multiple connections to topics | <ide><path>anagement/server/core/broker/broker-impl/src/main/java/org/safehaus/subutai/core/broker/impl/BrokerImpl.java
<ide> {
<ide> try
<ide> {
<del>
<del> Connection connection = amqFactory.createConnection();
<del> connection.setClientID( "subutai" );
<del> conne... | |
Java | apache-2.0 | error: pathspec 'community/kernel/src/main/java/org/neo4j/helpers/NamedThreadFactory.java' did not match any file(s) known to git
| 06d74978909fa1e73c067d2aee668b886fe95756 | 1 | HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j | /**
* Copyright (c) 2002-2012 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundati... | community/kernel/src/main/java/org/neo4j/helpers/NamedThreadFactory.java | A little helper for naming threads
| community/kernel/src/main/java/org/neo4j/helpers/NamedThreadFactory.java | A little helper for naming threads | <ide><path>ommunity/kernel/src/main/java/org/neo4j/helpers/NamedThreadFactory.java
<add>/**
<add> * Copyright (c) 2002-2012 "Neo Technology,"
<add> * Network Engine for Objects in Lund AB [http://neotechnology.com]
<add> *
<add> * This file is part of Neo4j.
<add> *
<add> * Neo4j is free software: you can redistribute ... | |
Java | apache-2.0 | 2601fd3d86c8d01260384536bb1641049b8de5af | 0 | mixi-inc/triaina,akkm/triaina,mixi-inc/triaina,vishyrich/triaina,vishyrich/triaina,mixi-inc/triaina,akkm/triaina,akkm/triaina,mixi-inc/triaina,vishyrich/triaina | package triaina.webview;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.inject.Inject;
import triaina.commons.utils.SystemUtils;
import triaina.injector.TriainaEnvironment;
impor... | android/WebViewBridge/src/triaina/webview/AbstractWebViewBridgeFragment.java | package triaina.webview;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.inject.Inject;
import triaina.commons.utils.SystemUtils;
import triaina.injector.TriainaEnvironment;
impor... | Fix not clearing webview afeter destroy
| android/WebViewBridge/src/triaina/webview/AbstractWebViewBridgeFragment.java | Fix not clearing webview afeter destroy | <ide><path>ndroid/WebViewBridge/src/triaina/webview/AbstractWebViewBridgeFragment.java
<ide> @Override
<ide> public void onDestroyView() {
<ide> mWebViewStateOnDestroyView = new Bundle();
<add> storeWebView(mWebViewStateOnDestroyView);
<ide> try {
<del> storeWebView(mWebViewSta... | |
Java | mit | 6e12c9d9ba10dac36898c214d35f795cf7927081 | 0 | FTC10794/robolib,FTC10794/robocode | package org.firstinspires.ftc.robotcontroller.libs;
import com.qualcomm.robotcore.util.Range;
/**
* Created by Team 10794 on 10/22/16.
* This is a library class that controls the motors
*/
public class MotorFunctions {
//These are the control variables for the function. They are set in the constructor.
pr... | FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/libs/MotorFunctions.java | package org.firstinspires.ftc.robotcontroller.libs;
import com.qualcomm.robotcore.util.Range;
/**
* Created by Team 10794 on 10/22/16.
* This is a library class that controls the motors
*/
public class MotorFunctions {
//These are the control variables for the function. They are set in the constructor.
pr... | Changed param names to account for static vars
| FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/libs/MotorFunctions.java | Changed param names to account for static vars | <ide><path>tcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/libs/MotorFunctions.java
<ide> /**
<ide> * Constructor initializing the library class with the desired max and min ranges and servo
<ide> * delta
<del> * @param motorMin the minimum value of the DC motor
<del> * @para... | |
Java | apache-2.0 | e543c08f134159e2b57425beeebd42464be0ced8 | 0 | tiffchou/odo,tiffchou/odo,groupon/odo,groupon/odo | /*
SOURCE: https://raw.github.com/lightbody/browsermob-proxy/7f0a6ec2663bace3f64c878e7f006090c38fbfdc/src/main/java/net/lightbody/bmp/proxy/BrowserMobProxyHandler.java
ORIGINAL LICENSE:
Apache License
Version 2.0, January 2004
http://w... | browsermob-proxy/src/main/java/com/groupon/odo/bmp/BrowserMobProxyHandler.java | /*
SOURCE: https://raw.github.com/lightbody/browsermob-proxy/7f0a6ec2663bace3f64c878e7f006090c38fbfdc/src/main/java/net/lightbody/bmp/proxy/BrowserMobProxyHandler.java
ORIGINAL LICENSE:
Apache License
Version 2.0, January 2004
http://w... | Switching to use string for ip
| browsermob-proxy/src/main/java/com/groupon/odo/bmp/BrowserMobProxyHandler.java | Switching to use string for ip | <ide><path>rowsermob-proxy/src/main/java/com/groupon/odo/bmp/BrowserMobProxyHandler.java
<ide>
<ide> private static final int HEADER_BUFFER_DEFAULT = 2;
<ide> private static final long serialVersionUID = 1L;
<add> private final String localIP = "127.0.0.1";
<ide>
<ide> private Server jettyServer;
<ide>... | |
Java | apache-2.0 | 942e280418d0991776b403b0a9af9295abe9517b | 0 | xtern/ignite,voipp/ignite,a1vanov/ignite,NSAmelchev/ignite,ptupitsyn/ignite,kidaa/incubator-ignite,xtern/ignite,VladimirErshov/ignite,apacheignite/ignite,ptupitsyn/ignite,nizhikov/ignite,agoncharuk/ignite,shroman/ignite,f7753/ignite,amirakhmedov/ignite,andrey-kuznetsov/ignite,andrey-kuznetsov/ignite,akuznetsov-gridgain... | /* @java.file.header */
/* _________ _____ __________________ _____
* __ ____/___________(_)______ /__ ____/______ ____(_)_______
* _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \
* / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / /
* \____/ /_/ /_/ \_,__/... | modules/core/java/org/gridgain/grid/cache/query/GridCacheContinuousQuery.java | /* @java.file.header */
/* _________ _____ __________________ _____
* __ ____/___________(_)______ /__ ____/______ ____(_)_______
* _ / __ __ ___/__ / _ __ / _ / __ _ __ `/__ / __ __ \
* / /_/ / _ / _ / / /_/ / / /_/ / / /_/ / _ / _ / / /
* \____/ /_/ /_/ \_,__/... | # GG-7171 - JavaDoc
| modules/core/java/org/gridgain/grid/cache/query/GridCacheContinuousQuery.java | # GG-7171 - JavaDoc | <ide><path>odules/core/java/org/gridgain/grid/cache/query/GridCacheContinuousQuery.java
<ide> * <p>
<ide> * If the predicate returns {@code false}, query execution will
<ide> * be cancelled.
<add> * <p>
<add> * <b>WARNING:</b> all operations that involve any kind of JVM-local
<add> * or distr... | |
JavaScript | mit | a8e4981bcabd28227fab3e5d7c91b93422c5be8a | 0 | elvinyung/rowt.js | // rowt.js - a simple URL router.
var _routeObject;
var _routeIgnore = ['_'];
var typeConversionFns = {
'int': parseInt,
'float': parseFloat,
'bool': function(str) {
return (str == 'true');
},
'any': function(str) {
return str;
}
}
var routeHandler = function() {
urlHash = location.hash.substr... | rowt.js | // rowt.js - a simple URL router.
var _routeObject;
var _routeIgnore = ['_'];
var typeConversionFns = {
'int': parseInt,
'float': parseFloat,
'bool': function(str) {
return (str == 'true');
},
'any': function(str) {
return str;
}
}
var routeHandler = function() {
urlHash = location.hash.substr... | handle invalid regex literals | rowt.js | handle invalid regex literals | <ide><path>owt.js
<ide> {
<ide> routeRegex += regexStr;
<ide> }
<add> else
<add> {
<add> throw 'invalid regex literal';
<add> }
<ide> }
<ide> else if (!token)
<ide> { | |
JavaScript | isc | 7e81d341443b90d527b00621cf2593c96e0ed8db | 0 | giancarlobonansea/clusterednode-client,giancarlobonansea/clusterednode-client,giancarlobonansea/clusterednode-client | (function(app) {
app.AppSimulator = (function() {
function AppSimulator(HTTPService) {
this.histogram = [[50,
0,
0,
0,
0],
[75,
... | app.simulator.js | (function(app) {
app.AppSimulator = (function() {
function AppSimulator(HTTPService) {
this.histogram = [[50,
0,
0,
0,
0],
[75,
... | Introduced RPi7 and RPi8 - decomissioned Redis on RPi0 and RPI1 - changed ports and deployment for Redis PUBUB
| app.simulator.js | Introduced RPi7 and RPi8 - decomissioned Redis on RPi0 and RPI1 - changed ports and deployment for Redis PUBUB | <ide><path>pp.simulator.js
<ide> this.urlHDR = 'https://giancarlobonansea.homeip.net:33333/hdr';
<ide> this.selectedUrl = this.urlOptions[0][0];
<ide> this.initEVMatrix();
<del> this.socket = io('https://giancarlobonansea.homeip.net:32402');
<add> this.socket = io('https... | |
JavaScript | mit | 3dba7a297fd441c155e214b0327ba96288e8a556 | 0 | JacobFischer/Cerveau,siggame/Cerveau,siggame/Cerveau,JacobFischer/Cerveau | // Unit: A unit group in the game. This may consist of a ship and any number of crew.
const Class = require("classe");
const log = require(`${__basedir}/gameplay/log`);
const GameObject = require("./gameObject");
//<<-- Creer-Merge: requires -->> - Code you add between this comment and the end comment will be preserv... | games/pirates/unit.js | // Unit: A unit group in the game. This may consist of a ship and any number of crew.
const Class = require("classe");
const log = require(`${__basedir}/gameplay/log`);
const GameObject = require("./gameObject");
//<<-- Creer-Merge: requires -->> - Code you add between this comment and the end comment will be preserv... | Maybe fixed split?
| games/pirates/unit.js | Maybe fixed split? | <ide><path>ames/pirates/unit.js
<ide> newUnit.crewHealth += Math.ceil(this.crewHealth * movePercent);
<ide> this.crewHealth = Math.floor(this.crewHealth * stayPercent);
<ide>
<add> if(this.crew === 0) {
<add> this.owner = null;
<add> }
<add>
<ide> // Move gold to new Un... | |
Java | apache-2.0 | 6f6172b9cecfd27d5a13b88ae8aa195aabcab964 | 0 | ivanr/qlue | /*
* Qlue Web Application Framework
* Copyright 2009-2012 Ivan Ristic <ivanr@webkreator.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LIC... | src/main/java/com/webkreator/qlue/Page.java | /*
* Qlue Web Application Framework
* Copyright 2009-2012 Ivan Ristic <ivanr@webkreator.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LIC... | Qlue: Fixed NPE when writing development information to the page and the model object is null.
| src/main/java/com/webkreator/qlue/Page.java | Qlue: Fixed NPE when writing development information to the page and the model object is null. | <ide><path>rc/main/java/com/webkreator/qlue/Page.java
<ide> out.println("<b>Model</b>\n");
<ide>
<ide> Map<String, Object> model = getModel();
<del>
<del> TreeMap<String, Object> treeMap = new TreeMap<>();
<del>
<del> for (Iterator<String> it = model.keySet().iterator(); it.hasNext(); ) {... | |
Java | apache-2.0 | 5f1d4dccd5a34c8ee290cb27178d67b04b6c7d1b | 0 | google/ground-android,google/ground-android,google/ground-android | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | gnd/src/main/java/com/google/android/gnd/persistence/remote/firestore/schema/ObservationConverter.java | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Pass Form into remote observation deserializer
| gnd/src/main/java/com/google/android/gnd/persistence/remote/firestore/schema/ObservationConverter.java | Pass Form into remote observation deserializer | <ide><path>nd/src/main/java/com/google/android/gnd/persistence/remote/firestore/schema/ObservationConverter.java
<ide> .setProject(feature.getProject())
<ide> .setFeature(feature)
<ide> .setForm(form)
<del> .setResponses(toResponseMap(doc.getResponses()))
<add> .setResponses(toResp... | |
JavaScript | mit | 9f78caae775aa49cd830f8b0719b03b2388807c6 | 0 | einsteinK/VaeBot,Vaeb/VaeBot | console.log('\n-STARTING-\n');
// //////////////////////////////////////////////////////////////////////////////////////////////
const Auth = require('./Auth.js');
exports.FileSys = require('fs');
exports.DateFormat = require('dateformat');
exports.Request = require('request');
exports.Urban = require('urban');
cons... | index.js | console.log('\n-STARTING-\n');
// //////////////////////////////////////////////////////////////////////////////////////////////
const Auth = require('./Auth.js');
exports.FileSys = require('fs');
exports.DateFormat = require('dateformat');
exports.Request = require('request');
exports.Urban = require('urban');
cons... | minor
| index.js | minor | <ide><path>ndex.js
<ide> }
<ide> }
<ide>
<del> // if (memberId == "208661173153824769") member.setNickname("<- weird person");
<del> // if (memberId == "264481367545479180") member.setNickname("devourer of penis");
<add> if (memberId === '280579952263430145') member.setNickname('<- mentally challe... | |
Java | agpl-3.0 | 5d3c45d2c0063782e63b59ff8e28832e9f2b3663 | 0 | roidelapluie/Gadgetbridge,roidelapluie/Gadgetbridge,ivanovlev/Gadgetbridge,rosenpin/Gadgetbridge,ivanovlev/Gadgetbridge,Freeyourgadget/Gadgetbridge,rosenpin/Gadgetbridge,Freeyourgadget/Gadgetbridge,rosenpin/Gadgetbridge,ivanovlev/Gadgetbridge,roidelapluie/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbr... | package nodomain.freeyourgadget.gadgetbridge.service.devices.miband2.operations;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.content.SharedPreferences;
import android.support.annotation.NonNull;
import android.widget.Toast;
import org.slf4j.Logger;
impo... | app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband2/operations/FetchActivityOperation.java | package nodomain.freeyourgadget.gadgetbridge.service.devices.miband2.operations;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCharacteristic;
import android.widget.Toast;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.text.DateFormat;... | Mi2: Remember and use last synced timestamp in preferences
(instead of using the last sample's timestamp in the database.
The database also contains manual hr measurements and live activity
samples, so we would miss activity data before the last manual
measurement.
Closes #478
| app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband2/operations/FetchActivityOperation.java | Mi2: Remember and use last synced timestamp in preferences | <ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband2/operations/FetchActivityOperation.java
<ide>
<ide> import android.bluetooth.BluetoothGatt;
<ide> import android.bluetooth.BluetoothGattCharacteristic;
<add>import android.content.SharedPreferences;
<add>import android.support.anno... | |
JavaScript | mit | 0f4711f52ff0cb13556f9bc53bb2396a41fa7ae0 | 0 | phodal/growth-ng,phodal/growth-ng,phodal/growth-ng,phodal/growth-ng,phodal/growth-ng,phodal/growth-ng | import React, { PropTypes } from 'react';
import { View } from 'react-native';
import htmlParse from '../../lib/htmlParse';
import H from './H';
import Bloackquote from './Blockquote';
import P from './P';
import Ul from './Ul';
import Ol from './Ol';
import Li from './Li';
import Img from './Img';
import A from './A';... | src/components/htmlview/HtmlView.js | import React, { PropTypes } from 'react';
import { Text, View } from 'react-native';
import htmlParse from '../../lib/htmlParse';
import H from './H';
import Bloackquote from './Blockquote';
import P from './P';
import Ul from './Ul';
import Ol from './Ol';
import Li from './Li';
import Img from './Img';
import A from ... | [T] htmlview: update html view
| src/components/htmlview/HtmlView.js | [T] htmlview: update html view | <ide><path>rc/components/htmlview/HtmlView.js
<ide> import React, { PropTypes } from 'react';
<del>import { Text, View } from 'react-native';
<add>import { View } from 'react-native';
<ide> import htmlParse from '../../lib/htmlParse';
<ide> import H from './H';
<ide> import Bloackquote from './Blockquote';
<ide> ... | |
Java | apache-2.0 | 595a82ec298ed3dfe2a8ae9b8cacc51077e62bf3 | 0 | apache/lenya,apache/lenya,apache/lenya,apache/lenya | /*
* Copyright 1999-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | src/java/org/apache/lenya/cms/ant/SCMFilenameFilter.java | /*
* Copyright 1999-2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | javadocs added
git-svn-id: f6f45834fccde298d83fbef5743c9fd7982a26a3@43064 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/lenya/cms/ant/SCMFilenameFilter.java | javadocs added | <ide><path>rc/java/org/apache/lenya/cms/ant/SCMFilenameFilter.java
<ide> *
<ide> */
<ide>
<del>/* $Id: SCMFilenameFilter.java,v 1.2 2004/06/01 15:37:05 andreas Exp $ */
<add>/* $Id: SCMFilenameFilter.java,v 1.3 2004/06/01 15:39:33 michi Exp $ */
<ide>
<ide> package org.apache.lenya.cms.ant;
<ide>
<ide> import ja... | |
Java | mit | 1d8ccc813d94340c4d09df36bd9e630eec923c52 | 0 | DDoS/Sponge,SRPlatin/Sponge,SpongePowered/SpongeForge,coaster3000/Sponge,caseif/Sponge,SpongeHistory/Sponge-History,coaster3000/Sponge,DDoS/SpongeForge,joseph00713/Sponge,Istar-Eldritch/Sponge,SpongePowered/SpongeForge,kenzierocks/SpongeForge,SpongeHistory/Sponge-History,kenzierocks/SpongeForge,lorenzoYolo123/lorenzoYo... | /**
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Sof... | src/main/java/org/spongepowered/mod/asm/transformers/EventTransformer.java | /**
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered.org <http://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Sof... | Implement forwarding methods for PreInit event
getSuggestedConfigurationDirectory() is still unimplemented
| src/main/java/org/spongepowered/mod/asm/transformers/EventTransformer.java | Implement forwarding methods for PreInit event | <ide><path>rc/main/java/org/spongepowered/mod/asm/transformers/EventTransformer.java
<ide> import static org.objectweb.asm.ClassWriter.COMPUTE_FRAMES;
<ide> import static org.objectweb.asm.ClassWriter.COMPUTE_MAXS;
<ide>
<add>import java.io.File;
<ide> import java.util.HashMap;
<ide> import java.util.Map;
<ide>
<ide>... | |
Java | apache-2.0 | 6a2f0ddc98863ba0269d5c2a2cca788341314e3d | 0 | cherryhill/collectionspace-application | /* Copyright 2010 University of Cambridge
* Licensed under the Educational Community License (ECL), Version 2.0. You may not use this file except in
* compliance with this License.
*
* You may obtain a copy of the ECL 2.0 License at https://source.collectionspace.org/collection-space/LICENSE.txt
*/
package org.co... | cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/userdetails/UserDetailsSearchList.java | /* Copyright 2010 University of Cambridge
* Licensed under the Educational Community License (ECL), Version 2.0. You may not use this file except in
* compliance with this License.
*
* You may obtain a copy of the ECL 2.0 License at https://source.collectionspace.org/collection-space/LICENSE.txt
*/
package org.co... | CSPACE-4785 - add pagination for users
| cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/userdetails/UserDetailsSearchList.java | CSPACE-4785 - add pagination for users | <ide><path>spi-webui/src/main/java/org/collectionspace/chain/csp/webui/userdetails/UserDetailsSearchList.java
<ide> return generateMiniRecord(storage,base,member);
<ide> }
<ide>
<del> private JSONObject pathsToJSON(Storage storage,String base,String[] paths,String key) throws JSONException, ExistException, Unimple... | |
Java | apache-2.0 | 42e71de4c5a198f3e863dac31efb0e04f27c90ec | 0 | wso2/product-apim,tharikaGitHub/product-apim,thilinicooray/product-apim,pradeepmurugesan/product-apim,nu1silva/product-apim,dhanuka84/product-apim,chamilaadhi/product-apim,jaadds/product-apim,sambaheerathan/product-apim,hevayo/product-apim,dhanuka84/product-apim,wso2/product-apim,ChamNDeSilva/product-apim,dhanuka84/pro... | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 require... | modules/distribution/resources/migration/wso2-api-migration-client/src/main/java/org/wso2/carbon/apimgt/migration/client/MigrationClientBase.java | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 require... | Adding DB2 support to migration client
| modules/distribution/resources/migration/wso2-api-migration-client/src/main/java/org/wso2/carbon/apimgt/migration/client/MigrationClientBase.java | Adding DB2 support to migration client | <ide><path>odules/distribution/resources/migration/wso2-api-migration-client/src/main/java/org/wso2/carbon/apimgt/migration/client/MigrationClientBase.java
<ide> }
<ide>
<ide> if (org.wso2.carbon.apimgt.migration.util.Constants.DB_TYPE_ORACLE.equals(dbType)) {
<add> s... | |
Java | apache-2.0 | b0f46ed89ca0c2917a267ffe7cb3338ebc5bec6c | 0 | drakeet/MultiType | package me.drakeet.multitype.sample;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import me.drakeet.multitype.sample.bilibili.BilibiliActivity;
import me.drakeet.multitype.sample.communicate_with_binder.SimpleActivity;
import me... | sample/src/main/java/me/drakeet/multitype/sample/MenuBaseActivity.java | package me.drakeet.multitype.sample;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import me.drakeet.multitype.sample.bilibili.BilibiliActivity;
import me.drakeet.multitype.sample.communicate_with_binder.SimpleActivity;
import me... | [sample] Removed a duplicate code
| sample/src/main/java/me/drakeet/multitype/sample/MenuBaseActivity.java | [sample] Removed a duplicate code | <ide><path>ample/src/main/java/me/drakeet/multitype/sample/MenuBaseActivity.java
<ide> public boolean onCreateOptionsMenu(Menu menu) {
<ide> super.onCreateOptionsMenu(menu);
<ide> getMenuInflater().inflate(R.menu.menu_main, menu);
<del> return super.onCreateOptionsMenu(menu);
<add> ret... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.