lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | 4500da5becbfe1be4ebeb8c0895832e70252284b | 0 | finger563/webgme-gridlabd,finger563/webgme-gridlabd,finger563/webgme-gridlabd,finger563/webgme-gridlabd | /*globals define*/
/*jshint node:true, browser:true*/
/**
* Generated by PluginGenerator 1.7.0 from webgme on Thu May 12 2016 19:55:04 GMT-0500 (CDT).
* A plugin that inherits from the PluginBase. To see source code documentation about available
* properties and methods visit %host%/docs/source/PluginBase.html.
*/... | src/plugins/SimulateTES/SimulateTES.js | /*globals define*/
/*jshint node:true, browser:true*/
/**
* Generated by PluginGenerator 1.7.0 from webgme on Thu May 12 2016 19:55:04 GMT-0500 (CDT).
* A plugin that inherits from the PluginBase. To see source code documentation about available
* properties and methods visit %host%/docs/source/PluginBase.html.
*/... | updated to wait properly for federation to die.
| src/plugins/SimulateTES/SimulateTES.js | updated to wait properly for federation to die. | <ide><path>rc/plugins/SimulateTES/SimulateTES.js
<ide> })
<ide> .then(function() {
<ide> self.result.success = true;
<del> self.createMessage(self.activeNode, 'Simulation Complete.');
<add> self.notify('info', 'Simulation Complete.');
<ide> callback(null, self.result);
<ide> })
<ide> .catch(fu... | |
Java | apache-2.0 | b3662dc3b44cdea89db50500db821fd4de829438 | 0 | authlete/authlete-java-common,authlete/authlete-java-common | /*
* Copyright (C) 2014-2018 Authlete, 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 o... | src/main/java/com/authlete/common/dto/Service.java | /*
* Copyright (C) 2014-2018 Authlete, 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 o... | Added 'supportedRevocationAuthMethods' and 'supportedRevocationAuthSigningAlgorithms' properties to Service class.
| src/main/java/com/authlete/common/dto/Service.java | Added 'supportedRevocationAuthMethods' and 'supportedRevocationAuthSigningAlgorithms' properties to Service class. | <ide><path>rc/main/java/com/authlete/common/dto/Service.java
<ide> import com.authlete.common.types.ClientAuthMethod;
<ide> import com.authlete.common.types.Display;
<ide> import com.authlete.common.types.GrantType;
<add>import com.authlete.common.types.JWSAlg;
<ide> import com.authlete.common.types.ResponseType;
<ide>... | |
Java | bsd-3-clause | 44c78588c19bc1928ab3fea69a9d7a381e411a85 | 0 | f97one/android_Car-Kei-Bo | /**
*
*/
package net.formula97.andorid.car_kei_bo;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.AdapterView;
im... | src/net/formula97/andorid/car_kei_bo/FuelMileageAdd.java | /**
*
*/
package net.formula97.andorid.car_kei_bo;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Simpl... | ループ処理で一つずつオフセット値を判断する処理を追加。
テストは実行中。
refs #23 @1.0h
git-svn-id: 5cc0fdd97a60f6b20e357a0c972366e6570488ae@131 c8498cfa-7e64-e111-b453-021fc611399b
| src/net/formula97/andorid/car_kei_bo/FuelMileageAdd.java | ループ処理で一つずつオフセット値を判断する処理を追加。 テストは実行中。 refs #23 @1.0h | <ide><path>rc/net/formula97/andorid/car_kei_bo/FuelMileageAdd.java
<ide> import android.database.Cursor;
<ide> import android.database.sqlite.SQLiteDatabase;
<ide> import android.os.Bundle;
<add>import android.util.Log;
<add>import android.view.View;
<add>import android.widget.AdapterView;
<ide> import android.widget.B... | |
Java | apache-2.0 | c364a0192b419e3e3417c9a6f53e807f75c0d6d9 | 0 | androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/andro... | /*
* Copyright 2018 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 applica... | media2/src/main/java/androidx/media2/exoplayer/ExoPlayerUtils.java | /*
* Copyright 2018 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 applica... | Remove preceding / in resource URIs
Bug: 122731795
Bug: 80232248
Test: ./gradlew media2:connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=androidx.media2.MediaPlayerTest#testPlayVideoWithUri on API 21 device
Change-Id: I3c7bad380d2013941b94dbfa7b802641cfdd1f57
| media2/src/main/java/androidx/media2/exoplayer/ExoPlayerUtils.java | Remove preceding / in resource URIs | <ide><path>edia2/src/main/java/androidx/media2/exoplayer/ExoPlayerUtils.java
<ide> && uri.getPathSegments().get(0).matches("\\d+")) {
<ide> resourceIdentifier = Integer.parseInt(uri.getPathSegments().get(0));
<ide> } else {
<add> ... | |
Java | apache-2.0 | 2eb7848982204de22283e65ce41c39808a29f282 | 0 | vineetk1/yodaqa,Martinfx/yodaqa,vineetk1/yodaqa,Martinfx/yodaqa,vineetk1/yodaqa,Martinfx/yodaqa,vineetk1/yodaqa,Martinfx/yodaqa,Martinfx/yodaqa,Martinfx/yodaqa,vineetk1/yodaqa,vineetk1/yodaqa | package cz.brmlab.yodaqa.analysis.answer;
import java.util.LinkedList;
import java.util.List;
import org.apache.uima.UimaContext;
import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
import org.apache.uima.fit.component.JCasAnnotator_ImplBase;
import org.apache.uima.fit.util.JCasUtil;
import org.apa... | src/main/java/cz/brmlab/yodaqa/analysis/answer/AnswerScoreLogistic.java | package cz.brmlab.yodaqa.analysis.answer;
import java.util.LinkedList;
import java.util.List;
import org.apache.uima.UimaContext;
import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
import org.apache.uima.fit.component.JCasAnnotator_ImplBase;
import org.apache.uima.fit.util.JCasUtil;
import org.apa... | AnswerScoreLogistic: Retrained with updated model
| src/main/java/cz/brmlab/yodaqa/analysis/answer/AnswerScoreLogistic.java | AnswerScoreLogistic: Retrained with updated model | <ide><path>rc/main/java/cz/brmlab/yodaqa/analysis/answer/AnswerScoreLogistic.java
<ide> /** The weights of individual elements of the FV. These weights
<ide> * are output by data/ml/answer-train.py as this:
<ide> *
<del> * 430 answersets, 82153 answers
<add> * 430 answersets, 82510 answers
<ide> * + Cross-val... | |
Java | apache-2.0 | error: pathspec 'seaglass/trunk/seaglass/src/main/java/com/seaglass/ui/SeaGlassToolBarUI.java' did not match any file(s) known to git
| 67e2c45b20d1e3773092b820c32bafdeb461a0bf | 1 | archit47/seaglass,khuxtable/seaglass | /*
* Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr.
*
* This file is part of the SeaGlass Pluggable Look and Feel.
*
* 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:... | seaglass/trunk/seaglass/src/main/java/com/seaglass/ui/SeaGlassToolBarUI.java | Initial commit of a variant of Synth's tool bar UI delegate. | seaglass/trunk/seaglass/src/main/java/com/seaglass/ui/SeaGlassToolBarUI.java | Initial commit of a variant of Synth's tool bar UI delegate. | <ide><path>eaglass/trunk/seaglass/src/main/java/com/seaglass/ui/SeaGlassToolBarUI.java
<add>/*
<add> * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr.
<add> *
<add> * This file is part of the SeaGlass Pluggable Look and Feel.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * y... | |
Java | bsd-3-clause | ce02b4cfe30ce77abdfe3c880a013c0ec3ff1ec7 | 0 | krishagni/openspecimen,krishagni/openspecimen,NCIP/catissue-core,NCIP/catissue-core,krishagni/openspecimen,asamgir/openspecimen,asamgir/openspecimen,asamgir/openspecimen,NCIP/catissue-core | /*
* <p>Title: SpecimenArrayApplet.java</p>
* <p>Description: This class initializes the fields of SpecimenArrayApplet.java</p>
* Copyright: Copyright (c) year 2006
* Company: Washington University, School of Medicine, St. Louis.
* @version 1.1
* Created on Sep 18, 2006
*/
/**
*
*/
package edu.wust... | WEB-INF/src/edu/wustl/catissuecore/applet/ui/SpecimenArrayApplet.java | /*
* <p>Title: SpecimenArrayApplet.java</p>
* <p>Description: This class initializes the fields of SpecimenArrayApplet.java</p>
* Copyright: Copyright (c) year 2006
* Company: Washington University, School of Medicine, St. Louis.
* @version 1.1
* Created on Sep 18, 2006
*/
/**
*
*/
package edu.wust... | update for look & feel
SVN-Revision: 4358
| WEB-INF/src/edu/wustl/catissuecore/applet/ui/SpecimenArrayApplet.java | update for look & feel | <ide><path>EB-INF/src/edu/wustl/catissuecore/applet/ui/SpecimenArrayApplet.java
<ide> import edu.wustl.catissuecore.applet.model.AppletModelInterface;
<ide> import edu.wustl.catissuecore.applet.model.BaseAppletModel;
<ide> import edu.wustl.catissuecore.applet.model.SpecimenArrayTableModel;
<del>import edu.wustl.catissu... | |
Java | apache-2.0 | 6c75c99107639b088ade6f8731f36eaa91e49a88 | 0 | gavanx/pdflearn,gavanx/pdflearn | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | pdfbox/src/main/java/org/apache/pdfbox/rendering/TilingPaint.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | PDFBOX-3688: avoid keeping objects after TexturePaint is created
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1783260 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/main/java/org/apache/pdfbox/rendering/TilingPaint.java | PDFBOX-3688: avoid keeping objects after TexturePaint is created | <ide><path>dfbox/src/main/java/org/apache/pdfbox/rendering/TilingPaint.java
<ide> class TilingPaint implements Paint
<ide> {
<ide> private static final Log LOG = LogFactory.getLog(TilingPaint.class);
<del> private final PDTilingPattern pattern;
<ide> private final TexturePaint paint;
<del> private final P... | |
Java | apache-2.0 | 9b009e8ba139b7e49cf98a8f0c0f168476544f8c | 0 | joansmith/supernode,bitsofproof/supernode | package com.bitsofproof.supernode.model;
import java.io.Serializable;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.pers... | src/com/bitsofproof/supernode/model/Unspent.java | package com.bitsofproof.supernode.model;
import java.io.Serializable;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.p... | use hash | src/com/bitsofproof/supernode/model/Unspent.java | use hash | <ide><path>rc/com/bitsofproof/supernode/model/Unspent.java
<ide> package com.bitsofproof.supernode.model;
<ide>
<ide> import java.io.Serializable;
<del>import java.util.List;
<add>import java.util.Set;
<ide>
<add>import javax.persistence.Column;
<ide> import javax.persistence.Entity;
<ide> import javax.persistence.Fe... | |
Java | apache-2.0 | 15213c984b85e773e20cb485f6d5575c11ebdc79 | 0 | Jasig/uPortal,EsupPortail/esup-uportal,chasegawa/uPortal,vbonamy/esup-uportal,stalele/uPortal,pspaude/uPortal,joansmith/uPortal,andrewstuart/uPortal,joansmith/uPortal,jonathanmtran/uPortal,Mines-Albi/esup-uportal,phillips1021/uPortal,vbonamy/esup-uportal,chasegawa/uPortal,phillips1021/uPortal,doodelicious/uPortal,ASU-C... | /**
* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | source/org/jasig/portal/ChannelRegistryManager.java | /**
* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... | fixed bug where unauthorized channels might be left in a user's channel registry due to faulty logic in iterating over a nodeList
git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@7118 f5dbab47-78f9-eb45-b975-e544023573eb
| source/org/jasig/portal/ChannelRegistryManager.java | fixed bug where unauthorized channels might be left in a user's channel registry due to faulty logic in iterating over a nodeList | <ide><path>ource/org/jasig/portal/ChannelRegistryManager.java
<ide>
<ide> // Cycle through all the channels, looking for restricted channels
<ide> NodeList nl = channelRegistry.getElementsByTagName("channel");
<del> for (int i = 0; i < nl.getLength(); i++) {
<add> for (int i = (nl.getLength()-1); i >=0; ... | |
Java | apache-2.0 | 29f27bef17913ffa9199cbd1567444f986591a94 | 0 | atlasapi/atlas-deer,atlasapi/atlas-deer | package org.atlasapi.equivalence;
import static com.datastax.driver.core.querybuilder.QueryBuilder.delete;
import static com.datastax.driver.core.querybuilder.QueryBuilder.eq;
import static com.datastax.driver.core.querybuilder.QueryBuilder.in;
import static com.datastax.driver.core.querybuilder.QueryBuilder.insertInt... | atlas-cassandra/src/main/java/org/atlasapi/equivalence/CassandraEquivalenceGraphStore.java | package org.atlasapi.equivalence;
import static com.datastax.driver.core.querybuilder.QueryBuilder.delete;
import static com.datastax.driver.core.querybuilder.QueryBuilder.eq;
import static com.datastax.driver.core.querybuilder.QueryBuilder.in;
import static com.datastax.driver.core.querybuilder.QueryBuilder.insertInt... | Use a mutable set
| atlas-cassandra/src/main/java/org/atlasapi/equivalence/CassandraEquivalenceGraphStore.java | Use a mutable set | <ide><path>tlas-cassandra/src/main/java/org/atlasapi/equivalence/CassandraEquivalenceGraphStore.java
<ide> import java.util.Set;
<ide>
<ide> import com.google.common.collect.ImmutableList;
<add>import com.google.common.collect.Sets;
<ide> import org.atlasapi.entity.Id;
<ide> import org.atlasapi.equivalence.Equivalence... | |
Java | mit | b408265bacfb9b8c7de59c386f3aa9006852c2b4 | 0 | lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus,lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus | // Copyright (c) 2003 Compaq Corporation. All rights reserved.
// Portions Copyright (c) 2003 Microsoft Corporation. All rights reserved.
package tlc2.tool.fp;
import java.io.EOFException;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.n... | tlatools/src/tlc2/tool/fp/DiskFPSet.java | // Copyright (c) 2003 Compaq Corporation. All rights reserved.
// Portions Copyright (c) 2003 Microsoft Corporation. All rights reserved.
package tlc2.tool.fp;
import java.io.EOFException;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.n... | Helper program to check an *.fp file for inconsistencies.
[Tests][TLC]
| tlatools/src/tlc2/tool/fp/DiskFPSet.java | Helper program to check an *.fp file for inconsistencies. | <ide><path>latools/src/tlc2/tool/fp/DiskFPSet.java
<ide> import java.io.RandomAccessFile;
<ide> import java.net.InetAddress;
<ide> import java.rmi.RemoteException;
<add>import java.text.DecimalFormat;
<ide> import java.util.concurrent.atomic.AtomicBoolean;
<ide> import java.util.concurrent.atomic.LongAdder;
<ide> impor... | |
Java | apache-2.0 | 7d4ee8422fb20186496452de8eb74c488de59491 | 0 | etnetera/jmeter,hemikak/jmeter,ThiagoGarciaAlves/jmeter,ra0077/jmeter,irfanah/jmeter,ubikloadpack/jmeter,fj11/jmeter,ThiagoGarciaAlves/jmeter,ubikloadpack/jmeter,hizhangqi/jmeter-1,fj11/jmeter,ra0077/jmeter,thomsonreuters/jmeter,d0k1/jmeter,vherilier/jmeter,d0k1/jmeter,etnetera/jmeter,hemikak/jmeter,hemikak/jmeter,liwa... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/core/org/apache/jmeter/util/JMeterUtils.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Check that Locale is loaded correctly
Add utility method to support additional languages
git-svn-id: 7c053b8fbd1fb5868f764c6f9536fc6a9bbe7da9@718239 13f79535-47bb-0310-9956-ffa450edef68
| src/core/org/apache/jmeter/util/JMeterUtils.java | Check that Locale is loaded correctly Add utility method to support additional languages | <ide><path>rc/core/org/apache/jmeter/util/JMeterUtils.java
<ide> import org.apache.jmeter.gui.GuiPackage;
<ide> import org.apache.jorphan.logging.LoggingManager;
<ide> import org.apache.jorphan.test.UnitTestManager;
<add>import org.apache.jorphan.util.JMeterError;
<ide> import org.apache.jorphan.util.JOrphanUtils;
<ide... | |
Java | apache-2.0 | 4dc813232da52196ebcdd9ac47824a4c3d07079d | 0 | OndraZizka/jboss-migration,OndraZizka/jboss-migration,OndraZizka/jboss-migration | /**
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 .
* Unless required by applicable law or agreed to in writing, software distributed under the Lic... | src/main/java/org/jboss/loom/migrators/dataSources/jaxb/AbstractDatasourceAS7Bean.java | /**
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 .
* Unless required by applicable law or agreed to in writing, software distributed under the Lic... | Javadoc | src/main/java/org/jboss/loom/migrators/dataSources/jaxb/AbstractDatasourceAS7Bean.java | Javadoc | <ide><path>rc/main/java/org/jboss/loom/migrators/dataSources/jaxb/AbstractDatasourceAS7Bean.java
<ide> import org.jboss.loom.spi.ann.Property;
<ide>
<ide> /**
<del> * User: Roman Jakubco
<del> * Date: 4/28/13
<add> * @author Roman Jakubco
<ide> */
<ide> @Property.Access( Property.Access.Type.FIELD )
<ide> public abs... | |
JavaScript | mit | 98f7404c896577dc14aeca8cf5ba69df76933be1 | 0 | ckm2k1/rally-manager,ckm2k1/rally-manager | 'use strict';
let program = require('commander');
let inquirer = require('inquirer');
let Api = require('./api');
let colors = require('colors');
let views = require('./views');
let config = new(require('./config'))();
let refCache = new(require('./refCache'))();
let util = require('./util');
// config.project = 48866... | lib/cli.js | 'use strict';
let program = require('commander');
let inquirer = require('inquirer');
let Api = require('./api');
let colors = require('colors');
let views = require('./views');
let config = new(require('./config'))();
let refCache = new(require('./refCache'))();
let util = require('./util');
// config.project = 48866... | fix username to tasks
| lib/cli.js | fix username to tasks | <ide><path>ib/cli.js
<ide>
<ide> function tasks() {
<ide> return api.getCurrentIteration()
<del> .then(api.getTasks.bind(api, config.user))
<add> .then(api.getTasks.bind(api, config.username))
<ide> .then((tasks) => {
<ide> renderHeader();
<ide> new views.Tasks(tasks).render();
<ide> }
<ide>
<... | |
Java | apache-2.0 | f8f5ea40f813d1b31fa5d3ce4da46171fe922a7e | 0 | kalaspuffar/pdfbox,apache/pdfbox,kalaspuffar/pdfbox,apache/pdfbox | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | PDFBOX-4071: use foreach loop (also speeds up when many pages)
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1843777 13f79535-47bb-0310-9956-ffa450edef68
| tools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java | PDFBOX-4071: use foreach loop (also speeds up when many pages) | <ide><path>ools/src/main/java/org/apache/pdfbox/tools/ExtractImages.java
<ide> throw new IOException("You do not have permission to extract images");
<ide> }
<ide>
<del> for (int i = 0; i < document.getNumberOfPages(); i++) // todo: ITERATOR would be much better
<del> ... | |
Java | apache-2.0 | 0bcec338cf481bf381b4a331d1b3e45da4342104 | 0 | PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr | package org.apache.solr.cloud;
/*
* 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 ... | solr/core/src/test/org/apache/solr/cloud/AliasIntegrationTest.java | package org.apache.solr.cloud;
/*
* 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 ... | SOLR-6895: Fix rename error in AliasIntegrationTest
git-svn-id: e799fff536a883f3c27ef733fe770373e8a19271@1648751 13f79535-47bb-0310-9956-ffa450edef68
| solr/core/src/test/org/apache/solr/cloud/AliasIntegrationTest.java | SOLR-6895: Fix rename error in AliasIntegrationTest | <ide><path>olr/core/src/test/org/apache/solr/cloud/AliasIntegrationTest.java
<ide> "humpty dumpy4 sat on a walls");
<ide> httpclient.add(doc8);
<ide> httpclient.commit();
<del> res = client.query(query);
<add> res = httpclient.query(query);
<ide> assertEquals(3, res.getResults().getNumFound())... | |
JavaScript | mit | f5468482f87a12f7294a2a8537ec4210dbbac712 | 0 | rwaldron/jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/uglymongrel-jquery-mobile,npmcomponent/cbou-jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/uglymongrel-jquery-mobile,startxfr/jquery-mobile,npmcomponent/cbou-jquery-mobile,arschmitz/jquery-mobile,rwaldron/jquery-mobile,startxfr/jquery-mobile,startxfr/jquery-mobile,arsch... | /*
* jQuery Mobile Framework : "slider" plugin (based on code from Filament Group,Inc)
* Copyright (c) jQuery Project
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
* Note: Code is in draft form and is subject to change
*/
(function($){
$.fn.slider = function(options){
return th... | js/jquery.mobile.forms.slider.js | /*
* jQuery Mobile Framework : "slider" plugin (based on code from Filament Group,Inc)
* Copyright (c) jQuery Project
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
* Note: Code is in draft form and is subject to change
*/
(function($){
$.fn.slider = function(options){
return th... | fixed up theme inheritance
| js/jquery.mobile.forms.slider.js | fixed up theme inheritance | <ide><path>s/jquery.mobile.forms.slider.js
<ide> $.fn.slider = function(options){
<ide> return this.each(function(){
<ide> var control = $(this),
<del> themedParent = control.closest('[class*=ui-bar-],[class*=ui-body-]'),
<add> themedParent = control.parents('[class*=ui-bar-],[class*=ui-body-]').eq(0),
<ide> ... | |
Java | apache-2.0 | 783f37851e036baa514a7e86f07fbc0670cd3d7f | 0 | dmuino/spectator,cfieber/spectator,dmuino/spectator,pstout/spectator,cfieber/spectator,rspieldenner/spectator,Netflix/spectator,brharrington/spectator,rspieldenner/spectator,pstout/spectator | /**
* Copyright 2015 Netflix, 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 ... | spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/SpectatorModule.java | /**
* Copyright 2015 Netflix, 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 ... | Move ExtendedRegistry and Registry bindings into @Provides to avoid triggering static initialization of these classes from within configure().
| spectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/SpectatorModule.java | Move ExtendedRegistry and Registry bindings into @Provides to avoid triggering static initialization of these classes from within configure(). | <ide><path>pectator-nflx-plugin/src/main/java/com/netflix/spectator/nflx/SpectatorModule.java
<ide> */
<ide> package com.netflix.spectator.nflx;
<ide>
<add>import iep.com.netflix.iep.rxnetty.RxNettyModule;
<add>
<add>import javax.inject.Singleton;
<add>
<ide> import com.google.inject.AbstractModule;
<add>import com.g... | |
Java | agpl-3.0 | 88318d1561511e03af6d27ea1ea74f2ef180f932 | 0 | vimsvarcode/elmis,vimsvarcode/elmis,vimsvarcode/elmis,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,vimsvarcode/elmis,jasolangi/jasolangi.github.io,OpenLMIS/open-lmis,USAID-DELIVER-PROJECT/elmis,vimsvarcode/elmis,kelvinmbwilo/vims,kelvinmbwilo/vims,OpenLMIS/open-... | /*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, eith... | modules/openlmis-web/src/main/java/org/openlmis/web/controller/GeographicZoneController.java | /*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, eith... | ELMIS-1257: Fix permission issue when user only have manage requisition group permission and not manage user permission.
| modules/openlmis-web/src/main/java/org/openlmis/web/controller/GeographicZoneController.java | ELMIS-1257: Fix permission issue when user only have manage requisition group permission and not manage user permission. | <ide><path>odules/openlmis-web/src/main/java/org/openlmis/web/controller/GeographicZoneController.java
<ide> }
<ide>
<ide> @RequestMapping(value = "/geographicZone/getList", method = GET, headers = ACCEPT_JSON)
<del> @PreAuthorize("@permissionEvaluator.hasPermission(principal,'MANAGE_GEOGRAPHIC_ZONES')")
<add> @... | |
Java | lgpl-2.1 | 8611368578d05a37955d9187748e57f2414dbe13 | 0 | fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui | /*
* DomUI Java User Interface library
* Copyright (c) 2010 by Frits Jalvingh, Itris B.V.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or ... | to.etc.domui.hibutil/src/to/etc/domui/hibernate/model/CriteriaCreatingVisitor.java | /*
* DomUI Java User Interface library
* Copyright (c) 2010 by Frits Jalvingh, Itris B.V.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or ... | Setting the right fetch mode when force fetching 1-1 and many-1 relations.
| to.etc.domui.hibutil/src/to/etc/domui/hibernate/model/CriteriaCreatingVisitor.java | Setting the right fetch mode when force fetching 1-1 and many-1 relations. | <ide><path>o.etc.domui.hibutil/src/to/etc/domui/hibernate/model/CriteriaCreatingVisitor.java
<ide> // + " is a child relation (list-of-children). Fetch is not yet supported for that because Hibernate will duplicate the master.");
<ide>
<ide> case UP:
<del> m_rootCriteria.setFetchMode(ms.getKey(), FetchMod... | |
Java | apache-2.0 | 78cf9d768b408a192decbcbc8a5d6194410a1f60 | 0 | PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder | package org.pdxfinder.commands;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Options;
import org.apache.poi.xssf.usermodel.XSSFWorkboo... | indexer/src/main/java/org/pdxfinder/commands/UniversalLoader.java | package org.pdxfinder.commands;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.HelpFormatter;
import org.apache.commons.cli.Options;
import org.apache.poi.xssf.usermodel.XSSFWorkboo... | Remove from loadALL command temporarily
| indexer/src/main/java/org/pdxfinder/commands/UniversalLoader.java | Remove from loadALL command temporarily | <ide><path>ndexer/src/main/java/org/pdxfinder/commands/UniversalLoader.java
<ide> import javax.annotation.PostConstruct;
<ide> import java.io.File;
<ide> import java.io.FileInputStream;
<add>import java.util.ArrayList;
<ide> import java.util.Iterator;
<add>import java.util.List;
<ide>
<ide> import org.apache.poi.ss.us... | |
Java | apache-2.0 | 8c76eeb11e0f2fc7ee72ac60662ccb1bae73ef54 | 0 | Koichi-Kobayashi/orangesignal-csv,orangesignal/orangesignal-csv,blqthien/orangesignal-csv | /*
* Copyright 2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | src/test/java/com/orangesignal/csv/handlers/ColumnNameMappingBeanListHandlerTest.java | /*
* Copyright 2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | #23 test case bugfix | src/test/java/com/orangesignal/csv/handlers/ColumnNameMappingBeanListHandlerTest.java | #23 test case bugfix | <ide><path>rc/test/java/com/orangesignal/csv/handlers/ColumnNameMappingBeanListHandlerTest.java
<ide> final StringWriter sw = new StringWriter();
<ide> final CsvWriter writer = new CsvWriter(sw, cfg);
<ide> try {
<del> new ColumnNameMappingBeanListHandler<SampleBean>(SampleBean.class).header(false).save(list, w... | |
Java | apache-2.0 | 17674f4c5f59f36870074588cc034b4ac4d49dd4 | 0 | gpuget/training-java,gpuget/training-java,gpuget/training-java | computer-database/persistence/src/main/java/com/excilys/cdb/mapper/row/CompanyRowMapper.java | package com.excilys.cdb.mapper.row;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jdbc.core.RowMapper;
import com.excilys.cdb.model.Company;
public class CompanyRowMapper implements RowMapper<Company> {
private static... | [REFACT] CompanyRowMapper useless
| computer-database/persistence/src/main/java/com/excilys/cdb/mapper/row/CompanyRowMapper.java | [REFACT] CompanyRowMapper useless | <ide><path>omputer-database/persistence/src/main/java/com/excilys/cdb/mapper/row/CompanyRowMapper.java
<del>package com.excilys.cdb.mapper.row;
<del>
<del>import java.sql.ResultSet;
<del>import java.sql.SQLException;
<del>
<del>import org.slf4j.Logger;
<del>import org.slf4j.LoggerFactory;
<del>import org.springframewor... | ||
JavaScript | mit | e300c4204645e43399312cdd1c98d646eb0b3a2b | 0 | leobauza/microcosm,vigetlabs/microcosm,vigetlabs/microcosm,vigetlabs/microcosm,leobauza/microcosm,leobauza/microcosm | let Diode = require('diode')
let Tree = require('./Tree')
let Transaction = require('./Transaction')
let coroutine = require('./coroutine')
let eventually = require('./eventually')
let flatten = require('./flatten')
let install = require('./install')
let lifecycle = require('./lifecycle')
let dispatch = require('./disp... | src/Microcosm.js | let Diode = require('diode')
let Tree = require('./Tree')
let Transaction = require('./Transaction')
let coroutine = require('./coroutine')
let eventually = require('./eventually')
let flatten = require('./flatten')
let install = require('./install')
let lifecycle = require('./lifecycle')
let dispatch = require('./disp... | Check for state change before emitting
| src/Microcosm.js | Check for state change before emitting | <ide><path>rc/Microcosm.js
<ide> * a new state. This is the state exposed to the outside world.
<ide> */
<ide> rollforward() {
<del> this.state = this.history.reduce(dispatch.bind(undefined, this.stores), this.base)
<del> this.emit(this.state)
<add> let next = this.history.reduce(dispatch.bind(undefine... | |
Java | mit | 0ae557b7aaa644c112a4e9604cfe055487f6dba4 | 0 | rutgerkok/BlockLocker | package nl.rutgerkok.blocklocker.impl.event;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.Tag;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
im... | src/main/java/nl/rutgerkok/blocklocker/impl/event/InteractListener.java | package nl.rutgerkok.blocklocker.impl.event;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.Tag;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
im... | Fix BlockLocker not passing the correct hand to its generated BlockPlaceEvent
This should fix #121 .
| src/main/java/nl/rutgerkok/blocklocker/impl/event/InteractListener.java | Fix BlockLocker not passing the correct hand to its generated BlockPlaceEvent | <ide><path>rc/main/java/nl/rutgerkok/blocklocker/impl/event/InteractListener.java
<ide> }
<ide>
<ide> private boolean allowedByBlockPlaceEvent(Block placedBlock, BlockState replacedBlockState, Block placedAgainst,
<del> Player player) {
<add> EquipmentSlot... | |
Java | apache-2.0 | 955da4267da012eafc5137cd1ad489243aa6a50f | 0 | OpenHFT/Chronicle-Wire,OpenHFT/Chronicle-Wire | /*
* Copyright 2016-2020 Chronicle Software
*
* https://chronicle.software
*
* 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
*
* ... | src/main/java/net/openhft/chronicle/wire/TextMethodTester.java | /*
* Copyright 2016-2020 Chronicle Software
*
* https://chronicle.software
*
* 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
*
* ... | MethodWriterListener shouldn't be ignored
| src/main/java/net/openhft/chronicle/wire/TextMethodTester.java | MethodWriterListener shouldn't be ignored | <ide><path>rc/main/java/net/openhft/chronicle/wire/TextMethodTester.java
<ide> Wire wire2 = createWire(Bytes.allocateElasticOnHeap());
<ide>
<ide> MethodWriterBuilder<T> methodWriterBuilder = wire2.methodWriterBuilder(outputClass);
<del> // if (methodWriterListener != null) {
<del>
<del> ... | |
Java | apache-2.0 | 4595d9dc56bb18fbf445e5687bfc2e8527682105 | 0 | ohjongin/android-log-viewer,ujiro99/android-log-viewer,KartiKeya123/android-log-viewer,CCDMK/android-log-viewer,ohjongin/android-log-viewer,vdiskmobile/android-log-viewer,KartiKeya123/android-log-viewer,ujiro99/android-log-viewer,vdiskmobile/android-log-viewer,CCDMK/android-log-viewer | /*
* Copyright 2011 Mikhail Lopatkin
*
* 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/org/bitbucket/mlopatkin/android/liblogcat/file/DumpstateFileDataSource.java | /*
* Copyright 2011 Mikhail Lopatkin
*
* 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... | Fixed parser for ps output (Fixed #31)
| src/org/bitbucket/mlopatkin/android/liblogcat/file/DumpstateFileDataSource.java | Fixed parser for ps output (Fixed #31) | <ide><path>rc/org/bitbucket/mlopatkin/android/liblogcat/file/DumpstateFileDataSource.java
<ide> import org.bitbucket.mlopatkin.android.liblogcat.LogRecordDataSourceListener;
<ide> import org.bitbucket.mlopatkin.android.liblogcat.LogRecordParser;
<ide> import org.bitbucket.mlopatkin.android.liblogcat.PidToProcessConvert... | |
JavaScript | mpl-2.0 | efc6029edb42bec7706d4cea44efb5a21b54228f | 0 | thejsninja/syrup | const syrup = require('../../');
syrup.enableDebug()
.config(`${__dirname}/config.yaml`)
.scenario({
name: 'example.com',
entrypoint: `${__dirname}/test-example.com`,
worker: 'PhantomJsBrowser'
})
.scenario({
name: 'example.org',
entrypoint: `${__dirname}/test-ex... | examples/example_domains/start.js | const syrup = require('../../');
syrup.enableDebug()
.config(`${__dirname}/config.yaml`)
.scenario({
name: 'example.org - 1',
entrypoint: `${__dirname}/test-example.org`,
dependsOn: [],
worker: 'ChromeBrowser'
})
.scenario({
name: 'example.org - 2',
entry... | Use PhantomJs for example domains
| examples/example_domains/start.js | Use PhantomJs for example domains | <ide><path>xamples/example_domains/start.js
<ide> syrup.enableDebug()
<ide> .config(`${__dirname}/config.yaml`)
<ide> .scenario({
<del> name: 'example.org - 1',
<del> entrypoint: `${__dirname}/test-example.org`,
<del> dependsOn: [],
<del> worker: 'ChromeBrowser'
<add> name: 'e... | |
Java | agpl-3.0 | 041b035e5f581ec12bd885743194a5c61a5cb2c7 | 0 | AlienQueen/HatchetHarry,AlienQueen/HatchetHarry,AlienQueen/HatchetHarry | /*
* $Id: DataGenerator.java 366 2005-10-11 16:06:21 -0700 (Tue, 11 Oct 2005) ivaynberg $
* $Revision: 366 $
* $Date: 2005-10-11 16:06:21 -0700 (Tue, 11 Oct 2005) $
*
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "Licen... | src/main/java/org/alienlabs/hatchetharry/service/DataGenerator.java | /*
* $Id: DataGenerator.java 366 2005-10-11 16:06:21 -0700 (Tue, 11 Oct 2005) ivaynberg $
* $Revision: 366 $
* $Date: 2005-10-11 16:06:21 -0700 (Tue, 11 Oct 2005) $
*
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "Licen... | DONE: -PersistenceService instances are transient fields, now TODO: -update DataBox when joining a game
| src/main/java/org/alienlabs/hatchetharry/service/DataGenerator.java | DONE: -PersistenceService instances are transient fields, now TODO: -update DataBox when joining a game | <ide><path>rc/main/java/org/alienlabs/hatchetharry/service/DataGenerator.java
<ide> @SpringBean
<ide> private MagicCardDao magicCardDao;
<ide> @SpringBean
<del> private transient PersistenceService persistenceService;
<add> private PersistenceService persistenceService;
<ide>
<ide> @Required
<ide> public void set... | |
JavaScript | mit | a8b0fd49368cfc1ea634d4245105e706d2dd98c9 | 0 | jdesboeufs/connect-mongo | 'use strict'
const MongoClient = require('mongodb')
function withCallback(promise, cb) {
promise
.then(res => cb(null, res))
.catch(cb)
return promise
}
function defaultSerializeFunction(session) {
// Copy each property of the session to a new object
const obj = {}
let prop
for (prop in sessio... | src/index.js | 'use strict'
const MongoClient = require('mongodb')
function defaultSerializeFunction(session) {
// Copy each property of the session to a new object
const obj = {}
let prop
for (prop in session) {
if (prop === 'cookie') {
// Convert the cookie instance to an object, if possible
... | Fix asCallback
| src/index.js | Fix asCallback | <ide><path>rc/index.js
<ide> 'use strict'
<ide>
<ide> const MongoClient = require('mongodb')
<add>
<add>function withCallback(promise, cb) {
<add> promise
<add> .then(res => cb(null, res))
<add> .catch(cb)
<add> return promise
<add>}
<ide>
<ide> function defaultSerializeFunction(session) {
<ide> // Copy e... | |
JavaScript | mit | c2448a7e4e70f923a46b66a86c593692ce5641dd | 0 | seripap/darkwire.io,geoder101/darkwire.io,geoder101/darkwire.io | // System
import express from 'express';
import mustacheExpress from 'mustache-express';
import session from 'express-session';
import Redis from 'connect-redis';
import Io from 'socket.io';
import http from 'http';
import shortid from 'shortid';
import _ from 'underscore';
import Room from './room';
import favicon fro... | src/app.js | // System
import express from 'express';
import mustacheExpress from 'mustache-express';
import session from 'express-session';
import Redis from 'connect-redis';
import Io from 'socket.io';
import http from 'http';
import shortid from 'shortid';
import _ from 'underscore';
import Room from './room';
import favicon fro... | Shorten URLs
| src/app.js | Shorten URLs | <ide><path>rc/app.js
<ide> }
<ide>
<ide> app.get('/', (req, res) => {
<del> const id = shortid.generate() + shortid.generate();
<add> const id = shortid.generate();
<ide> generateNewRoom(req, res, id);
<ide> });
<ide> | |
Java | apache-2.0 | 02a7323b1d448242442ae7468b17f0ce605c6759 | 0 | jrbn/dynamite | package nl.vu.cs.querypie.schema;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
import nl.vu.cs.ajira.actions.ActionContext;
import nl... | src/nl/vu/cs/querypie/schema/SchemaManager.java | package nl.vu.cs.querypie.schema;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
import nl.vu.cs.ajira.actions.ActionContext;
import nl... | Modified SchemaManager to meet the new data structures in queriepie
storage | src/nl/vu/cs/querypie/schema/SchemaManager.java | Modified SchemaManager to meet the new data structures in queriepie storage | <ide><path>rc/nl/vu/cs/querypie/schema/SchemaManager.java
<ide> import nl.vu.cs.querypie.storage.Pattern;
<ide> import nl.vu.cs.querypie.storage.Term;
<ide> import nl.vu.cs.querypie.storage.berkeleydb.BerkeleydbLayer;
<del>import nl.vu.cs.querypie.storage.inmemory.InMemorySet;
<add>import nl.vu.cs.querypie.storage.inme... | |
Java | apache-2.0 | 465bff9b2ae35b767464a30ff50d03e549c49f64 | 0 | Grasia/swellrt,P2Pvalue/swellrt,P2Pvalue/swellrt,P2Pvalue/swellrt,Grasia/swellrt,P2Pvalue/swellrt,Grasia/swellrt,Grasia/swellrt | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | src/org/waveprotocol/wave/crypto/WaveSignatureVerifier.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... | Allow wildcard certs in delta sign verification
| src/org/waveprotocol/wave/crypto/WaveSignatureVerifier.java | Allow wildcard certs in delta sign verification | <ide><path>rc/org/waveprotocol/wave/crypto/WaveSignatureVerifier.java
<ide> return;
<ide> }
<ide>
<add> if (authorityMatchesWildcardCN(authority, cn)) {
<add> return;
<add> }
<add>
<ide> throw new SignatureException("expected " + authority +
<ide> " as CN or alternative name in cert, b... | |
Java | apache-2.0 | 23be0859963befaac60c92e0227ecd9aac7f819b | 0 | gmenih341/edit-2015,dejanpaler/edit-2015,Kokanm/edit-2015,Kokanm/edit-2015,KokanMalenko/edit-2015,dejanpaler/edit-2015,KokanMalenko/edit-2015,Rasencove/edit-2015,Rasencove/edit-2015,gmenih341/edit-2015,Kokanm/edit-2015,dejanpaler/edit-2015,KokanMalenko/edit-2015,Rasencove/edit-2015,gmenih341/edit-2015 | package com.ev3;
import static io.undertow.Handlers.path;
import static io.undertow.Handlers.websocket;
import io.undertow.Undertow;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Arrays;
import java.util.Enumeration;
import lejos.hardware.Button;
imp... | edit-brick/src/main/java/com/ev3/BrickServer.java | package com.ev3;
import static io.undertow.Handlers.path;
import static io.undertow.Handlers.websocket;
import io.undertow.Undertow;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Arrays;
import java.util.Enumeration;
import lejos.hardware.Button;
imp... | line following algorithm added
sweetspots of thresholds values and engine speeds still need to be
configured...
| edit-brick/src/main/java/com/ev3/BrickServer.java | line following algorithm added | <ide><path>dit-brick/src/main/java/com/ev3/BrickServer.java
<ide> import lejos.hardware.Button;
<ide> import lejos.hardware.motor.*;
<ide> import lejos.hardware.sensor.EV3ColorSensor;
<add>import lejos.hardware.port.MotorPort;
<ide> import lejos.hardware.port.Port;
<ide> import lejos.hardware.port.SensorPort;
<add>impo... | |
Java | mit | 3227df9864159b777c82c2554969161d7200a0a2 | 0 | ronaldosvieira/tcc | package game;
import assets.Assets;
import entity.Entity;
import entity.model.Grass;
import entity.model.Rabbit;
import entity.model.Fox;
import gui.GUI;
import io.Timer;
import io.Window;
import knowledge.KnowledgeBase;
import org.joml.Vector2f;
import org.joml.Vector3f;
import org.lwjgl.opengl.GL;
import render.Came... | src/game/Game.java | package game;
import assets.Assets;
import entity.Entity;
import entity.model.Grass;
import entity.model.Rabbit;
import entity.model.Fox;
import gui.GUI;
import io.Timer;
import io.Window;
import org.joml.Vector2f;
import org.joml.Vector3f;
import org.lwjgl.opengl.GL;
import render.Camera;
import render.TileRenderer;
... | Knowledge base loading before game start
| src/game/Game.java | Knowledge base loading before game start | <ide><path>rc/game/Game.java
<ide> import gui.GUI;
<ide> import io.Timer;
<ide> import io.Window;
<add>import knowledge.KnowledgeBase;
<ide> import org.joml.Vector2f;
<ide> import org.joml.Vector3f;
<ide> import org.lwjgl.opengl.GL;
<ide> import world.Map;
<ide> import world.World;
<ide>
<add>import java.io.FileNotFou... | |
Java | mit | aa6a184cbb01e84b060c8e5ca48f16ccb7bd0314 | 0 | MarquisLP/WorldScribe,MarquisLP/World-Scribe | package com.averi.worldscribe.activities;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActi... | app/src/main/java/com/averi/worldscribe/activities/ArticleActivity.java | package com.averi.worldscribe.activities;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActi... | Set RecyclerViews' LayoutManagers in onCreate
The LayoutManager only has to be set once, so there's no need to do it
every time the Activity resumes.
| app/src/main/java/com/averi/worldscribe/activities/ArticleActivity.java | Set RecyclerViews' LayoutManagers in onCreate | <ide><path>pp/src/main/java/com/averi/worldscribe/activities/ArticleActivity.java
<ide> createNewSnippet();
<ide> }
<ide> });
<add>
<add> connectionsList.setLayoutManager(new LinearLayoutManager(this));
<add> snippetsList.setLayoutManager(new LinearLayoutManager(this));... | |
Java | apache-2.0 | 1656c199865d5bfe2fc04e5079b30844bcded441 | 0 | cache2k/cache2k,cache2k/cache2k,cache2k/cache2k | package org.cache2k.test.core;
/*
* #%L
* cache2k implementation
* %%
* Copyright (C) 2000 - 2020 headissue GmbH, Munich
* %%
* 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
*
* ... | cache2k-core/src/test/java/org/cache2k/test/core/BasicCacheOperationsWithoutCustomizationsTest.java | package org.cache2k.test.core;
/*
* #%L
* cache2k implementation
* %%
* Copyright (C) 2000 - 2020 headissue GmbH, Munich
* %%
* 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
*
* ... | tests: code style cleanup
| cache2k-core/src/test/java/org/cache2k/test/core/BasicCacheOperationsWithoutCustomizationsTest.java | tests: code style cleanup | <ide><path>ache2k-core/src/test/java/org/cache2k/test/core/BasicCacheOperationsWithoutCustomizationsTest.java
<ide> import java.util.Set;
<ide> import java.util.concurrent.Callable;
<ide> import java.util.concurrent.ConcurrentHashMap;
<add>import java.util.concurrent.ConcurrentMap;
<ide> import java.util.concurrent.Tim... | |
JavaScript | bsd-3-clause | ea8589ac44062d75513925d5401ff57cacdf7efb | 0 | richgo/formio,richgo/formio | 'use strict';
var Joi = require('joi');
var _ = require('lodash');
var vm = require('vm');
var util = require('../util/util');
var async = require('async');
var debug = {
validator: require('debug')('formio:validator'),
error: require('debug')('formio:error')
};
/**
* @TODO: Add description.
*
* @param form
*... | src/resources/Validator.js | 'use strict';
var Joi = require('joi');
var _ = require('lodash');
var vm = require('vm');
var util = require('../util/util');
var async = require('async');
var debug = {
validator: require('debug')('formio:validator'),
error: require('debug')('formio:error')
};
/**
* @TODO: Add description.
*
* @param form
*... | FOR-136 - Fixing nested unique checks.
| src/resources/Validator.js | FOR-136 - Fixing nested unique checks. | <ide><path>rc/resources/Validator.js
<ide>
<ide> // Iterate through each of the unique keys.
<ide> var uniques = _.keys(this.unique);
<del> if (uniques.length > 0) {
<del> async.eachSeries(uniques, function(key, done) {
<del> var component = this.unique[key];
<del>
<del> debug.validator('Key: ' + key... | |
JavaScript | mit | 6a6aebcadcb6fd689f83ed12fbc9867bb5c3656b | 0 | odojs/odo-route | const pathtoregexp = require('path-to-regexp')
const route = () => {
let _routes = []
const res = (pattern, callback, options) => {
if (callback != null) {
if (pattern === '*') pattern = '(.*)'
const entry = {
pattern: pattern,
match: pathtoregexp(pattern, options),
cb: call... | index.js | const pathtoregexp = require('path-to-regexp')
const route = () => {
let _routes = []
const res = (pattern, callback, options) => {
if (callback != null) {
if (pattern === '*') pattern = '(.*)'
const entry = {
pattern: pattern,
match: pathtoregexp(pattern, options),
cb: call... | fixed global
| index.js | fixed global | <ide><path>ndex.js
<ide> return globalroute.routes()
<ide> }
<ide>
<add>globalapi.clearAll = () => {
<add> if (globalroute == null) globalroute = route()
<add> globalroute.clearAll()
<add>}
<add>
<ide> module.exports = globalapi | |
Java | apache-2.0 | error: pathspec 'samples/src/sandesha2/samples/userguide/AnonEchoClient.java' did not match any file(s) known to git
| ca9f3edf219976231d295ff6d1ff43660d36bf18 | 1 | apache/sandesha,apache/sandesha,apache/sandesha | package sandesha2.samples.userguide;
import java.io.File;
import javax.xml.namespace.QName;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMNamespace;
import org.apache.axiom.soap.SOAP12Constants;
import org.apache... | samples/src/sandesha2/samples/userguide/AnonEchoClient.java | Sample client to demonstrate Anonymous InOut scenarios
git-svn-id: 2b86aa0691b69980d9a6f3f27dca0ec9e0ea7276@497709 13f79535-47bb-0310-9956-ffa450edef68
| samples/src/sandesha2/samples/userguide/AnonEchoClient.java | Sample client to demonstrate Anonymous InOut scenarios | <ide><path>amples/src/sandesha2/samples/userguide/AnonEchoClient.java
<add>package sandesha2.samples.userguide;
<add>
<add>import java.io.File;
<add>
<add>import javax.xml.namespace.QName;
<add>
<add>import org.apache.axiom.om.OMAbstractFactory;
<add>import org.apache.axiom.om.OMElement;
<add>import org.apache.axiom.om... | |
Java | apache-2.0 | 7177c3c7568bbb7daeece0d147f810d46591b214 | 0 | cesarmarinhorj/java-driver,adejanovski/java-driver,mike-tr-adamson/java-driver,Stratio/java-driver,stef1927/java-driver,signalfx/java-driver,newkek/java-driver,kjniemi/java-driver,a-burylov/java-driver,fengshao0907/Cassandra-Java-Driver-Research,csm/java-driver,joeljacobson/java-driver,wselwood/java-driver,stef1927/jav... | /*
* Copyright (C) 2012 DataStax 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 applicab... | driver-core/src/test/java/com/datastax/driver/core/LoadBalancingPolicyTest.java | /*
* Copyright (C) 2012 DataStax 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 applicab... | Remove now non-deterministic test
| driver-core/src/test/java/com/datastax/driver/core/LoadBalancingPolicyTest.java | Remove now non-deterministic test | <ide><path>river-core/src/test/java/com/datastax/driver/core/LoadBalancingPolicyTest.java
<ide> waitForDecommission(CCMBridge.IP_PREFIX + "3", c.cluster);
<ide> waitForDecommission(CCMBridge.IP_PREFIX + "4", c.cluster);
<ide>
<del> query(c, 12);
<del>
<del> assertQueried(C... | |
Java | mit | 616d68d28ed6fdc18de8b03a4a06b2391576c1ba | 0 | HxCKDMS/GKPK | package HxCKDMS.gkpk.items;
import HxCKDMS.gkpk.client.GordianCreativeTab;
import HxCKDMS.gkpk.data.Configs;
import cpw.mods.fml.common.IFuelHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Items;
import net.minecraft.item.EnumAction... | src/main/java/HxCKDMS/gkpk/items/ItemEthanol.java | package HxCKDMS.gkpk.items;
import HxCKDMS.gkpk.client.GordianCreativeTab;
import HxCKDMS.gkpk.data.Configs;
import cpw.mods.fml.common.IFuelHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.init.Items;
import net.minecraft.item.EnumAction... | Update ItemEthanol.java | src/main/java/HxCKDMS/gkpk/items/ItemEthanol.java | Update ItemEthanol.java | <ide><path>rc/main/java/HxCKDMS/gkpk/items/ItemEthanol.java
<ide> this.setCreativeTab(GordianCreativeTab.gordianCreativeTab);
<ide> this.setUnlocalizedName("gEthanol");
<ide> this.setTextureName("GKPK:ethanol");
<del> this.setMaxStackSize(32);
<add> this.setMaxStackSize(48);
<ide> ... | |
Java | mit | 7905e7814f600dd13be797cbba8a4fd1cca2f4e5 | 0 | CS2103AUG2016-W11-C3/main | package harmony.mastermind.logic.commands;
import java.util.ArrayList;
import harmony.mastermind.memory.GenericMemory;
import harmony.mastermind.model.ModelManager;
import java.util.Optional;
/**
* Lists all tasks in the task manager to the user.
*/
public class ListCommand extends Command {
public static fina... | src/main/java/harmony/mastermind/logic/commands/ListCommand.java | package harmony.mastermind.logic.commands;
import java.util.ArrayList;
import harmony.mastermind.memory.GenericMemory;
import harmony.mastermind.model.ModelManager;
import java.util.Optional;
/**
* Lists all tasks in the task manager to the user.
*/
public class ListCommand extends Command {
public static fina... | removed lines of code
| src/main/java/harmony/mastermind/logic/commands/ListCommand.java | removed lines of code | <ide><path>rc/main/java/harmony/mastermind/logic/commands/ListCommand.java
<ide> String result = listName + "\n" + LINE;
<ide> for (int i=0; i < list.size(); i++) {
<ide> String line = i + 1 + BRACKET_OPEN;
<del> line = markSymbol(list, i, line);
<ide> line += BRACKET_... | |
Java | apache-2.0 | bb64b9572c3c66d656bd6301fc231cec083d1111 | 0 | SayCV/AndWall,zhongwcool/Muzei,falcon2010/muzei,falcon2010/muzei,romannurik/muzei,thunsaker/muzei,Heart2009/muzei,jiachenning/muzei,devmil/muzei,nikreiman/muzei,hgl888/muzei,dhootha/ActionLauncherApi,nikreiman/muzei,pasonx/muzei,zhongwcool/Muzei,xiaoleigua/muzei,xiaoleigua/muzei,fnk0/muzei,mikepenz/muzei,pasonx/muzei,s... | /*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | main/src/main/java/com/google/android/apps/muzei/util/IOUtil.java | /*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Fixes #45 - Bad image URL crashes Muzei
| main/src/main/java/com/google/android/apps/muzei/util/IOUtil.java | Fixes #45 - Bad image URL crashes Muzei | <ide><path>ain/src/main/java/com/google/android/apps/muzei/util/IOUtil.java
<ide> }
<ide>
<ide> String scheme = uri.getScheme();
<add> if (scheme == null) {
<add> throw new OpenUriException(false, new IOException("Uri had no scheme"));
<add> }
<add>
<ide> InputStream in... | |
Java | apache-2.0 | f0729070b2c359495c318af94a36eee8f34a011c | 0 | telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda | /* Copyright 2018 Telstra Open Source
*
* 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 la... | src-java/kilda-persistence-neo4j/src/main/java/org/openkilda/persistence/SimpleConversionCallback.java | /* Copyright 2018 Telstra Open Source
*
* 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 la... | Added extra checks for the null values in SimpleConversionCallback
| src-java/kilda-persistence-neo4j/src/main/java/org/openkilda/persistence/SimpleConversionCallback.java | Added extra checks for the null values in SimpleConversionCallback | <ide><path>rc-java/kilda-persistence-neo4j/src/main/java/org/openkilda/persistence/SimpleConversionCallback.java
<ide> if (value == null) {
<ide> return null;
<ide> }
<del>
<add> if (targetType == null) {
<add> throw new PersistenceException("Unable to locate appropriate co... | |
Java | agpl-3.0 | a7a2d9a2f46ba6083d0c1670703d1412f516eed5 | 0 | bitsquare/bitsquare,bitsquare/bitsquare,bisq-network/exchange,bisq-network/exchange | /*
* This file is part of Bisq.
*
* bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* bisq is distributed in the ... | monitor/src/main/java/bisq/monitor/metric/PriceNodeStats.java | /*
* This file is part of Bisq.
*
* bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* bisq is distributed in the ... | Price history available
| monitor/src/main/java/bisq/monitor/metric/PriceNodeStats.java | Price history available | <ide><path>onitor/src/main/java/bisq/monitor/metric/PriceNodeStats.java
<ide> import static com.google.common.base.Preconditions.checkNotNull;
<ide>
<ide> /**
<del> * Fetches fee data from the configured price nodes.
<add> * Fetches fee and price data from the configured price nodes.
<ide> * Based on the work of Harr... | |
Java | lgpl-2.1 | a6f91817029435c23a25559c0c00a2a1fcaec2fd | 0 | cytoscape/datasource-biogrid | package org.cytoscape.datasource.biogrid.internal;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.u... | src/main/java/org/cytoscape/datasource/biogrid/internal/BiogridDataLoader.java | package org.cytoscape.datasource.biogrid.internal;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
impo... | Added method to skip unnecessary local data update.
| src/main/java/org/cytoscape/datasource/biogrid/internal/BiogridDataLoader.java | Added method to skip unnecessary local data update. | <ide><path>rc/main/java/org/cytoscape/datasource/biogrid/internal/BiogridDataLoader.java
<ide> import java.io.IOException;
<ide> import java.io.InputStream;
<ide> import java.io.InputStreamReader;
<add>import java.net.MalformedURLException;
<ide> import java.net.URL;
<ide> import java.util.HashMap;
<ide> import java.ut... | |
Java | mit | 140c72b4be728ae72bfafd0e4342809427b98115 | 0 | 8-Bit-Warframe/Dethsquare-Engine-core | package com.ezardlabs.dethsquare;
import com.ezardlabs.dethsquare.util.IOUtils;
import com.ezardlabs.dethsquare.util.RenderUtils;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.HashMap;
public final class TextureAtlas {
final String imagePath;
final String mapPath;
private final HashM... | src/main/java/com/ezardlabs/dethsquare/TextureAtlas.java | package com.ezardlabs.dethsquare;
import com.ezardlabs.dethsquare.util.RenderUtils;
import com.ezardlabs.dethsquare.util.Utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.HashMap;
public final class TextureAtlas {
final String imagePath;
final String mapPath;
private final HashMap... | Update to work with new IOUtils class
| src/main/java/com/ezardlabs/dethsquare/TextureAtlas.java | Update to work with new IOUtils class | <ide><path>rc/main/java/com/ezardlabs/dethsquare/TextureAtlas.java
<ide> package com.ezardlabs.dethsquare;
<ide>
<add>import com.ezardlabs.dethsquare.util.IOUtils;
<ide> import com.ezardlabs.dethsquare.util.RenderUtils;
<del>import com.ezardlabs.dethsquare.util.Utils;
<ide>
<ide> import java.io.BufferedReader;
<ide> ... | |
Java | apache-2.0 | fd29420410923ca7aa97f715698ef841ca7b6d35 | 0 | sdmcraft/jackrabbit,sdmcraft/jackrabbit,sdmcraft/jackrabbit,bartosz-grabski/jackrabbit,tripodsan/jackrabbit,kigsmtua/jackrabbit,Overseas-Student-Living/jackrabbit,SylvesterAbreu/jackrabbit,kigsmtua/jackrabbit,Overseas-Student-Living/jackrabbit,Kast0rTr0y/jackrabbit,Overseas-Student-Living/jackrabbit,tripodsan/jackrabbi... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | JCR-3575: use absolute paths in WebDAV request bodies (DAV:href elements)
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@1469799 13f79535-47bb-0310-9956-ffa450edef68
| jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java | JCR-3575: use absolute paths in WebDAV request bodies (DAV:href elements) | <ide><path>ackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
<ide> public boolean isGranted(SessionInfo sessionInfo, ItemId itemId, String[] actions) throws RepositoryException {
<ide> ReportMethod method = null;
<ide> try {
<del> String uri = getIte... | |
Java | mit | b1f829bf88bd211560e46912af9d36191bfec322 | 0 | d2fn/passage,d2fn/passage,d2fn/passage,d2fn/passage | package com.d2fn.passage.geometry;
import com.google.common.base.Objects;
/**
* Point2D
* @author Dietrich Featherston
*/
public class Point2D extends AbstractProjectable2D {
private final float x, y;
public Point2D(float x, float y) {
this.x = x;
this.y = y;
}
public float x() {... | src/main/java/com/d2fn/passage/geometry/Point2D.java | package com.d2fn.passage.geometry;
import com.google.common.base.Objects;
import static processing.core.PApplet.cos;
import static processing.core.PApplet.sin;
/**
* Point2D
* @author Dietrich Featherston
*/
public class Point2D extends AbstractProjectable2D {
private final float x, y;
public Point2D(fl... | make origin class variable public | src/main/java/com/d2fn/passage/geometry/Point2D.java | make origin class variable public | <ide><path>rc/main/java/com/d2fn/passage/geometry/Point2D.java
<ide> package com.d2fn.passage.geometry;
<ide>
<ide> import com.google.common.base.Objects;
<del>
<del>import static processing.core.PApplet.cos;
<del>import static processing.core.PApplet.sin;
<ide>
<ide> /**
<ide> * Point2D
<ide> return Objects... | |
Java | mit | 5e60fab86720f220ec47f0f8a80e9375b3c0b096 | 0 | prl-tokyo/MAPE-autoscaling-analysis-service,prl-tokyo/MAPE-autoscaling-analysis-service | package jp.ac.nii.prl.mape.autoscaling.analysis.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import com.fa... | src/main/java/jp/ac/nii/prl/mape/autoscaling/analysis/model/InstanceType.java | package jp.ac.nii.prl.mape.autoscaling.analysis.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import com.fasterxml.jackson.annotation.JsonIgnore;
@Entity
public class InstanceType {
@JsonIgnore
@GeneratedValue
@Id
private Integer ID;
private Str... | Constraints on InstanceType fields | src/main/java/jp/ac/nii/prl/mape/autoscaling/analysis/model/InstanceType.java | Constraints on InstanceType fields | <ide><path>rc/main/java/jp/ac/nii/prl/mape/autoscaling/analysis/model/InstanceType.java
<ide> import javax.persistence.Entity;
<ide> import javax.persistence.GeneratedValue;
<ide> import javax.persistence.Id;
<add>import javax.validation.constraints.DecimalMin;
<add>import javax.validation.constraints.NotNull;
<add>
<a... | |
Java | agpl-3.0 | d45fc594418a86cbcfa6a01e756a4a3359051eac | 0 | servernge/holocore,servernge/holocore,servernge/holocore | package services.galaxy;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import network.packets.Packet;
import network.packets.sw... | src/services/galaxy/TravelService.java | package services.galaxy;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import network.packets.Packet;
import network.packets.sw... | Fixed an issue where selecting round-trip wouldn't give you the ticket for the reverse route
| src/services/galaxy/TravelService.java | Fixed an issue where selecting round-trip wouldn't give you the ticket for the reverse route | <ide><path>rc/services/galaxy/TravelService.java
<ide> returnTicket.addAttribute("@obj_attr_n:travel_arrival_point", nearestPoint.getName());
<ide>
<ide> // Put the ticket in their inventory
<del> purchaser.getSlottedObject("inventory").addObject(ticket);
<add> purchaser.getSlottedObject("inventory")... | |
Java | mit | 65b6da78c4df9d816b8ac7ef820005386733cbd8 | 0 | pokebyte/ararat,alpha-cross/ararat | // Copyright (c) 2014-2016 Akop Karapetyan
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, p... | src/main/java/org/akop/ararat/view/CrosswordView.java | // Copyright (c) 2014-2016 Akop Karapetyan
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, p... | Moved rendering logic to a separate class
| src/main/java/org/akop/ararat/view/CrosswordView.java | Moved rendering logic to a separate class | <ide><path>rc/main/java/org/akop/ararat/view/CrosswordView.java
<ide> private ScaleGestureDetector mScaleDetector;
<ide> private GestureDetector mGestureDetector;
<ide>
<del> private BitmapRenderer mAsyncRenderer;
<add> private RenderTask mAsyncRenderer;
<ide> private Canvas mPuzzleCanvas;
<ide> private Bitmap mPu... | |
Java | apache-2.0 | 9d1be31784413c58b1bc6af1a814987f700d369e | 0 | ooq/memory,maboelhassan/alluxio,bf8086/alluxio,jswudi/alluxio,WilliamZapata/alluxio,carsonwang/tachyon,bf8086/alluxio,maobaolong/alluxio,Alluxio/alluxio,wwjiang007/alluxio,ChangerYoung/alluxio,uronce-cc/alluxio,carsonwang/tachyon,EvilMcJerkface/alluxio,bf8086/alluxio,jsimsa/alluxio,Alluxio/alluxio,calvinjia/tachyon,sol... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | core/src/test/java/tachyon/hadoop/fs/TestDFSIO.java | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | disable TestDFSIO for now
| core/src/test/java/tachyon/hadoop/fs/TestDFSIO.java | disable TestDFSIO for now | <ide><path>ore/src/test/java/tachyon/hadoop/fs/TestDFSIO.java
<ide> import org.apache.hadoop.util.ToolRunner;
<ide> import org.junit.AfterClass;
<ide> import org.junit.BeforeClass;
<del>import org.junit.Test;
<ide>
<ide> import tachyon.Constants;
<ide> import tachyon.hadoop.TFS;
<ide> long execTime = System.curren... | |
JavaScript | mit | 6db20c4e950083fc9a91027f5d01e87b86d0a607 | 0 | ghaiklor/generator-sails-rest-api,italoag/generator-sails-rest-api,eithewliter5518/generator-sails-rest-api,mhipo1364/generator-sails-rest-api,jaumard/generator-trails,italoag/generator-sails-rest-api,synergycns/generator-sails-rest-api,ghaiklor/generator-sails-rest-api,konstantinzolotarev/generator-trails,tnunes/gener... | var path = require('path'),
assert = require('yeoman-generator').assert,
helpers = require('yeoman-generator').test,
os = require('os');
describe('sails-rest-api:app', function () {
before(function (done) {
helpers.run(path.join(__dirname, '../app'))
.inDir(path.join(os.tmpdir(), '.... | test/app.js | var path = require('path'),
assert = require('yeoman-generator').assert,
helpers = require('yeoman-generator').test,
os = require('os');
describe('sails-rest-api:app', function () {
before(function (done) {
helpers.run(path.join(__dirname, '../app'))
.inDir(path.join(os.tmpdir(), '.... | Add todo in generator tests
| test/app.js | Add todo in generator tests | <ide><path>est/app.js
<ide> .on('end', done);
<ide> });
<ide>
<add> // TODO: write normal tests for generator
<add>
<ide> it('Should properly create root files', function () {
<ide> assert.file([
<ide> '.editorconfig', | |
JavaScript | mit | 89d06e61ef07d22c7a75e9e3514715b0300ee014 | 0 | nicoespeon/gitgraph.js,nicoespeon/gitgraph.js,nicoespeon/gitgraph.js,nicoespeon/gitgraph.js | (function () {
"use strict";
/**
* GitGraph
*
* @constructor
*
* @param {Object} options - GitGraph options
* @param {String} [options.elementId = "gitGraph"] - Id of the canvas container
* @param {Template|String|Object} [options.template] - Template of the graph
* @param {String} [options... | src/gitgraph.js | (function () {
"use strict";
/**
* GitGraph
*
* @constructor
*
* @param {Object} options - GitGraph options
* @param {String} [options.elementId = "gitGraph"] - Id of the canvas container
* @param {Template|String|Object} [options.template] - Template of the graph
* @param {String} [options... | Added fix to check 'options.template.branch' is defined before attempting to acquire its value.
| src/gitgraph.js | Added fix to check 'options.template.branch' is defined before attempting to acquire its value. | <ide><path>rc/gitgraph.js
<ide> case "vertical-reverse" :
<ide> this.template.commit.spacingY *= -1;
<ide> this.orientation = "vertical-reverse";
<del>
<del> this.template.branch.labelRotation = options.template.branch.labelRotation !== null ?
<del> options... | |
Java | lgpl-2.1 | d7d5071f22dae4bc00e5199ca271271617f3ad25 | 0 | concord-consortium/otrunk,concord-consortium/otrunk | /*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01742
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... | src/java/org/concord/otrunk/view/OTViewContainerPanel.java | /*
* Copyright (C) 2004 The Concord Consortium, Inc.,
* 10 Concord Crossing, Concord, MA 01742
*
* Web Site: http://www.concord.org
* Email: info@concord.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... | testing
git-svn-id: 8ebed0c25533aaea68ca43268d4d516467f97e6a@6968 6e01202a-0783-4428-890a-84243c50cc2b
| src/java/org/concord/otrunk/view/OTViewContainerPanel.java | testing | <ide><path>rc/java/org/concord/otrunk/view/OTViewContainerPanel.java
<ide>
<ide> /*
<ide> * Last modification information:
<del> * $Revision: 1.26 $
<del> * $Date: 2007-03-05 18:41:52 $
<add> * $Revision: 1.27 $
<add> * $Date: 2007-03-05 18:50:37 $
<ide> * $Author: sfentress $
<ide> *
<ide> * Licence Information
<... | |
Java | apache-2.0 | c10c8054e7e24850e5fa30a94aa618cafe8dd658 | 0 | mpouttuclarke/cdap,caskdata/cdap,caskdata/cdap,hsaputra/cdap,chtyim/cdap,hsaputra/cdap,caskdata/cdap,anthcp/cdap,mpouttuclarke/cdap,anthcp/cdap,chtyim/cdap,hsaputra/cdap,caskdata/cdap,mpouttuclarke/cdap,caskdata/cdap,hsaputra/cdap,chtyim/cdap,caskdata/cdap,mpouttuclarke/cdap,chtyim/cdap,chtyim/cdap,anthcp/cdap,hsaputra... | /*
* Copyright © 2014 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... | cdap-data-fabric/src/main/java/co/cask/cdap/data2/transaction/stream/FileStreamAdmin.java | /*
* Copyright © 2014 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... | Enable explore upon stream creation if stream location already exists
| cdap-data-fabric/src/main/java/co/cask/cdap/data2/transaction/stream/FileStreamAdmin.java | Enable explore upon stream creation if stream location already exists | <ide><path>dap-data-fabric/src/main/java/co/cask/cdap/data2/transaction/stream/FileStreamAdmin.java
<ide> public StreamConfig call() throws Exception {
<ide> Location configLocation = getStreamConfigLocation(streamId);
<ide> if (configLocation.exists()) {
<add> alterExploreStream(streamId... | |
Java | apache-2.0 | 4d411fc8484eb1fb11e7ffa6aa04b94ddaf6326d | 0 | gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa | /*
* Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute
*
* 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-... | atlas-web/src/main/java/ae3/service/structuredquery/AtlasStructuredQueryService.java | /*
* Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute
*
* 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-... | Enabled inclusion of efo id's children on heatmap if that id is pre-pended with '@' in user's request
| atlas-web/src/main/java/ae3/service/structuredquery/AtlasStructuredQueryService.java | Enabled inclusion of efo id's children on heatmap if that id is pre-pended with '@' in user's request | <ide><path>tlas-web/src/main/java/ae3/service/structuredquery/AtlasStructuredQueryService.java
<ide> *
<ide> * @param id EFO accession
<ide> * @param minExperiments required minimum number of experiments
<del> * @param minExperiments required minimum number of experiments
... | |
Java | bsd-3-clause | f689a7035ea241fd4a91ddfbd190884b6b837075 | 0 | NCIP/cananolab,NCIP/cananolab,NCIP/cananolab | package gov.nih.nci.calab.ui.security;
import gov.nih.nci.calab.dto.common.UserBean;
import gov.nih.nci.calab.service.login.LoginService;
import gov.nih.nci.calab.service.login.PasswordService;
import gov.nih.nci.calab.ui.core.AbstractBaseAction;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http... | src/gov/nih/nci/calab/ui/security/LoginAction.java | package gov.nih.nci.calab.ui.security;
import gov.nih.nci.calab.dto.common.UserBean;
import gov.nih.nci.calab.service.login.LoginService;
import gov.nih.nci.calab.service.login.PasswordService;
import gov.nih.nci.calab.ui.core.AbstractBaseAction;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http... | optimized imports
SVN-Revision: 1249
| src/gov/nih/nci/calab/ui/security/LoginAction.java | optimized imports | <ide><path>rc/gov/nih/nci/calab/ui/security/LoginAction.java
<ide> import org.apache.struts.action.ActionForm;
<ide> import org.apache.struts.action.ActionForward;
<ide> import org.apache.struts.action.ActionMapping;
<del>import org.apache.struts.action.ActionMessages;
<ide> import org.apache.struts.validator.DynaValid... | |
Java | mit | ea93fce6e6ee58ecbf615bbb80d642b4836d1b81 | 0 | amghannam/Stopwatch | /*
* File: Stopwatch.java
*/
package org.aghannnam.stopwatch;
/**
* This class implements a simple stopwatch utility intended for accurate
* measurement of code execution time.
*
* @author Ahmed Ghannam
*/
public class Stopwatch {
/**
* The number of nanoseconds in one millisecond.
*/
priv... | Stopwatch/src/org/aghannnam/stopwatch/Stopwatch.java | /*
* File: Stopwatch.java
*/
package org.aghannnam.stopwatch;
/**
* This class implements a simple stopwatch utility intended for accurate
* measurement of code execution time.
*
* @author Ahmed Ghannam
*/
public class Stopwatch {
/**
* The number of nanoseconds in one millisecond.
*/
priv... | More refactoring. | Stopwatch/src/org/aghannnam/stopwatch/Stopwatch.java | More refactoring. | <ide><path>topwatch/src/org/aghannnam/stopwatch/Stopwatch.java
<ide> * milliseconds using two decimal places.
<ide> *
<ide> * <p>
<del> * Example: 1.2345 would return a string value equal to "1.23 ms".
<add> * Example: 1.2345 would return a string value equal to
<add> * <code>"1.23 ms"</code>.
<ide> * </p>... | |
Java | mit | fbacccf724f7cb24f01ddc2f1cc7090baa202dfe | 0 | DemigodsRPG/Demigods3 | package com.censoredsoftware.Demigods.Engine.Object.Mob;
import java.util.List;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.entity.*;
import redis.clients.johm.*;
import com.censoredsoftware.Demigods.Engine.Object.Deity.Deity;
import com.censoredsoftware.Demigods.Engin... | src/main/java/com/censoredsoftware/Demigods/Engine/Object/Mob/TameableWrapper.java | package com.censoredsoftware.Demigods.Engine.Object.Mob;
import java.util.List;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.entity.AnimalTamer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Tameable;
import redis.cl... | Attempt to make it faster.
| src/main/java/com/censoredsoftware/Demigods/Engine/Object/Mob/TameableWrapper.java | Attempt to make it faster. | <ide><path>rc/main/java/com/censoredsoftware/Demigods/Engine/Object/Mob/TameableWrapper.java
<ide>
<ide> import org.bukkit.Bukkit;
<ide> import org.bukkit.World;
<del>import org.bukkit.entity.AnimalTamer;
<del>import org.bukkit.entity.EntityType;
<del>import org.bukkit.entity.LivingEntity;
<del>import org.bukkit.entit... | |
Java | apache-2.0 | 0712ef69fd81611e80273259660ef23d49187334 | 0 | sekikn/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,radicalbit/ambari,radicalbit/ambari,sekikn/ambari,sekikn/ambari,radicalbit/ambari,radicalbit/ambari,sekikn/amb... | /**
* 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... | contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/resources/system/ranger/RangerService.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... | AMBARI-20207. Proper error is not thrown on hive view authorization page. (dipayanb)
| contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/resources/system/ranger/RangerService.java | AMBARI-20207. Proper error is not thrown on hive view authorization page. (dipayanb) | <ide><path>ontrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/resources/system/ranger/RangerService.java
<ide> }
<ide>
<ide> private List<Policy> parseResponse(String rangerResponse) {
<del> JSONArray jsonArray = (JSONArray) JSONValue.parse(rangerResponse);
<add> Object parsedResult = JSONValue.... | |
Java | apache-2.0 | 3d3506bbab1094c6284744426dbe48e313cafa61 | 0 | strapdata/elassandra,vroyer/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | server/src/main/java/org/elasticsearch/snapshots/SnapshotShardsService.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Fix Snapshot BwC with Version 5.6.x (#39737)
* Fix Snapshot BwC with Version 5.6.x
* We were sending the wrong snapshot shard status update format to 5.6 (but reading the correct version) so tests would fail with 5.6 masters but not with 5.6 nodes running against a 6.7 master
* Closes #39721
| server/src/main/java/org/elasticsearch/snapshots/SnapshotShardsService.java | Fix Snapshot BwC with Version 5.6.x (#39737) | <ide><path>erver/src/main/java/org/elasticsearch/snapshots/SnapshotShardsService.java
<ide> void sendSnapshotShardUpdate(Snapshot snapshot, ShardId shardId, ShardSnapshotStatus status, DiscoveryNode masterNode) {
<ide> try {
<ide> if (masterNode.getVersion().onOrAfter(Version.V_6_1_0)) {
<del> ... | |
JavaScript | mit | 6651fb738f8e6dbeba8207abe0457e2c8db2d090 | 0 | thiagocatarse/catarse,ujjwalkhanal/helpbegin,danielweinmann/catarse,umeshduggal/flockaway,adrianob/catarse,devton/catarse,paulopatto/catarse,danielweinmann/catarse,catarse/catarse,catarse/catarse,sushant12/jvn,paulopatto/catarse,JamesUcci/webapplication,catarse/catarse,adrianob/catarse,ujjwalkhanal/helpbegin,devton/cat... | App.addChild('ReviewForm', _.extend({
el: 'form#review_form',
events: {
'blur input' : 'checkInput',
'change #contribution_address_state' : 'checkInput',
'change #contribution_country_id' : 'onCountryChange',
'change #contribution_anonymous' : 'toggleAnonymousConfirmation',
'click #next-step' :... | app/assets/javascripts/app/contribution/contribution_review.js | App.addChild('ReviewForm', _.extend({
el: 'form#review_form',
events: {
'blur input' : 'checkInput',
'change #contribution_address_state' : 'checkInput',
'change #contribution_country_id' : 'onCountryChange',
'change #contribution_anonymous' : 'toggleAnonymousConfirmation',
'click #next-step' :... | remove log
| app/assets/javascripts/app/contribution/contribution_review.js | remove log | <ide><path>pp/assets/javascripts/app/contribution/contribution_review.js
<ide> },
<ide>
<ide> makeFieldsRequired: function(){
<del> console.log('foo');
<ide> this.$('[data-required-in-brazil]').prop('required', 'required');
<ide> this.$('[data-required-in-brazil]').parent().removeClass('optional').add... | |
Java | mit | 6c25370318cb38344cdef8799c1aa7642ec1edf2 | 0 | rgarbi/stripe-java,hardtoe/stripe-java,AdamStelmaszczyk/stripe-java,zs-engg/stripe-sdk,stripe/stripe-java,shalecraig/stripe-java,kbouzidi/stripe-java | package com.stripe;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.HashMap;
import java.ut... | src/test/java/com/stripe/StripeTest.java | package com.stripe;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.HashMap;
import java.ut... | cleaned up indents in StripeTest.java
| src/test/java/com/stripe/StripeTest.java | cleaned up indents in StripeTest.java | <ide><path>rc/test/java/com/stripe/StripeTest.java
<ide> uniqueParams.put("id", getUniqueCouponId());
<ide> return uniqueParams;
<ide> }
<del>
<del> static Map<String, Object> getInvoiceItemParams() throws StripeException {
<del> Map<String, Object> params = new HashMap<String, Object>();
<del> Customer cust... | |
JavaScript | mit | 85a2616e3e1b9a9b56a5d462689507cf08b47406 | 0 | alpixel/generator-alpixel-symfony,alpixel/generator-alpixel-symfony,alpixel/generator-alpixel-symfony,alpixel/generator-alpixel-symfony | (function($) {
/* @ global vars */
smartWidthMin = 0;
smartWidthMax = 767;
tablWidthMin = 768;
tablWidthMax = 1200;
windowWidthMin = 1201;
currentWindowWidth = window.innerWidth || document.documentElement.clientWidth|| document.body.clientWidth;
currentWindowHeight = window.inner... | app/templates/app/Resources/themes/default/js/global.js | (function($) {
/* @ global vars */
smartWidthMin = 0;
smartWidthMax = 767;
tablWidthMin = 768;
tablWidthMax = 1200;
windowWidthMin = 1201;
currentWindowWidth = window.innerWidth || document.documentElement.clientWidth|| document.body.clientWidth;
currentWindowHeight = window.inner... | Global js modif des liens a ouvrir dans un nouvel onglet pour les images dans le wysi
| app/templates/app/Resources/themes/default/js/global.js | Global js modif des liens a ouvrir dans un nouvel onglet pour les images dans le wysi | <ide><path>pp/templates/app/Resources/themes/default/js/global.js
<ide> * Add clearfix class for parent containing images on wywiwyg page
<ide> */
<ide> $('.body p, .body div').has('img.right, img.left').addClass('clearfix');
<del> $('.body p, .body div').find('a[href*="pdf"], a[href*="... | |
Java | mit | 623f27c1365b3167ecb92edba62a5cedc30d02b9 | 0 | gerardrosell/CapgirApp | package com.prolificinteractive.materialcalendarview.sample;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget... | sample/src/main/java/com/prolificinteractive/materialcalendarview/sample/Event_activity.java | package com.prolificinteractive.materialcalendarview.sample;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget... | checks ok
| sample/src/main/java/com/prolificinteractive/materialcalendarview/sample/Event_activity.java | checks ok | <ide><path>ample/src/main/java/com/prolificinteractive/materialcalendarview/sample/Event_activity.java
<ide> private String desc;
<ide> private DatabaseReference mRootRefAdmin;
<ide> private boolean admin = false;
<add> public String No_ass, Si_ass, Bus, posi;
<ide>
<ide>
<ide> @Override
<ide> ... | |
Java | mit | 118510acbf5c96197ec353f5d2270b706308206d | 0 | pla1/TweetTooter1000,pla1/TweetTooter1000 | package net.pla1.tweettooter;
import org.sikuli.basics.Settings;
import org.sikuli.script.*;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Date;
import java.util.Properties;
public class Bot {
private final String URL_MASTODON = "https://octodon.social/auth/sign_in";
private fi... | src/main/java/net/pla1/tweettooter/Bot.java | package net.pla1.tweettooter;
import org.sikuli.basics.Settings;
import org.sikuli.script.*;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Date;
import java.util.Properties;
public class Bot {
private final String URL_MASTODON = "https://octodon.social/auth/sign_in";
private fi... | Increase wait time on Mastodon logo.
| src/main/java/net/pla1/tweettooter/Bot.java | Increase wait time on Mastodon logo. | <ide><path>rc/main/java/net/pla1/tweettooter/Bot.java
<ide> s.type("t", KeyModifier.CTRL);
<ide> s.type(URL_MASTODON);
<ide> s.type(Key.ENTER);
<del> Utils.waitForImage(s, "images/mastodon_logo.png", 10);
<add> Utils.waitForImage(s, "images/mastodon_logo.png", 60);
<ide> Pr... | |
Java | bsd-3-clause | 09e638ee2b875ffe4d896ee1bd919b220bc31511 | 0 | rahulmutt/ghcvm,rahulmutt/ghcvm,rahulmutt/ghcvm,rahulmutt/ghcvm,rahulmutt/ghcvm | package eta.runtime.io;
import java.util.List;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Map;
import java.util.Queue;
import java.util.NavigableMap;
import java.util.IdentityHashMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import jav... | rts/src/main/java/eta/runtime/io/MemoryManager.java | package eta.runtime.io;
import java.util.List;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.Map;
import java.util.Queue;
import java.util.NavigableMap;
import java.util.IdentityHashMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import jav... | add overloaded versions with int
| rts/src/main/java/eta/runtime/io/MemoryManager.java | add overloaded versions with int | <ide><path>ts/src/main/java/eta/runtime/io/MemoryManager.java
<ide> public static ByteBuffer copy(long srcAddress, long destAddress, int size) {
<ide> return copy(srcAddress, 0, destAddress, 0, size);
<ide> }
<del>
<add>
<ide> public static ByteBuffer set(long address, byte val, int size) {
<ide>... | |
JavaScript | mit | 769e6cdfb5b885fee03fd53914e241fef920b6e2 | 0 | nielsgl/serverless-boilerplate,nielsgl/serverless-boilerplate,nielsgl/serverless-boilerplate | module.exports = {
"extends": "airbnb-base",
"plugins": [],
"rules": {
"indent": ["error", "tab", {"MemberExpression": 1}],
"no-tabs": "off",
"new-cap": ["error", { "newIsCap": false }],
"no-unused-vars": ["error", {"varsIgnorePattern": "debug|error"}],
"object-curly-spacing": ["error", "never"],
"camelc... | .eslintrc.js | module.exports = {
"extends": "airbnb-base",
"plugins": [],
"rules": {
"indent": ["error", "tab", {"MemberExpression": 1}],
"no-tabs": "off",
"new-cap": ["error", { "newIsCap": false }],
"no-unused-vars": ["error", {"varsIgnorePattern": "debug|error"}],
// doesn't work in node v4 :(
// "strict": "off",
... | updated eslint
| .eslintrc.js | updated eslint | <ide><path>eslintrc.js
<ide> "no-tabs": "off",
<ide> "new-cap": ["error", { "newIsCap": false }],
<ide> "no-unused-vars": ["error", {"varsIgnorePattern": "debug|error"}],
<add> "object-curly-spacing": ["error", "never"],
<add> "camelcase": "off",
<ide>
<ide> // doesn't work in node v4 :(
<ide> // "strict":... | |
JavaScript | apache-2.0 | 35c4aea4c3607b8ede7c76e49764c85794ac7a5f | 0 | caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap | /*
* Copyright © 2015 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... | cdap-ui/Gulpfile.js | /*
* Copyright © 2015 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... | Adds minified version of ng-infinite-scroll directive in gulpfile.js
| cdap-ui/Gulpfile.js | Adds minified version of ng-infinite-scroll directive in gulpfile.js | <ide><path>dap-ui/Gulpfile.js
<ide>
<ide> './bower_components/js-beautify/js/lib/beautify.js',
<ide> './bower_components/angular-file-saver/dist/angular-file-saver.bundle.js',
<del> './bower_components/ngInfiniteScroll/build/ng-infinite-scroll.js'
<del>
<add> './bower_components/ngInfiniteScroll/... | |
Java | apache-2.0 | 09b3f26987c6ec398df18fb2911aa997ee395d83 | 0 | davidfraser/sms-backup-plus,MadsAndreasen/sms-backup-plus,rsalmaso/sms-backup-plus,amirshaikh49/sms-backup-plus,angryziber/sms-backup-plus,ashh87/sms-backup-plus,daniel-beet/sms-backup-plus,dongqisheng520/sms-backup-plus,jberkel/sms-backup-plus,daniel-beet/sms-backup-plus,ashh87/sms-backup-plus,amirshaikh49/sms-backup-... | /* Copyright (c) 2009 Christoph Studer <chstuder@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | src/com/zegoggles/smssync/CursorToMessage.java | /* Copyright (c) 2009 Christoph Studer <chstuder@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Encode local-part of addresses
Closes GH-22
| src/com/zegoggles/smssync/CursorToMessage.java | Encode local-part of addresses | <ide><path>rc/com/zegoggles/smssync/CursorToMessage.java
<ide> record = new PersonRecord();
<ide> record._id = address;
<ide> record.name = address;
<del> record.address = new Address(address + "@" + UNKNOWN_PERSON);
<add>
<add> record.address = new Address(Enco... | |
Java | apache-2.0 | 9e332cf33ac62d74ff2c5f203f7b06777ff2548b | 0 | srowen/oryx,OryxProject/oryx,oncewang/oryx2,OryxProject/oryx,oncewang/oryx2,srowen/oryx | /*
* Copyright (c) 2014, Cloudera, Inc. and Intel Corp. All Rights Reserved.
*
* Cloudera, 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.o... | framework/oryx-lambda-serving/src/main/java/com/cloudera/oryx/lambda/serving/ServingLayer.java | /*
* Copyright (c) 2014, Cloudera, Inc. and Intel Corp. All Rights Reserved.
*
* Cloudera, 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.o... | Use NIO.2 connector in Tomcat
| framework/oryx-lambda-serving/src/main/java/com/cloudera/oryx/lambda/serving/ServingLayer.java | Use NIO.2 connector in Tomcat | <ide><path>ramework/oryx-lambda-serving/src/main/java/com/cloudera/oryx/lambda/serving/ServingLayer.java
<ide> }
<ide>
<ide> private Connector makeConnector() {
<del> Connector connector = new Connector("org.apache.coyote.http11.Http11NioProtocol");
<add> Connector connector = new Connector("org.apache.coyot... | |
Java | apache-2.0 | cedae9bc7207bd3b9fe79197dc70fc1b3f4f7cf0 | 0 | apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,Nickname0806/Test_Q4,Nickname0806/Test_Q4 | /*
* 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... | java/org/apache/tomcat/util/scan/StandardJarScanFilter.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | Add some Javadoc
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1492981 13f79535-47bb-0310-9956-ffa450edef68
| java/org/apache/tomcat/util/scan/StandardJarScanFilter.java | Add some Javadoc | <ide><path>ava/org/apache/tomcat/util/scan/StandardJarScanFilter.java
<ide> private Set<String[]> pluggabilityScanSet = new HashSet<>();
<ide> private boolean defaultPluggabilityScan = true;
<ide>
<add> /**
<add> * This is the standard implementation of {@link JarScanFilter}. By default,
<add> * the... | |
Java | apache-2.0 | 59d6e22e7031aebb088cdaef87eef22a43882dbf | 0 | Adobe-Consulting-Services/acs-aem-commons,schoudry/acs-aem-commons,dfoerderreuther/acs-aem-commons,steffenrosi/acs-aem-commons,bstopp/acs-aem-commons,badvision/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,schoudry/acs-aem-commons,badvision/acs-aem-commons,bstopp/acs-aem-commons,badvision/acs-aem-commons,cp... | package com.adobe.acs.commons.oak.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.jcr.Node;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import org.apa... | bundle/src/main/java/com/adobe/acs/commons/oak/impl/EnsureOakIndexJobHandler.java | package com.adobe.acs.commons.oak.impl;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.jcr.Node;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import org.apa... | Improved logging
| bundle/src/main/java/com/adobe/acs/commons/oak/impl/EnsureOakIndexJobHandler.java | Improved logging | <ide><path>undle/src/main/java/com/adobe/acs/commons/oak/impl/EnsureOakIndexJobHandler.java
<ide> } else {
<ide> // UPDATE
<ide> validateEnsureDefinition(ensureDefinition);
<add> boolean forceReindex = ensureDefinitionProperties.get(PN_FORCE_REI... | |
Java | apache-2.0 | c6554502a36e297e347aa7fdcab5c010dd9b3474 | 0 | mission-peace/interview,mission-peace/interview,mission-peace/interview | package com.interview.dynamic;
import java.util.ArrayList;
import java.util.List;
/**
* @Date 08/01/2014
* @author Tushar Roy
*
* Given a total and coins of certain denominations find number of ways total
* can be formed from coins assuming infinity supply of coins
*
* References:
* http://www.geeksforgeeks.o... | src/com/interview/dynamic/CoinChanging.java | package com.interview.dynamic;
import java.util.ArrayList;
import java.util.List;
/**
* @Date 08/01/2014
* @author Tushar Roy
*
* Given a total and coins of certain denominations find number of ways total
* can be formed from coins assuming infinity supply of coins
*
* References:
* http://www.geeksforgeeks.o... | Coin Changin use the N space solution and print changes.
| src/com/interview/dynamic/CoinChanging.java | Coin Changin use the N space solution and print changes. | <ide><path>rc/com/interview/dynamic/CoinChanging.java
<ide> int total = 15;
<ide> int coins[] = {3,4,6,7,9};
<ide> System.out.println(cc.numberOfSolutions(total, coins));
<del>
<add> System.out.println(cc.numberOfSolutionsOnSpace(total, coins));
<add> cc.printCoinChangingSolution(t... | |
Java | apache-2.0 | bae3bd0a5725e1376c8adb02cef8350fadab8490 | 0 | wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel,wyona/yanel | /*
* Copyright 2006 - 2017 Wyona
*
* 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.wyona.org/licenses/APACHE-LICENSE-2.0
*
* Unless required by applicable law o... | src/resources/file/src/java/org/wyona/yanel/impl/resources/node/NodeResourceV101.java | /*
* Copyright 2006 - 2017 Wyona
*
* 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.wyona.org/licenses/APACHE-LICENSE-2.0
*
* Unless required by applicable law o... | suffix woff added
| src/resources/file/src/java/org/wyona/yanel/impl/resources/node/NodeResourceV101.java | suffix woff added | <ide><path>rc/resources/file/src/java/org/wyona/yanel/impl/resources/node/NodeResourceV101.java
<ide> return "image/svg+xml";
<ide> } else if (suffix.equals("ico")) {
<ide> return "image/x-icon";
<add> } else if (suffix.equals("woff")) {
<add> return "font/woff"; // INF... | |
Java | apache-2.0 | 574d2e022320ffcf42f32d76ac1a2a27cd7d7898 | 0 | zstackio/zstack,AlanJager/zstack,MatheMatrix/zstack,zstackio/zstack,MatheMatrix/zstack,AlanJager/zstack,zstackorg/zstack,zstackio/zstack,AlanJager/zstack,MatheMatrix/zstack,zstackorg/zstack | package org.zstack.identity;
import org.hibernate.exception.ConstraintViolationException;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.transaction... | identity/src/main/java/org/zstack/identity/AccountBase.java | package org.zstack.identity;
import org.hibernate.exception.ConstraintViolationException;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.transaction... | fix http://jira.zstack.io/browse/ZSTAC-12504
| identity/src/main/java/org/zstack/identity/AccountBase.java | fix http://jira.zstack.io/browse/ZSTAC-12504 | <ide><path>dentity/src/main/java/org/zstack/identity/AccountBase.java
<ide> done(new FlowDoneHandler(completion) {
<ide> @Override
<ide> public void handle(Map data) {
<add> dbf.remove(self);
<add> acntMgr.adminAdoptAl... | |
Java | apache-2.0 | 5599957635fe3b003ba9bb2f222167dbb25896af | 0 | fnouama/intellij-community,FHannes/intellij-community,tmpgit/intellij-community,muntasirsyed/intellij-community,MichaelNedzelsky/intellij-community,ernestp/consulo,signed/intellij-community,holmes/intellij-community,muntasirsyed/intellij-community,kdwink/intellij-community,jagguli/intellij-community,vvv1559/intellij-co... | /*
* Created by IntelliJ IDEA.
* User: mike
* Date: Jun 6, 2002
* Time: 5:41:42 PM
* To change template for new class use
* Code Style | Class Templates options (Tools | IDE Options).
*/
package com.intellij.psi.impl;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import ... | source/com/intellij/psi/impl/CachedValueImpl.java | /*
* Created by IntelliJ IDEA.
* User: mike
* Date: Jun 6, 2002
* Time: 5:41:42 PM
* To change template for new class use
* Code Style | Class Templates options (Tools | IDE Options).
*/
package com.intellij.psi.impl;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import ... | ERD refresh on roots change fix
| source/com/intellij/psi/impl/CachedValueImpl.java | ERD refresh on roots change fix | <ide><path>ource/com/intellij/psi/impl/CachedValueImpl.java
<ide> }
<ide> }
<ide>
<add> public void clear() {
<add> myData.set(null);
<add> }
<add>
<ide> public void setDataLocked(boolean value) {
<ide> myData.setIsLocked(value);
<ide> } | |
Java | mit | d9b05755bf1f38eec9e7f9e4526d098fbd575c6e | 0 | Utviklingsutvalget/ACTion,Utviklingsutvalget/ACTion,Utviklingsutvalget/ACTion | package models;
import com.avaje.ebean.Ebean;
import com.avaje.ebean.annotation.Transactional;
import play.data.validation.Constraints;
import play.twirl.api.Html;
import powerups.Powerup;
import powerups.core.descriptionpowerup.DescriptionPowerup;
import powerups.models.BoardMembership;
import javax.persistence.*;
i... | app/models/Club.java | package models;
import com.avaje.ebean.Ebean;
import com.avaje.ebean.annotation.Transactional;
import play.data.validation.Constraints;
import play.twirl.api.Html;
import powerups.Powerup;
import powerups.core.descriptionpowerup.DescriptionPowerup;
import powerups.models.BoardMembership;
import javax.persistence.*;
i... | autogenerate club ids
| app/models/Club.java | autogenerate club ids | <ide><path>pp/models/Club.java
<ide> public class Club {
<ide>
<ide> @Id
<add> @GeneratedValue
<ide> private Long id;
<ide> @Constraints.Required
<ide> private String name; | |
Java | apache-2.0 | cc55224f7f83e376d9c36e50c1e5f08819a35b1b | 0 | RestExpress/RepoExpress,amilaI/RepoExpress | /*
Copyright 2012, Strategic Gains, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | src/java/redis/com/strategicgains/repoexpress/redis/RedisRepository.java | /*
Copyright 2012, Strategic Gains, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | Updated javadoc for RedisRepository
| src/java/redis/com/strategicgains/repoexpress/redis/RedisRepository.java | Updated javadoc for RedisRepository | <ide><path>rc/java/redis/com/strategicgains/repoexpress/redis/RedisRepository.java
<ide> * <p/>
<ide> * Note that this repository requires the client to set appropriate ID values. Otherwise, since
<ide> * this repository is 'observable', a RepositoryObserver may be used to perform that task automatically
<del> * on... | |
Java | bsd-2-clause | c174fa8cd6b8f742de6bc3513a647cb7c9d75501 | 0 | imagej/imagej-ui-swing | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2014 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | src/main/java/net/imagej/ui/swing/script/TextEditor.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2014 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | Remove the 'Show deprecation' flag
Not sure what to do about it; we let the JavaEngine compile as it sees
fit; maybe in a future version we'll put this back in, triggered via
the engine scope bindings, much like 'verbose' and 'debug'...
Signed-off-by: Johannes Schindelin <53fb8db7833fca1e1746dd8592f61048d350f64c@gmx.... | src/main/java/net/imagej/ui/swing/script/TextEditor.java | Remove the 'Show deprecation' flag | <ide><path>rc/main/java/net/imagej/ui/swing/script/TextEditor.java
<ide> protected int tabsMenuTabsStart;
<ide> protected Set<JMenuItem> tabsMenuItems;
<ide> protected FindAndReplaceDialog findDialog;
<del> protected JCheckBoxMenuItem autoSave, showDeprecation, wrapLines, tabsEmulated;
<add> protected JCheckBoxMenuI... | |
Java | mit | d3e5556b3566199376804f080c9cd9bd2b0c56d1 | 0 | robotzero/FXCounter,robotzero/FXCounter | package com.queen.counter.service;
import com.queen.counter.domain.*;
import javafx.animation.TranslateTransition;
import javafx.beans.binding.Bindings;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.geometry.Point2D;
import javafx.scene.layout.StackPane... | src/main/java/com/queen/counter/service/Populator.java | package com.queen.counter.service;
import com.queen.counter.domain.*;
import javafx.animation.TranslateTransition;
import javafx.beans.binding.Bindings;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.geometry.Point2D;
import javafx.scene.layout.StackPane... | Removed random object.
| src/main/java/com/queen/counter/service/Populator.java | Removed random object. | <ide><path>rc/main/java/com/queen/counter/service/Populator.java
<ide> import org.reactfx.util.Tuple2;
<ide>
<ide> import java.util.List;
<del>import java.util.Random;
<ide> import java.util.stream.Collectors;
<ide>
<ide> public class Populator {
<ide> }
<ide>
<ide> public Column create(StackPane stack) {
<d... | |
Java | apache-2.0 | 340b856a2ac1c32a4ed9df8cf45d36f14b3e77e6 | 0 | nmonvisualizer/nmonvisualizer | package com.ibm.nmon.parser;
import org.slf4j.Logger;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.io.IOException;
import jav... | src/com/ibm/nmon/parser/IOStatParser.java | package com.ibm.nmon.parser;
import org.slf4j.Logger;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TimeZone;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
import java.io.IOE... | Refactored IOStat parsing to support additional AIX features & general
clean up | src/com/ibm/nmon/parser/IOStatParser.java | Refactored IOStat parsing to support additional AIX features & general clean up | <ide><path>rc/com/ibm/nmon/parser/IOStatParser.java
<ide>
<ide> import java.util.List;
<ide> import java.util.Map;
<del>import java.util.Set;
<ide>
<ide> import java.util.TimeZone;
<ide>
<ide> private static final SimpleDateFormat TIMESTAMP_FORMAT_AIX = new SimpleDateFormat("HH:mm:ss");
<ide> private static ... | |
JavaScript | mit | a7f71e16356f60a5010a0eb9d6a6abf807ec2428 | 0 | Ricardh522/mustache.js,Ricardh522/mustache.js,janl/mustache.js,agusdiyansyah/mustache.js,mikekavouras/mustache.js,emersion/mustache.js,ivantcholakov/mustache.js,djchie/mustache.js,bengl/mustache.js,travis-repos/mustache.js,Jeremy017/mustache.js,qweasd1/mustache.js,damyon/mustache.js,qweasd1/mustache.js,xinliuruoxi/must... | /*
mustache.js — Logic-less templates in JavaScript
See http://mustache.github.com/ for more info.
*/
var Mustache = function() {
var Renderer = function() {};
Renderer.prototype = {
otag: "{{",
ctag: "}}",
pragmas: {},
buffer: [],
pragmas_implemented: {
"IMPLICIT-ITERATOR": true,
... | mustache.js | /*
mustache.js — Logic-less templates in JavaScript
See http://mustache.github.com/ for more info.
*/
var Mustache = function() {
var Renderer = function() {};
Renderer.prototype = {
otag: "{{",
ctag: "}}",
pragmas: {},
buffer: [],
pragmas_implemented: {
"IMPLICIT-ITERATOR": true
... | i18n twitter stuff
| mustache.js | i18n twitter stuff | <ide><path>ustache.js
<ide> pragmas: {},
<ide> buffer: [],
<ide> pragmas_implemented: {
<del> "IMPLICIT-ITERATOR": true
<add> "IMPLICIT-ITERATOR": true,
<add> "TRANSLATION-HINT": true
<ide> },
<ide> context: {},
<ide>
<ide> }
<ide> }
<ide>
<add> // Branching or mo... | |
Java | lgpl-2.1 | 0b00afc847cb5580e9fbc7aff2b2e1b902f6c0e9 | 0 | dizzzz/exist,wolfgangmm/exist,shabanovd/exist,MjAbuz/exist,olvidalo/exist,lcahlander/exist,kohsah/exist,MjAbuz/exist,ambs/exist,jensopetersen/exist,adamretter/exist,joewiz/exist,zwobit/exist,hungerburg/exist,eXist-db/exist,joewiz/exist,adamretter/exist,eXist-db/exist,eXist-db/exist,opax/exist,zwobit/exist,lcahlander/ex... | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-06 The eXist Project
* http://exist-db.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either ver... | src/org/exist/xquery/functions/FunCodepointEqual.java | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-06 The eXist Project
* http://exist-db.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either ver... | fixed a small but in fn:codepoint-equal()
svn path=/trunk/eXist/; revision=4988
| src/org/exist/xquery/functions/FunCodepointEqual.java | fixed a small but in fn:codepoint-equal() | <ide><path>rc/org/exist/xquery/functions/FunCodepointEqual.java
<ide> Sequence result;
<ide> if (args[0].isEmpty())
<ide> result = Sequence.EMPTY_SEQUENCE;
<del> if (args[1].isEmpty())
<add> else if (args[1].isEmpty())
<ide> result = Sequence.EMPTY_SEQUENCE;
<ide> else {
<ide> result = ... | |
JavaScript | apache-2.0 | 23708bd14e58102cd7ee00d64b4877faacdc82ac | 0 | Alekseylv/jurmal-ak,Alekseylv/jurmal-ak | (function () {
var app = angular.module('app', ['pascalprecht.translate']);
app.config(['$translateProvider', function ($translateProvider) {
$translateProvider.translations("en", {
foo: "bar"
});
$translateProvider.translations("lv", {
foo: "bars"
});
... | js/app.js | (function () {
var app = angular.module('app', ['pascalprecht.translate']);
app.config(['$translateProvider', function ($translateProvider) {
$translateProvider.translations("en", {
foo: "bar"
});
$translateProvider.translations("lv", {
foo: "bars"
});
... | angular app fix
| js/app.js | angular app fix | <ide><path>s/app.js
<ide>
<ide> }]);
<ide>
<del> angular.module('app').controller('languageCtrl', ['$translate', '$scope', function ($translate, $scope) {
<add> app.controller('languageCtrl', ['$translate', '$scope', function ($translate, $scope) {
<ide> $scope.selectedLang = $translate.use();
<ide>... | |
Java | mit | f47a5b6740ab6788d1ae7da1251e072cff333da5 | 0 | evdubs/XChange,Panchen/XChange,stachon/XChange,npomfret/XChange,nopy/XChange,timmolter/XChange,chrisrico/XChange,douggie/XChange,andre77/XChange,LeonidShamis/XChange,TSavo/XChange,ww3456/XChange | package org.knowm.xchange.vaultoro.service;
import java.io.IOException;
import java.util.Collection;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.dto.Order;
import org.knowm.xchange.dto.trade.*;
import org.knowm.xchange.exceptions.ExchangeException;
import org.knowm.xchange.exceptions.NotAvailableFromE... | xchange-vaultoro/src/main/java/org/knowm/xchange/vaultoro/service/VaultoroTradeService.java | package org.knowm.xchange.vaultoro.service;
import java.io.IOException;
import java.util.Collection;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.dto.Order;
import org.knowm.xchange.dto.trade.LimitOrder;
import org.knowm.xchange.dto.trade.MarketOrder;
import org.knowm.xchange.dto.trade.OpenOrders;
impo... | [Vaultoro] implemented @Override placeStopOrder
| xchange-vaultoro/src/main/java/org/knowm/xchange/vaultoro/service/VaultoroTradeService.java | [Vaultoro] implemented @Override placeStopOrder | <ide><path>change-vaultoro/src/main/java/org/knowm/xchange/vaultoro/service/VaultoroTradeService.java
<ide>
<ide> import org.knowm.xchange.Exchange;
<ide> import org.knowm.xchange.dto.Order;
<del>import org.knowm.xchange.dto.trade.LimitOrder;
<del>import org.knowm.xchange.dto.trade.MarketOrder;
<del>import org.knowm.x... | |
JavaScript | mit | 72d5ab9bd90d18ce1c1ea30e156952f28b9782b7 | 0 | gocreating/redux-draft | import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as actionCreators from '../actions/index';
export default (config) => (WrappedComponent) => {
class ReduxDraft extends Component {
componentDidMount() {
this.props.init(conf... | src/components/reduxDraft.js | import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as actionCreators from '../actions/index';
export default (config) => (WrappedComponent) => {
class ReduxDraft extends Component {
componentDidMount() {
this.props.init(conf... | Update decorator
| src/components/reduxDraft.js | Update decorator | <ide><path>rc/components/reduxDraft.js
<ide> }
<ide>
<ide> render() {
<del> let { name } = this.props;
<add> let {
<add> name,
<add> config,
<add> editorState,
<add> ...rest
<add> } = this.props;
<ide>
<ide> return name !== undefined ? (
<del> <WrappedCo... | |
JavaScript | mit | d55f6f0bb6a79325f91e38159ad233c26e6b5e71 | 0 | peterjmag/reading-list,peterjmag/reading-list | var express = require('express');
var bodyParser = require('body-parser');
var MetaInspector = require('node-metainspector');
var Datastore = require('nedb');
var app = express();
var db = new Datastore({ filename: 'links.db', autoload: true });
var sanitizeTitle = function (title) {
// http://stackoverflow.com/a/7... | server/api-server.js | var express = require('express');
var bodyParser = require('body-parser');
var MetaInspector = require('node-metainspector');
var Datastore = require('nedb');
var app = express();
var db = new Datastore({ filename: 'links.db', autoload: true });
// TODO: Improve CSP
// http://enable-cors.org/server_expressjs.html
app... | Remove extra spaces from link title before persisting.
| server/api-server.js | Remove extra spaces from link title before persisting. | <ide><path>erver/api-server.js
<ide>
<ide> var app = express();
<ide> var db = new Datastore({ filename: 'links.db', autoload: true });
<add>
<add>var sanitizeTitle = function (title) {
<add> // http://stackoverflow.com/a/7764370/349353
<add> return title.replace(/\n/g, ' ').replace(/\s+/g,' ').trim();
<add>};
<ide>... | |
Java | lgpl-2.1 | bcb351df5832264a8e54a60f414c17a622efbf44 | 0 | ggiudetti/opencms-core,gallardo/opencms-core,victos/opencms-core,alkacon/opencms-core,MenZil/opencms-core,alkacon/opencms-core,gallardo/opencms-core,alkacon/opencms-core,victos/opencms-core,sbonoc/opencms-core,sbonoc/opencms-core,ggiudetti/opencms-core,sbonoc/opencms-core,gallardo/opencms-core,alkacon/opencms-core,it-t... | /*
* File : $Source$
* Date : $Date$
* Version: $Revision$
*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (C) 2002 - 2009 Alkacon Software (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it und... | src-modules/org/opencms/workplace/tools/sites/CmsSitesDetailDialog.java | /*
* File : $Source$
* Date : $Date$
* Version: $Revision$
*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (C) 2002 - 2009 Alkacon Software (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it und... | Improved new, edit and display widgets for site management wp tools. | src-modules/org/opencms/workplace/tools/sites/CmsSitesDetailDialog.java | Improved new, edit and display widgets for site management wp tools. | <ide><path>rc-modules/org/opencms/workplace/tools/sites/CmsSitesDetailDialog.java
<ide>
<ide> String title = m_site.getTitle();
<ide> int count = 3;
<add>
<ide> // site info
<ide> result.append(dialogBlockStart(Messages.get().getBundle().key(Messages.GUI_SITES_DETAIL_INFO_1, title)));
<... | |
JavaScript | mpl-2.0 | 1265600688936dbd3b4d6eda227ede9d7535df14 | 0 | slidewiki/slidewiki-platform,slidewiki/slidewiki-platform,slidewiki/slidewiki-platform | // import _ from 'lodash';
import {Microservices} from '../configs/microservices';
import rp from 'request-promise';
// let now = Date.now();
// const args = {
// sid: 0
// };
// const initialActivities = [
// {'id': 0, 'type': 'add', 'contentType': 'slide', 'contentID': 67 + parseInt(args.sid), contentName: '... | services/activities.js | // import _ from 'lodash';
import {Microservices} from '../configs/microservices';
import rp from 'request-promise';
// let now = Date.now();
// const args = {
// sid: 0
// };
// const initialActivities = [
// {'id': 0, 'type': 'add', 'contentType': 'slide', 'contentID': 67 + parseInt(args.sid), contentName: '... | SWIK-573 Added content_kind to microservice call
| services/activities.js | SWIK-573 Added content_kind to microservice call | <ide><path>ervices/activities.js
<ide> let selector= {'id': args.id, 'spath': args.spath, 'sid': args.sid, 'stype': args.stype, 'mode': args.mode};
<ide>
<ide> // const content_id = (!selector.sid.startsWith('1122334455')) ? ('112233445566778899000000'.substring(0, 24 - selector.sid.length) + selector.... | |
Java | apache-2.0 | 209330836c4596d81839db6376ee6a21604fd845 | 0 | mtakaki/CredentialStorageService,mtakaki/CredentialStorageService | package com.github.mtakaki.credentialstorage.database.model;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.TimeZone;
import org.joda.time.DateTime;
import org.junit.Before;
import org.junit.Test;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.P... | src/test/java/com/github/mtakaki/credentialstorage/database/model/CredentialTest.java | package com.github.mtakaki.credentialstorage.database.model;
import static org.assertj.core.api.Assertions.assertThat;
import org.joda.time.DateTime;
import org.junit.Test;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import io.dropwizard.jackson.... | Setting canonical timezone for unit test
| src/test/java/com/github/mtakaki/credentialstorage/database/model/CredentialTest.java | Setting canonical timezone for unit test | <ide><path>rc/test/java/com/github/mtakaki/credentialstorage/database/model/CredentialTest.java
<ide>
<ide> import static org.assertj.core.api.Assertions.assertThat;
<ide>
<add>import java.util.TimeZone;
<add>
<ide> import org.joda.time.DateTime;
<add>import org.junit.Before;
<ide> import org.junit.Test;
<ide>
<ide>... | |
Java | apache-2.0 | f0e2c692a69a7cd130386fb05cd1eeed921436dc | 0 | Netflix/denominator,jdamick/denominator,gorcz/denominator,Netflix/denominator,jdamick/denominator,gorcz/denominator |
package denominator.ultradns;
import java.util.List;
import java.util.Map;
import org.jclouds.ultradns.ws.domain.ResourceRecord;
import org.jclouds.ultradns.ws.domain.ResourceRecordMetadata;
import com.google.common.base.Function;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableMap;
... | providers/denominator-ultradns/src/main/java/denominator/ultradns/UltraDNSFunctions.java |
package denominator.ultradns;
import java.util.List;
import java.util.Map;
import org.jclouds.ultradns.ws.domain.ResourceRecord;
import org.jclouds.ultradns.ws.domain.ResourceRecordMetadata;
import com.google.common.base.Function;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableMap;
... | added missing SSHFP type to ultra
| providers/denominator-ultradns/src/main/java/denominator/ultradns/UltraDNSFunctions.java | added missing SSHFP type to ultra | <ide><path>roviders/denominator-ultradns/src/main/java/denominator/ultradns/UltraDNSFunctions.java
<ide> import denominator.model.rdata.SOAData;
<ide> import denominator.model.rdata.SPFData;
<ide> import denominator.model.rdata.SRVData;
<add>import denominator.model.rdata.SSHFPData;
<ide> import denominator.model.rdata... | |
Java | apache-2.0 | 7a124f17c6126216c8b9b6c22f228fd4c7139705 | 0 | strapdata/elassandra,vroyer/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | client/rest-high-level/src/test/java/org/elasticsearch/client/CrudIT.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | enable CurtIT#testIndex since #38451 is merged (#38476)
| client/rest-high-level/src/test/java/org/elasticsearch/client/CrudIT.java | enable CurtIT#testIndex since #38451 is merged (#38476) | <ide><path>lient/rest-high-level/src/test/java/org/elasticsearch/client/CrudIT.java
<ide> }
<ide> }
<ide>
<del> @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/38451 contains a fix. sliencing for now")
<ide> public void testIndex() throws IOException {
<ide> final XContent... | |
Java | bsd-3-clause | error: pathspec 'src/main/java/pitt/search/semanticvectors/experiments/PairwiseCorrelation.java' did not match any file(s) known to git
| 734bbec52282210276417b25a4b2c72cf4e2ed2b | 1 | dwiddows/semanticvectors,dwiddows/semanticvectors,semanticvectors/semanticvectors,semanticvectors/semanticvectors,rvedam/semanticvectors,rvedam/semanticvectors,rvedam/semanticvectors,semanticvectors/semanticvectors,semanticvectors/semanticvectors,rvedam/semanticvectors,dwiddows/semanticvectors,dwiddows/semanticvectors | package pitt.search.semanticvectors.experiments;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import pitt.search.semanticvectors.FlagConfig;
import pitt.search.semanticvectors.Vecto... | src/main/java/pitt/search/semanticvectors/experiments/PairwiseCorrelation.java | This class will output the correlation between pairwise similarities
from a vector store, and a set of reference similarity scores provided
in a file of the format:
term1 , term2 , score
(tab is also an acceptable delimiter) | src/main/java/pitt/search/semanticvectors/experiments/PairwiseCorrelation.java | This class will output the correlation between pairwise similarities from a vector store, and a set of reference similarity scores provided in a file of the format: | <ide><path>rc/main/java/pitt/search/semanticvectors/experiments/PairwiseCorrelation.java
<add>package pitt.search.semanticvectors.experiments;
<add>
<add>import java.io.BufferedReader;
<add>import java.io.FileNotFoundException;
<add>import java.io.FileReader;
<add>import java.io.IOException;
<add>import java.util.Array... | |
Java | apache-2.0 | 325bd838a218bd0d4b917beff9402c73cafa180f | 0 | smartnews/presto,springning/presto,Zoomdata/presto,deciament/presto,kined/presto,gcnonato/presto,zhenxiao/presto,cawallin/presto,yuananf/presto,Nasdaq/presto,albertocsm/presto,nsabharwal/presto,kuzemchik/presto,cberner/presto,zhenxiao/presto,Svjard/presto,pnowojski/presto,sumitkgec/presto,erichwang/presto,dain/presto,p... | /*
* Copyright 2004-present Facebook. All Rights Reserved.
*/
package com.facebook.presto.server;
import com.facebook.presto.operator.Page;
import com.facebook.presto.tuple.TupleInfo;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import io.airlift.log.Logger;
import io.... | presto-main/src/main/java/com/facebook/presto/server/QueryState.java | /*
* Copyright 2004-present Facebook. All Rights Reserved.
*/
package com.facebook.presto.server;
import com.facebook.presto.operator.Page;
import com.facebook.presto.tuple.TupleInfo;
import com.google.common.base.Preconditions;
import com.google.common.collect.ImmutableList;
import io.airlift.units.Duration;
impor... | Log errors reported to the QueryState object
| presto-main/src/main/java/com/facebook/presto/server/QueryState.java | Log errors reported to the QueryState object | <ide><path>resto-main/src/main/java/com/facebook/presto/server/QueryState.java
<ide> import com.facebook.presto.tuple.TupleInfo;
<ide> import com.google.common.base.Preconditions;
<ide> import com.google.common.collect.ImmutableList;
<add>import io.airlift.log.Logger;
<ide> import io.airlift.units.Duration;
<ide>
<ide... | |
JavaScript | apache-2.0 | e485d45872a3f57abeb4c918be08882a91e58b4f | 0 | soef/ioBroker.hue,ioBroker/ioBroker.hue,soef/ioBroker.hue,ioBroker/ioBroker.hue | /**
* Author of helper functions:
* https://github.com/ArndBrugman/
*
*/
exports.RgbToXYB = function (Red, Green, Blue, model) {
var Point = HelperRGBtoXY(Red, Green, Blue);
var HueAngSatBri = HelperRGBtoHueAngSatBri(Red, Green, Blue);
var bri = Math.min(255, Math.round(HueAngSatBri.Bri * 255));
... | lib/HueHelper.js | /**
* Author of helper functions:
* https://github.com/ArndBrugman/
*
*/
exports.RgbToXYB = function (Red, Green, Blue, model) {
var Point = HelperRGBtoXY(Red, Green, Blue);
var HueAngSatBri = HelperRGBtoHueAngSatBri(Red, Green, Blue);
var bri = Math.min(254, Math.round(HueAngSatBri.Bri * 255));
... | Update HueHelper.js
fix Gamut for LSP | lib/HueHelper.js | Update HueHelper.js | <ide><path>ib/HueHelper.js
<ide> exports.RgbToXYB = function (Red, Green, Blue, model) {
<ide> var Point = HelperRGBtoXY(Red, Green, Blue);
<ide> var HueAngSatBri = HelperRGBtoHueAngSatBri(Red, Green, Blue);
<del> var bri = Math.min(254, Math.round(HueAngSatBri.Bri * 255));
<add> var bri = Math.min(255, M... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.