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 | apache-2.0 | 34a3195657243fe571d97cd115a5d5f7deb0325e | 0 | ryantxu/jeo,jeo/jeo,jeo/jeo,jeo/jeo | /* Copyright 2013 The jeo project. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | core/src/main/java/org/jeo/map/RGB.java | /* Copyright 2013 The jeo project. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | Added interpolate method to RGB for interpolating single color value.
| core/src/main/java/org/jeo/map/RGB.java | Added interpolate method to RGB for interpolating single color value. | <ide><path>ore/src/main/java/org/jeo/map/RGB.java
<ide> return new RGB((int)Math.round(255*r), (int)Math.round(255*g), (int)Math.round(255*b));
<ide> }
<ide>
<add> /**
<add> * Creates a new color from hue, saturation, lightness (HSL) values.
<add> *
<add> * @param hsl 3 element array of hue,... | |
Java | mit | 0678fa33b7291e8cf712615e677878dd6dbfdf9c | 0 | rafaelazd/food-lovers,rafaelazd/food-lovers,rafaelazd/food-lovers,rafaelazd/food-lovers | package foodlovers;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationP... | web-server/src/main/java/foodlovers/FoodLoversApplication.java | package foodlovers;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationP... | Adicionando as preferências no repositório
Adicionando todas as preferências no repositório
| web-server/src/main/java/foodlovers/FoodLoversApplication.java | Adicionando as preferências no repositório | <ide><path>eb-server/src/main/java/foodlovers/FoodLoversApplication.java
<ide> usuariosRepository.save(new Usuario("Kali", "Meinar", "kalimeinar@gmail.com", 19, "Homens e Mulheres", "Feminino", "kardashianlostsis", "kalimeinar", "Cinema, arte e fotografia <3","Campinas, São Paulo", "kali.meinar", "(19)99726-9062", "... | |
Java | mit | ab5566378b613cbef2bdb7d149c112903a7b7910 | 0 | spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror | // Copyright (c) 2003, 2009 Per M.A. Bothner.
// This is free software; for terms and warranty disclaimer see ./COPYING.
package gnu.expr;
import gnu.bytecode.*;
import gnu.mapping.*;
import gnu.text.SourceLocator;
/**
* The static information associated with a local variable binding.
* @author Per Bothner
*
* ... | gnu/expr/Declaration.java | // Copyright (c) 2003, 2009 Per M.A. Bothner.
// This is free software; for terms and warranty disclaimer see ./COPYING.
package gnu.expr;
import gnu.bytecode.*;
import gnu.mapping.*;
import gnu.text.SourceLocator;
/**
* The static information associated with a local variable binding.
* @author Per Bothner
*
* ... | Fix javadoc typo.
git-svn-id: 169764d5f12c41a1cff66b81d896619f3ce5473d@6473 5e0a886f-7f45-49c5-bc19-40643649e37f
| gnu/expr/Declaration.java | Fix javadoc typo. | <ide><path>nu/expr/Declaration.java
<ide> public static final int IS_DYNAMIC = 0x10000000;
<ide>
<ide> /** Initialize in {@code <init>}/{@code <clinit>}
<del> * rather than in {@code run}/{@code $run$}>. */
<add> * rather than in {@code run}/{@code $run$}. */
<ide> public static final int EARLY_INIT = 0x2000... | |
Java | apache-2.0 | error: pathspec 'metastore/src/test/org/apache/hadoop/hive/metastore/TestRawStoreProxy.java' did not match any file(s) known to git
| 066704f7e3cb1f3a949e4f158ffde64d8dbc003e | 1 | nishantmonu51/hive,anishek/hive,vineetgarg02/hive,vergilchiu/hive,b-slim/hive,alanfgates/hive,jcamachor/hive,lirui-apache/hive,lirui-apache/hive,sankarh/hive,anishek/hive,jcamachor/hive,vergilchiu/hive,nishantmonu51/hive,alanfgates/hive,lirui-apache/hive,sankarh/hive,sankarh/hive,alanfgates/hive,nishantmonu51/hive,vine... | /**
* 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... | metastore/src/test/org/apache/hadoop/hive/metastore/TestRawStoreProxy.java | HIVE-13937 : Unit test for HIVE13051 (Zoltan Haindrich via Ashutosh Chauhan)
Signed-off-by: Ashutosh Chauhan <c5d41606feead64bfdd91acad8ffb47026db2f38@apache.org>
| metastore/src/test/org/apache/hadoop/hive/metastore/TestRawStoreProxy.java | HIVE-13937 : Unit test for HIVE13051 (Zoltan Haindrich via Ashutosh Chauhan) | <ide><path>etastore/src/test/org/apache/hadoop/hive/metastore/TestRawStoreProxy.java
<add>/**
<add> * Licensed to the Apache Software Foundation (ASF) under one
<add> * or more contributor license agreements. See the NOTICE file
<add> * distributed with this work for additional information
<add> * regarding copyright ... | |
Java | lgpl-2.1 | 9ce25f2a8ac742ada2c0e5853281c1bc6119a83f | 0 | CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine | /*
* Copyright (C) 2002-2004 David Pavlis <david_pavlis@hotmail.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 2.1 of the License,... | cloveretl.engine/src/org/jetel/interpreter/TransformLangExecutor.java | /*
* Copyright (C) 2002-2004 David Pavlis <david_pavlis@hotmail.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 2.1 of the License,... | UPDATE: several changes, mostly implemented new UnaryExpression exec section
git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@2980 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
| cloveretl.engine/src/org/jetel/interpreter/TransformLangExecutor.java | UPDATE: several changes, mostly implemented new UnaryExpression exec section | <ide><path>loveretl.engine/src/org/jetel/interpreter/TransformLangExecutor.java
<ide> import org.jetel.interpreter.ASTnode.CLVFForeachStatement;
<ide> import org.jetel.interpreter.ASTnode.CLVFFunctionCallStatement;
<ide> import org.jetel.interpreter.ASTnode.CLVFFunctionDeclaration;
<del>import org.jetel.interpreter.AST... | |
JavaScript | mit | 6a1b7626e32e61e146c56dcef2087e3f877b4c38 | 0 | phillipalexander/lodash,therebelbeta/lodash,lzheng571/lodash,benweet/lodash,leolin1229/lodash,nsamarcos/lodash,hitesh97/lodash,krrg/lodash,transGLUKator/lodash,Droogans/lodash,Lottid/lodash,zhangguangyong/lodash,therebelbeta/lodash,gutenye/lodash,BernhardRode/lodash,polarbird/lodash,tquetano-r7/lodash,hitesh97/lodash,j... | ;(function() {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/** Used to detect when a function becomes hot. */
var HOT_COUNT = 150;
/** Used as the size to cover large array optimizations. */
var LARGE_ARRAY_SIZE = 200;
/** Used as the `TypeError` message for... | test/test.js | ;(function() {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/** Used to detect when a function becomes hot. */
var HOT_COUNT = 150;
/** Used as the size to cover large array optimizations. */
var LARGE_ARRAY_SIZE = 200;
/** Used as the `TypeError` message for... | Add `NaN` tests for `_.indexOf` and `_.lastIndexOf` with a `fromIndex`.
| test/test.js | Add `NaN` tests for `_.indexOf` and `_.lastIndexOf` with a `fromIndex`. | <ide><path>est/test.js
<ide> QUnit.module('indexOf methods');
<ide>
<ide> _.each(['indexOf', 'lastIndexOf'], function(methodName) {
<del> var func = _[methodName];
<add> var func = _[methodName],
<add> isIndexOf = methodName == 'indexOf';
<ide>
<ide> test('`_.' + methodName + '` should accept a f... | |
Java | apache-2.0 | 1c6e3ae247c5ea819b5c7b7d6bb78690d24e62f7 | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | litho-core/src/main/java/com/facebook/litho/TransitionManager.java | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | Remove log transition id not found in AnimationState.
Reviewed By: andrewpmsmith
Differential Revision: D25185809
fbshipit-source-id: bba52f28bbd1be014719b61bff21539998819818
| litho-core/src/main/java/com/facebook/litho/TransitionManager.java | Remove log transition id not found in AnimationState. | <ide><path>itho-core/src/main/java/com/facebook/litho/TransitionManager.java
<ide> final TransitionId transitionId = propertyAnimation.getTransitionId();
<ide> final AnimationState animationState = mAnimationStates.get(transitionId);
<ide> if (animationState == null) {
<del> ComponentsR... | |
Java | apache-2.0 | 39e8c16fa81624f36042e30242561efccc66589f | 0 | HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase | /**
* 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... | hbase-server/src/main/java/org/apache/hadoop/hbase/ZNodeClearer.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... | HBASE-19120 IllegalArgumentException from ZNodeClearer when master shuts down
| hbase-server/src/main/java/org/apache/hadoop/hbase/ZNodeClearer.java | HBASE-19120 IllegalArgumentException from ZNodeClearer when master shuts down | <ide><path>base-server/src/main/java/org/apache/hadoop/hbase/ZNodeClearer.java
<ide> znodeFileContent = ZNodeClearer.readMyEphemeralNodeOnDisk();
<ide> if(ZNodeClearer.tablesOnMaster(conf)) {
<ide> //In case of master crash also remove rsZnode since master is also regionserver
<del> ZKUtil.del... | |
JavaScript | agpl-3.0 | 7db82e74f7af9faac8281bc96d7f9a454c8b00f6 | 0 | inukshuk/arkivo-mailer | 'use strict';
// --- Dependencies ---
var debug = require('debug')('arkivo:mailer');
var assert = require('assert');
var slice = Array.prototype.slice;
var properties = Object.defineProperties;
var config = require('arkivo/lib/config');
var common = require('arkivo/lib/common');
var extend = common.ext... | lib/mailer.js | 'use strict';
// --- Dependencies ---
var debug = require('debug')('arkivo:mailer');
var assert = require('assert');
var slice = Array.prototype.slice;
var properties = Object.defineProperties;
var config = require('arkivo/lib/config');
var common = require('arkivo/lib/common');
var extend = common.ext... | check accepted for recipient
| lib/mailer.js | check accepted for recipient | <ide><path>ib/mailer.js
<ide> attachments: item.attachments
<ide>
<ide> }, function (error, info) {
<del> if (error) return reject(error);
<del>
<del> // Todo: check mail was delivered to recipient
<add> if (error)
<add> return reject(error);
<add>
<add> if (info.accepted.indexOf(t... | |
Java | apache-2.0 | 2d07cde45b2153566a9e32d4a6f42c31c074c6ef | 0 | mglukhikh/intellij-community,idea4bsd/idea4bsd,kool79/intellij-community,adedayo/intellij-community,fitermay/intellij-community,hurricup/intellij-community,hurricup/intellij-community,lucafavatella/intellij-community,robovm/robovm-studio,ol-loginov/intellij-community,hurricup/intellij-community,diorcety/intellij-commun... | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | java/idea-ui/src/com/intellij/ide/util/newProjectWizard/ProjectTypesList.java | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | cleanup
(cherry picked from commit 56df94a54445f637263dcf749c0c582b4e8210f3)
| java/idea-ui/src/com/intellij/ide/util/newProjectWizard/ProjectTypesList.java | cleanup (cherry picked from commit 56df94a54445f637263dcf749c0c582b4e8210f3) | <ide><path>ava/idea-ui/src/com/intellij/ide/util/newProjectWizard/ProjectTypesList.java
<ide>
<ide> private final JBList myList;
<ide> private final SearchTextField mySearchField;
<del> private final FilteringListModel<Item> myFilteringListModel;
<add> private final FilteringListModel<TemplateItem> myFilteringLi... | |
Java | apache-2.0 | 51f1d5e606b496aa716449bbcefa763aeb4f1ba5 | 0 | hemikak/andes,pumudu88/andes,wso2/andes,ramith/andes,hastef88/andes,Asitha/andes,prabathariyaratna/andes,sdkottegoda/andes,wso2/andes,ThilankaBowala/andes,pumudu88/andes,Asitha/andes,sdkottegoda/andes,prabathariyaratna/andes,a5anka/andes,ramith/andes,ThilankaBowala/andes,hastef88/andes,hastef88/andes,indikasampath2000/... | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | modules/andes-core/broker/src/main/java/org/wso2/andes/kernel/slot/SlotDeleteSafeZoneCalc.java | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | fix safe zone calculation logic. It should never stop.
| modules/andes-core/broker/src/main/java/org/wso2/andes/kernel/slot/SlotDeleteSafeZoneCalc.java | fix safe zone calculation logic. It should never stop. | <ide><path>odules/andes-core/broker/src/main/java/org/wso2/andes/kernel/slot/SlotDeleteSafeZoneCalc.java
<ide> try {
<ide> nodesWithPublishedMessages = SlotManagerClusterMode.getInstance().getMessagePublishedNodes();
<ide> } catch (AndesException e) {
<del> ... | |
Java | mit | 735f9ed2bb0c3798ed20e31ecdbc12bf6b20e06b | 0 | nErumin/Algomoa | package kr.ac.cau.lumin.algomoa.SQLite;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by Lumin on 2015-11-23.
*/
public class AlgomoaSQLHelper extends SQLiteOpenHelper {
private static final int DATABASE_VER = 1;
... | app/src/main/java/kr/ac/cau/lumin/algomoa/SQLite/AlgomoaSQLHelper.java | package kr.ac.cau.lumin.algomoa.SQLite;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by Lumin on 2015-11-23.
*/
public class AlgomoaSQLHelper extends SQLiteOpenHelper {
public AlgomoaSQLHelper() {
}
@Override
public void onCreate(SQ... | Basic SQLHelper.
| app/src/main/java/kr/ac/cau/lumin/algomoa/SQLite/AlgomoaSQLHelper.java | Basic SQLHelper. | <ide><path>pp/src/main/java/kr/ac/cau/lumin/algomoa/SQLite/AlgomoaSQLHelper.java
<ide> package kr.ac.cau.lumin.algomoa.SQLite;
<ide>
<add>import android.content.Context;
<ide> import android.database.sqlite.SQLiteDatabase;
<ide> import android.database.sqlite.SQLiteOpenHelper;
<ide>
<ide> * Created by Lumin on 2015-... | |
Java | mit | 4021ad87a66cdbcff86301c22f0e5bf1214ad0ce | 0 | Georgiana-Baclava/Hash-Tables | package list;
import map.MyKey;
public class EntryList extends AbstractList{
protected EntryNode first;
protected EntryNode last;
public EntryNode node = new EntryNode();
public EntryList() {
first = null;
last = first;
}
public int size() {
int count = 0;
EntryNode current = first;
... | list/EntryList.java | package list;
import map.MyKey;
public class EntryList extends AbstractList{
//public MyKey key;//constr gol
protected EntryNode first;
protected EntryNode last;
public EntryNode node = new EntryNode();//tre constr gol
public EntryList() {
first = null;
last = first;
}
public int size() {
i... | Update EntryList.java | list/EntryList.java | Update EntryList.java | <ide><path>ist/EntryList.java
<ide> import map.MyKey;
<ide>
<ide> public class EntryList extends AbstractList{
<del> //public MyKey key;//constr gol
<add>
<ide> protected EntryNode first;
<ide> protected EntryNode last;
<del> public EntryNode node = new EntryNode();//tre constr gol
<add> public EntryNode node ... | |
Java | agpl-3.0 | 17bc27c93f92b87ac472e283fa9cf7f4d01e70f2 | 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 | 1bf4c5b2-2e62-11e5-9284-b827eb9e62be | hello.java | 1bef6342-2e62-11e5-9284-b827eb9e62be | 1bf4c5b2-2e62-11e5-9284-b827eb9e62be | hello.java | 1bf4c5b2-2e62-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>1bef6342-2e62-11e5-9284-b827eb9e62be
<add>1bf4c5b2-2e62-11e5-9284-b827eb9e62be | |
JavaScript | mit | 5e36be57684f37cfbefc016b4e1bab5bd3ec1631 | 0 | CensoredUser/winjs,rigdern/winjs,PaulWells/winjs,PaulWells/winjs,edrohler/winjs,IveWong/winjs,ladyinblack/winjs,jmptrader/winjs,ladyinblack/winjs,kevinwsbr/winjs,grork/winjs,GREYFOXRGR/winjs,nobuoka/winjs,CensoredUser/winjs,Guadzilah/winjs,ladyinblack/winjs,nobuoka/winjs,PaulWells/winjs,edrohler/winjs,KevinTCoughlin/wi... | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
define([
'exports',
'../Core/_Global',
'../Core/_WinRT',
'../Core/_Base',
'../Core/_BaseUtils',
'../Core/_ErrorFr... | src/js/WinJS/Binding/_Declarative.js | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
define([
'exports',
'../Core/_Global',
'../Core/_WinRT',
'../Core/_Base',
'../Core/_BaseUtils',
'../Core/_ErrorFr... | Binding declarative processing is not correctly respecting isDeclarativeControlContainer when on the root node passed to the processor (and skipRoot is false).
| src/js/WinJS/Binding/_Declarative.js | Binding declarative processing is not correctly respecting isDeclarativeControlContainer when on the root node passed to the processor (and skipRoot is false). | <ide><path>rc/js/WinJS/Binding/_Declarative.js
<ide> var selector = "[data-win-bind],[data-win-control]";
<ide> var elements = baseElement.querySelectorAll(selector);
<ide> var neg;
<del> if (!skipRoot && baseElement.getAttribute("data-win-bind")) {
<add> if (!skipRoot && (baseElem... | |
Java | apache-2.0 | d69b4b305c0c1c4c71c64631475221ccc6cb2690 | 0 | shibing624/similarity | package org.xm.similarity.sentence.morphology;
import org.xm.similarity.sentence.ISentenceSimilarity;
import org.xm.similarity.word.IWordSimilarity;
import org.xm.similarity.word.hownet.concept.ConceptSimilarity;
import org.xm.tokenizer.Tokenizer;
import org.xm.tokenizer.Word;
import java.util.ArrayList;
import java.... | src/main/java/org/xm/similarity/sentence/morphology/SemanticSimilarity.java | package org.xm.similarity.sentence.morphology;
import org.xm.similarity.sentence.ISentenceSimilarity;
import org.xm.similarity.word.IWordSimilarity;
import org.xm.similarity.word.hownet.concept.ConceptSimilarity;
import org.xm.tokenizer.Tokenizer;
import org.xm.tokenizer.Word;
import java.util.ArrayList;
import java.... | Fix bug in SemanticSimilarity | src/main/java/org/xm/similarity/sentence/morphology/SemanticSimilarity.java | Fix bug in SemanticSimilarity | <ide><path>rc/main/java/org/xm/similarity/sentence/morphology/SemanticSimilarity.java
<ide> int max_col = -1;
<ide>
<ide> //先挑出相似度最大的一对:<row, column, max_score>
<del> for (int i = 0; i < scores.length; i++) {
<add> for (int i = 0; i < list1.length; i++) {
<ide> ... | |
Java | apache-2.0 | 53c95f55602879e9dfcb40117a9a1e92b0ba104d | 0 | nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights | /*
* Copyright 2011 Jonathan Anderson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Client/Bootstrap/src/main/java/me/footlights/boot/FootlightsClassLoader.java | /*
* Copyright 2011 Jonathan Anderson
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | No need for FootlightsClassLoader.findResource().
Since FootlightsClassLoader never loads code directly, it never needs to be able to load resources on behalf of code. | Client/Bootstrap/src/main/java/me/footlights/boot/FootlightsClassLoader.java | No need for FootlightsClassLoader.findResource(). | <ide><path>lient/Bootstrap/src/main/java/me/footlights/boot/FootlightsClassLoader.java
<ide> */
<ide> package me.footlights.boot;
<ide>
<del>import java.io.File;
<ide> import java.net.MalformedURLException;
<ide> import java.net.URL;
<ide> import java.security.AllPermission;
<ide> }
<ide>
<ide>
<del> @Override pub... | |
Java | bsd-3-clause | 63147c1202c470bb4669f09b31174ca366818da4 | 0 | Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo | package org.caleydo.datadomain.genetic;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.caleydo.core.data.collection.table.DataTable;
import org.caleydo.core.data.datadomain.ATableBasedDataDomain;
import org.caleydo.core.data.datadomain.DataDomainConfiguration;
im... | org.caleydo.datadomain.genetic/src/org/caleydo/datadomain/genetic/GeneticDataDomain.java | package org.caleydo.datadomain.genetic;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.caleydo.core.data.collection.table.DataTable;
import org.caleydo.core.data.datadomain.ATableBasedDataDomain;
import org.caleydo.core.data.datadomain.DataDomainConfiguration;
im... | Fixed inconsistencies between xml and default genetic configurations
git-svn-id: 149221363d454b9399d51e0b24a857a738336ca8@4346 1f7349ae-fd9f-0d40-aeb8-9798e6c0fce3
| org.caleydo.datadomain.genetic/src/org/caleydo/datadomain/genetic/GeneticDataDomain.java | Fixed inconsistencies between xml and default genetic configurations | <ide><path>rg.caleydo.datadomain.genetic/src/org/caleydo/datadomain/genetic/GeneticDataDomain.java
<ide> configuration.setColumnDimension(true);
<ide>
<ide> configuration.setRecordIDCategory("GENE");
<del> configuration.setDimensionIDCategory("EXPERIMENT");
<add> configuration.setDimensionIDCategory("SAMPLE");
<... | |
JavaScript | apache-2.0 | e251a9451973370953cb557bd52116ab0887e2c1 | 0 | christabor/etude,christabor/etude,christabor/etude | var ca_presets = {
// a much more obvious and intuitive (and simple)
// way to map rulesets -- data as code!
container: $('#canvii'),
players: [],
rulesets:[
{
'000': [1, 1, 1],
'001': [1, 0, 0],
'010': [1, 0, 0],
'011': [0, 1, 0],
'111': [0, 1, 0],
... | 02-16-2014/box.js | var ca_presets = {
// a much more obvious and intuitive (and simple)
// way to map rulesets -- data as code!
container: $('#canvii'),
players: [],
rulesets:[
{
'000': [1, 1, 1],
'001': [1, 0, 0],
'010': [1, 0, 0],
'011': [0, 1, 0],
'111': [0, 1, 0],
... | Reset text as well
| 02-16-2014/box.js | Reset text as well | <ide><path>2-16-2014/box.js
<ide> self.stopPlaying();
<ide> self.clearCanvas();
<ide> self.states = [];
<add> self.generation = 0;
<add> self.gen.text('Generation: ' + self.generation);
<ide> self.seedAll();
<ide> self.startPlaying();
<ide> } | |
Java | apache-2.0 | 9fbf8988cf275fb1f58b2ba1ede1b5f7528b1533 | 0 | tamalsen/vibur-dbcp,vibur/vibur-dbcp | /**
* Copyright 2013 Simeon Malchev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | src/main/java/org/vibur/dbcp/ConnectionObjectFactory.java | /**
* Copyright 2013 Simeon Malchev
*
* 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 ... | minor
git-svn-id: 2329b449e16586dcaa28eddb0911986394fb69f2@58 27e81457-bc9d-6bdf-c01a-22e69fa685e4
| src/main/java/org/vibur/dbcp/ConnectionObjectFactory.java | minor | <ide><path>rc/main/java/org/vibur/dbcp/ConnectionObjectFactory.java
<ide> if (!executeTestStatement(connState.connection()))
<ide> return false;
<ide> }
<add>
<ide> setDefaultValues(connState.connection());
<ide> return true;
<ide> } | |
JavaScript | apache-2.0 | 46441b02847a671dc9510a0cf21f33e8cea026f3 | 0 | anuruddhal/stratos,gayangunarathne/stratos,dinithis/stratos,lasinducharith/stratos,asankasanjaya/stratos,pkdevbox/stratos,apache/stratos,ravihansa3000/stratos,Thanu/stratos,Thanu/stratos,apache/stratos,ravihansa3000/stratos,hsbhathiya/stratos,hsbhathiya/stratos,pubudu538/stratos,gayangunarathne/stratos,gayangunarathne/... | // repaint
function Repaint(){
$("#whiteboard").resize(function(){
jsPlumb.repaintEverything();
});
}
// drag
function DragEl(el){
jsPlumb.draggable($(el) ,{
containment:"#whiteboard"
});
}
// JsPlumb Config
var color = "gray",
exampleColor = "#00f",
arrowCommon = { foldback:0.... | components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js | // repaint
function Repaint(){
$("#whiteboard").resize(function(){
jsPlumb.repaintEverything();
});
}
// drag
function DragEl(el){
jsPlumb.draggable($(el) ,{
containment:"#whiteboard"
});
}
// JsPlumb Config
var color = "gray",
exampleColor = "#00f",
arrowCommon = { foldback:0.... | fix the cannot leave startup order in UI [STRATOS-1243]
| components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js | fix the cannot leave startup order in UI [STRATOS-1243] | <ide><path>omponents/org.apache.stratos.manager.console/console/themes/theme0/js/custom/applications-editor.js
<ide> "id": "root/dependencies/startupOrders/0",
<ide> "type": "string",
<ide> "title": "Order",
<del> "name": "Or... | |
JavaScript | bsd-3-clause | 044da363a1184ac60f3978d8f4029830530dc44b | 0 | MapCreatorEU/m4n-api,MapCreatorEU/m4n-api | /*
* BSD 3-Clause License
*
* Copyright (c) 2017, MapCreator
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, th... | src/utils/requests.js | /*
* BSD 3-Clause License
*
* Copyright (c) 2017, MapCreator
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, th... | Remove makeRequest method
| src/utils/requests.js | Remove makeRequest method | <ide><path>rc/utils/requests.js
<ide>
<ide> import fetchPonyfill from 'fetch-ponyfill';
<ide> export const {fetch, Request, Response, Headers} = fetchPonyfill({Promise});
<del>
<del>/**
<del> * Makes a HTTP request and returns a promise. Promise will fail/reject if the
<del> * status code isn't 2XX.
<del> * @param {st... | |
JavaScript | mit | ce5a87ae36956a08623c6530cc5860528dc22cc1 | 0 | Bethhh/UCSDRentals,Bethhh/UCSDRentals,Bethhh/UCSDRentals | $(document).ready(function() {
$.get("/user/get_name", update_name);
})
function update_name(result){
if(result != ""){
if($(".user_name")[0] != undefined){
$(".user_name")[0].innerHTML = "Hello, "+result;
}
console.log("here");
}
}
function validateUser(){//originally use action="/login... | public/js/ucsdrentals.js | $(document).ready(function() {
$.get("/user/get_name", update_name);
})
function update_name(result){
if(result != ""){
if($(".user_name")[0] != undefined){
$(".user_name")[0].innerHTML = "Hello, "+result;
}
console.log("here");
}
}
function validateUser(){//originally use action="/login... | add pageview
| public/js/ucsdrentals.js | add pageview | <ide><path>ublic/js/ucsdrentals.js
<ide> }else if(result == errorMsgs[3]){
<ide> alert("Your password is incorrect!\n Please reenter your password!");
<ide> }else{
<add> ga("send","event","login","click");
<ide> window.location='/menu';///'+result;
<ide> }
<ide> }
<ide> }else if(result == errorMsgs[3]){
<ide> ... | |
Java | mit | 1354424fc80867ee2dafe73a5122072040650076 | 0 | jxd134/java8-lambda-exercises | package com.insightfullogic.java8.test.chapter3;
import static org.junit.Assert.*;
import static java.util.Arrays.asList;
import java.util.Collections;
import java.util.List;
import java.util.function.Function;
import org.junit.Test;
import com.insightfullogic.java8.answers.chapter3.*;
public class Ma... | src/com/insightfullogic/java8/test/chapter3/MapUsingReduceTest.java | package com.insightfullogic.java8.test.chapter3;
import static org.junit.Assert.*;
import java.util.Collections;
import java.util.List;
import java.util.function.Function;
import org.junit.Test;
import com.insightfullogic.java8.answers.chapter3.*;
public class MapUsingReduceTest {
@Test
public v... | complete test for MapUsingReduce in chapter3 | src/com/insightfullogic/java8/test/chapter3/MapUsingReduceTest.java | complete test for MapUsingReduce in chapter3 | <ide><path>rc/com/insightfullogic/java8/test/chapter3/MapUsingReduceTest.java
<ide> package com.insightfullogic.java8.test.chapter3;
<ide>
<ide> import static org.junit.Assert.*;
<add>import static java.util.Arrays.asList;
<ide>
<ide> import java.util.Collections;
<ide> import java.util.List;
<ide> import com.insight... | |
Java | mpl-2.0 | 836f24498c3716b0c6e35c2e25d9cc355b1b1e2b | 0 | johan12345/substitution-schedule-parser,vertretungsplanme/substitution-schedule-parser,vertretungsplanme/substitution-schedule-parser,johan12345/substitution-schedule-parser | /*
* substitution-schedule-parser - Java library for parsing schools' substitution schedules
* Copyright (c) 2016 Johan v. Forstner
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozil... | parser/src/main/java/me/vertretungsplan/parser/DaVinciParser.java | /*
* substitution-schedule-parser - Java library for parsing schools' substitution schedules
* Copyright (c) 2016 Johan v. Forstner
*
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozil... | DaVinciParser: add LoginHandler call
| parser/src/main/java/me/vertretungsplan/parser/DaVinciParser.java | DaVinciParser: add LoginHandler call | <ide><path>arser/src/main/java/me/vertretungsplan/parser/DaVinciParser.java
<ide>
<ide> @Override
<ide> public SubstitutionSchedule getSubstitutionSchedule() throws IOException, JSONException, CredentialInvalidException {
<add> new LoginHandler(scheduleData, credential, cookieProvider).handleLogin(execu... | |
Java | apache-2.0 | ce190a2f8d706dcebc647e138dac442d2cb107be | 0 | opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core | package br.net.mirante.singular.dao;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.Period;
import java.time.ZoneId;
import java.time.temporal.Temporal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.... | flow/ui-admin/src/main/java/br/net/mirante/singular/dao/InstanceDAO.java | package br.net.mirante.singular.dao;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.Period;
import java.time.ZoneId;
import java.time.temporal.Temporal;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.... | correções | flow/ui-admin/src/main/java/br/net/mirante/singular/dao/InstanceDAO.java | correções | <ide><path>low/ui-admin/src/main/java/br/net/mirante/singular/dao/InstanceDAO.java
<ide> + " INNER JOIN TB_DEFINICAO_PROCESSO DEF ON DEF.CO_DEFINICAO_PROCESSO = PRO.CO_DEFINICAO_PROCESSO"
<ide> + " LEFT JOIN TB_VERSAO_TAREFA SIT ON SIT.CO_VERSAO_TAREFA = DEM.cod_situacao"
<ide> ... | |
Java | apache-2.0 | 66973006861b232c37c7f1da713b564f792e78ee | 0 | GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | java/com/google/gerrit/server/notedb/rebuild/NoteDbMigrator.java | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | NoteDbMigrator: fix formatting
Change-Id: I82b7a1feedf5faa0edbeb235079e74b1ee4793f1
| java/com/google/gerrit/server/notedb/rebuild/NoteDbMigrator.java | NoteDbMigrator: fix formatting | <ide><path>ava/com/google/gerrit/server/notedb/rebuild/NoteDbMigrator.java
<ide> public void migrate() throws OrmException, IOException {
<ide> if (!changes.isEmpty() || !projects.isEmpty() || !skipProjects.isEmpty()) {
<ide> throw new MigrationException(
<del> "Cannot set changes or projects or sk... | |
Java | bsd-3-clause | 5a5e91e98d412cad37bb6fa7eb6d396eb992ce67 | 0 | interdroid/ibis-ipl,interdroid/ibis-ipl,interdroid/ibis-ipl | // @@@ msg combining AND lrmc at the same time is not supported
// @@@ TODO? LRMC echt een ring maken, zodat je weet dat de mcast klaar is ->
// handig als een node om updates/object vraagt
/*
* Created on Apr 26, 2006 by rob
*/
package ibis.satin.impl.sharedObjects;
import ibis.ipl.IbisIdentifier;
import ibis.ipl.... | src/ibis/satin/impl/sharedObjects/SOCommunication.java | // @@@ msg combining AND lrmc at the same time is not supported
// @@@ TODO? LRMC echt een ring maken, zodat je weet dat de mcast klaar is ->
// handig als een node om updates/object vraagt
/*
* Created on Apr 26, 2006 by rob
*/
package ibis.satin.impl.sharedObjects;
import ibis.ipl.IbisIdentifier;
import ibis.ipl.... |
git-svn-id: http://gforge.cs.vu.nl/svn/ibis/ibis/trunk@5875 aaf88347-d911-0410-b711-e54d386773bb
| src/ibis/satin/impl/sharedObjects/SOCommunication.java | <ide><path>rc/ibis/satin/impl/sharedObjects/SOCommunication.java
<ide> wm = v.newMessage();
<ide> wm.writeByte(SO_TRANSFER);
<ide> } catch (IOException e) {
<add> s.stats.soTransferTimer.stop();
<ide> if (wm != null) {
<ide> wm.finish(e);
<ide> ... | ||
Java | bsd-2-clause | 812304f86924ea663c512c2061aefbcba76e5537 | 0 | MinELenI/CBSviewer,mprins/CBSviewer,mprins/CBSviewer,mprins/CBSviewer,MinELenI/CBSviewer,MinELenI/CBSviewer | /*
* Copyright (c) 2012, Dienst Landelijk Gebied - Ministerie van Economische Zaken
*
* Gepubliceerd onder de BSD 2-clause licentie,
* zie https://github.com/MinELenI/CBSviewer/blob/master/LICENSE.md voor de volledige licentie.
*/
package nl.mineleni.cbsviewer.servlet.wms;
import static nl.mineleni.cbsviewer.ut... | src/main/java/nl/mineleni/cbsviewer/servlet/wms/WMSClientServlet.java | /*
* Copyright (c) 2012, Dienst Landelijk Gebied - Ministerie van Economische Zaken
*
* Gepubliceerd onder de BSD 2-clause licentie,
* zie https://github.com/MinELenI/CBSviewer/blob/master/LICENSE.md voor de volledige licentie.
*/
package nl.mineleni.cbsviewer.servlet.wms;
import static nl.mineleni.cbsviewer.ut... | fix typo in logging
| src/main/java/nl/mineleni/cbsviewer/servlet/wms/WMSClientServlet.java | fix typo in logging | <ide><path>rc/main/java/nl/mineleni/cbsviewer/servlet/wms/WMSClientServlet.java
<ide> */
<ide> public class WMSClientServlet extends AbstractWxSServlet {
<ide>
<del> /** maximum aantal elementen per cache. {@value} */
<del> private static final int NUMBER_CACHE_ELEMENTS = 1000;
<del>
<del> /** logger. */
<del> privat... | |
Java | epl-1.0 | c9d232ee7ef4bb893b8603e8aa967bb9c0d8ab7f | 0 | qgears/opensource-utils,qgears/opensource-utils,qgears/opensource-utils,qgears/opensource-utils,qgears/opensource-utils | package hu.qgears.opengl.commons.example;
import hu.qgears.opengl.commons.Camera;
import hu.qgears.opengl.commons.TargetRectangle;
import hu.qgears.opengl.commons.UtilGl;
import hu.qgears.opengl.commons.context.RGlContext;
import hu.qgears.opengl.glut.Glut;
import hu.qgears.opengl.glut.GlutInstance;
import lwjgl.stand... | commons/hu.qgears.opengl.commons/src/hu/qgears/opengl/commons/example/GlutExample02.java | package hu.qgears.opengl.commons.example;
import hu.qgears.opengl.commons.Camera;
import hu.qgears.opengl.commons.TargetRectangle;
import hu.qgears.opengl.commons.UtilGl;
import hu.qgears.opengl.commons.context.RGlContext;
import hu.qgears.opengl.glut.Glut;
import hu.qgears.opengl.glut.GlutInstance;
import lwjgl.stand... | Fix major and critical Sonar issues in GlutExample02.java
| commons/hu.qgears.opengl.commons/src/hu/qgears/opengl/commons/example/GlutExample02.java | Fix major and critical Sonar issues in GlutExample02.java | <ide><path>ommons/hu.qgears.opengl.commons/src/hu/qgears/opengl/commons/example/GlutExample02.java
<ide> import org.lwjgl.util.vector.Vector4f;
<ide>
<ide> public class GlutExample02 {
<del> static Camera camera=new Camera();
<del> private static int width=1024;
<del> private static int height=768;
<add> private stati... | |
JavaScript | isc | 90e7d471fe928c0697ed68a8732160a3586b0b00 | 0 | Alhadis/PPJSON | #!/usr/bin/env node
"use strict";
const ChildProcess = require("child_process");
const getOpts = require("get-options");
const fs = require("fs");
// Read CLI args
const {options, argv} = getOpts(process.argv.slice(2), {
"-?, -h, --help": "",
"-m, --mutilate": ... | index.js | #!/usr/bin/env node
"use strict";
const ChildProcess = require("child_process");
const getOpts = require("get-options");
const fs = require("fs");
// Read CLI args
const {options, argv} = getOpts(process.argv.slice(2), {
"-?, -h, --help": "",
"-m, --mutilate": ... | Parse input as JavaScript instead of JSON
This allows us to format object data containing unquoted property names,
such as parsing the output of `npm show`.
| index.js | Parse input as JavaScript instead of JSON | <ide><path>ndex.js
<ide> }
<ide>
<ide>
<add>/**
<add> * Parse JSON or JSON-like data.
<add> *
<add> * @param {String}
<add> * @return {Object}
<add> */
<add>function parseJSON(input = ""){
<add> if(!input) return undefined;
<add> input = input.trim()
<add> .replace(/;$|^\s*"use strict"\s*(?:;\s*)?$/g, "")
<add> .re... | |
Java | lgpl-2.1 | 4a5136d3f002c570330c935377066f3f472332ac | 0 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya | //
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public Licens... | src/java/com/threerings/crowd/peer/server/CrowdPeerManager.java | //
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public Licens... | Bugfix: chat bug.
If node A started up and connected to node B, which already had players logged on,
then nobody on A could send chat to anyone on B.
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@5695 542714f4-19e9-0310-aa3c-eee0fc999fb1
| src/java/com/threerings/crowd/peer/server/CrowdPeerManager.java | Bugfix: chat bug. If node A started up and connected to node B, which already had players logged on, then nobody on A could send chat to anyone on B. | <ide><path>rc/java/com/threerings/crowd/peer/server/CrowdPeerManager.java
<ide> }
<ide> }
<ide>
<add> @Override // from PeerManager
<add> protected void connectedToPeer (PeerNode peer)
<add> {
<add> super.connectedToPeer(peer);
<add>
<add> for (ClientInfo clinfo : peer.nodeobj.client... | |
JavaScript | mit | 28ca73159d8615a5feb6085e9b11512aadc19925 | 0 | SlateFoundation/opened.js,openedinc/opened.js,SlateFoundation/opened.js,SlateFoundation/opened.js,openedinc/opened.js,openedinc/opened.js,SlateFoundation/opened.js,openedinc/opened.js | ;(function (root) {
'use strict';
root.OpenEd = root.OpenEd || {};
root.OpenEd.api = {
tokenPrefix: '_openEd',
apiHost: 'https://api.opened.io',
openedHost: 'https://www.opened.com',
_events: {},
on: function (eventName, callback) {
if (eventName && typeof callback === 'function'... | opened-api.js | ;(function (root) {
'use strict';
root.OpenEd = root.OpenEd || {};
root.OpenEd.api = {
tokenPrefix: '_openEd',
apiHost: 'https://api.opened.io',
openedHost: 'https://www.opened.com',
_events: {},
on: function (eventName, callback) {
if (eventName && typeof callback === 'function'... | Simplify date handling
| opened-api.js | Simplify date handling | <ide><path>pened-api.js
<ide>
<ide> checkTokenDate: function () {
<ide> var tokenDate = new Date(parseInt(localStorage.getItem(this.tokenPrefix + '.expires_in'), 10));
<del> var now = this.now();
<del> return now.getTime() < tokenDate.getTime();
<add> return new Date() < tokenDate;
<ide> }... | |
Java | apache-2.0 | cb14ac5c57661d53765a855209bfd91a02821730 | 0 | tmurakami/dexopener,tmurakami/dexopener | /*
* Copyright 2016 Tsuyoshi Murakami
*
* 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... | dexopener-example/simple/src/androidTest/java/com/example/dexopener/simple/MyAndroidJUnitRunner.java | /*
* Copyright 2016 Tsuyoshi Murakami
*
* 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... | Tweak comments
| dexopener-example/simple/src/androidTest/java/com/example/dexopener/simple/MyAndroidJUnitRunner.java | Tweak comments | <ide><path>exopener-example/simple/src/androidTest/java/com/example/dexopener/simple/MyAndroidJUnitRunner.java
<ide> @Override
<ide> public Application newApplication(ClassLoader cl, String className, Context context)
<ide> throws ClassNotFoundException, IllegalAccessException, InstantiationExceptio... | |
Java | agpl-3.0 | 787e493990ad72ce4a6144de4d1849a8069131bb | 0 | PeterWithers/temp-to-delete1,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,KinshipSoftware/KinOathKinshipArchiver | package nl.mpi.kinnate.kintypestrings;
import javax.xml.bind.annotation.XmlAttribute;
import nl.mpi.kinnate.kindata.DataTypes;
import nl.mpi.kinnate.kindata.DataTypes.RelationType;
import nl.mpi.kinnate.kindata.EntityData;
import nl.mpi.kinnate.kindata.EntityData.SymbolType;
import nl.mpi.kinnate.kindata.EntityRelatio... | desktop/src/main/java/nl/mpi/kinnate/kintypestrings/KinType.java | package nl.mpi.kinnate.kintypestrings;
import javax.xml.bind.annotation.XmlAttribute;
import nl.mpi.kinnate.kindata.DataTypes;
import nl.mpi.kinnate.kindata.DataTypes.RelationType;
import nl.mpi.kinnate.kindata.EntityData;
import nl.mpi.kinnate.kindata.EntityData.SymbolType;
import nl.mpi.kinnate.kindata.EntityRelatio... | Updated the kin type matching to better handle wild cards (for either relation or symbol) and corrected an issue matching existing related entities.
Updated the sample diagrams to match and test the multiple symbol and relation kin types.
| desktop/src/main/java/nl/mpi/kinnate/kintypestrings/KinType.java | Updated the kin type matching to better handle wild cards (for either relation or symbol) and corrected an issue matching existing related entities. Updated the sample diagrams to match and test the multiple symbol and relation kin types. | <ide><path>esktop/src/main/java/nl/mpi/kinnate/kintypestrings/KinType.java
<ide> new KinType("Hu", new DataTypes.RelationType[]{DataTypes.RelationType.union}, new EntityData.SymbolType[]{EntityData.SymbolType.triangle}, "Husband"),
<ide> new KinType("Wi", new DataTypes.RelationType[]{DataTypes.RelationT... | |
Java | apache-2.0 | 697ee5dc89cae7395ba7a6ebbb53973dea45ae4c | 0 | amzn/alexa-skills-kit-java | /*
* Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accomp... | ask-sdk-core/src/com/amazon/ask/dispatcher/request/handler/impl/UserEventHandler.java | /*
* Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accomp... | Updating typed request handler interfaces
| ask-sdk-core/src/com/amazon/ask/dispatcher/request/handler/impl/UserEventHandler.java | Updating typed request handler interfaces | <ide><path>sk-sdk-core/src/com/amazon/ask/dispatcher/request/handler/impl/UserEventHandler.java
<ide>
<ide> import com.amazon.ask.dispatcher.request.handler.HandlerInput;
<ide> import com.amazon.ask.dispatcher.request.handler.RequestHandler;
<del>import com.amazon.ask.model.interfaces.alexa.presentation.apl.UserEvent;... | |
Java | apache-2.0 | dcd9ea6e9d370badeaece443a0653e80a0c6472a | 0 | nicolargo/intellij-community,apixandru/intellij-community,fnouama/intellij-community,wreckJ/intellij-community,diorcety/intellij-community,MichaelNedzelsky/intellij-community,supersven/intellij-community,youdonghai/intellij-community,ThiagoGarciaAlves/intellij-community,MER-GROUP/intellij-community,fnouama/intellij-com... | package com.jetbrains.python;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReference;
import com.jetbrains.python.fixtures.PyResolveTestCase;
import com.jetbrains.python.psi.*;
import com.jetbrains.python.psi.impl.PyBuiltinCache;
import com.jetbrains.pytho... | python/testSrc/com/jetbrains/python/PyPropertyTestSuite.java | package com.jetbrains.python;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReference;
import com.jetbrains.python.fixtures.PyResolveTestCase;
import com.jetbrains.python.psi.*;
import com.jetbrains.python.psi.impl.PyBuiltinCache;
import com.jetbrains.pytho... | Forced Python 2.6+ in property test where due.
| python/testSrc/com/jetbrains/python/PyPropertyTestSuite.java | Forced Python 2.6+ in property test where due. | <ide><path>ython/testSrc/com/jetbrains/python/PyPropertyTestSuite.java
<ide> import com.jetbrains.python.fixtures.PyResolveTestCase;
<ide> import com.jetbrains.python.psi.*;
<ide> import com.jetbrains.python.psi.impl.PyBuiltinCache;
<add>import com.jetbrains.python.psi.impl.PythonLanguageLevelPusher;
<ide> import com.j... | |
Java | apache-2.0 | af40588f59e076b7a21529c501e039f0bc059c31 | 0 | apache/geronimo,apache/geronimo,apache/geronimo,apache/geronimo | /*
* 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 ... | plugins/j2ee/geronimo-web-2.5-builder/src/main/java/org/apache/geronimo/web25/deployment/security/SpecSecurityBuilder.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 ... | No logic change, just format the codes ,remove some unused codes and prepare for next step change
git-svn-id: 0d16bf2c240b8111500ec482b35765e5042f5526@935451 13f79535-47bb-0310-9956-ffa450edef68
| plugins/j2ee/geronimo-web-2.5-builder/src/main/java/org/apache/geronimo/web25/deployment/security/SpecSecurityBuilder.java | No logic change, just format the codes ,remove some unused codes and prepare for next step change | <ide><path>lugins/j2ee/geronimo-web-2.5-builder/src/main/java/org/apache/geronimo/web25/deployment/security/SpecSecurityBuilder.java
<ide> * under the License.
<ide> */
<ide>
<del>
<ide> package org.apache.geronimo.web25.deployment.security;
<ide>
<ide> import java.security.Permission;
<ide> import java.security.Pe... | |
Java | mit | b43fc17b32fd1b6ee0d2404123911503f7df4546 | 0 | heavyplayer/AudioPlayerRecorder | package com.audiomanager.app;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.widget.List... | app/src/main/java/com/audiomanager/app/PlayerActivity.java | package com.audiomanager.app;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.widget.List... | Stop service in onPause method, to make sure it stops
| app/src/main/java/com/audiomanager/app/PlayerActivity.java | Stop service in onPause method, to make sure it stops | <ide><path>pp/src/main/java/com/audiomanager/app/PlayerActivity.java
<ide> super.onPause();
<ide>
<ide> unbindService();
<add>
<add> if(mIsPortrait == isPortrait())
<add> stopService(new Intent(this, AudioPlayerService.class));
<ide> }
<ide>
<ide> protected void bindService() {
<ide> // Detach our existin... | |
JavaScript | agpl-3.0 | 3b473d2bb8b7239c77a47897bbbf1256a7870000 | 0 | marioestradarosa/axelor-development-kit,donsunsoft/axelor-development-kit,donsunsoft/axelor-development-kit,axelor/axelor-development-kit,marioestradarosa/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit,marioestradarosa/axelor-development-kit,marioestrada... | (function() {
var ui = angular.module('axelor.ui');
this.TreeViewCtrl = TreeViewCtrl;
this.TreeViewCtrl.$inject = ['$scope', '$element', 'DataSource', 'ActionService'];
function TreeViewCtrl($scope, $element, DataSource, ActionService) {
var view = $scope._views['tree'];
var viewPromise = $scope.loadView('tree',... | axelor-web/src/main/webapp/js/view/view.tree.js | (function() {
var ui = angular.module('axelor.ui');
this.TreeViewCtrl = TreeViewCtrl;
this.TreeViewCtrl.$inject = ['$scope', '$element', 'DataSource', 'ActionService'];
function TreeViewCtrl($scope, $element, DataSource, ActionService) {
var view = $scope._views['tree'];
var viewPromise = $scope.loadView('tree',... | Improved TreeView
- execute action on double click
- selected row highlight
| axelor-web/src/main/webapp/js/view/view.tree.js | Improved TreeView | <ide><path>xelor-web/src/main/webapp/js/view/view.tree.js
<ide> return tr[0];
<ide> }
<ide>
<del> element.on('click.treeview', 'tr', function(e) {
<add> element.on('dblclick.treeview', 'tbody tr', function(e) {
<ide> var record = $(e.currentTarget).data('$record');
<ide> if (record && record.$cli... | |
Java | bsd-2-clause | bd139e23bc786474800f5b1fdc0f366ba7bcd6e4 | 0 | bioinform/varsim,bioinform/varsim,bioinform/varsim,bioinform/varsim | package com.bina.varsim.types;
import java.rmi.UnexpectedException;
import java.util.*;
import java.util.concurrent.Exchanger;
/**
* Created by guoy28 on 10/5/16.
* CLass for VCF INFO field.
* TODO: this class should be augmented to handle FORMAT field
* TODO: constructors of this class should honor specification... | src/main/java/com/bina/varsim/types/VCFInfo.java | package com.bina.varsim.types;
import java.rmi.UnexpectedException;
import java.util.*;
import java.util.concurrent.Exchanger;
/**
* Created by guoy28 on 10/5/16.
* CLass for VCF INFO field.
* TODO: this class should be augmented to handle FORMAT field
* TODO: constructors of this class should honor specification... | return string for unhandled VCF INFO IDs.
| src/main/java/com/bina/varsim/types/VCFInfo.java | return string for unhandled VCF INFO IDs. | <ide><path>rc/main/java/com/bina/varsim/types/VCFInfo.java
<ide> } else if (infoID.equals("SVTYPE") || infoID.equals("CHR2") || infoID.equals("TRASUBTYPE")) {
<ide> return "String";
<ide> } else {
<del> throw new IllegalArgumentException("ERROR: unrecognized INFO ID (" + infoID + ... | |
Java | apache-2.0 | 5702d8ef7d02ba8adf1aad1e21d1f91e1aac27c9 | 0 | Zrips/Jobs | package com.gamingmesh.jobs.container;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class ShopItem {
private String NodeName = null;
private double price = 0D;
private int slot = -1;
private int page = -1;
private int IconId = 1;
priva... | src/main/java/com/gamingmesh/jobs/container/ShopItem.java | package com.gamingmesh.jobs.container;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class ShopItem {
private String NodeName = null;
private double price = 0D;
private int slot = -1;
private int page = -1;
private int IconId = 1;
priva... | Update ShopItem.java | src/main/java/com/gamingmesh/jobs/container/ShopItem.java | Update ShopItem.java | <ide><path>rc/main/java/com/gamingmesh/jobs/container/ShopItem.java
<ide> private int IconData = 0;
<ide> private int IconAmount = 1;
<ide> private String IconName = null;
<del> private List<String> IconLore = new ArrayList<String>();
<add> private List<String> IconLore = new ArrayList<>();
<ide>
<id... | |
Java | mit | 237deeba5b6ec642d94c893017d614170048d15d | 0 | iParqDevelopers/cordova-plugin-flex-camera,iParqDevelopers/cordova-plugin-flex-camera,happieio/cordova-plugin-flex-camera,iParqDevelopers/cordova-plugin-flex-camera,happieio/cordova-plugin-flex-camera,happieio/cordova-plugin-flex-camera | package io.happie.cordovaCamera;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.hardware.Camera;
import android.net.Uri;
import android.o... | src/android/HappieCameraActivity.java | package io.happie.cordovaCamera;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.res.Configuration;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.hardware.Camera;
import android.net.Uri;
import android.o... | disable shut during crash sensitive processing time between taking
pictures
| src/android/HappieCameraActivity.java | disable shut during crash sensitive processing time between taking pictures | <ide><path>rc/android/HappieCameraActivity.java
<ide> import android.view.View;
<ide> import android.widget.FrameLayout;
<ide> import android.widget.ImageButton;
<del>import android.widget.Button;
<ide> import android.widget.ImageView;
<ide> import android.widget.TextView;
<ide> import android.hardware.SensorManager;
<... | |
JavaScript | mit | 69fc12e892fee9eb78666cbd0ec51f780632c158 | 0 | kmtabish/customerFeedbackPlugin,kmtabish/customerFeedbackPlugin | 'use strict';
(function (angular) {
angular
.module('customerFeedbackPluginDesign')
.controller('DesignHomeCtrl', ['$scope','Buildfire','DataStore', 'TAG_NAMES',
function ($scope, Buildfire, DataStore, TAG_NAMES) {
var DesignHome = this;
function init() {
var feedBackInfo = {... | control/design/controllers/design.home.controller.js | 'use strict';
(function (angular) {
angular
.module('customerFeedbackPluginDesign')
.controller('DesignHomeCtrl', ['$scope','Buildfire','DataStore', 'TAG_NAMES',
function ($scope, Buildfire, DataStore, TAG_NAMES) {
var DesignHome = this;
function init() {
var feedBackInfo = {... | Added default content object values while saving object
| control/design/controllers/design.home.controller.js | Added default content object values while saving object | <ide><path>ontrol/design/controllers/design.home.controller.js
<ide> var feedBackInfo = {
<ide> design: {
<ide> backgroundImage: ''
<del> }
<add> },
<add> content: {
<add> "carouselImages": [],
<add> "description": ... | |
JavaScript | mit | 4473d2cdb6c8fc6b267532b96f5a47f802f44aba | 0 | trailsjs/trailpack-router | module.exports = {
'Footprint.UnknownModel': {
message: 'The Model specified in this request is not defined in the API',
statusCode: 404
},
'Footprint.UnknownParentModel': {
message: 'The Parent Model specified in this association request is not defined in the API',
statusCode: 404
},
'Footpr... | config/errors.js | module.exports = {
'Footprint.UnknownModel': {
message: 'The Model specified in this request is not defined in the API',
statusCode: 404
},
'Footprint.UnknownParentModel': {
message: 'The Parent Model specified in this association request is not defined in the API',,
statusCode: 404
},
'Footp... | [config] added errors config
| config/errors.js | [config] added errors config | <ide><path>onfig/errors.js
<ide> statusCode: 404
<ide> },
<ide> 'Footprint.UnknownParentModel': {
<del> message: 'The Parent Model specified in this association request is not defined in the API',,
<add> message: 'The Parent Model specified in this association request is not defined in the API',
<ide> ... | |
Java | mit | c1a6a90e3be21d4934239d0de9c08899d8051e9a | 0 | fr1kin/ForgeHax,fr1kin/ForgeHax | package com.matt.forgehax.util.draw;
import com.matt.forgehax.util.Utils;
import net.minecraft.client.renderer.GlStateManager;
import uk.co.hexeption.thx.ttf.MinecraftFontRenderer;
import java.util.Arrays;
import static org.lwjgl.opengl.GL11.*;
/**
* Created on 9/2/2017 by fr1kin
*/
public class SurfaceBuilder {
... | src/main/java/com/matt/forgehax/util/draw/SurfaceBuilder.java | package com.matt.forgehax.util.draw;
import com.matt.forgehax.util.Utils;
import net.minecraft.client.renderer.GlStateManager;
import uk.co.hexeption.thx.ttf.MinecraftFontRenderer;
import static org.lwjgl.opengl.GL11.*;
/**
* Created on 9/2/2017 by fr1kin
*/
public class SurfaceBuilder {
private static final f... | clear color on pop()
| src/main/java/com/matt/forgehax/util/draw/SurfaceBuilder.java | clear color on pop() | <ide><path>rc/main/java/com/matt/forgehax/util/draw/SurfaceBuilder.java
<ide> import com.matt.forgehax.util.Utils;
<ide> import net.minecraft.client.renderer.GlStateManager;
<ide> import uk.co.hexeption.thx.ttf.MinecraftFontRenderer;
<add>
<add>import java.util.Arrays;
<ide>
<ide> import static org.lwjgl.opengl.GL11.*... | |
Java | apache-2.0 | 73026584771d0817f430e647ac88cd681fcb1667 | 0 | caskdata/cdap,hsaputra/cdap,caskdata/cdap,mpouttuclarke/cdap,chtyim/cdap,hsaputra/cdap,chtyim/cdap,chtyim/cdap,mpouttuclarke/cdap,anthcp/cdap,chtyim/cdap,caskdata/cdap,hsaputra/cdap,anthcp/cdap,chtyim/cdap,mpouttuclarke/cdap,anthcp/cdap,hsaputra/cdap,caskdata/cdap,hsaputra/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,cas... | /**
* Copyright (C) 2012 Continuuity, Inc.
*/
package com.continuuity.data.operation.executor.omid;
import com.continuuity.api.data.*;
import com.continuuity.common.metrics.CMetrics;
import com.continuuity.common.metrics.MetricType;
import com.continuuity.common.utils.ImmutablePair;
import com.continuuity.data.metad... | src/main/java/com/continuuity/data/operation/executor/omid/OmidTransactionalOperationExecutor.java | /**
* Copyright (C) 2012 Continuuity, Inc.
*/
package com.continuuity.data.operation.executor.omid;
import com.continuuity.api.data.*;
import com.continuuity.common.metrics.CMetrics;
import com.continuuity.common.metrics.MetricType;
import com.continuuity.common.utils.ImmutablePair;
import com.continuuity.data.metad... | ENG-767 Implement stream metrics
| src/main/java/com/continuuity/data/operation/executor/omid/OmidTransactionalOperationExecutor.java | ENG-767 Implement stream metrics | <ide><path>rc/main/java/com/continuuity/data/operation/executor/omid/OmidTransactionalOperationExecutor.java
<ide> import com.continuuity.data.table.ReadPointer;
<ide> import com.continuuity.data.util.TupleMetaDataAnnotator.DequeuePayload;
<ide> import com.continuuity.data.util.TupleMetaDataAnnotator.EnqueuePayload;
<d... | |
JavaScript | bsd-3-clause | c03764b79def61cec11a28791b12647e3aac9552 | 0 | lietk12/fermenter,lietk12/fermentor,lietk12/fermenter,lietk12/fermenter,lietk12/fermentor,lietk12/fermentor | // Math
function absorbance(calib, transmittance) {
return (calib - transmittance) / calib;
}
function duty_cycle_to_percent(duty_cycle) {
return ~~(duty_cycle * 100)
}
// Strings
function time_text(data) {
if (data) {
return "Updated " + data[0] + ".";
}
}
function start_text(data) {
if (data) {
ret... | static/client.js | // Math
function absorbance(calib, transmittance) {
return (calib - transmittance) / calib;
}
function duty_cycle_to_percent(duty_cycle) {
return ~~(duty_cycle * 100)
}
// Strings
function time_text(data) {
if (data) {
return "Updated " + data[0] + ".";
}
}
function start_text(data) {
if (data) {
ret... | Trying to make cache work.
| static/client.js | Trying to make cache work. | <ide><path>tatic/client.js
<ide> });
<ide> socket.on("optics plot update", function(msg) {
<ide> $('#optics_plot_cache').attr("data", "/plots/optics?" + msg.time);
<del> $('#optics_plot_cache').load(function () {
<del> $('#optics_plot').attr("data", "/plots/optics?" + msg.time);
<del> });
<ide> });... | |
Java | mit | 2c8c1793596e9334426bcc1901de11640a918569 | 0 | BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/android-branch-deep-linking,BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/Android-Deferred-Deep-Linking-SDK,BranchMetrics/android-branch-deep-linking,BranchMetrics/android-branch-deep-linking,Br... | package io.branch.referral;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.Executors;
import jav... | Branch-SDK/src/io/branch/referral/Branch.java | package io.branch.referral;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.Executors;
import jav... | Pushing latest JavaDocs work.
| Branch-SDK/src/io/branch/referral/Branch.java | Pushing latest JavaDocs work. | <ide><path>ranch-SDK/src/io/branch/referral/Branch.java
<ide> import android.view.View;
<ide> import android.view.View.OnTouchListener;
<ide>
<add>/**
<add> * The core object required when using Branch SDK. You should declare an object of this type at the
<add> * class-level of each Activity or Fragment that you wish ... | |
Java | apache-2.0 | eb2d2bb4a4b8e436da1bbe7c3b783c9d64541b3c | 0 | dasein-cloud/dasein-cloud-azure,greese/dasein-cloud-azure,daniellemayne/dasein-cloud-azure,vladmunthiu/dasein-cloud-azure,daniellemayne/dasein-cloud-azure_old,JanewzhWang/dasein-cloud-azure,drewlyall/dasein-cloud-azure,jeffrey-yan/dasein-cloud-azure | /**
* Copyright (C) 2012 enStratus Networks 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.a... | src/main/java/org/dasein/cloud/azure/compute/vm/AzureVM.java | /**
* Copyright (C) 2012 enStratus Networks 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.a... | bugzid 3585: fixed alter vm size
| src/main/java/org/dasein/cloud/azure/compute/vm/AzureVM.java | bugzid 3585: fixed alter vm size | <ide><path>rc/main/java/org/dasein/cloud/azure/compute/vm/AzureVM.java
<ide>
<ide> String[] parts = options.getProviderProductId().split(":");
<ide> String productId = null;
<del> String disks = null;
<del> if (parts.length == 2) {
<add> String disks = "";
<add> if (parts.le... | |
Java | apache-2.0 | 9be3323e3027945fff483397aa38924bc6056425 | 0 | yongaro/Pokemon | package pokemon.modele;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
import java.util.Stack;
import java.util.Vector;
import pokemon.annotations.Tps;
import pokemon.launcher.MyGdxGame;
@Tps(nbhours=17)
public class Combat extends Thread {
protected Terrain terrain;
protected Climat c... | Pokemon-core/src/pokemon/modele/Combat.java | package pokemon.modele;
import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
import java.util.Stack;
import java.util.Vector;
import pokemon.annotations.Tps;
import pokemon.launcher.MyGdxGame;
@Tps(nbhours=17)
public class Combat extends Thread {
protected Terrain terrain;
protected Climat c... | endofturn accesseur | Pokemon-core/src/pokemon/modele/Combat.java | endofturn accesseur | <ide><path>okemon-core/src/pokemon/modele/Combat.java
<ide> return cibleCourante;
<ide> }
<ide> public synchronized void setCible(PokemonCombat cible){ this.cibleCourante=cible; }
<add> public synchronized boolean getendOfTurn(){ return endOfTurn;}
<ide>
<ide>
<ide> } | |
JavaScript | agpl-3.0 | 86be5a270ecfd2f03568b99ed4a74db983348518 | 0 | nextcloud/passman,nextcloud/passman,nextcloud/passman,nextcloud/passman | /**
* Nextcloud - passman
*
* @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com)
* @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es)
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | js/app/directives/credentialcounter.js | /**
* Nextcloud - passman
*
* @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com)
* @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es)
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | Fix Cannot read property in credentialcounter
| js/app/directives/credentialcounter.js | Fix Cannot read property in credentialcounter | <ide><path>s/app/directives/credentialcounter.js
<ide> function countCredentials() {
<ide> var countedCredentials = 0;
<ide> var total = 0;
<add> if(!scope.vault.hasOwnProperty('credentials')){
<add> return;
<add> }
<add>
<ide> angular.forEach(scope.vault.credentials, functi... | |
Java | mpl-2.0 | 0d88ca697811b3b5981e17cad30c71b280490ad5 | 0 | GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app,GreenDelta/olca-app | package org.openlca.app.rcp;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.PlatformUI;
import com.google.common.io.Files;
public enum ImageType {
ACCEPT("graphical/accept.png"),
ACTOR("model/actor.png"),
ACTOR_CATEGORY("category/actor.png"),
A... | olca-app/src/org/openlca/app/rcp/ImageType.java | package org.openlca.app.rcp;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.PlatformUI;
import com.google.common.io.Files;
public enum ImageType {
ACCEPT("graphical/accept.png"),
ACTOR("model/actor.png"),
ACTOR_CATEGORY("category/actor.png"),
A... | :bug: wrong path for XML image | olca-app/src/org/openlca/app/rcp/ImageType.java | :bug: wrong path for XML image | <ide><path>lca-app/src/org/openlca/app/rcp/ImageType.java
<ide>
<ide> FILE_WORD("file/word.png"),
<ide>
<del> FILE_XML("file/xml.png"),
<add> FILE_XML("file/xml.gif"),
<ide>
<ide> FILE_ZIP("file/zip.gif"),
<ide> | |
Java | apache-2.0 | 686aed66f937918f48014d2aaeeb53349e63253d | 0 | sonamuthu/rice-1,jwillia/kc-rice1,kuali/kc-rice,geothomasp/kualico-rice-kc,smith750/rice,bhutchinson/rice,ewestfal/rice-svn2git-test,cniesen/rice,ewestfal/rice,shahess/rice,jwillia/kc-rice1,UniversityOfHawaiiORS/rice,ewestfal/rice-svn2git-test,kuali/kc-rice,ewestfal/rice,gathreya/rice-kc,UniversityOfHawaiiORS/rice,smit... | /**
* 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... | kim/kim-impl/src/main/java/org/kuali/rice/kim/impl/permission/PermissionServiceImpl.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... | minor import optimization
| kim/kim-impl/src/main/java/org/kuali/rice/kim/impl/permission/PermissionServiceImpl.java | minor import optimization | <ide><path>im/kim-impl/src/main/java/org/kuali/rice/kim/impl/permission/PermissionServiceImpl.java
<ide> import org.kuali.rice.kim.api.permission.Permission;
<ide> import org.kuali.rice.kim.api.permission.PermissionQueryResults;
<ide> import org.kuali.rice.kim.api.permission.PermissionService;
<del>import org.kuali.ric... | |
Java | mit | d3a103cb6e969c7481fec978ea2af8a36042a824 | 0 | VKCOM/vk-java-sdk,VKCOM/vk-java-sdk | package com.vk.api.sdk.queries.upload;
import com.vk.api.sdk.client.VkApiClient;
import com.vk.api.sdk.objects.app.widgets.responses.UploadImageResponse;
import java.io.File;
public class UploadAppImageQuery extends UploadQueryBuilder<UploadAppImageQuery, UploadImageResponse> {
public UploadAppImageQuery(VkApiC... | sdk/src/main/java/com/vk/api/sdk/queries/upload/UploadAppImageQuery.java | package com.vk.api.sdk.queries.upload;
import com.vk.api.sdk.client.VkApiClient;
import com.vk.api.sdk.objects.app.widgets.responses.UploadImageResponse;
import java.io.File;
public class UploadAppImageQuery extends UploadQueryBuilder<UploadAppImageQuery, UploadImageResponse> {
public UploadAppImageQuery(VkApi... | Fix code style
| sdk/src/main/java/com/vk/api/sdk/queries/upload/UploadAppImageQuery.java | Fix code style | <ide><path>dk/src/main/java/com/vk/api/sdk/queries/upload/UploadAppImageQuery.java
<ide> import java.io.File;
<ide>
<ide> public class UploadAppImageQuery extends UploadQueryBuilder<UploadAppImageQuery, UploadImageResponse> {
<del>
<ide>
<ide> public UploadAppImageQuery(VkApiClient client, String uploadUrl, File ... | |
Java | mit | cac6b78368caa736a65466f31f482b60aa820cb3 | 0 | CS2103JAN2017-W14-B4/main,CS2103JAN2017-W14-B4/main | package seedu.ezdo.storage;
import java.io.IOException;
import java.util.Optional;
import java.util.logging.Logger;
import com.google.common.eventbus.Subscribe;
import seedu.ezdo.commons.core.ComponentManager;
import seedu.ezdo.commons.core.Config;
import seedu.ezdo.commons.core.LogsCenter;
import seedu.ezdo.commons... | src/main/java/seedu/ezdo/storage/StorageManager.java | package seedu.ezdo.storage;
import java.io.IOException;
import java.util.Optional;
import java.util.logging.Logger;
import com.google.common.eventbus.Subscribe;
import seedu.ezdo.commons.core.ComponentManager;
import seedu.ezdo.commons.core.Config;
import seedu.ezdo.commons.core.LogsCenter;
import seedu.ezdo.commons... | Wrap line for readability
| src/main/java/seedu/ezdo/storage/StorageManager.java | Wrap line for readability | <ide><path>rc/main/java/seedu/ezdo/storage/StorageManager.java
<ide> this(new XmlEzDoStorage(ezDoFilePath), new JsonUserPrefsStorage(userPrefsFilePath), config);
<ide> }
<ide> // public StorageManager(String ezDoFilePath, String userPrefsFilePath, String configFilePath) {
<del>// this(new XmlEzDoS... | |
Java | mit | cba77fd4d764230fbd66057d4c418cb412958998 | 0 | fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg,fieldenms/tg | package ua.com.fielden.platform.web.centre;
import static java.lang.String.format;
import static ua.com.fielden.platform.web.centre.EgiConfigurations.CHECKBOX_FIXED;
import static ua.com.fielden.platform.web.centre.EgiConfigurations.CHECKBOX_VISIBLE;
import static ua.com.fielden.platform.web.centre.EgiConfigurations.C... | platform-web-ui/src/main/java/ua/com/fielden/platform/web/centre/EntityCentre.java | package ua.com.fielden.platform.web.centre;
import static java.lang.String.format;
import static ua.com.fielden.platform.web.centre.EgiConfigurations.CHECKBOX_FIXED;
import static ua.com.fielden.platform.web.centre.EgiConfigurations.CHECKBOX_VISIBLE;
import static ua.com.fielden.platform.web.centre.EgiConfigurations.C... | #833 fixed formating in entity centre generation.
| platform-web-ui/src/main/java/ua/com/fielden/platform/web/centre/EntityCentre.java | #833 fixed formating in entity centre generation. | <ide><path>latform-web-ui/src/main/java/ua/com/fielden/platform/web/centre/EntityCentre.java
<ide> replace(EGI_SHORTCUTS, shortcuts).
<ide> replace(EGI_TOOLBAR_VISIBLE, TOOLBAR_VISIBLE.eval(!dslDefaultConfig.shouldHideToolbar())).
<ide> replace(EGI_CHECKBOX_VISIBILITY, CH... | |
Java | apache-2.0 | 477698192988aa413fdd82eb2559e0c2a282faba | 0 | shapesecurity/salvation | package com.shapesecurity.salvation;
import com.shapesecurity.salvation.data.*;
import com.shapesecurity.salvation.directiveValues.*;
import com.shapesecurity.salvation.directives.*;
import com.shapesecurity.salvation.tokens.*;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.*;
imp... | src/main/java/com/shapesecurity/salvation/Parser.java | package com.shapesecurity.salvation;
import com.shapesecurity.salvation.data.*;
import com.shapesecurity.salvation.directiveValues.*;
import com.shapesecurity.salvation.directives.*;
import com.shapesecurity.salvation.tokens.*;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.*;
imp... | use `eat` when applicable | src/main/java/com/shapesecurity/salvation/Parser.java | use `eat` when applicable | <ide><path>rc/main/java/com/shapesecurity/salvation/Parser.java
<ide> case Allow:
<ide> this.error(token,
<ide> "The allow directive has been replaced with default-src and is not in the CSP specification.");
<del> if (this.hasNext(DirectiveV... | |
Java | apache-2.0 | a3bdaedbfe3aa053157095550969e3a1df2899d7 | 0 | spring-cloud/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,spring-cloud/spring-cloud... | /*
* Copyright 2017-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-cloud-dataflow-composed-task-runner/src/main/java/org/springframework/cloud/dataflow/composedtaskrunner/StepBeanDefinitionRegistrar.java | /*
* Copyright 2017-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Add OAuth2 client auth method property to StepBeanDefinitionRegistrar (#5058)
| spring-cloud-dataflow-composed-task-runner/src/main/java/org/springframework/cloud/dataflow/composedtaskrunner/StepBeanDefinitionRegistrar.java | Add OAuth2 client auth method property to StepBeanDefinitionRegistrar (#5058) | <ide><path>pring-cloud-dataflow-composed-task-runner/src/main/java/org/springframework/cloud/dataflow/composedtaskrunner/StepBeanDefinitionRegistrar.java
<ide> import org.springframework.context.annotation.ImportBeanDefinitionRegistrar;
<ide> import org.springframework.core.env.Environment;
<ide> import org.springframe... | |
JavaScript | apache-2.0 | 6330641088d2e07f69e72f636637e1ba14f0d10e | 0 | soajs/soajs.dashboard | 'use strict';
var colName = "environment";
var templatesColName = "templates";
var hostsColName = "hosts";
var controllesColl = "controllers";
var tenantColName = "tenants";
var cdColName = 'cicd';
var fs = require('fs');
var async = require('async');
const config = require("../../config.js");
var utils = require("..... | lib/environment/index.js | 'use strict';
var colName = "environment";
var templatesColName = "templates";
var hostsColName = "hosts";
var controllesColl = "controllers";
var tenantColName = "tenants";
var cdColName = 'cicd';
var fs = require('fs');
var async = require('async');
const config = require("../../config.js");
var utils = require("..... | bug fix when removing environment with force
| lib/environment/index.js | bug fix when removing environment with force | <ide><path>ib/environment/index.js
<ide> if(req.soajs.inputmaskData.code){
<ide> opts.conditions = { 'code': req.soajs.inputmaskData.code.toUpperCase() };
<ide> }
<del>
<add>
<ide> checkReturnError(req, cbMain, { config: config, error: !opts.conditions, code: 405 }, function () {
<ide> BL.model.findEntry(... | |
Java | apache-2.0 | 327307458bd2050ebd488c1d5c3f9b17a7149a62 | 0 | sksamuel/scrimage,sksamuel/scrimage | package com.sksamuel.scrimage;
import com.drew.metadata.exif.ExifIFD0Directory;
import java.util.Arrays;
import java.util.Set;
import java.util.stream.Collectors;
public class Orientation {
public static Boolean requiresReorientation(ImageMetadata metadata) {
Set<String> imageOrientations = imageOrientations... | scrimage-core/src/main/java/com/sksamuel/scrimage/Orientation.java | package com.sksamuel.scrimage;
import com.drew.metadata.exif.ExifIFD0Directory;
import java.util.Arrays;
import java.util.Set;
import java.util.stream.Collectors;
public class Orientation {
public static Boolean requiresReorientation(ImageMetadata metadata) {
Set<String> imageOrientations = imageOrientations... | Fixed orientation
| scrimage-core/src/main/java/com/sksamuel/scrimage/Orientation.java | Fixed orientation | <ide><path>crimage-core/src/main/java/com/sksamuel/scrimage/Orientation.java
<ide> // Flip horizontally
<ide> case "2":
<ide> // Rotate 180 degrees
<del> image.flipX();
<add> return image.flipX();
<ide> case "3":
<ide> // Rotate 180 degrees and flip horizontally
<del> ... | |
Java | apache-2.0 | e634340201ea5bd38bb0a1806d63d7f1e8a7ff6f | 0 | xschildw/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,xschildw/Synapse-Repositor... | package org.sagebionetworks.javadoc;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.net.URL;
import com.su... | lib/lib-javadoc/src/test/java/org/sagebionetworks/javadoc/JavaDocTestUtil.java | package org.sagebionetworks.javadoc;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.net.URL;
import com.su... | Remove extra separator
| lib/lib-javadoc/src/test/java/org/sagebionetworks/javadoc/JavaDocTestUtil.java | Remove extra separator | <ide><path>ib/lib-javadoc/src/test/java/org/sagebionetworks/javadoc/JavaDocTestUtil.java
<ide> BufferedReader reader = new BufferedReader(new FileReader(classpathFile));
<ide> String classpath = reader.readLine();
<ide> reader.close();
<del> classpath += File.pathSeparator + additionalClasspathDirectory.getAbsol... | |
Java | apache-2.0 | 5d479dc645959f51ed7c56696d70e8e779f07d88 | 0 | OpenVidu/openvidu,OpenVidu/openvidu,OpenVidu/openvidu,OpenVidu/openvidu,OpenVidu/openvidu,OpenVidu/openvidu | /*
* (C) Copyright 2017-2020 OpenVidu (https://openvidu.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | openvidu-server/src/main/java/io/openvidu/server/recording/service/ComposedRecordingService.java | /*
* (C) Copyright 2017-2020 OpenVidu (https://openvidu.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | openvidu-server: fix log message when recording with video only
| openvidu-server/src/main/java/io/openvidu/server/recording/service/ComposedRecordingService.java | openvidu-server: fix log message when recording with video only | <ide><path>penvidu-server/src/main/java/io/openvidu/server/recording/service/ComposedRecordingService.java
<ide> throws OpenViduException {
<ide>
<ide> log.info("Starting composed ({}) recording {} of session {}",
<del> properties.hasAudio() ? "video + audio" : "audio-only", recording.getId(), recording.getSes... | |
Java | apache-2.0 | e7491b24064d3b862024c622bc3f76e8b5cad637 | 0 | vmarusic/springfox,yelhouti/springfox,ammmze/swagger-springmvc,zhiqinghuang/springfox,arshadalisoomro/springfox,qq291462491/springfox,namkee/springfox,thomsonreuters/springfox,zhiqinghuang/springfox,ammmze/swagger-springmvc,springfox/springfox,namkee/springfox,izeye/springfox,yelhouti/springfox,arshadalisoomro/springfo... | package com.mangofactory.swagger.readers;
import com.mangofactory.swagger.scanners.RequestMappingContext;
import com.wordnik.swagger.annotations.ApiOperation;
import com.wordnik.swagger.converter.SwaggerSchemaConverter;
import com.wordnik.swagger.model.Model;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
im... | src/main/java/com/mangofactory/swagger/readers/ApiModelReader.java | package com.mangofactory.swagger.readers;
import com.mangofactory.swagger.scanners.RequestMappingContext;
import com.wordnik.swagger.annotations.ApiOperation;
import com.wordnik.swagger.converter.SwaggerSchemaConverter;
import com.wordnik.swagger.model.Model;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
im... | #214 fix parameter model generation
| src/main/java/com/mangofactory/swagger/readers/ApiModelReader.java | #214 fix parameter model generation | <ide><path>rc/main/java/com/mangofactory/swagger/readers/ApiModelReader.java
<ide> log.debug("Swagger core did not find any models");
<ide> }
<ide>
<del> Class<?>[] parameterTypes = handlerMethod.getMethod().getParameterTypes();
<del> for (Class<?> parameterType : parameterTypes) {
<del> ... | |
Java | lgpl-2.1 | e04e119bbdb689c29dc7d6e98f007765ccc0af91 | 0 | armanbilge/BEAST_sandbox,svn2github/beast-mcmc,armanbilge/BEAST_sandbox,svn2github/beast-mcmc,svn2github/beast-mcmc,svn2github/beast-mcmc,armanbilge/BEAST_sandbox,armanbilge/BEAST_sandbox,svn2github/beast-mcmc,armanbilge/BEAST_sandbox | /*
* HierarchicalTransmissionDemographicModel.java
*
* Copyright (c) 2002-2012 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; ... | src/dr/evomodel/transmission/HierarchicalTransmissionDemographicModel.java | /*
* HierarchicalTransmissionDemographicModel.java
*
* Copyright (c) 2002-2012 Alexei Drummond, Andrew Rambaut and Marc Suchard
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; ... | Tweaks to hierarchical transmission model
git-svn-id: 67bc77c75b8364e4e9cdff0eb6560f5818674cd8@4972 ca793f91-a31e-0410-b540-2769d408b6a1
| src/dr/evomodel/transmission/HierarchicalTransmissionDemographicModel.java | Tweaks to hierarchical transmission model | <ide><path>rc/dr/evomodel/transmission/HierarchicalTransmissionDemographicModel.java
<ide>
<ide> if (N0Parameter != null) {
<ide> N0Parameter.setDimension(hostCount);
<del> N0Parameter.addBounds(new Parameter.DefaultBounds(Double.POSITIVE_INFINITY, 0.0, hostCount));
<add>// N0... | |
Java | mit | caccfa4f325396c866bb803d51ee0c3763e8d073 | 0 | SpongePowered/Sponge,SpongePowered/Sponge,SpongePowered/Sponge,SpongePowered/SpongeCommon,SpongePowered/SpongeCommon | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | src/main/java/org/spongepowered/common/mixin/core/block/MixinBlockDropper.java | /*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | add Surrogate for SpongeVanilla
| src/main/java/org/spongepowered/common/mixin/core/block/MixinBlockDropper.java | add Surrogate for SpongeVanilla | <ide><path>rc/main/java/org/spongepowered/common/mixin/core/block/MixinBlockDropper.java
<ide> */
<ide> package org.spongepowered.common.mixin.core.block;
<ide>
<add>import net.minecraft.block.BlockDispenser;
<ide> import net.minecraft.block.BlockDropper;
<ide> import net.minecraft.block.BlockSourceImpl;
<ide> import... | |
Java | apache-2.0 | b508dd2357736e030bcf6666fd73527ebb61a10d | 0 | 459below/jitsi,459below/jitsi,dkcreinoso/jitsi,damencho/jitsi,HelioGuilherme66/jitsi,mckayclarey/jitsi,tuijldert/jitsi,cobratbq/jitsi,pplatek/jitsi,cobratbq/jitsi,Metaswitch/jitsi,laborautonomo/jitsi,bhatvv/jitsi,iant-gmbh/jitsi,jitsi/jitsi,jitsi/jitsi,tuijldert/jitsi,pplatek/jitsi,bebo/jitsi,Metaswitch/jitsi,ibauersac... | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.util.*;
import java.util.List;
i... | src/net/java/sip/communicator/impl/gui/main/MainFrame.java | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.util.*;
import java.util.List;
i... | enter doesn't work on the contact list - fixed
| src/net/java/sip/communicator/impl/gui/main/MainFrame.java | enter doesn't work on the contact list - fixed | <ide><path>rc/net/java/sip/communicator/impl/gui/main/MainFrame.java
<ide> this.mainPanel.getActionMap().put("runChat",
<ide> new RunMessageWindowAction());
<ide>
<del> InputMap imap = this.getRootPane().getInputMap(
<add> InputMap imap = mainPanel.getInputMap(
<ide> ... | |
JavaScript | mit | c189c01b457581098b25b6f76f6c899693296b32 | 0 | shamblesides/rpnow,shamblesides/rpnow | angular.module('rpnow', ['ngRoute', 'ngMaterial', 'angularCSS', 'luegg.directives', 'mp.colorPicker', 'LocalStorageModule'])
.config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
$locationProvider.html5Mode(true);
$routeProvider
.when('/', {
title: '... | client/app/app.js | angular.module('rpnow', ['ngRoute', 'ngMaterial', 'angularCSS', 'luegg.directives', 'mp.colorPicker', 'LocalStorageModule'])
.config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) {
$locationProvider.html5Mode(true);
$routeProvider
.when('/', {
title: '... | Scrollglue problem workaround
For some reason, these extra $watches make scrollglue be less
spotty. I don't exactly understand why, but probably there are
just view changes happening outside of angular that are causing
problems. I don't want to figure them out right now
| client/app/app.js | Scrollglue problem workaround | <ide><path>lient/app/app.js
<ide> $scope.$watch('rp.title', function(rpTitle) {
<ide> if (rpTitle) document.title = rpTitle;
<ide> });
<del>
<add>
<ide> $scope.isStoryGlued = true;
<add> // for SOME REASON this makes scrollglue work properly again
<add> // my best guess? view changes are ... | |
Java | mit | 3322fc977fae162e7fa6613eabf3e3f5bdd13919 | 0 | mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb | package ai.verta.modeldb.common.futures;
import ai.verta.modeldb.common.CommonUtils;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.protobuf.GeneratedMessageV3;
import io.grpc.Context;
import io.grpc.stub.StreamObserver;
import io.opentrac... | backend/common/src/main/java/ai/verta/modeldb/common/futures/FutureGrpc.java | package ai.verta.modeldb.common.futures;
import ai.verta.modeldb.common.CommonUtils;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.protobuf.GeneratedMessageV3;
import io.grpc.Context;
import io.grpc.stub.StreamObserver;
import io.opentrac... | Fix bad inport (#2543)
| backend/common/src/main/java/ai/verta/modeldb/common/futures/FutureGrpc.java | Fix bad inport (#2543) | <ide><path>ackend/common/src/main/java/ai/verta/modeldb/common/futures/FutureGrpc.java
<ide> import com.google.protobuf.GeneratedMessageV3;
<ide> import io.grpc.Context;
<ide> import io.grpc.stub.StreamObserver;
<del>import io.opentracing.contrib.grpc.OpenTracingContextKey;
<ide> import io.opentracing.util.GlobalTracer... | |
JavaScript | mit | dbb4157ce38854723b8763e5d11c93dd398ac259 | 0 | nkohari/tutorial-navigator,nkohari/tutorial-navigator,nkohari/tutorial-navigator | import TutorialStore from './stores/tutorial-store';
import ArticleStore from './stores/article-store';
import loadSettingsAction from './action/load-settings-action';
import navigateAction from './action/navigate-action';
import loadArticleAction from './action/load-article-action';
import TutorialNavigator from './co... | src/app.js | import TutorialStore from './stores/tutorial-store';
import ArticleStore from './stores/article-store';
import loadSettingsAction from './action/load-settings-action';
import navigateAction from './action/navigate-action';
import loadArticleAction from './action/load-article-action';
import TutorialNavigator from './co... | Update article service
| src/app.js | Update article service | <ide><path>rc/app.js
<ide> Tutorial : Tutorial,
<ide> TutorialStore : TutorialStore,
<ide> ArticleStore : ArticleStore,
<del> articleService : loadArticle,
<add> articleService : {
<add> loadArticle : loadArticle
<add> },
<ide> loadSettingsAction : loadSettingsAction,
<ide> loadArticleAction : loadArtic... | |
Java | apache-2.0 | 49b0ef9d16cc0acbf74c8560bed51c91062b9223 | 0 | Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces | /*******************************************************************************
* Copyright (c) 2012 GigaSpaces Technologies Ltd. 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 th... | src/main/java/org/openspaces/grid/gsm/strategy/AutomaticCapacityScaleStrategyBean.java | /*******************************************************************************
* Copyright (c) 2012 GigaSpaces Technologies Ltd. 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 th... | GS-10575 Added more debug level logging to investigate IllegalArgumentException
svn path=/xap/trunk/openspaces/; revision=129239
Former-commit-id: cc6cee5906eab5b9f3e3a242358dc17a9ed8457f | src/main/java/org/openspaces/grid/gsm/strategy/AutomaticCapacityScaleStrategyBean.java | GS-10575 Added more debug level logging to investigate IllegalArgumentException | <ide><path>rc/main/java/org/openspaces/grid/gsm/strategy/AutomaticCapacityScaleStrategyBean.java
<ide> enforceAutoScalingSla(zones, enforced, newPlanned);
<ide>
<ide> } catch (AutoScalingHighThresholdBreachedException e) {
<add> if (getLogger().isDebugEnabled()) {... | |
Java | lgpl-2.1 | 051fe2a163720bd7008ab6b9136f721f0100b97b | 0 | krichter722/swingx,trejkaz/swingx,tmyroadctfig/swingx,trejkaz/swingx,krichter722/swingx | /*
* $Id$
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*
* 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 Founda... | src/java/org/jdesktop/swingx/JXFrame.java | /*
* $Id$
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*
* 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 Founda... | Added StartPosition enum and implementation (is this much different than setLocationRelativeTo?)
git-svn-id: 9c6ef37dfd7eaa5a3748af7ba0f8d9e7b67c2a4c@1578 1312f61e-266d-0410-97fa-c3b71232c9ac
| src/java/org/jdesktop/swingx/JXFrame.java | Added StartPosition enum and implementation (is this much different than setLocationRelativeTo?) | <ide><path>rc/java/org/jdesktop/swingx/JXFrame.java
<ide>
<ide> import javax.swing.JFrame;
<ide> import javax.swing.JRootPane;
<add>import org.jdesktop.swingx.util.WindowUtils;
<ide>
<ide>
<ide> /**
<ide> * This frame uses a JXRootPane.
<ide> */
<ide> public class JXFrame extends JFrame {
<add> public enum Star... | |
Java | apache-2.0 | e10f0fd0e7de751d8a9fb68401440b5cc4179f8c | 0 | blackducksoftware/hub-detect,blackducksoftware/hub-detect,blackducksoftware/hub-detect,blackducksoftware/hub-detect | /**
* hub-detect
*
* Copyright (C) 2018 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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 owners... | src/main/groovy/com/blackducksoftware/integration/hub/detect/help/DetectOption.java | /**
* hub-detect
*
* Copyright (C) 2018 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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 owners... | Adding comment to fix the configuration printing
| src/main/groovy/com/blackducksoftware/integration/hub/detect/help/DetectOption.java | Adding comment to fix the configuration printing | <ide><path>rc/main/groovy/com/blackducksoftware/integration/hub/detect/help/DetectOption.java
<ide> }
<ide>
<ide> public boolean isAcceptableValue(final String value) {
<add> //FIXME this is not working when the value is a comma separated list
<ide> return acceptableValues.stream()
<ide> ... | |
Java | epl-1.0 | 83a47149d5afcfd56ca629ebc687fab9cec4b8cd | 0 | gnodet/wikitext | /*******************************************************************************
* Copyright (c) 2004 - 2005 University Of British Columbia 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 ... | org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java | /*******************************************************************************
* Copyright (c) 2004 - 2005 University Of British Columbia 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 ... | fix for reopen bug completion
| org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java | fix for reopen bug completion | <ide><path>rg.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java
<ide> String status = bugReport.getAttribute("Status").getValue();
<ide> if (status.equals("RESOLVED") || status.equals("CLOSED") || status.equals("VERIFIED")) {
<ide> setCompleted(true);
<del> }
<add> } e... | |
Java | apache-2.0 | 3535eb380abc4e81434ea556a6f5bcdac45b6b0f | 0 | lanceleverich/drools,292388900/drools,TonnyFeng/drools,yurloc/drools,TonnyFeng/drools,iambic69/drools,manstis/drools,jiripetrlik/drools,sotty/drools,kevinpeterson/drools,droolsjbpm/drools,lanceleverich/drools,jomarko/drools,romartin/drools,sotty/drools,pperboires/PocDrools,sutaakar/drools,mrrodriguez/drools,liupugong/d... | /**
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | drools-core/src/main/java/org/drools/rule/TypeDeclaration.java | /**
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Parser fixes, related to 35927.
git-svn-id: a243bed356d289ca0d1b6d299a0597bdc4ecaa09@35929 c60d74c8-e8f6-0310-9e8f-d4a2fc68ab70
| drools-core/src/main/java/org/drools/rule/TypeDeclaration.java | Parser fixes, related to 35927. | <ide><path>rools-core/src/main/java/org/drools/rule/TypeDeclaration.java
<ide> public static final String ATTR_DURATION = "duration";
<ide> public static final String ATTR_TIMESTAMP = "timestamp";
<ide> public static final String ATTR_EXPIRE = "expires";
<add> public sta... | |
Java | bsd-3-clause | 19ddd8cf21fe7159b8b4decdcc148ec224bb689a | 0 | Polidea/android-flip3d | package pl.polidea.androidflip3d;
import java.util.Arrays;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.Log;
import ... | src/pl/polidea/androidflip3d/Flip3DView.java | package pl.polidea.androidflip3d;
import java.util.Arrays;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.Log;
import ... | Added possibility of retrieving views.
| src/pl/polidea/androidflip3d/Flip3DView.java | Added possibility of retrieving views. | <ide><path>rc/pl/polidea/androidflip3d/Flip3DView.java
<ide> private static final int DEFAULT_FRONT_TO_BACK = RotationDirection.ROTATE_LEFT;
<ide> private static final int DEFAULT_BACK_TO_FRONT = RotationDirection.ROTATE_RIGHT;
<ide>
<del> private final FrameLayout.LayoutParams layoutParams = new FrameLayou... | |
Java | apache-2.0 | 0f7fc4c148ac3419d9c76736badf69ff1d27e569 | 0 | Shockah/Godwit | package pl.shockah.godwit;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import lombok.Getter;
import pl.shockah.godwit.fx.Animatable;
import pl.shockah.godwit.fx.Animatables;
import pl.shockah.godwit.geom.IVec2;
imp... | core/src/pl/shockah/godwit/Entity.java | package pl.shockah.godwit;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import lombok.Getter;
import pl.shockah.godwit.fx.Animatable;
import pl.shockah.godwit.fx.Animatables;
import pl.shockah.godwit.geom.IVec2;
imp... | Entity.on(AddedTo/RemovedFrom)Hierarchy(Entity indirectChild)
| core/src/pl/shockah/godwit/Entity.java | Entity.on(AddedTo/RemovedFrom)Hierarchy(Entity indirectChild) | <ide><path>ore/src/pl/shockah/godwit/Entity.java
<ide> throw new IllegalStateException(String.format("Entity %s already has a parent %s.", entity, entity.parent));
<ide> entity.parent = this;
<ide> children.add(entity);
<add> callDownAddedToHierarchy(this, entity);
<ide> callAddedToHierarchy(entity);
<ide> ... | |
Java | apache-2.0 | 49f916abb89dd4ded38cc0d322d6cf28960f8731 | 0 | chanakaudaya/carbon-transports,wggihan/carbon-transports,wso2/carbon-transports,shafreenAnfar/carbon-transports,bsenduran/carbon-transports,thusithathilina/carbon-transports | /*
* 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
*
* Unles... | http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/listener/ResponseCallback.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
*
* Unles... | Response path, handling already built messages (#129)
* Response path, handling already built messages
* Changed Variable name of the log instance
| http/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/listener/ResponseCallback.java | Response path, handling already built messages (#129) | <ide><path>ttp/netty/components/org.wso2.carbon.transport.http.netty/src/main/java/org/wso2/carbon/transport/http/netty/listener/ResponseCallback.java
<ide> import org.wso2.carbon.messaging.CarbonCallback;
<ide> import org.wso2.carbon.messaging.CarbonMessage;
<ide> import org.wso2.carbon.messaging.DefaultCarbonMessage;... | |
Java | apache-2.0 | 6b85770e9de6961eccbe96c7f0f132cba69215a0 | 0 | UniTime/unitime,maciej-zygmunt/unitime,nikeshmhr/unitime,rafati/unitime,sktoo/timetabling-system-,rafati/unitime,zuzanamullerova/unitime,sktoo/timetabling-system-,rafati/unitime,UniTime/unitime,nikeshmhr/unitime,sktoo/timetabling-system-,maciej-zygmunt/unitime,zuzanamullerova/unitime,UniTime/unitime,maciej-zygmunt/unit... | /*
* UniTime 3.2 (University Timetabling Application)
* Copyright (C) 2008 - 2010, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | JavaSource/org/unitime/timetable/ApplicationProperties.java | /*
* UniTime 3.2 (University Timetabling Application)
* Copyright (C) 2008 - 2010, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | Application properties
- allow to override the default data folder using the unitime.data.dir property (this allows two UniTime instances to co-exist on the same Tomcat server)
| JavaSource/org/unitime/timetable/ApplicationProperties.java | Application properties - allow to override the default data folder using the unitime.data.dir property (this allows two UniTime instances to co-exist on the same Tomcat server) | <ide><path>avaSource/org/unitime/timetable/ApplicationProperties.java
<ide> }
<ide>
<ide> public static File getDataFolder() {
<add> if (getProperty("unitime.data.dir") != null) {
<add> File dir = new File(getProperty("unitime.data.dir"));
<add> dir.mkdirs();
<add> return dir;
<add> }
<ide> File dir = new... | |
Java | apache-2.0 | f0071287dcfb518e884da29db5f0a5965adbfa66 | 0 | xfournet/intellij-community,apixandru/intellij-community,ryano144/intellij-community,salguarnieri/intellij-community,blademainer/intellij-community,TangHao1987/intellij-community,apixandru/intellij-community,Distrotech/intellij-community,adedayo/intellij-community,joewalnes/idea-community,semonte/intellij-community,dio... | /*
* Copyright 2000-2007 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... | lang-api/src/com/intellij/psi/codeStyle/CodeStyleSettings.java | /*
* Copyright 2000-2007 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... | IDEADEV-27424 fixed
| lang-api/src/com/intellij/psi/codeStyle/CodeStyleSettings.java | IDEADEV-27424 fixed | <ide><path>ang-api/src/com/intellij/psi/codeStyle/CodeStyleSettings.java
<ide> public void writeExternal(Element element) throws WriteExternalException {
<ide> final CodeStyleSettings parentSettings = new CodeStyleSettings();
<ide> DefaultJDOMExternalizer.writeExternal(this, element, new DifferenceFilter<Code... | |
Java | apache-2.0 | 25839434729cb1a1fc2237b799e8e855cd1a9edc | 0 | apache/tinkerpop,velo/incubator-tinkerpop,RedSeal-co/incubator-tinkerpop,edgarRd/incubator-tinkerpop,samiunn/incubator-tinkerpop,vtslab/incubator-tinkerpop,gdelafosse/incubator-tinkerpop,krlohnes/tinkerpop,velo/incubator-tinkerpop,pluradj/incubator-tinkerpop,vtslab/incubator-tinkerpop,robertdale/tinkerpop,newkek/incuba... | /*
* 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 ... | gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/graph/traversal/GraphTraversalContext.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 ... | Strategies should be local to a context not added to the global strategy cache.
| gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/graph/traversal/GraphTraversalContext.java | Strategies should be local to a context not added to the global strategy cache. | <ide><path>remlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/graph/traversal/GraphTraversalContext.java
<ide> public GraphTraversalContext(final Graph graph, final TraversalEngine.Builder engine, final TraversalStrategy... strategies) {
<ide> this.graph = graph;
<ide> this.engine = engi... | |
Java | apache-2.0 | f751b1f5e6070aaaf3d14b679f528a4fb373c501 | 0 | googlesamples/android-testdpc,googlesamples/android-testdpc | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | app/src/test/java/com/afwsamples/testdpc/feedback/AppStatesServiceTest.java | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | fix error in AppStatesServiceTest
Test: ./gradlew test
Change-Id: Icfa9e7aa5ce62bd2d355b0a2cb5b66b2da1df9b4
| app/src/test/java/com/afwsamples/testdpc/feedback/AppStatesServiceTest.java | fix error in AppStatesServiceTest | <ide><path>pp/src/test/java/com/afwsamples/testdpc/feedback/AppStatesServiceTest.java
<ide> import android.content.Context;
<ide> import android.content.SharedPreferences;
<ide> import android.os.Build.VERSION_CODES;
<del>import android.support.v7.preference.PreferenceManager;
<ide> import androidx.enterprise.feedback.... | |
JavaScript | apache-2.0 | 7b12302898a5eb052c47a931d28ee9513209a950 | 0 | amcharts/export | /*
Plugin Name: amCharts Export
Description: Adds export capabilities to amCharts products
Author: Benjamin Maertz, amCharts
Version: 1.0
Author URI: http://www.amcharts.com/
Copyright 2015 amCharts
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in complianc... | export.js | /*
Plugin Name: amCharts Export
Description: Adds export capabilities to amCharts products
Author: Benjamin Maertz, amCharts
Version: 1.0
Author URI: http://www.amcharts.com/
Copyright 2015 amCharts
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in complianc... | Bubble bullet fix and polishing
| export.js | Bubble bullet fix and polishing | <ide><path>xport.js
<ide> fileName: "amCharts",
<ide> action: "download",
<ide> formats: {
<del> "JPG": {
<add> JPG: {
<ide> mimeType: "image/jpg",
<ide> extension: "jpg",
<ide> capture: true
<ide> },
<del> "PNG": {
<add> PNG: {
<ide> mimeType: "image/png",
<ide> extens... | |
JavaScript | agpl-3.0 | 87c00840a410db3bb9d2e8dd43bd0aa088528ee9 | 0 | tocco/tocco-client,tocco/tocco-client,tocco/tocco-client | import PropTypes from 'prop-types'
import {appFactory} from 'tocco-app-extensions'
import {reducer as reducerUtil, appContext, env} from 'tocco-util'
import UserMenu from './components/UserMenu'
import {getDispatchActions} from './input'
import reducers, {sagas} from './modules/reducers'
const packageName = 'user-men... | packages/widgets/user-menu/src/main.js | import PropTypes from 'prop-types'
import {appFactory} from 'tocco-app-extensions'
import {reducer as reducerUtil, appContext} from 'tocco-util'
import UserMenu from './components/UserMenu'
import {getDispatchActions} from './input'
import reducers, {sagas} from './modules/reducers'
const packageName = 'user-menu'
c... | fix(user-menu): add missing setInputEnvs
Changelog: add missing setInputEnvs
Refs: TOCDEV-5750
| packages/widgets/user-menu/src/main.js | fix(user-menu): add missing setInputEnvs | <ide><path>ackages/widgets/user-menu/src/main.js
<ide> import PropTypes from 'prop-types'
<ide> import {appFactory} from 'tocco-app-extensions'
<del>import {reducer as reducerUtil, appContext} from 'tocco-util'
<add>import {reducer as reducerUtil, appContext, env} from 'tocco-util'
<ide>
<ide> import UserMenu from './... | |
JavaScript | mit | f33594f1c91ed978e1b9d7ff46f3e4bedd600ac3 | 0 | mjmlio/mjml-app,mjmlio/mjml-app,mjmlio/mjml-app | import { handleActions } from 'redux-actions'
const state = []
export default handleActions(
{
ALERT_ADD: (state, { payload: alert }) => [alert, ...state].slice(0, 5),
ALERT_REMOVE: (state, { payload: id }) => state.filter(a => a.id !== id),
},
state,
)
let __ID__ = 0
export function addAlert(message,... | src/reducers/alerts.js | import { handleActions } from 'redux-actions'
const state = []
export default handleActions(
{
ALERT_ADD: (state, { payload: alert }) => [alert, ...state].slice(0, 5),
ALERT_REMOVE: (state, { payload: id }) => state.filter(a => a.id !== id),
},
state,
)
let __ID__ = 0
export function addAlert(message,... | fix crash now happening when alerts calls don't set autoHide
| src/reducers/alerts.js | fix crash now happening when alerts calls don't set autoHide | <ide><path>rc/reducers/alerts.js
<ide>
<ide> let __ID__ = 0
<ide>
<del>export function addAlert(message, type = 'info', { autoHide = true }) {
<add>export function addAlert(message, type = 'info', { autoHide = true } = {}) {
<ide> return dispatch => {
<ide> const alert = { id: __ID__++, message, type }
<ide> ... | |
Java | apache-2.0 | bd22f845e27f0a348abad6a1a83b80e1590ee0b8 | 0 | bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr | /*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | java/jeeintegration/src/main/java/io/joynr/jeeintegration/ProviderWrapper.java | /*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [Java] Improved handling of unexpected exceptions in ProviderWrapper
* Wrap unexpected exceptions (which are neither ProviderRuntimeException
nor ApplicationException) into ProviderRuntimeException
| java/jeeintegration/src/main/java/io/joynr/jeeintegration/ProviderWrapper.java | [Java] Improved handling of unexpected exceptions in ProviderWrapper | <ide><path>ava/jeeintegration/src/main/java/io/joynr/jeeintegration/ProviderWrapper.java
<ide>
<ide> private JoynrException getJoynrExceptionFromInvocationException(InvocationTargetException e) throws InvocationTargetException {
<ide> JoynrException joynrException = null;
<del> if (e.getCause() inst... | |
Java | apache-2.0 | 98b6a01114a2d32285c71f66708279e4fddac28f | 0 | BastiOfBerlin/BigDataObjectSerializer | package de.tub.cit.slist.bdos;
import java.io.Serializable;
import java.lang.reflect.UndeclaredThrowableException;
import java.util.AbstractSequentialList;
import java.util.Collection;
import java.util.ConcurrentModificationException;
import java.util.Deque;
import java.util.Iterator;
import java.util.List;
... | src/main/java/de/tub/cit/slist/bdos/BigDataLinkedList.java | package de.tub.cit.slist.bdos;
import java.io.Serializable;
import java.lang.reflect.UndeclaredThrowableException;
import java.util.AbstractSequentialList;
import java.util.Collection;
import java.util.ConcurrentModificationException;
import java.util.Deque;
import java.util.Iterator;
import java.util.List;
... | ofer(): returning false iff underlying memory is already full | src/main/java/de/tub/cit/slist/bdos/BigDataLinkedList.java | ofer(): returning false iff underlying memory is already full | <ide><path>rc/main/java/de/tub/cit/slist/bdos/BigDataLinkedList.java
<ide>
<ide> @Override
<ide> public boolean offerFirst(final T e) {
<add> if (isFull()) return false;
<ide> addFirst(e);
<ide> return true;
<ide> }
<ide>
<ide> @Override
<ide> public boolean offerLast(final T e) {
<add> if (isFull()) retur... | |
Java | apache-2.0 | 2640753a388e6066a7075e7bf6aeb9179f897425 | 0 | data-integrations/database-delta-plugins | /*
* Copyright © 2020 Cask Data, 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 t... | mysql-delta-plugins/src/main/java/io/cdap/delta/mysql/MySqlRecordConsumer.java | /*
* Copyright © 2020 Cask Data, 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 t... | Reuse the static Snapshot variable.
| mysql-delta-plugins/src/main/java/io/cdap/delta/mysql/MySqlRecordConsumer.java | Reuse the static Snapshot variable. | <ide><path>ysql-delta-plugins/src/main/java/io/cdap/delta/mysql/MySqlRecordConsumer.java
<ide> // This should not happen, 'source' is a mandatory field in sourceRecord from debezium
<ide> return;
<ide> }
<del> boolean isSnapshot = Boolean.TRUE.equals(source.get("snapshot"));
<add> boolean isSnapsh... | |
Java | mit | 51eab6debe3e99a34f0fb0068afc8db252652e5d | 0 | Moudoux/EMC | package me.deftware.client.framework.event.events;
import me.deftware.client.framework.event.Event;
import me.deftware.client.framework.network.IPacket;
import me.deftware.client.framework.network.packets.*;
import net.minecraft.network.Packet;
import net.minecraft.server.network.packet.GuiCloseC2SPacket;
import net.m... | src/main/java/me/deftware/client/framework/event/events/EventPacketSend.java | package me.deftware.client.framework.event.events;
import me.deftware.client.framework.event.Event;
import me.deftware.client.framework.network.IPacket;
import me.deftware.client.framework.network.packets.*;
import net.minecraft.network.Packet;
import net.minecraft.server.network.packet.GuiCloseC2SPacket;
import net.m... | [Fix] Fix getIPacket, and suppress Warnings from it
| src/main/java/me/deftware/client/framework/event/events/EventPacketSend.java | [Fix] Fix getIPacket, and suppress Warnings from it | <ide><path>rc/main/java/me/deftware/client/framework/event/events/EventPacketSend.java
<ide> * Triggered when packet is being sent to the server
<ide> */
<ide>
<add>@SuppressWarnings("ConstantConditions")
<ide> public class EventPacketSend extends Event {
<ide>
<ide> private Packet<?> packet;
<ide> }
<ide> ... | |
JavaScript | bsd-3-clause | 5967940b83c14f5047863f1a6529c40f20af676b | 0 | justinforce/jquery-sameheight | /*
* sameHeight jQuery plugin
* http://github.com/sidewaysmilk/jquery-sameheight
*
* Copyright 2011, Justin Force
* Licensed under the MIT license
*/
jQuery.fn.sameHeight = function() {
var these = this;
function setHeight() {
var max = 0;
these.height('auto').each(function() {
max = Math.max(max, jQu... | jquery.sameheight.js | (function($) {
$.fn.sameHeight = function() {
var these = this;
function setHeight() {
var max = 0;
these.height('auto').each(function() {
max = Math.max(max, $(this).height());
}).height(max);
};
$(window).resize(setHeight);
setHeight();
return this;
};
})(jQuery);... | Add header and don't use $ for jQuery
| jquery.sameheight.js | Add header and don't use $ for jQuery | <ide><path>query.sameheight.js
<del>(function($) {
<del> $.fn.sameHeight = function() {
<del> var these = this;
<del> function setHeight() {
<del> var max = 0;
<del> these.height('auto').each(function() {
<del> max = Math.max(max, $(this).height());
<del> }).height(max);
<del> };
<del> ... | |
Java | apache-2.0 | 2cbeb61e7d72863266482357d07b0526a1c47c24 | 0 | EvilMcJerkface/Aeron,mikeb01/Aeron,galderz/Aeron,mikeb01/Aeron,galderz/Aeron,real-logic/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,galderz/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,galderz/Aeron,real-logic/Aeron,real-logic/Aeron | /*
* Copyright 2014-2017 Real Logic 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 agree... | aeron-samples/src/test/java/io/aeron/samples/LogInspectorAsciiFormatBytesTest.java | /*
* Copyright 2014-2017 Real Logic 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 agree... | [Java] Test consistency.
| aeron-samples/src/test/java/io/aeron/samples/LogInspectorAsciiFormatBytesTest.java | [Java] Test consistency. | <ide><path>eron-samples/src/test/java/io/aeron/samples/LogInspectorAsciiFormatBytesTest.java
<ide> });
<ide> }
<ide>
<del> @Test
<del> public void shouldFormatBytesToAscii()
<del> {
<del> System.setProperty(FORMAT_KEY, "ascii");
<del> final char[] formattedBytes = LogInspector.fo... | |
Java | apache-2.0 | a7b12dcce48a908aa751014179b4036a748083cc | 0 | JWimsingues/infonuagique-tp2 | package ca.polymtl.inf4410.tp2.repartitor;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.rmi.AccessException;
import java.rmi.NotBoundException;
import java.rmi.RemoteE... | v0/src/ca/polymtl/inf4410/tp2/repartitor/Repartitor.java | package ca.polymtl.inf4410.tp2.repartitor;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.rmi.AccessException;
import java.rmi.NotBoundException;
import java.rmi.RemoteE... | [Fix] non bloquant sur erreur connexion
| v0/src/ca/polymtl/inf4410/tp2/repartitor/Repartitor.java | [Fix] non bloquant sur erreur connexion | <ide><path>0/src/ca/polymtl/inf4410/tp2/repartitor/Repartitor.java
<ide> * Error exit IO code
<ide> */
<ide> private static final int ERROR_IO = -10;
<del>
<del> /**
<del> * Error exit RMI code
<del> */
<del> private static final int ERROR_RMI = -20;
<ide>
<ide> /**
<ide> * Error exit not bound code
<ide> ... | |
Java | agpl-3.0 | 9def18a90bfda09251fbdcd6a2ae0e7d564851d0 | 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 | 336dfe52-2e62-11e5-9284-b827eb9e62be | hello.java | 3368980e-2e62-11e5-9284-b827eb9e62be | 336dfe52-2e62-11e5-9284-b827eb9e62be | hello.java | 336dfe52-2e62-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>3368980e-2e62-11e5-9284-b827eb9e62be
<add>336dfe52-2e62-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 59248a35dbb8645ffe7ece3f2041ca38ac1fc05c | 0 | wealthworks/AndroidBaseLibrary | package com.licaigc;
/**
* Created by walfud on 2016/8/19.
*/
public class Constants {
public static final String TAG = "Constants";
// 平台
public static final int OS_UNKNOWN = 0;
public static final int OS_ANDROID = 1;
public static final int OS_IOS = 2;
// Package Name
public stati... | library/src/main/java/com/licaigc/Constants.java | package com.licaigc;
/**
* Created by walfud on 2016/8/19.
*/
public class Constants {
public static final String TAG = "Constants";
// 平台
public static final int OS_UNKNOWN = 0;
public static final int OS_ANDROID = 1;
public static final int OS_IOS = 2;
// Package Name
public stati... | 好规划颜色
| library/src/main/java/com/licaigc/Constants.java | 好规划颜色 | <ide><path>ibrary/src/main/java/com/licaigc/Constants.java
<ide> // Primary Color
<ide> public static final int APP_PRIMARY_COLOR_UNKNOWN = 0xFF3F51B5;
<ide> public static final int APP_PRIMARY_COLOR_TALICAI = 0xFFDA5C83;
<del> public static final int APP_PRIMARY_COLOR_GUIHUA = 0xFF30455D;
<add> ... | |
Java | apache-2.0 | e0fce4b82a6957f81908dc481529b3f45a181ec7 | 0 | fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode | package com.fishercoder.solutions;
public class _639 {
public static class Solution1 {
/**
* reference: https://leetcode.com/articles/decode-ways-ii/#approach-2-dynamic-programming-accepted
*/
int m = 1000000007;
public int numDecodings(String s) {
long[] dp =... | src/main/java/com/fishercoder/solutions/_639.java | package com.fishercoder.solutions;
/**
* 639. Decode Ways II
*
* A message containing letters from A-Z is being encoded to numbers using the following mapping way:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Beyond that, now the encoded string can also contain the character '*',
which can be treated as one of the number... | refactor 639
| src/main/java/com/fishercoder/solutions/_639.java | refactor 639 | <ide><path>rc/main/java/com/fishercoder/solutions/_639.java
<ide> package com.fishercoder.solutions;
<ide>
<del>/**
<del> * 639. Decode Ways II
<del> *
<del> * A message containing letters from A-Z is being encoded to numbers using the following mapping way:
<del>
<del> 'A' -> 1
<del> 'B' -> 2
<del> ...
<del> 'Z' -> 2... | |
Java | apache-2.0 | error: pathspec 'openregistry-repository-jpa-impl/src/main/java/org/openregistry/core/repository/jpa/JpaDisclosureRepository.java' did not match any file(s) known to git
| d5d16a882fb832c8ce57e4f1b6c1d6dcbcfda37c | 1 | Unicon/openregistry,Jasig/openregistry,Rutgers-IDM/openregistry,sheliu/openregistry,msidd/openregistry,sheliu/openregistry,Unicon/openregistry,msidd/openregistry,msidd/openregistry,Jasig/openregistry,Jasig/openregistry,Rutgers-IDM/openregistry,msidd/openregistry,Rutgers-IDM/openregistry,Rutgers-IDM/openregistry,sheliu/... | /**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except... | openregistry-repository-jpa-impl/src/main/java/org/openregistry/core/repository/jpa/JpaDisclosureRepository.java | Repository implementation for disclosure settings - initial version
git-svn-id: 996c6d7d570f9e8d676b69394667d4ecb3e4cdb3@25086 1580c273-15eb-1042-8a87-dc5d815c88a0
| openregistry-repository-jpa-impl/src/main/java/org/openregistry/core/repository/jpa/JpaDisclosureRepository.java | Repository implementation for disclosure settings - initial version | <ide><path>penregistry-repository-jpa-impl/src/main/java/org/openregistry/core/repository/jpa/JpaDisclosureRepository.java
<add>/**
<add> * Licensed to Jasig under one or more contributor license
<add> * agreements. See the NOTICE file distributed with this work
<add> * for additional information regarding copyright ow... | |
Java | mit | e58abcac71f7212be228583ec53000f9cffa7386 | 0 | hhaslam11/Text-Fighter | package com.hotmail.kalebmarc.textfighter.main;
import javax.swing.*;
import java.io.IOException;
import java.util.Scanner;
public class Ui {
public static boolean guiEnabled = true;
private final static Scanner IN = new Scanner(System.in);
private Ui() {
}
public static boolean isDec... | src/com/hotmail/kalebmarc/textfighter/main/Ui.java | package com.hotmail.kalebmarc.textfighter.main;
import javax.swing.*;
import java.io.IOException;
import java.util.Scanner;
public class Ui {
public static boolean guiEnabled = true;
private final static Scanner IN = new Scanner(System.in);
private Ui() {
}
public static boolean isDec... | Simplify isNumber & isDecimalNumber using regular expressions
| src/com/hotmail/kalebmarc/textfighter/main/Ui.java | Simplify isNumber & isDecimalNumber using regular expressions | <ide><path>rc/com/hotmail/kalebmarc/textfighter/main/Ui.java
<ide> return false;
<ide> }
<ide>
<del> int length = string.length();
<del>
<del> if (length == 1) {
<del> return false;
<del> }
<del>
<del> int i = 0;
<del>
<del> if (string.charAt(0) == '-')... | |
Java | apache-2.0 | d0f066dca8e608a2fc6d7b2d0d4252aa2d32b96a | 0 | axxter99/profileWOW,axxter99/profileWOW,axxter99/profileWOW | package org.sakaiproject.profilewow.tool.producers;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.api.common.edu.person.SakaiPerson;
import org.sakaiproject.api.common.edu.perso... | tool/src/java/org/sakaiproject/profilewow/tool/producers/SearchResultProducer.java | package org.sakaiproject.profilewow.tool.producers;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.sakaiproject.api.common.edu.person.SakaiPerson;
import org.sakaiproject.api.common.edu.perso... | VULA-214 no longer break in search mode
| tool/src/java/org/sakaiproject/profilewow/tool/producers/SearchResultProducer.java | VULA-214 no longer break in search mode | <ide><path>ool/src/java/org/sakaiproject/profilewow/tool/producers/SearchResultProducer.java
<ide>
<ide> }
<ide> }
<del> if(searchResults.size() == 15)
<del> break;
<add>
<ide> }
<ide> return searchResults;
<ide> } | |
Java | epl-1.0 | 3f2b73f68023a5fa94901538f5f0cd4d1dd56f5e | 0 | rgom/Pydev,RandallDW/Aruba_plugin,fabioz/Pydev,fabioz/Pydev,akurtakov/Pydev,rajul/Pydev,rgom/Pydev,akurtakov/Pydev,akurtakov/Pydev,fabioz/Pydev,akurtakov/Pydev,RandallDW/Aruba_plugin,akurtakov/Pydev,RandallDW/Aruba_plugin,rgom/Pydev,rajul/Pydev,RandallDW/Aruba_plugin,rgom/Pydev,akurtakov/Pydev,fabioz/Pydev,RandallDW/Ar... | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
package org.python.pydev.editor... | plugins/org.python.pydev/src/org/python/pydev/editorinput/PySourceLocatorBase.java | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
package org.python.pydev.editor... | PYDEV-314: NPE searching for file.
| plugins/org.python.pydev/src/org/python/pydev/editorinput/PySourceLocatorBase.java | PYDEV-314: NPE searching for file. | <ide><path>lugins/org.python.pydev/src/org/python/pydev/editorinput/PySourceLocatorBase.java
<ide> List<IFile> likelyFiles = getLikelyFiles(path, w);
<ide> IFile iFile = selectWorkspaceFile(likelyFiles.toArray(new IFile[0]));
<ide> if (iFile != null) {
<del> ... | |
Java | lgpl-2.1 | 3464c6081bdbcc7e00504d2a7e3a8fda32555ae0 | 0 | viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer | /*
* AEInputStream.java
*
* Created on December 26, 2005, 1:03 AM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package net.sf.jaer.eventio;
import java.util.logging.Level;
import net.sf.jaer.aemonitor.*;
import net.sf.jaer.util.EngineeringForma... | src/net/sf/jaer/eventio/AEFileInputStream.java | /*
* AEInputStream.java
*
* Created on December 26, 2005, 1:03 AM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package net.sf.jaer.eventio;
import java.util.logging.Level;
import net.sf.jaer.aemonitor.*;
import net.sf.jaer.util.EngineeringForma... | AEFileInputStream now returns only the most recent event or packet of events if there are no new events during the desired time slice in readPacketByTime. Previous behavior was that it returned at least one event, even if there were no events in the time slice. This previous behavior meant that when playing back synchr... | src/net/sf/jaer/eventio/AEFileInputStream.java | AEFileInputStream now returns only the most recent event or packet of events if there are no new events during the desired time slice in readPacketByTime. Previous behavior was that it returned at least one event, even if there were no events in the time slice. This previous behavior meant that when playing back synchr... | <ide><path>rc/net/sf/jaer/eventio/AEFileInputStream.java
<ide> currentStartTimestamp = firstTimestamp;
<ide> mostRecentTimestamp = firstTimestamp;
<ide> } catch ( IOException e ){
<del> log.warning("couldn't read first event to set starting timestamp");
<add> log.wa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.