lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | error: pathspec 'src/org/wso2/carbon/social/adaptor/AdapterInterface.java' did not match any file(s) known to git
| 58cc8a298f71f692f56489efee56b88adaa7cfb4 | 1 | udarakr/social-db-adaptor | package org.wso2.carbon.social.adaptor;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
public interface AdapterInterface {
public abstract ResultSet getPaginatedActivitySet(Connection connection,
String targetId, String tenant, String order, int limit, int offset) throws SQ... | src/org/wso2/carbon/social/adaptor/AdapterInterface.java | introducing adaptor interface
| src/org/wso2/carbon/social/adaptor/AdapterInterface.java | introducing adaptor interface | <ide><path>rc/org/wso2/carbon/social/adaptor/AdapterInterface.java
<add>package org.wso2.carbon.social.adaptor;
<add>
<add>import java.sql.Connection;
<add>import java.sql.ResultSet;
<add>import java.sql.SQLException;
<add>
<add>public interface AdapterInterface {
<add>
<add> public abstract ResultSet getPaginatedActi... | |
Java | apache-2.0 | 278f31fe366d5d71daff5d6159b658475277d7a8 | 0 | krujos/data-lifecycle-service-broker,krujos/data-lifecycle-service-broker,krujos/data-lifecycle-service-broker,krujos/data-lifecycle-service-broker | package io.pivotal.cdm.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class SanitizationScript {
final static long ID = 1;
@Id
long id = ID;
private String script;
protected SanitizationScr... | src/main/java/io/pivotal/cdm/model/SanitizationScript.java | package io.pivotal.cdm.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class SanitizationScript {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
long id;
private String script;
protected ... | Fix bug saving script more than once
| src/main/java/io/pivotal/cdm/model/SanitizationScript.java | Fix bug saving script more than once | <ide><path>rc/main/java/io/pivotal/cdm/model/SanitizationScript.java
<ide> @Entity
<ide> public class SanitizationScript {
<ide>
<add> final static long ID = 1;
<add>
<ide> @Id
<del> @GeneratedValue(strategy = GenerationType.AUTO)
<del> long id;
<add> long id = ID;
<ide>
<ide> private String script;
<ide> | |
Java | mit | ece7b529ba6dc3216e3a192033946c65917fdb4b | 0 | MarkEWaite/git-client-plugin,MarkEWaite/git-client-plugin,MarkEWaite/git-client-plugin | package org.jenkinsci.plugins.gitclient;
import hudson.model.TaskListener;
import hudson.plugins.git.Branch;
import hudson.plugins.git.GitException;
import hudson.remoting.VirtualChannel;
import junit.framework.TestCase;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.ecl... | src/test/java/org/jenkinsci/plugins/gitclient/GitClientCloneTest.java | package org.jenkinsci.plugins.gitclient;
import hudson.model.TaskListener;
import hudson.plugins.git.Branch;
import hudson.plugins.git.GitException;
import hudson.remoting.VirtualChannel;
import junit.framework.TestCase;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.ecl... | Use alternates file assertion method
No need to duplicate the alternates assertion in multiple locations when
we have the alternates assertion already in the file.
| src/test/java/org/jenkinsci/plugins/gitclient/GitClientCloneTest.java | Use alternates file assertion method | <ide><path>rc/test/java/org/jenkinsci/plugins/gitclient/GitClientCloneTest.java
<ide> testGitClient.checkout().timeout(checkoutTimeout).ref("origin/master").branch("master").execute();
<ide> check_remote_url(workspace, testGitClient, "origin");
<ide> assertBranchesExist(testGitClient.getBranches... | |
JavaScript | bsd-3-clause | 22b936fc6dcf7e7f54c2e3156a447d9a94ff8af8 | 0 | shuwen/strand,shuwen/strand,sassomedia/strand,sassomedia/strand,dlasky/strand,dlasky/strand | 'use strict';
/*jslint node: true */
var fs = require('fs');
var gulp = require('gulp');
var glob = require('glob');
var gutil = require('gulp-util');
var del = require('del');
var sass = require('gulp-sass');
var rename = require('gulp-rename');
var merge = require('merge-stream');
var path = require('path');
var vul... | Gulpfile.js | 'use strict';
/*jslint node: true */
var fs = require('fs');
var gulp = require('gulp');
var glob = require('glob');
var gutil = require('gulp-util');
var del = require('del');
var sass = require('gulp-sass');
var rename = require('gulp-rename');
var merge = require('merge-stream');
var path = require('path');
var vul... | Bring article and module docs together
| Gulpfile.js | Bring article and module docs together | <ide><path>ulpfile.js
<ide> /** DOCS **/
<ide>
<ide> gulp.task('docs', function() {
<del> var modules = glob.sync("mm-*", {cwd:SRC});
<del> var articles = glob.sync("*.md", {cwd:"./docs/articles/"});
<del> var articleMap = JSON.parse(fs.readFileSync('./docs/articles/manifest.json'));
<del>
<del> var articleStream = gu... | |
JavaScript | apache-2.0 | b36e1a5d5027c47600e581910502bc85889021f5 | 0 | jjgao/mutantpdb,jjgao/mutantpdb,jjgao/mutantpdb | document.body.style.backgroundColor = "black";
document.addEventListener("DOMContentLoaded", function () {
// ngl stage object
var stage = new NGL.Stage("viewport");
stage.loadFile("").then(function (component) {
component.addRepresentation("cartoon");
component.autoView();
... | mutant_pdb.js | document.body.style.backgroundColor = "black";
document.addEventListener("DOMContentLoaded", function () {
// ngl stage object
var stage = new NGL.Stage("viewport");
stage.loadFile("").then(function (component) {
component.addRepresentation("cartoon");
component.autoView();
... | fixed one res select, removed old code
works a little better | mutant_pdb.js | fixed one res select, removed old code | <ide><path>utant_pdb.js
<ide> name: "polymer"
<ide> });
<ide> o.addRepresentation("cartoon", { color: "tomato" });
<del> o.addRepresentation("ball+stick", {
<del> name: "ligand",
<del> visible: ligandCheckbox.checked,
<de... | |
Java | mit | 7a2907f41f3829c840d37db4fa4865cd15bb523b | 0 | cohadar/intro2algos3,cohadar/intro2algos3 | import java.util.*;
import java.io.*;
/**
* @author Mighty Cohadar
*/
public class QuickSort {
public static int hoare(int[] A, int l, int r) {
int x = A[(l + r) >>> 1];
while (true) {
while (A[r] > x) {
r--;
};
while (A[l] < x) {
l++;
};
if (l < r) {
swap(A, l++, r--);
} else ... | ch7-quicksort/QuickSort.java | import java.util.*;
import java.io.*;
/**
* @author Mighty Cohadar
*/
public class QuickSort {
public static int partition(int[] A, int l, int r) {
int m = (l + r) >>> 1;
int v = A[m];
swap(A, r, m);
int e = l - 1;
for (int i = l; i < r; i++) {
if (A[i] <= v) {
swap(A, i, ++e);
}
}
swap(... | hoare
| ch7-quicksort/QuickSort.java | hoare | <ide><path>h7-quicksort/QuickSort.java
<ide> */
<ide> public class QuickSort {
<ide>
<del> public static int partition(int[] A, int l, int r) {
<del> int m = (l + r) >>> 1;
<del> int v = A[m];
<del> swap(A, r, m);
<del> int e = l - 1;
<del> for (int i = l; i < r; i++) {
<del> if (A[i] <= v) {
<del> swap(A,... | |
Java | apache-2.0 | 7884e326a733239b902f714af8213151cbc1082d | 0 | allotria/intellij-community,vladmm/intellij-community,fitermay/intellij-community,ibinti/intellij-community,ol-loginov/intellij-community,signed/intellij-community,holmes/intellij-community,ryano144/intellij-community,samthor/intellij-community,michaelgallacher/intellij-community,mglukhikh/intellij-community,vvv1559/in... | package com.intellij.lang.ant.psi.impl;
import com.intellij.lang.ant.psi.*;
import com.intellij.lang.ant.psi.introspection.AntTypeDefinition;
import com.intellij.lang.ant.psi.introspection.AntTypeId;
import com.intellij.lang.ant.psi.introspection.impl.AntTypeDefinitionImpl;
import com.intellij.lang.properties.psi.Prop... | plugins/ant/src/com/intellij/lang/ant/psi/impl/AntTypeDefImpl.java | package com.intellij.lang.ant.psi.impl;
import com.intellij.lang.ant.psi.*;
import com.intellij.lang.ant.psi.introspection.AntTypeDefinition;
import com.intellij.lang.ant.psi.introspection.AntTypeId;
import com.intellij.lang.ant.psi.introspection.impl.AntTypeDefinitionImpl;
import com.intellij.lang.properties.psi.Prop... | fix NPE
| plugins/ant/src/com/intellij/lang/ant/psi/impl/AntTypeDefImpl.java | fix NPE | <ide><path>lugins/ant/src/com/intellij/lang/ant/psi/impl/AntTypeDefImpl.java
<ide> private static boolean isTask(final Class clazz) {
<ide> try {
<ide> final ClassLoader loader = clazz.getClassLoader();
<del> final Class taskClass = loader.loadClass(Task.class.getName());
<del> return taskClass.is... | |
Java | apache-2.0 | 987a04fc3a1484aadcf6806e0fd985da17fa3597 | 0 | deflaux/utils-java-OBSOLETE,googlegenomics/utils-java,deflaux/utils-java,iliat/utils-java-OBSOLETE,googlegenomics/utils-java,deflaux/utils-java | /*
* Copyright (C) 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 ... | src/main/java/com/google/cloud/genomics/utils/GenomicsFactory.java | /*
* Copyright (C) 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 ... | Add servicePath override option
- fix client secrets changed message
- add a getter for the dataStoreFactory
| src/main/java/com/google/cloud/genomics/utils/GenomicsFactory.java | Add servicePath override option | <ide><path>rc/main/java/com/google/cloud/genomics/utils/GenomicsFactory.java
<ide> import com.google.api.client.util.store.FileDataStoreFactory;
<ide> import com.google.api.services.genomics.Genomics;
<ide> import com.google.api.services.genomics.GenomicsScopes;
<del>import com.google.common.base.Function;
<ide> import... | |
JavaScript | mit | d5579f9879d6142246d1faeea0988a086bbf6e0a | 0 | losaltoshacks/losaltoshacks.github.io,losaltoshacks/losaltoshacks.github.io | // For debugging only
const X = console.log
const $ = s => document.querySelector.call(document, s)
// Returns a version of func that won't be executed more than once in a given interval of time.
function throttle(func, time = 200){
let shouldWait = false
let later
return function(){
if (!shouldWait) {
func.a... | js/main.js | // For debugging only
const X = console.log
const $ = s => document.querySelector.call(document, s)
// Returns a version of func that won't be executed more than once in a given interval of time.
function throttle(func, time = 200){
let shouldWait = false
let later
return function(){
if (!shouldWait) {
func.a... | Wash out the sharp edges on Safari | js/main.js | Wash out the sharp edges on Safari | <ide><path>s/main.js
<ide> }
<ide> resize()
<ide> window.addEventListener('resize', throttle(resize))
<del>
<add>
<ide> const context = canvas.getContext('2d')
<ide>
<ide> function bindMethods(object) {
<ide> })
<ide>
<ide> let isInteractive = true
<del>
<add>
<ide> const draw = () => {
<ide> resetTransfo... | |
Java | agpl-3.0 | f8c4cfa6d9488e9104211e86275cc5e3b3351bee | 0 | pensandoodireito/sislegis-app,rafaelcoutinho/sislegis-app | package br.gov.mj.sislegis.app.service.ejbs;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.ejb.ConcurrencyManagement;
import javax.ejb.ConcurrencyManagementType;
import javax.ejb.Schedule;
import java... | src/main/java/br/gov/mj/sislegis/app/service/ejbs/EJBDataCacherImpl.java | package br.gov.mj.sislegis.app.service.ejbs;
import java.util.concurrent.ConcurrentHashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.ejb.ConcurrencyManagement;
import javax.ejb.ConcurrencyManagementType;
import javax.ejb.Schedule;
import java... | Reduz nivel de logs do cache hit
| src/main/java/br/gov/mj/sislegis/app/service/ejbs/EJBDataCacherImpl.java | Reduz nivel de logs do cache hit | <ide><path>rc/main/java/br/gov/mj/sislegis/app/service/ejbs/EJBDataCacherImpl.java
<ide> @Override
<ide> public boolean isEntityCached(String dataKey) {
<ide> boolean isCached = refDataCache.containsKey(dataKey);
<del> if (Logger.getLogger(SislegisUtil.SISLEGIS_LOGGER).isLoggable(Level.FINE)) {
<del> Logger.getL... | |
Java | apache-2.0 | 7d353d3f67e0f9ea28de79d8b1f29688925b4d5f | 0 | wso2/analytics-apim,wso2/analytics-apim,wso2/analytics-apim | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | components/org.wso2.analytics.apim.idp.client/src/main/java/org/wso2/analytics/apim/idp/client/ApimIdPClient.java | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... | Remove token from TokenDataMap by introspecting and getting the username
| components/org.wso2.analytics.apim.idp.client/src/main/java/org/wso2/analytics/apim/idp/client/ApimIdPClient.java | Remove token from TokenDataMap by introspecting and getting the username | <ide><path>omponents/org.wso2.analytics.apim.idp.client/src/main/java/org/wso2/analytics/apim/idp/client/ApimIdPClient.java
<ide> ExternalSession session = tokenCache.getIfPresent(token);
<ide> String username;
<ide> if (session == null) {
<del> LOG.info("Token is not available in the... | |
JavaScript | mit | 9b2588ad1ac3c89d58293e485f5f082e4b8e3eb9 | 0 | transloadit/jquery-sdk,transloadit/jquery-sdk,transloadit/jquery-sdk | /*global tus:false*/
/** @license jquery.transloadit2.js: Copyright (c) 2013 Transloadit Ltd | MIT License: http://www.opensource.org/licenses/mit-license.php
*
* Fork this on Github: http://github.com/transloadit/jquery-sdk
*
* Transloadit servers allow browsers to cache jquery.transloadit2.js for 1 hour.
* keep... | js/lib/jquery.transloadit2.js | /*global tus:false*/
/** @license jquery.transloadit2.js: Copyright (c) 2013 Transloadit Ltd | MIT License: http://www.opensource.org/licenses/mit-license.php
*
* Fork this on Github: http://github.com/transloadit/jquery-sdk
*
* Transloadit servers allow browsers to cache jquery.transloadit2.js for 1 hour.
* keep... | implement proper endpoints and fetching of assembly_id and instance
| js/lib/jquery.transloadit2.js | implement proper endpoints and fetching of assembly_id and instance | <ide><path>s/lib/jquery.transloadit2.js
<ide> this.includeCss()
<ide> }
<ide>
<del> Uploader.prototype.getAssemblyId = function () {
<add> Uploader.prototype._getInstance = function () {
<ide> var self = this
<ide>
<ide> this.instance = null
<del> this.assemblyId = null
<del> var url = this._opt... | |
Java | apache-2.0 | bbd1517a5ef72a575833829bb78c6a3025730759 | 0 | spdx/tools,spdx/tools | /**
* Copyright (c) 2015 Source Auditor 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 appli... | src/org/spdx/rdfparser/model/SpdxDocument.java | /**
* Copyright (c) 2015 Source Auditor 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 appli... | SpdxDocument: Remove an unused import
| src/org/spdx/rdfparser/model/SpdxDocument.java | SpdxDocument: Remove an unused import | <ide><path>rc/org/spdx/rdfparser/model/SpdxDocument.java
<ide> package org.spdx.rdfparser.model;
<ide>
<ide> import java.util.Calendar;
<del>import java.util.GregorianCalendar;
<ide> import java.util.List;
<ide>
<ide> import org.apache.commons.lang3.StringUtils; | |
Java | lgpl-2.1 | b57494bd10a4ec3a482f37a159015a7b3a9f7135 | 0 | viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package eu.seebetter.ini.chips.davis;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.... | src/eu/seebetter/ini/chips/davis/DavisConfig.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package eu.seebetter.ini.chips.davis;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.... | jAER: add button to enable guaranteed APS image transfer. It's in the chip configuration panel (easier to add than to APS control panel).
git-svn-id: fe6b3b33f0410f5f719dcd9e0c58b92353e7a5d3@6693 b7f4320f-462c-0410-a916-d9f35bb82d52
| src/eu/seebetter/ini/chips/davis/DavisConfig.java | jAER: add button to enable guaranteed APS image transfer. It's in the chip configuration panel (easier to add than to APS control panel). | <ide><path>rc/eu/seebetter/ini/chips/davis/DavisConfig.java
<ide> protected float threshold = 1;
<ide> protected boolean translateRowOnlyEvents;
<ide> protected boolean externalAERControlEnabled;
<add> protected boolean apsGuaranteedImageTransfer;
<ide> JPanel userFriendlyControls;
<ide>
<ide> public DavisConfig(... | |
Java | mit | be0638fc55630850e1df227e6503f49ac697340a | 0 | Col-E/LastTry,LastTryR/LastTry,egordorichev/LastTry | package org.egordorichev.lasttry.entity;
import org.egordorichev.lasttry.util.Assets;
import org.newdawn.slick.Animation;
public class GreenSlime extends Enemy { // TODO: make Slime class
public GreenSlime() {
super("Green Slime", 28, 0, 12);
this.image = Assets.greenSlimeTexture;
Animation jumpAnimation = ... | src/org/egordorichev/lasttry/entity/GreenSlime.java | package org.egordorichev.lasttry.entity;
import org.egordorichev.lasttry.util.Assets;
import org.newdawn.slick.Animation;
public class GreenSlime extends Enemy {
public GreenSlime() {
super("Green Slime", 28, 0, 12);
this.image = Assets.greenSlimeTexture;
Animation jumpAnimation = new Animation();
jumpAn... | Update GreenSlime.java | src/org/egordorichev/lasttry/entity/GreenSlime.java | Update GreenSlime.java | <ide><path>rc/org/egordorichev/lasttry/entity/GreenSlime.java
<ide> import org.egordorichev.lasttry.util.Assets;
<ide> import org.newdawn.slick.Animation;
<ide>
<del>public class GreenSlime extends Enemy {
<add>public class GreenSlime extends Enemy { // TODO: make Slime class
<ide> public GreenSlime() {
<ide> super... | |
Java | epl-1.0 | 3e9407f93af53985ddb81949d22dfe34831d9f80 | 0 | GoClipse/goclipse,fredyw/goclipse,johannesMatevosyan/goclipse,aschran/goclipse,rayyang2000/goclipse,happyspace/goclipse,akutz/goclipse,happyspace/goclipse,fredyw/goclipse,johnjaylward/goclipse,aschran/goclipse,bnrghvn/goclipse,rayyang2000/goclipse,johannesMatevosyan/goclipse,akutz/goclipse,happyspace/goclipse,GoClipse/... | package com.googlecode.goclipse.ui.navigator;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResource... | goclipse-n/src/com/googlecode/goclipse/ui/navigator/GoNavigatorContentProvider.java | package com.googlecode.goclipse.ui.navigator;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResource... | fixed an exception in our navigator, and removed a compilation warning
git-svn-id: 10f053e5d920d52378e1e5ab7403b976dc35b103@282 1731708e-d1f7-11de-a1df-87ee4daaac7b
| goclipse-n/src/com/googlecode/goclipse/ui/navigator/GoNavigatorContentProvider.java | fixed an exception in our navigator, and removed a compilation warning | <ide><path>oclipse-n/src/com/googlecode/goclipse/ui/navigator/GoNavigatorContentProvider.java
<ide> } else if (parentElement instanceof IProject) {
<ide> IFolder srcFolder = ((IProject)parentElement).getFolder("src");
<ide>
<del> return new Object[] {
<add> return new Object[] {
<ide> new GoSourceFol... | |
Java | apache-2.0 | 73c96fb08d3552bff2a81a96c79e6ba0a30312e3 | 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 ... | examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ImageToPDF.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-1990: improve names as suggested by John Hewson
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1579074 13f79535-47bb-0310-9956-ffa450edef68
| examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ImageToPDF.java | PDFBOX-1990: improve names as suggested by John Hewson | <ide><path>xamples/src/main/java/org/apache/pdfbox/examples/pdmodel/ImageToPDF.java
<ide> image.toLowerCase().endsWith(".png"))
<ide> {
<ide> BufferedImage bim = ImageIO.read(new File(image));
<del> pdImage = LosslessFactory.createLosslessFromImage(doc, bim... | |
Java | mit | 8a96817e6e07f1bc53d3433f600b7f57b3a519a5 | 0 | jogarc10/Project5,ferreiro/JavaGames-X4 | package tp.pr5.logic;
import tp.pr5.Resources.Resources;
public class ReversiMove extends Move {
public ReversiMove(int moveColumn, int moveRow, Counter moveColour) {
super(moveColour, moveColumn);
super.row = moveRow;
}
@Override
public boolean executeMove(Board b) throws InvalidMove {
boolean valid = fa... | src/tp/pr5/logic/ReversiMove.java | package tp.pr5.logic;
import tp.pr5.Resources.Resources;
public class ReversiMove extends Move {
public ReversiMove(int moveColumn, int moveRow, Counter moveColour) {
super(moveColour, moveColumn);
super.row = moveRow;
}
@Override
public boolean executeMove(Board b) throws InvalidMove {
boolean valid = fa... | [REVERSI] Make a move now is finished
| src/tp/pr5/logic/ReversiMove.java | [REVERSI] Make a move now is finished | <ide><path>rc/tp/pr5/logic/ReversiMove.java
<ide> if ((column >= 1 && column <= Resources.DIMX_REVERSI) &&
<ide> (row >= 1 && row <= Resources.DIMY_REVERSI) &&
<ide> (b.getPosition(column, row) == Counter.EMPTY)) {
<del> //TODO: terminnar execute move
<add>
<add> // Un movimiento es vlido si puede ... | |
JavaScript | mit | 883fe954bb0edfe8eab2a6c59b7d7efbe0c81ea7 | 0 | alvinteh/ampedjs | define(function(require) {
"use strict";
var Am = require("../../../../ampedjs");
/*
@abstract
@class Syncer
@classdesc Syncer class.
*/
/*
@constructor Syncer
Constructs a Syncer instance.
*/
var Syncer = Am.Model.create("Syncer"... | src/ampedjs/core/modules/persistence/models/syncer.js | define(function(require) {
"use strict";
var Am = require("../../../../ampedjs");
/*
@abstract
@class Syncer
@classdesc Syncer class.
*/
/*
@constructor Syncer
Constructs a Syncer instance.
*/
var Syncer = Am.Model.create("Syncer"... | Persistence.Syncer: added list action.
| src/ampedjs/core/modules/persistence/models/syncer.js | Persistence.Syncer: added list action. | <ide><path>rc/ampedjs/core/modules/persistence/models/syncer.js
<ide> Syncer.addStaticAttribute("ACTION_DELETE", "delete");
<ide> Syncer.addStaticAttribute("ACTION_READ", "read");
<ide> Syncer.addStaticAttribute("ACTION_UPDATE", "update");
<add> Syncer.addStaticAttribute("ACTION_LIST", "list");
<ide>
<i... | |
Java | apache-2.0 | 13e019078a8acae29cf92c3c7390b1a4f852dddf | 0 | hongsudt/server,HaiJiaoXinHeng/server-1,HaiJiaoXinHeng/server-1,HaiJiaoXinHeng/server-1,hongsudt/server,hongsudt/server | package edu.ucla.cens.awserver.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.sql.DataSource;
import org.apache.log4j.Logger;
import org.springframework.jdbc.core.RowMapper;
import edu.ucla.cens.awserver.domain.MostRecentSurveyActivityQu... | src/edu/ucla/cens/awserver/dao/SingleUserMostRecentSurveyQueryDao.java | package edu.ucla.cens.awserver.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.sql.DataSource;
import org.apache.log4j.Logger;
import org.springframework.jdbc.core.RowMapper;
import edu.ucla.cens.awserver.domain.MostRecentSurveyActivityQu... | dropped user from SQL
| src/edu/ucla/cens/awserver/dao/SingleUserMostRecentSurveyQueryDao.java | dropped user from SQL | <ide><path>rc/edu/ucla/cens/awserver/dao/SingleUserMostRecentSurveyQueryDao.java
<ide> private static Logger _logger = Logger.getLogger(SingleUserMostRecentSurveyQueryDao.class);
<ide>
<ide> private String _sql = "select max(time_stamp), phone_timezone" +
<del> " from prompt_response, prompt, camp... | |
Java | apache-2.0 | f444b3860b20f70d696420fe3e4a4595772271c9 | 0 | JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | src/com/facebook/buck/jvm/java/JUnitStep.java | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | Fix JunitTest on Java 9+
Summary: This was removed in D21918314 which broke running tests on Java 9+, so restoring here.
Reviewed By: mykola-semko, irenewchen
shipit-source-id: c421052f9c171b365ac8d55b2d415eb47ecda76e
| src/com/facebook/buck/jvm/java/JUnitStep.java | Fix JunitTest on Java 9+ | <ide><path>rc/com/facebook/buck/jvm/java/JUnitStep.java
<ide>
<ide> package com.facebook.buck.jvm.java;
<ide>
<del>import com.facebook.buck.core.build.execution.context.IsolatedExecutionContext;
<ide> import com.facebook.buck.core.build.execution.context.StepExecutionContext;
<ide> import com.facebook.buck.core.util.... | |
Java | apache-2.0 | 7dd79cca5494dee23d8139541c1b44d193ab2c17 | 0 | hankcs/HanLP,hankcs/HanLP | /*
* <summary></summary>
* <author>He Han</author>
* <email>hankcs.cn@gmail.com</email>
* <create-date>2014/10/8 1:05</create-date>
*
* <copyright file="Occurrence.java" company="上海林原信息科技有限公司">
* Copyright (c) 2003-2014, 上海林原信息科技有限公司. All Right Reserved, http://www.linrunsoft.com/
* This source is subject to th... | src/main/java/com/hankcs/hanlp/corpus/occurrence/Occurrence.java | /*
* <summary></summary>
* <author>He Han</author>
* <email>hankcs.cn@gmail.com</email>
* <create-date>2014/10/8 1:05</create-date>
*
* <copyright file="Occurrence.java" company="上海林原信息科技有限公司">
* Copyright (c) 2003-2014, 上海林原信息科技有限公司. All Right Reserved, http://www.linrunsoft.com/
* This source is subject to th... | 修复信息熵计算中的除零错误 fix https://github.com/hankcs/HanLP/issues/1366
| src/main/java/com/hankcs/hanlp/corpus/occurrence/Occurrence.java | 修复信息熵计算中的除零错误 fix https://github.com/hankcs/HanLP/issues/1366 | <ide><path>rc/main/java/com/hankcs/hanlp/corpus/occurrence/Occurrence.java
<ide> for (Map.Entry<String, PairFrequency> entry : entrySetPair)
<ide> {
<ide> PairFrequency value = entry.getValue();
<del> value.score = value.mi / total_mi + value.le / total_le+ value.re / total_re; ... | |
JavaScript | mit | dc55ba27dad2728e0f0aebdb33d87b9ab19579a6 | 0 | redsummernight/redsummernight.github.io,redsummernight/redsummernight.github.io,redsummernight/redsummernight.github.io,redsummernight/redsummernight.github.io,redsummernight/redsummernight.github.io | /**
* Copyright 2011 Paul Lewis. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | common/monkeypatch/Fireworks/fireworks.js | /**
* Copyright 2011 Paul Lewis. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | (stranger) Speed up render loop
- Separate resize event handling from the render loop, including querying for
window dimensions and modifying canvas dimensions.
- Only draw the circle firework pattern, which uses fewer particles for each
explosion.
- Reduce the number of particles per circle explosion.
| common/monkeypatch/Fireworks/fireworks.js | (stranger) Speed up render loop | <ide><path>ommon/monkeypatch/Fireworks/fireworks.js
<ide> return; // already initialized
<ide> }
<ide>
<del> // start by measuring the viewport
<del> onWindowResize();
<del>
<ide> // create a canvas for the fireworks
<ide> mainCanvas = document.getElementById('canvas');
<ide> mainContext = ... | |
Java | epl-1.0 | 4cb1166110200d0e7ea7b57b5f4bcd68d2b2a0dd | 0 | sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | - Summary: fix 268282 Editing parameter in drill through is disabled when you reopen the dialog.
- Bugzilla Bug (s) Resolved: 268282
- Description:
Always enable parameters editing for HyperLink Builder.
- Tests Description :
Manual test
- Files Edited:
- Files Added:
- Files Deleted:
- Notes to Build Team:
... | UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java | - Summary: fix 268282 Editing parameter in drill through is disabled when you reopen the dialog. | <ide><path>I/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/HyperlinkBuilder.java
<ide>
<ide> public void widgetSelected( SelectionEvent e )
<ide> {
<add> initTargetReport( locationEditor.getText( ) );
<ide> selectRadio( targetGroup, reportDesignButton );
<del> init... | |
Java | apache-2.0 | c8e7a5431f4139664b5055e3588d1fcf473a13f1 | 0 | ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma | gemma-core/src/main/java/ubic/gemma/loader/association/phenotype/DeleteEvidenceImporterCLI.java | /*
* The Gemma project
*
* Copyright (c) 2013 University of British Columbia
*
* 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
*
* Unl... | *** empty log message ***
| gemma-core/src/main/java/ubic/gemma/loader/association/phenotype/DeleteEvidenceImporterCLI.java | *** empty log message *** | <ide><path>emma-core/src/main/java/ubic/gemma/loader/association/phenotype/DeleteEvidenceImporterCLI.java
<del>/*
<del> * The Gemma project
<del> *
<del> * Copyright (c) 2013 University of British Columbia
<del> *
<del> * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except... | ||
Java | apache-2.0 | a6fd9c253c3fbf8e43147f99648b34d67229a822 | 0 | wcmc-its/ReCiter,wcmc-its/ReCiter | /*******************************************************************************
* 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... | src/main/java/reciter/controller/ReCiterController.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... | set pending pubs for bulk feature generator
| src/main/java/reciter/controller/ReCiterController.java | set pending pubs for bulk feature generator | <ide><path>rc/main/java/reciter/controller/ReCiterController.java
<ide> List<ReCiterFeature> analysisSubset= analysis.parallelStream()
<ide> .filter(anl -> anl.getReCiterFeature().getReCiterArticleFeatures() != null && !anl.getReCiterFeature().getReCiterArticleFeatures().isEmpty())
<ide> ... | |
Java | apache-2.0 | 695da154f8551c54d136fbd762f10a242e2fd324 | 0 | jnidzwetzki/bboxdb,jnidzwetzki/bboxdb,jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/scalephant | package de.fernunihagen.dna.scalephant.distribution.membership;
import java.net.InetSocketAddress;
import de.fernunihagen.dna.scalephant.distribution.membership.event.DistributedInstanceState;
public class DistributedInstance implements Comparable<DistributedInstance> {
public final static String UNKOWN_VERSION =... | src/main/java/de/fernunihagen/dna/scalephant/distribution/membership/DistributedInstance.java | package de.fernunihagen.dna.scalephant.distribution.membership;
import java.net.InetSocketAddress;
import de.fernunihagen.dna.scalephant.distribution.membership.event.DistributedInstanceState;
public class DistributedInstance implements Comparable<DistributedInstance> {
public final static String UNKOWN_VERSION =... | Added missing constructor | src/main/java/de/fernunihagen/dna/scalephant/distribution/membership/DistributedInstance.java | Added missing constructor | <ide><path>rc/main/java/de/fernunihagen/dna/scalephant/distribution/membership/DistributedInstance.java
<ide> protected DistributedInstanceState state = DistributedInstanceState.UNKNOWN;
<ide>
<ide> public DistributedInstance(final String connectionString, final String version, final DistributedInstanceState state) ... | |
Java | apache-2.0 | 7403fdda83121da37050d242165be8d11dfdbbb6 | 0 | ceylon/ceylon.language,ceylon/ceylon.language,unratito/ceylon.language,unratito/ceylon.language,jvasileff/ceylon.language,jvasileff/ceylon.language | package com.redhat.ceylon.compiler.java.runtime.model;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.jboss.modules.ModuleClassLoader;
import com.redhat.ceylon.cmr.api.ArtifactResult;
import com.redhat.ceylon.cmr.api.JDKUtils;
import com.redhat.ceylon.common.runtime.CeylonModuleCla... | runtime/com/redhat/ceylon/compiler/java/runtime/model/RuntimeModelLoader.java | package com.redhat.ceylon.compiler.java.runtime.model;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.jboss.modules.ModuleClassLoader;
import com.redhat.ceylon.cmr.api.ArtifactResult;
import com.redhat.ceylon.cmr.api.JDKUtils;
import com.redhat.ceylon.common.runtime.CeylonModuleCla... | model loader: new API changes
| runtime/com/redhat/ceylon/compiler/java/runtime/model/RuntimeModelLoader.java | model loader: new API changes | <ide><path>untime/com/redhat/ceylon/compiler/java/runtime/model/RuntimeModelLoader.java
<ide>
<ide> @Override
<ide> protected List<String> getPackageList(Module module, String packageName) {
<del> return jars.getPackageList(packageName);
<add> return jars.getPackageList(module, packageName);
... | |
Java | mit | a01be363276b7abb98c9476743d002311e3eabad | 0 | CS2103AUG2016-W11-C3/main | package harmony.mastermind.logic.parser;
import java.util.Calendar;
public class ParserMemoryMain {
private static final String STRING_AND = "and";
private static final String STRING_ON = "on";
private static final String STRING_FROM = "from";
private static final String STRING_TO = "to";
pr... | src/main/java/harmony/mastermind/logic/parser/ParserMemoryMain.java | package harmony.mastermind.logic.parser;
public class ParserMemoryMain {
protected static String command;
protected static String taskName;
protected static String description;
protected static int type;
protected static int length;
protected static boolean containsDescripti... | Methods for ParserMemory updated
| src/main/java/harmony/mastermind/logic/parser/ParserMemoryMain.java | Methods for ParserMemory updated | <ide><path>rc/main/java/harmony/mastermind/logic/parser/ParserMemoryMain.java
<ide> package harmony.mastermind.logic.parser;
<ide>
<add>import java.util.Calendar;
<add>
<ide> public class ParserMemoryMain {
<add>
<add> private static final String STRING_AND = "and";
<add> private static final String STRING_... | |
Java | apache-2.0 | 82f2f611c1fd9f09d8fd1d0cb6a3b5bdd28d979d | 0 | uiktiomasfeliz/mcam,uiktiomasfeliz/mcam,uiktiomasfeliz/mcam | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | src/android/CustomCamera.java | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | fix some issues
| src/android/CustomCamera.java | fix some issues | <ide><path>rc/android/CustomCamera.java
<ide>
<ide> private static final String FRAGMENT_DIALOG = "dialog";
<ide>
<del> private final String package_name = getApplication().getPackageName();
<del> private final Resources resources = getApplication().getResources();
<add> private String package_name = get... | |
Java | apache-2.0 | 2777090f853c7abf60bddeac10ddac5672d17562 | 0 | jonathanlermitage/tikione-jacocoverage | package fr.tikione.jacocoverage.plugin.util;
import fr.tikione.jacocoexec.analyzer.JavaClass;
import fr.tikione.jacocoverage.plugin.anno.AbstractCoverageAnnotation;
import fr.tikione.jacocoverage.plugin.anno.CoverageAnnotation;
import fr.tikione.jacocoverage.plugin.anno.CoverageGlyphedAnnotation;
import fr.tikio... | tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/util/NBUtils.java | package fr.tikione.jacocoverage.plugin.util;
import fr.tikione.jacocoexec.analyzer.JavaClass;
import fr.tikione.jacocoverage.plugin.anno.AbstractCoverageAnnotation;
import fr.tikione.jacocoverage.plugin.anno.CoverageAnnotation;
import fr.tikione.jacocoverage.plugin.anno.CoverageGlyphedAnnotation;
import fr.tikio... | cleanup
Signed-off-by:jonathanlermitage <33daf3f9fa8144341b8cb51893fd3bdcc0fadf57@gmail.com> | tikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/util/NBUtils.java | cleanup Signed-off-by:jonathanlermitage <jonathan.lermitage@gmail.com> | <ide><path>ikione-jacocoverage-plugin/src/fr/tikione/jacocoverage/plugin/util/NBUtils.java
<ide> import java.util.List;
<ide> import java.util.Map;
<ide> import java.util.Properties;
<del>import java.util.logging.Logger;
<ide> import java.util.regex.Matcher;
<ide> import javax.swing.text.StyledDocument;
<ide> import or... | |
Java | mit | 9c2707174666af42a680eaca42bd0a435711241d | 0 | bryanjswift/simplenote-android | package com.simplenote.android;
public class Constants {
/** Name of stored preferences */
public static final String PREFS_NAME = "SimpleNotePrefs";
/** Logging tag prefix */
public static final String TAG = "SimpleNote:";
// Message Codes
public static final int MESSAGE_UPDATE_NOTE = 12398;
// Activity for r... | src/com/simplenote/android/Constants.java | package com.simplenote.android;
public class Constants {
/** Name of stored preferences */
public static final String PREFS_NAME = "SimpleNotePrefs";
/** Logging tag prefix */
public static final String TAG = "SimpleNote:";
// Message Codes
public static final int MESSAGE_UPDATE_NOTE = 12398;
// API Base URL... | Add Constant for Loging request (used with startActivityForResult)
| src/com/simplenote/android/Constants.java | Add Constant for Loging request (used with startActivityForResult) | <ide><path>rc/com/simplenote/android/Constants.java
<ide> public static final String PREFS_NAME = "SimpleNotePrefs";
<ide> /** Logging tag prefix */
<ide> public static final String TAG = "SimpleNote:";
<del>
<ide> // Message Codes
<ide> public static final int MESSAGE_UPDATE_NOTE = 12398;
<del>
<add> // Activity ... | |
JavaScript | agpl-3.0 | a63c58c05119e7743f5045821737dbfa33c33cd1 | 0 | geoiq/digitalgazette,geoiq/digitalgazette,geoiq/digitalgazette,geoiq/digitalgazette | if(! console) { var console = {}; }
if(! console.log) { console.log = function() {}; }
var DigitalGazette = {
Sidebar: {
ToggleButton: {
div: document.createElement('div'),
width: 46, // px
setup: function() {
this.div.setAttribute('id', 'dg_sidebar_toggl... | public/javascripts/dg_sidebar.js | if(! console) { var console = {}; }
if(! console.log) { console.log = function() {}; }
var DigitalGazette = {
Sidebar: {
ToggleButton: {
div: document.createElement('div'),
width: 16, // px
setup: function() {
this.div.setAttribute('id', 'dg_sidebar_toggl... | fixed sidebar styling
| public/javascripts/dg_sidebar.js | fixed sidebar styling | <ide><path>ublic/javascripts/dg_sidebar.js
<ide> Sidebar: {
<ide> ToggleButton: {
<ide> div: document.createElement('div'),
<del> width: 16, // px
<add> width: 46, // px
<ide> setup: function() {
<ide> this.div.setAttribute('id', 'dg_sidebar_togg... | |
Java | mit | 715e00b7dccd7292f30c95abd1a09791eefd6ed8 | 0 | jsondoo/JavaFX_Calculator | import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.*;
import javafx.scene.text.Font;
import javafx.stage.Stage;
im... | src/Calculator.java | import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.*;
import javafx.scene.text.Font;
import javafx.stage.Stage;
im... | Update Calculator.java - % functionality
| src/Calculator.java | Update Calculator.java - % functionality | <ide><path>rc/Calculator.java
<ide>
<ide> private Label textScreen = new Label("0");
<ide>
<del> private Button filler = new Button("?");
<add> private Button percent = new Button("%");
<ide> private Button backspace = new Button("←");
<ide> private Button buttonC = new Button("C");
<ide> privat... | |
Java | apache-2.0 | 8862dac50e55a7971fc9ee0a34e322ed624f64ce | 0 | palantir/gradle-baseline,palantir/gradle-baseline | /*
* (c) Copyright 2019 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | gradle-baseline-java/src/main/groovy/com/palantir/baseline/tasks/CheckUnusedDependenciesTask.java | /*
* (c) Copyright 2019 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Sort output of checkUnusedDependencies (#931)
| gradle-baseline-java/src/main/groovy/com/palantir/baseline/tasks/CheckUnusedDependenciesTask.java | Sort output of checkUnusedDependencies (#931) | <ide><path>radle-baseline-java/src/main/groovy/com/palantir/baseline/tasks/CheckUnusedDependenciesTask.java
<ide> getLogger().debug("Possibly unused dependencies: {}",
<ide> possiblyUnused.stream()
<ide> .map(BaselineExactDependencies::asString)
<add> ... | |
JavaScript | mit | f35188578175b620280ee6d9dc5bc16c93cb13c5 | 0 | psnsVGC/Wish-Server,BlazingAura/Showdown-Boilerplate,DarkSuicune/Pokemon-Showdown,kotarou3/Krister-Pokemon-Showdown,Lord-Haji/SpacialGaze,DesoGit/Tsunami_PS,ZestOfLife/PSserver,Lauc1an/Perulink-Showdown,panpawn/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,svivian/Pok... | 'use strict';
exports.BattleItems = {
"abomasite": {
id: "abomasite",
name: "Abomasite",
spritenum: 575,
megaStone: "Abomasnow-Mega",
megaEvolves: "Abomasnow",
onTakeItem: function (item, source) {
if (item.megaEvolves === source.baseTemplate.baseSpecies) return false;
return true;
},
num: 674,
... | data/items.js | 'use strict';
exports.BattleItems = {
"abomasite": {
id: "abomasite",
name: "Abomasite",
spritenum: 575,
megaStone: "Abomasnow-Mega",
megaEvolves: "Abomasnow",
onTakeItem: function (item, source) {
if (item.megaEvolves === source.baseTemplate.baseSpecies) return false;
return true;
},
num: 674,
... | Fix 'Energy Powder' item name for gen 6
| data/items.js | Fix 'Energy Powder' item name for gen 6 | <ide><path>ata/items.js
<ide> },
<ide> "energypowder": {
<ide> id: "energypowder",
<del> name: "EnergyPowder",
<add> name: "Energy Powder",
<ide> spritenum: 123,
<ide> fling: {
<ide> basePower: 30 | |
Java | bsd-2-clause | c64be72aa2238615eec42a1297ebe30df1998635 | 0 | fullcontact/ez-vcard,hongnguyenpro/ez-vcard,fullcontact/ez-vcard,hongnguyenpro/ez-vcard | package ezvcard.io;
import java.io.Closeable;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
imp... | src/main/java/ezvcard/io/VCardWriter.java | package ezvcard.io;
import java.io.Closeable;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
imp... | Refactored parameter value sanitation code and added a warning if the value was changed in a lossy way. | src/main/java/ezvcard/io/VCardWriter.java | Refactored parameter value sanitation code and added a warning if the value was changed in a lossy way. | <ide><path>rc/main/java/ezvcard/io/VCardWriter.java
<ide> //write the Sub Types
<ide> for (String subTypeName : subTypes.getNames()) {
<ide> Set<String> subTypeValues = subTypes.get(subTypeName);
<del> //TODO add a warning if the value was modified in any way, including removal of characters or replacing c... | |
Java | agpl-3.0 | 1432778fd2faba06b3064fd1892025f2b282d077 | 0 | splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceeng... | package org.apache.derby.impl.sql.catalog;
import org.apache.derby.catalog.AliasInfo;
import org.apache.derby.catalog.TypeDescriptor;
import org.apache.derby.catalog.UUID;
import org.apache.derby.catalog.types.RoutineAliasInfo;
import org.apache.derby.iapi.error.StandardException;
import org.apache.derby.iapi.referenc... | java/engine/org/apache/derby/impl/sql/catalog/DefaultSystemProcedureGenerator.java | package org.apache.derby.impl.sql.catalog;
import org.apache.derby.catalog.AliasInfo;
import org.apache.derby.catalog.TypeDescriptor;
import org.apache.derby.catalog.UUID;
import org.apache.derby.catalog.types.RoutineAliasInfo;
import org.apache.derby.iapi.error.StandardException;
import org.apache.derby.iapi.referenc... | Enable backup/restore
| java/engine/org/apache/derby/impl/sql/catalog/DefaultSystemProcedureGenerator.java | Enable backup/restore | <ide><path>ava/engine/org/apache/derby/impl/sql/catalog/DefaultSystemProcedureGenerator.java
<ide> .returnType(null).isDeterministic(false)
<ide> .ownerClass(SYSTEM_PROCEDURES)
<ide> .build()
<add> ,
<add> Procedure.newBuilder().name("SYSCS_BACKUP_DA... | |
Java | apache-2.0 | 18dfc681f2aab7f9de14d3fb63b4aaf100072a94 | 0 | someoneemily/CodeU-Summer-2017,someoneemily/CodeU-Summer-2017 | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | src/codeu/chat/server/Server.java | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | Fixed issue where full userID was not being printed to the file
| src/codeu/chat/server/Server.java | Fixed issue where full userID was not being printed to the file | <ide><path>rc/codeu/chat/server/Server.java
<ide> //then we will add the command to the queue
<ide> if(user != null){
<ide> String userAddCommand = "U-ADD ";
<del> userAddCommand += user.id.id() + " ";
<add> userAddCommand += user.id.toString() + " ";
<ide> use... | |
Java | apache-2.0 | fb0746c62d8edcce5c08744eece28d854af64ee6 | 0 | tobias74/graphhopper,tobias74/graphhopper,PGWelch/graphhopper,joh12041/graphhopper,PGWelch/graphhopper,joh12041/graphhopper,devemux86/graphhopper,seeebiii/graphhopper,ammagamma/graphhopper,ratrun/graphhopper,routexl/graphhopper,CEPFU/graphhopper,seeebiii/graphhopper,ammagamma/graphhopper,komoot/graphhopper,hguerrero/gr... | /*
* Licensed to GraphHopper and Peter Karich under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you m... | web/src/main/java/com/graphhopper/http/GHServletModule.java | /*
* Licensed to GraphHopper and Peter Karich under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you m... | gzip gpx result too, #676
| web/src/main/java/com/graphhopper/http/GHServletModule.java | gzip gpx result too, #676 | <ide><path>eb/src/main/java/com/graphhopper/http/GHServletModule.java
<ide> + "text/plain,"
<ide> + "text/xml,"
<ide> + "application/xhtml+xml,"
<add> + "application/gpx+xml,"
<add> + "application/xml,"
<ide> + "text/css,"
<id... | |
Java | mit | ad6346a9e33ecfc6767fe774b9f2fcfa32b8e046 | 0 | perlangelaursen/02128-Softwareproject | package dtugroup.matchorskip;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v4.app.FragmentActivity;
import android.view.GestureDetector;
import ... | MatchOrSkip/app/src/main/java/dtugroup/matchorskip/GameActivity.java | package dtugroup.matchorskip;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v4.app.FragmentActivity;
import android.view.GestureDetector;
import ... | Activity fix
| MatchOrSkip/app/src/main/java/dtugroup/matchorskip/GameActivity.java | Activity fix | <ide><path>atchOrSkip/app/src/main/java/dtugroup/matchorskip/GameActivity.java
<ide> if (getIntent().getStringExtra("Card").equals("Camera")) {
<ide> Bundle extras = getIntent().getBundleExtra("Data");
<ide> Bitmap image = (Bitmap) extras.get("data");
<del> //Bitmap rotated = ... | |
Java | epl-1.0 | b812b42ee0d9869d6f102f9db82570f60121d615 | 0 | debrief/debrief,alastrina123/debrief,pecko/debrief,alastrina123/debrief,alastrina123/debrief,pecko/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,alastrina123/debrief,debrief/debrief,pecko/debrief,debrief/debrief,debrief/debrief,pecko/debrief,alastrina123/debrief,pecko/debrief,p... | // Copyright MWC 1999, Debrief 3 Project
// $RCSfile$
// @author $Author$
// @version $Revision$
// $Log$
// Revision 1.13 2005-06-22 09:18:32 Ian.Mayo
// Tidy implementation of actions which receive location data
//
// Revision 1.12 2005/06/20 08:06:10 Ian.Mayo
// Experiment with right-click support (copy location... | trunk/CVSROOT/org.mwc.cmap.plotViewer/src/org/mwc/cmap/plotViewer/editors/chart/SWTCanvas.java | // Copyright MWC 1999, Debrief 3 Project
// $RCSfile$
// @author $Author$
// @version $Revision$
// $Log$
// Revision 1.12 2005-06-20 08:06:10 Ian.Mayo
// Experiment with right-click support (copy location)
//
// Revision 1.11 2005/06/15 14:30:11 Ian.Mayo
// Refactor, so that we can call it more easily from WMF pai... | Tidy implementation of actions which receive location data
git-svn-id: d2601f1668e3cd2de409f5c059006a6eeada0abf@233 cb33b658-6c9e-41a7-9690-cba343611204
| trunk/CVSROOT/org.mwc.cmap.plotViewer/src/org/mwc/cmap/plotViewer/editors/chart/SWTCanvas.java | Tidy implementation of actions which receive location data | <ide><path>runk/CVSROOT/org.mwc.cmap.plotViewer/src/org/mwc/cmap/plotViewer/editors/chart/SWTCanvas.java
<ide> // @author $Author$
<ide> // @version $Revision$
<ide> // $Log$
<del>// Revision 1.12 2005-06-20 08:06:10 Ian.Mayo
<add>// Revision 1.13 2005-06-22 09:18:32 Ian.Mayo
<add>// Tidy implementation of actions ... | |
JavaScript | mit | deb06794dbef14597b7d326eb23d844f3f77a81c | 0 | cuponthetop/sadanghaeng_api,cuponthetop/sadanghaeng_api | (function (window) {
'use strict';
var PER_PAGE = 7;
var pageNum = 1;
var sortFilter = 'new';
var univId = $('#univ_title_container').data('id');
/**
* Takes a model and view and acts as the controller between them
*
* @constructor
* @param {object} model The model instance
* @param {object}... | public/js/post-list/controller.js | (function (window) {
'use strict';
var PER_PAGE = 7;
var pageNum = 1;
var sortFilter = 'new';
var univId = $('#univ_title_container').data('id');
/**
* Takes a model and view and acts as the controller between them
*
* @constructor
* @param {object} model The model instance
* @param {object}... | Fix page bug
| public/js/post-list/controller.js | Fix page bug | <ide><path>ublic/js/post-list/controller.js
<ide>
<ide> self.view.bind('changeTab', function(tabValue) {
<ide> sortFilter = tabValue;
<add> pageNum = 1;
<ide> self._updatePagination();
<ide> self._updatePostList();
<ide> }); | |
Java | apache-2.0 | 40a0ec8a6789529dbf47cadb740b12fef81d01bd | 0 | etirelli/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,baldimir/jbpm-form-modeler,droolsjbpm/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,etirelli/jbpm-form-modeler,etirelli/jbpm-form-modeler,baldimir/jbpm-form-modeler,mbiarnes/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,mbiarnes/jbpm-form-modeler,bal... | /**
* Copyright (C) 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | jbpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-request-dispatcher/src/main/java/org/jbpm/formModeler/service/bb/mvc/controller/ControllerServlet.java | /**
* Copyright (C) 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | BZ:1007562 - Relation forms to data model gets lost when stopping server
| jbpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-request-dispatcher/src/main/java/org/jbpm/formModeler/service/bb/mvc/controller/ControllerServlet.java | BZ:1007562 - Relation forms to data model gets lost when stopping server | <ide><path>bpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-request-dispatcher/src/main/java/org/jbpm/formModeler/service/bb/mvc/controller/ControllerServlet.java
<ide>
<ide> // Init the request context.
<ide> ControllerServletHelper helper = ControllerServletHelper.lookup();
<... | |
Java | apache-2.0 | b296ef4a23463d6033b85bdfb9e6fc2ded173791 | 0 | robgil/Aleph2,robgil/Aleph2 | /*******************************************************************************
* Copyright 2015, The IKANOW Open Source Project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software ... | aleph2_streaming_enrichment_context_library/test/com/ikanow/aleph2/data_import/services/TestStreamingEnrichmentContext.java | /*******************************************************************************
* Copyright 2015, The IKANOW Open Source Project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software ... | ALEPH-14 Streaming context tests were broken due to ES index naming
change | aleph2_streaming_enrichment_context_library/test/com/ikanow/aleph2/data_import/services/TestStreamingEnrichmentContext.java | ALEPH-14 Streaming context tests were broken due to ES index naming change | <ide><path>leph2_streaming_enrichment_context_library/test/com/ikanow/aleph2/data_import/services/TestStreamingEnrichmentContext.java
<ide>
<ide> final DataBucketBean test_bucket = BeanTemplateUtils.build(DataBucketBean.class)
<ide> .with(DataBucketBean::_id, "test")
<add> .with(DataBucket... | |
Java | agpl-3.0 | 96a82e447aea49e90134d11c783438fd5f5787fb | 0 | tdefilip/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,roskens/opennms-pre-github,rdkgit/opennms,roskens/opennms-pre-github,rdkgit/opennms,tdefilip/opennms,aihua/opennms,aihua/opennms,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,rdkgit/opennms,aihua/opennms,aihua/opennms,tdefilip/opennms,roskens/openn... | package org.opennms.netmgt.poller.remote;
import java.io.File;
import org.opennms.netmgt.eventd.EventIpcManager;
import org.opennms.netmgt.eventd.EventIpcManagerFactory;
import org.opennms.netmgt.mock.MockEventIpcManager;
import org.opennms.netmgt.test.BaseIntegrationTestCase;
import org.springframework.context.suppo... | opennms-services/src/test/java/org/opennms/netmgt/poller/remote/PollerFrontEndIntegrationTest.java | package org.opennms.netmgt.poller.remote;
import java.io.File;
import org.opennms.netmgt.test.BaseIntegrationTestCase;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.FileSystemResource;
public class PollerFrontEndIntegrationTest extends BaseIntegrationTe... | Fix eventIpc set up in test
| opennms-services/src/test/java/org/opennms/netmgt/poller/remote/PollerFrontEndIntegrationTest.java | Fix eventIpc set up in test | <ide><path>pennms-services/src/test/java/org/opennms/netmgt/poller/remote/PollerFrontEndIntegrationTest.java
<ide>
<ide> import java.io.File;
<ide>
<add>import org.opennms.netmgt.eventd.EventIpcManager;
<add>import org.opennms.netmgt.eventd.EventIpcManagerFactory;
<add>import org.opennms.netmgt.mock.MockEventIpcManag... | |
Java | apache-2.0 | ef4c117bcca94cae08b5f1a36f00fddfb3b150cd | 0 | lucwillems/JavaLinuxNet,lucwillems/JavaLinuxNet,lucwillems/JavaLinuxNet | /*
*
* * Copyright (C) 2014 Luc.Willems @ T.M.M.
* *
* * This file is released under the LGPL.
* * see license.txt for terms and conditions
*
*/
package org.it4y.net.link;
import org.it4y.jni.libnetlink3;
import org.it4y.jni.linux.if_address;
import org.it4y.jni.linux.if_link;
import org.it4y.jni.linux.ne... | src/main/java/org/it4y/net/link/LinkManager.java | /*
*
* * Copyright (C) 2014 Luc.Willems @ T.M.M.
* *
* * This file is released under the LGPL.
* * see license.txt for terms and conditions
*
*/
package org.it4y.net.link;
import org.it4y.jni.libnetlink3;
import org.it4y.jni.linux.if_address;
import org.it4y.jni.linux.if_link;
import org.it4y.jni.linux.ne... | - bugfix : we should only care about ipv4 addresses
| src/main/java/org/it4y/net/link/LinkManager.java | - bugfix : we should only care about ipv4 addresses | <ide><path>rc/main/java/org/it4y/net/link/LinkManager.java
<ide> log.trace("interface {}", x);
<ide> switch (msg.getNlMsgType()) {
<ide> case rtnetlink.RTM_NEWADDR: //add or update interface to list
<del> if (msg.getRTAMessage(if_address.IFA_ADDRESS) != null) {
<del> ... | |
JavaScript | apache-2.0 | aa0b73050096c0f779c1dd4564cb28201252c997 | 0 | wso2/carbon-analytics,wso2/carbon-analytics,wso2/carbon-analytics,wso2/carbon-analytics,wso2/carbon-analytics | /**
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | src/main/resources/web/commons/js/dialog/export-dialog.js | /**
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | Add alert if push to docker to see the console
| src/main/resources/web/commons/js/dialog/export-dialog.js | Add alert if push to docker to see the console | <ide><path>rc/main/resources/web/commons/js/dialog/export-dialog.js
<ide> success: function (response) {
<ide> alerts.info("Docker image push process is in-progress. " +
<ide> "Please check editor console for the... | |
Java | apache-2.0 | 274b73c7bb64870b92b5795d2b3415a6791e78cd | 0 | kalaspuffar/pdfbox,apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.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: replace single usage of constant from Charsets class
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1871016 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java | PDFBOX-4071: replace single usage of constant from Charsets class | <ide><path>dfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java
<ide> import java.io.IOException;
<ide> import java.nio.ByteBuffer;
<ide> import java.nio.charset.CharacterCodingException;
<add>import java.nio.charset.Charset;
<ide> import java.nio.charset.CharsetDecoder;
<ide> import java.nio.charset.Standar... | |
Java | epl-1.0 | d3f961de183e61c89b1b72e8ab2dc7ec902ac015 | 0 | fabioz/Pydev,akurtakov/Pydev,akurtakov/Pydev,akurtakov/Pydev,fabioz/Pydev,fabioz/Pydev,akurtakov/Pydev,fabioz/Pydev,akurtakov/Pydev,fabioz/Pydev,akurtakov/Pydev,fabioz/Pydev | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on Apr 21, 2006
... | plugins/org.python.pydev/tests/org/python/pydev/jythontests/JythonTest.java | /**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on Apr 21, 2006
... | Removed reference to removed test.
| plugins/org.python.pydev/tests/org/python/pydev/jythontests/JythonTest.java | Removed reference to removed test. | <ide><path>lugins/org.python.pydev/tests/org/python/pydev/jythontests/JythonTest.java
<ide> JythonTest builtins = new JythonTest();
<ide> builtins.setUp();
<ide> builtins.testJythonTests();
<del> builtins.testJythonTestsOnSeparateProcess();
<ide> builtins.tearD... | |
Java | apache-2.0 | 4ce56ee66c7d865b327d6ec132e3f49c06633352 | 0 | CJstar/android-maven-plugin,xieningtao/android-maven-plugin,b-cuts/android-maven-plugin,simpligility/android-maven-plugin,Cha0sX/android-maven-plugin,WonderCsabo/maven-android-plugin,mitchhentges/android-maven-plugin,xieningtao/android-maven-plugin,repanda/android-maven-plugin,jdegroot/android-maven-plugin,kedzie/maven... | package com.jayway.maven.plugins.android.phase01generatesources;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.logging.Log;
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import jav... | src/main/java/com/jayway/maven/plugins/android/phase01generatesources/ManifestMerger.java |
package com.jayway.maven.plugins.android.phase01generatesources;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.logging.Log;
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import ja... | Use StdSdkLog instead of NullSdkLog so that merging errors make it to the console output
| src/main/java/com/jayway/maven/plugins/android/phase01generatesources/ManifestMerger.java | Use StdSdkLog instead of NullSdkLog so that merging errors make it to the console output | <ide><path>rc/main/java/com/jayway/maven/plugins/android/phase01generatesources/ManifestMerger.java
<del>
<ide> package com.jayway.maven.plugins.android.phase01generatesources;
<ide>
<ide> import org.apache.maven.plugin.MojoExecutionException;
<ide> /**
<ide> * Before being able to use the ManifestMerger, an ... | |
JavaScript | bsd-3-clause | 13277911affe5263e119cb4ced5ef87c2950ce34 | 0 | hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,ltilve/chromium,Fireblend/chromium-crosswalk,jaruba/chromium.src,ltilve/chromium,markYoungH/chromium.src,ondra-novak/chromium.src,dushu1203/chromium.src,bright-sparks/chromium-spacewalk,markYoungH/chromium.src,littlstar/chromium.src,jaruba/chromium.src,markYoungH/c... | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
/**
* @fileoverview This extension manages communications between Chrome,
* Google.com pages and the Chrome Hotword extension.
*
* ... | chrome/browser/resources/hotword_helper/manager.js | // Copyright (c) 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
'use strict';
/**
* @fileoverview This extension manages communications between Chrome,
* Google.com pages and the Chrome Hotword extension.
*
* ... | [Hotword] Incognito tabs should not display the optin bubble or Say Ok Google UI.
This CL does a check for incognito before injecting and if it's incognito, sends a message back telling it not to show the bubble and then returns, not performing any other hotwording tasks.
BUG=369604
Review URL: https://codereview.ch... | chrome/browser/resources/hotword_helper/manager.js | [Hotword] Incognito tabs should not display the optin bubble or Say Ok Google UI. | <ide><path>hrome/browser/resources/hotword_helper/manager.js
<ide> */
<ide> OptInManager.prototype.injectTab_ = function(
<ide> tab, sendResponse, hotwordStatus) {
<add> if (tab.incognito) {
<add> sendResponse({'doNotShowOptinMessage': true});
<add> return;
<add> }
<add>
<ide> if (!hotwordStatus.availabl... | |
Java | apache-2.0 | f7b410aa24d879993f44680700e2b2fd900ff0a8 | 0 | skoulouzis/vlet,skoulouzis/vlet,skoulouzis/vlet,skoulouzis/vlet,skoulouzis/vlet,skoulouzis/vlet | /*
* Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e)
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* For details, see the LICENCE.txt file location in the root directory of this
* distribution or obtain ... | source/core/nl.uva.vlet.vrs.core/source/main/nl/uva/vlet/data/VAttributeSet.java | /*
* Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e)
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* For details, see the LICENCE.txt file location in the root directory of this
* distribution or obtain ... | added set(String,VRL) | source/core/nl.uva.vlet.vrs.core/source/main/nl/uva/vlet/data/VAttributeSet.java | added set(String,VRL) | <ide><path>ource/core/nl.uva.vlet.vrs.core/source/main/nl/uva/vlet/data/VAttributeSet.java
<ide> return oldvalue;
<ide> }
<ide>
<del> public Boolean set(String attrName, boolean val)
<del> {
<del> return (Boolean)_set(VAttributeType.BOOLEAN,attrName,new Boolean(val));
<del> }
<del> ... | |
JavaScript | mit | 6e889737e0438d75064fb8b55615f17ab734ae5f | 0 | morkai/h5.modbus | // Part of <http://miracle.systems/p/h5.modbus> licensed under <MIT>
'use strict';
const inspect = require('util').inspect;
const buffers = require('h5.buffers');
const InvalidFrameError = require('../InvalidFrameError');
const ApplicationDataUnit = require('../ApplicationDataUnit');
const Transport = require('../Tra... | lib/transports/RtuTransport.js | // Part of <http://miracle.systems/p/h5.modbus> licensed under <MIT>
'use strict';
const inspect = require('util').inspect;
const buffers = require('h5.buffers');
const InvalidFrameError = require('../InvalidFrameError');
const ApplicationDataUnit = require('../ApplicationDataUnit');
const Transport = require('../Tra... | RtuTransport: fixed the checksum being represented in the big-endian format instead of little-endian.
| lib/transports/RtuTransport.js | RtuTransport: fixed the checksum being represented in the big-endian format instead of little-endian. | <ide><path>ib/transports/RtuTransport.js
<ide>
<ide> rtuFrame[0] = unit;
<ide> pdu.copy(rtuFrame, 1);
<del> rtuFrame.writeUInt16BE(checksum, 1 + pdu.length, true);
<add> rtuFrame.writeUInt16LE(checksum, 1 + pdu.length, true);
<ide>
<ide> return rtuFrame;
<ide> }
<ide>
<ide> const unit = rtuFr... | |
Java | apache-2.0 | 668112d674736170f93e5524b943ab6c0a3de84a | 0 | frostwire/mp4parser,godghdai/mp4parser-1,shs1989/mp4parser-1,jiangzhonghui/mp4parser-1,murat8505/mp4parser,michalliu/mp4parser,hatiboy/mp4parser-1,olegloa/mp4parser,sannies/mp4parser,agenliuhuan/mp4parser,rasheedamir/mp4parser,shijian95/mp4parser,LoveOpenSource/mp4parser | /*
* Copyright 2011 castLabs, Berlin
*
* 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 ... | isoparser/src/main/java/com/googlecode/mp4parser/boxes/dece/AssetInformationBox.java | /*
* Copyright 2011 castLabs, Berlin
*
* 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 ... | Asset Information Box entries better toString
| isoparser/src/main/java/com/googlecode/mp4parser/boxes/dece/AssetInformationBox.java | Asset Information Box entries better toString | <ide><path>soparser/src/main/java/com/googlecode/mp4parser/boxes/dece/AssetInformationBox.java
<ide> public String assetId;
<ide>
<ide> @Override
<add> public String toString() {
<add> return "{" +
<add> "namespace='" + namespace + '\'' +
<add> ",... | |
Java | mit | 2d560d03074de4f28fe4198a9502f306d1d5de12 | 0 | DTAFormation/ecommerce-backend-aout-2015,DTAFormation/ecommerce-backend,DTAFormation/ecommerce-backend,DTAFormation/ecommerce-backend-aout-2015 | package dta.commerce.rest;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.Invocation;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import static org.junit.Assert.*;
import org.junit.Before;
import org.j... | src/test/java/dta/commerce/rest/ProduitRessourceTestIntegration.java | package dta.commerce.rest;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.Invocation;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import static junit.framework.Assert.*;
import org.junit.Before;
import... | modifs tests produit
| src/test/java/dta/commerce/rest/ProduitRessourceTestIntegration.java | modifs tests produit | <ide><path>rc/test/java/dta/commerce/rest/ProduitRessourceTestIntegration.java
<ide> import javax.ws.rs.core.MediaType;
<ide> import javax.ws.rs.core.Response;
<ide>
<del>import static junit.framework.Assert.*;
<add>import static org.junit.Assert.*;
<ide>
<ide> import org.junit.Before;
<ide> import org.junit.Test;
<i... | |
Java | apache-2.0 | 5c729d7f6c0a9324621aaa497349ef87eb51aac4 | 0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.provision.maintenance;
import com.yahoo.cloud.config.ConfigserverConfig;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.ApplicationLo... | node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/NodeFailer.java | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.provision.maintenance;
import com.yahoo.cloud.config.ConfigserverConfig;
import com.yahoo.config.provision.ApplicationId;
import com.yahoo.config.provision.ApplicationLo... | Use valerijs super stream
| node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/NodeFailer.java | Use valerijs super stream | <ide><path>ode-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/NodeFailer.java
<ide> import java.time.Clock;
<ide> import java.time.Duration;
<ide> import java.time.Instant;
<add>import java.util.Comparator;
<ide> import java.util.HashMap;
<ide> import java.util.HashSet;
<ide> import java.util.Lis... | |
Java | agpl-3.0 | 9357933718e1c99cc1fde32f601486b71f864b46 | 0 | ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/kfs,quikkian-ua-devops/kfs,kuali/kfs,smith750/kfs,smith750/kfs,UniversityOfHawaii/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/will-financials,ua-eas/kfs,quikkian-ua-devops/will-financials,kuali/kfs,quikkian-ua-devops/kfs,UniversityOfHawaii/kfs,smith750/kfs,quikkian... | /*
* Copyright 2006 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by applica... | work/src/org/kuali/kfs/module/purap/document/service/impl/PurchaseOrderServiceImpl.java | /*
* Copyright 2006 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by applica... | KFSCNTRB-1228
| work/src/org/kuali/kfs/module/purap/document/service/impl/PurchaseOrderServiceImpl.java | KFSCNTRB-1228 | <ide><path>ork/src/org/kuali/kfs/module/purap/document/service/impl/PurchaseOrderServiceImpl.java
<ide> import org.kuali.kfs.coa.service.AccountService;
<ide> import org.kuali.kfs.integration.purap.CapitalAssetSystem;
<ide> import org.kuali.kfs.module.purap.PurapConstants;
<del>import org.kuali.kfs.module.purap.PurapKe... | |
Java | apache-2.0 | error: pathspec 'dataStructuresAndAlgorithms/src/main/java/array/doublepoint/Leetcode42TrappingRainWater.java' did not match any file(s) known to git
| 1ff33909ccf855f30f977cf0cb530cd5dc15cae7 | 1 | BruceZu/sawdust,BruceZu/sawdust,BruceZu/sawdust,BruceZu/KeepTry,BruceZu/KeepTry,BruceZu/sawdust,BruceZu/KeepTry,BruceZu/KeepTry | // Copyright 2016 The Sawdust Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | dataStructuresAndAlgorithms/src/main/java/array/doublepoint/Leetcode42TrappingRainWater.java | Leetcode 42 Trapping Rain Water
Change-Id: I31bdb20e6e1a83ee5ddc8b3499c50727100e6634
| dataStructuresAndAlgorithms/src/main/java/array/doublepoint/Leetcode42TrappingRainWater.java | Leetcode 42 Trapping Rain Water | <ide><path>ataStructuresAndAlgorithms/src/main/java/array/doublepoint/Leetcode42TrappingRainWater.java
<add>// Copyright 2016 The Sawdust Open Source Project
<add>//
<add>// Licensed under the Apache License, Version 2.0 (the "License");
<add>// you may not use this file except in compliance with the License.
<add>// ... | |
JavaScript | mit | c2a7e5fb3166e58de6048117153c803f25a99502 | 0 | fin-hypergrid/core,fin-hypergrid/core | 'use strict';
module.exports = function(demo, grid) {
var idx = grid.behavior.columnEnum;
var state = {
columnIndexes: [
idx.lastName,
idx.totalNumberOfPetsOwned,
idx.height,
idx.birthDate,
idx.birthTime,
idx.birthState,
... | demo/js/demo/setState.js | 'use strict';
module.exports = function(demo, grid) {
var idx = grid.behavior.columnEnum;
var state = {
columnIndexes: [
idx.lastName,
idx.totalNumberOfPetsOwned,
idx.height,
idx.birthDate,
idx.birthTime,
idx.birthState,
... | removed extra takeFocus()
| demo/js/demo/setState.js | removed extra takeFocus() | <ide><path>emo/js/demo/setState.js
<ide> //grid.addProperties(myThemes.three);
<ide>
<ide> grid.takeFocus();
<del> //see myThemes.js file for how to create a theme
<del> //grid.addProperties(myThemes.one);
<del> //grid.addProperties(myThemes.two);
<del> //grid.addProperties(myThemes.three);
<del>
<... | |
Java | apache-2.0 | 45efaebdec881169663698ff93d9229931b0e8a9 | 0 | Wisser/Jailer,Wisser/Jailer,Wisser/Jailer | /*
* Copyright 2007 - 2019 Ralf Wisser.
*
* 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... | src/main/gui/net/sf/jailer/ui/databrowser/metadata/MDTable.java | /*
* Copyright 2007 - 2019 Ralf Wisser.
*
* 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... | don't use lock if ddl is already loaded | src/main/gui/net/sf/jailer/ui/databrowser/metadata/MDTable.java | don't use lock if ddl is already loaded | <ide><path>rc/main/gui/net/sf/jailer/ui/databrowser/metadata/MDTable.java
<ide> public final Long estimatedRowCount;
<ide>
<ide> // DDL of the table or <code>null</code>, if no DDL is available
<del> private String ddl;
<del>
<add> private volatile String ddl;
<add>
<ide> /**
<ide> * Constru... | |
Java | apache-2.0 | 00459eac372bed903a2088ac2d72ea3a313fb933 | 0 | Dripstat/dripstat-api | package com.dripstat.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Uses the hostname specifed instead of the actual hostname used for making external service calls.<br>
* Used to pre... | src/main/java/com/dripstat/annotations/CustomHostname.java | package com.dripstat.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Uses the hostname specifed instead of the actual hostname used for making external service calls.<br>
* Used to pre... | minor javadoc
| src/main/java/com/dripstat/annotations/CustomHostname.java | minor javadoc | <ide><path>rc/main/java/com/dripstat/annotations/CustomHostname.java
<ide>
<ide> /**
<ide> * Uses the hostname specifed instead of the actual hostname used for making external service calls.<br>
<del> * Used to preven metric grouping issues when you are calling an unlimited number of domains, eg during web crawling.<... | |
Java | mit | 228e6015a203127b6c4ffb82e401f974b1cb4855 | 0 | Praqma/pretested-integration-plugin,Praqma/pretested-integration-plugin,jenkinsci/pretested-integration-plugin,Praqma/pretested-integration-plugin,jenkinsci/pretested-integration-plugin,jenkinsci/pretested-integration-plugin,Praqma/pretested-integration-plugin,jenkinsci/pretested-integration-plugin | package org.jenkinsci.plugins.pretestedintegration;
import hudson.AbortException;
import hudson.Extension;
import hudson.Launcher;
import hudson.model.BuildListener;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Hudson;
import hudson.plugins.mercurial.MercurialSCM;
import ... | src/main/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationPreCheckout.java | package org.jenkinsci.plugins.pretestedintegration;
import hudson.AbortException;
import hudson.Extension;
import hudson.Launcher;
import hudson.model.BuildListener;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Hudson;
import hudson.plugins.mercurial.MercurialSCM;
import ... | corrected some errors involving cancelation of postbuild on build error
--HG--
extra : convert_revision : 4a2912864a7724405bc633df42f0b6213e39dcde
| src/main/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationPreCheckout.java | corrected some errors involving cancelation of postbuild on build error | <ide><path>rc/main/java/org/jenkinsci/plugins/pretestedintegration/PretestedIntegrationPreCheckout.java
<ide> //First get the curent tip info
<ide> Dictionary<String, String> oldVars = HgUtils.getNewestCommitInfo(build, launcher, listener);
<ide> String oldTip = oldVars.get("changeset");
<add> Dictionary<String,... | |
Java | apache-2.0 | 1bbab58b20c49e7f28e10640a0071b9fdd70e125 | 0 | tharikaGitHub/carbon-apimgt,rswijesena/carbon-apimgt,tharindu1st/carbon-apimgt,knPerera/carbon-apimgt,Minoli/carbon-apimgt,praminda/carbon-apimgt,chamilaadhi/carbon-apimgt,tharindu1st/carbon-apimgt,Minoli/carbon-apimgt,lalaji/carbon-apimgt,ruks/carbon-apimgt,wso2/carbon-apimgt,jaadds/carbon-apimgt,chamindias/carbon-api... | /*
* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java | /*
* Copyright (c) 2005-2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | fix getAllTemplate issue
| components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java | fix getAllTemplate issue | <ide><path>omponents/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java
<ide> ArrayList<URITemplate> uriTemplates = new ArrayList<URITemplate>();
<ide>
<ide> //TODO : FILTER RESULTS ONLY FOR ACTIVE APIs
<del> String query = SQLConstants.GET_ALL_URL_TE... | |
JavaScript | apache-2.0 | a4f45173b4e2137251909f9faa32c247bc4efede | 0 | t4arty/t4arty.github.io,t4arty/t4arty.github.io | /**
*
*/
VK.init({
apiId: 1755175
});
var grp = 0;
var us = 0;
var grpAvatar = 0;
var obj = [];
function getGroupInfo() {
VK.api("groups.getById",{'group_id': '45091870','fields':'members_count,photo_100'}, function(data){
for(i=0;i<data.response.length;i++) {
grp = data.response[i].name;
us ... | Main.js | /**
*
*/
VK.init({
apiId: 1755175
});
var grp = 0;
var us = 0;
var grpAvatar = 0;
var obj = {};
function getGroupInfo() {
VK.api("groups.getById",{'group_id': '45091870','fields':'members_count,photo_100'}, function(data){
for(i=0;i<data.response.length;i++) {
grp = data.response[i].name;
us ... | changes
| Main.js | changes | <ide><path>ain.js
<ide> var us = 0;
<ide> var grpAvatar = 0;
<ide>
<del>var obj = {};
<add>var obj = [];
<ide>
<ide> function getGroupInfo() {
<ide> VK.api("groups.getById",{'group_id': '45091870','fields':'members_count,photo_100'}, function(data){
<ide> us = data.response[i].members_count;
<ide> grpAv... | |
JavaScript | mit | 33330831dc6b02d2a6e7acf03d0d5793eab20c46 | 0 | shobhit-github/RetailerStock,shobhit-github/RetailerStock |
/* Dependencies
---------------------------------------------*/
var express = require('express')
, async = require('async')
, paypal = require('paypal-rest-sdk');
const returnUrl = SERVER_URI+'#/processPayment';
const cancelUrl = SERVER_URI+'#/cancelPayment';
/**
|===================================... | controllers/payment.js |
/* Dependencies
---------------------------------------------*/
var express = require('express')
, async = require('async')
, paypal = require('paypal-rest-sdk');
const returnUrl = SERVER_URI+'#/processPayment';
const cancelUrl = SERVER_URI+'#/cancelPayment';
/**
|===================================... | Changes -> changes made on payment controller to check webhook events nofications
| controllers/payment.js | Changes -> changes made on payment controller to check webhook events nofications | <ide><path>ontrollers/payment.js
<ide> |--------------------------------------------------
<ide> */
<ide> exports.paypalNotifications = function (req, res) {
<del> console.log(req); res.send("DONE");
<add> console.log(req.headers);
<add> var headers = { 'paypal-auth-algo': req.headers.paypal-auth-algo, 'p... | |
Java | mit | 994c4fdacbb155148b13335ae1a2e1c546585dbc | 0 | lexek/OpenGraph | package lexek.fetcher;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.github.benmanes.caffeine.cache.LoadingCache;
import com.google.common.collect.ImmutableMap;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.handler.codec.http.HttpContentDecompressor;
im... | src/main/java/lexek/fetcher/FetcherService.java | package lexek.fetcher;
import com.github.benmanes.caffeine.cache.Caffeine;
import com.github.benmanes.caffeine.cache.LoadingCache;
import com.google.common.collect.ImmutableMap;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.handler.codec.http.HttpContentDecompressor;
im... | cleanup
| src/main/java/lexek/fetcher/FetcherService.java | cleanup | <ide><path>rc/main/java/lexek/fetcher/FetcherService.java
<ide> .build(this::doFetch);
<ide> }
<ide>
<del> @Value("${og.maxBodySize ?: 8388608}")
<del> public void setMaxBodySize(long maxBodySize) {
<del> this.maxBodySize = maxBodySize;
<del> }
<del>
<del> @Value("${og.maxSupportedRe... | |
Java | bsd-3-clause | 66478d7356540755163bd2f7a1f8a514b31e35a8 | 0 | geneontology/minerva,geneontology/minerva,geneontology/minerva | package org.geneontology.minerva.json;
import java.io.IOException;
import java.lang.reflect.Type;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.L... | minerva-core/src/main/java/org/geneontology/minerva/json/MolecularModelJsonRenderer.java | package org.geneontology.minerva.json;
import java.io.IOException;
import java.lang.reflect.Type;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.L... | test doesn't instantiate the map first
letting it default to old way if that is missing.
| minerva-core/src/main/java/org/geneontology/minerva/json/MolecularModelJsonRenderer.java | test doesn't instantiate the map first | <ide><path>inerva-core/src/main/java/org/geneontology/minerva/json/MolecularModelJsonRenderer.java
<ide>
<ide> protected String getLabel(OWLNamedObject i, String id) {
<ide> String label = null;
<del> if(class_label.containsKey(i.getIRI().toString())) {
<add> if(class_label!=null&&class_label.containsKey(i.getIRI... | |
Java | apache-2.0 | e0990747c8b9b8eaad82b628091e371a2e34218b | 0 | jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2005-2013 Ausenco Engineering Canada Inc.
* Copyright (C) 2016-2021 JaamSim Software 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 Li... | src/main/java/com/jaamsim/ui/EditBox.java | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2005-2013 Ausenco Engineering Canada Inc.
* Copyright (C) 2016-2021 JaamSim Software 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 Li... | JS: simplify 'selectNextRow' for EditBox
Signed-off-by: Harry King <409587b9e6671aa0763646191d292852dc49a658@gmail.com>
| src/main/java/com/jaamsim/ui/EditBox.java | JS: simplify 'selectNextRow' for EditBox | <ide><path>rc/main/java/com/jaamsim/ui/EditBox.java
<ide>
<ide> public void selectNextCell() {
<ide> int row = getSelectedRow();
<del> int col = getSelectedColumn();
<ide> row = Math.min(row + 1, getModel().getRowCount() - 1);
<del> changeSelection(row, col, false, false);
<add> changeSelection(row, VALUE_COLU... | |
JavaScript | agpl-3.0 | dee06f41431110ee16ba9934c94f96cf2897fe9d | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | d515e9ea-2e62-11e5-9284-b827eb9e62be | helloWorld.js | d5107884-2e62-11e5-9284-b827eb9e62be | d515e9ea-2e62-11e5-9284-b827eb9e62be | helloWorld.js | d515e9ea-2e62-11e5-9284-b827eb9e62be | <ide><path>elloWorld.js
<del>d5107884-2e62-11e5-9284-b827eb9e62be
<add>d515e9ea-2e62-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 190c0fe43f4a0f1eb47a4cb79a2bca14fbf2bece | 0 | kenumir/Pinger | package com.wt.pinger.service;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.net.wifi.WifiManager;
import android.os.IBinder;
import android.os.PowerManager;
import android.support.annotation.NonNull;
import android.support.a... | app/src/main/java/com/wt/pinger/service/PingService.java | package com.wt.pinger.service;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.net.wifi.WifiManager;
import android.os.IBinder;
import android.os.PowerManager;
import android.support.annotation.NonNull;
import android.support.a... | Fix WiFi lock release
| app/src/main/java/com/wt/pinger/service/PingService.java | Fix WiFi lock release | <ide><path>pp/src/main/java/com/wt/pinger/service/PingService.java
<ide> mWakeLock.release();
<ide> }
<ide> PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
<del> mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "replaio");
<add> ... | |
Java | apache-2.0 | 31df62d98459803e093f2a7e1563dc93502ee493 | 0 | luosx/oauth,luosx/oauth,luosx/oauth | /*
* Copyright 2007, 2008 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 ... | core/src/main/java/net/oauth/OAuthMessage.java | /*
* Copyright 2007, 2008 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 ... | simplify constructing an OAuthMessage with a body | core/src/main/java/net/oauth/OAuthMessage.java | simplify constructing an OAuthMessage with a body | <ide><path>ore/src/main/java/net/oauth/OAuthMessage.java
<ide> */
<ide> public class OAuthMessage {
<ide>
<del> public OAuthMessage(String method, String URL,
<del> Collection<? extends Map.Entry> parameters) {
<add> public OAuthMessage(String method, String URL, Collection<? extends Map.Entry> param... | |
Java | apache-2.0 | b8d54d2a43f2efeab40aace36e20ba088d8e2850 | 0 | dslomov/intellij-community,pwoodworth/intellij-community,MER-GROUP/intellij-community,petteyg/intellij-community,fnouama/intellij-community,pwoodworth/intellij-community,jagguli/intellij-community,petteyg/intellij-community,TangHao1987/intellij-community,youdonghai/intellij-community,fitermay/intellij-community,suncych... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/lang-impl/src/com/intellij/refactoring/rename/PsiElementRenameHandler.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | change the failing test so that it works closer to the real life and doesn't fail
| platform/lang-impl/src/com/intellij/refactoring/rename/PsiElementRenameHandler.java | change the failing test so that it works closer to the real life and doesn't fail | <ide><path>latform/lang-impl/src/com/intellij/refactoring/rename/PsiElementRenameHandler.java
<ide> rename(element, project, nameSuggestionContext, editor);
<ide> }
<ide>
<del> static boolean canRename(Project project, Editor editor, PsiElement element) {
<add> public static boolean canRename(Project project, ... | |
JavaScript | mit | 6e3b77d8edad69984c6286228891ba65e4f44941 | 0 | TeselaGen/ve-sequence-parsers,TeselaGen/ve-sequence-parsers,TeselaGen/sequence-parsers | import { tidyUpSequenceData } from 've-sequence-utils';
export default function jsonToFasta(jsonSequence, options) {
const cleanedData = tidyUpSequenceData(jsonSequence);
const { name, circular, description, size, sequence } = cleanedData;
options = options || {};
// options.reformatSeqName = options.reformatS... | src/parsers/jsonToFasta.js | import { tidyUpSequenceData } from 've-sequence-utils';
export default function jsonToFasta(jsonSequence, options) {
const cleanedData = tidyUpSequenceData(jsonSequence);
const { name, circular, description, size, sequence } = cleanedData;
options = options || {};
// options.reformatSeqName = options.reformatS... | Added existence check in jsonToFasta to protect against empty sequence data
| src/parsers/jsonToFasta.js | Added existence check in jsonToFasta to protect against empty sequence data | <ide><path>rc/parsers/jsonToFasta.js
<ide> fastaString += description ? "|" + description : "";
<ide> fastaString += "|" + (circular ? "circular" : "linear");
<ide> fastaString += "\n";
<del> fastaString += sequence.match(/.{1,80}/g).join("\n");
<add> fastaString += (sequence.match(/.{1,80}/g) || []).join("\n"... | |
Java | mit | 7e7ac69f174bc74963c79f5daeeb053a986d6ff4 | 0 | KEHANG/RMG-Java,nyee/RMG-Java,enochd/RMG-Java,jwallen/RMG-Java,keceli/RMG-Java,KEHANG/RMG-Java,jwallen/RMG-Java,connie/RMG-Java,jwallen/RMG-Java,keceli/RMG-Java,rwest/RMG-Java,rwest/RMG-Java,connie/RMG-Java,rwest/RMG-Java,connie/RMG-Java,enochd/RMG-Java,nyee/RMG-Java,ReactionMechanismGenerator/RMG-Java,KEHANG/RMG-Java,... | ////////////////////////////////////////////////////////////////////////////////
//
// RMG - Reaction Mechanism Generator
//
// Copyright (c) 2002-2009 Prof. William H. Green (whgreen@mit.edu) and the
// RMG Team (rmg_dev@mit.edu)
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of ... | source/RMG/jing/chem/QMTP.java | ////////////////////////////////////////////////////////////////////////////////
//
// RMG - Reaction Mechanism Generator
//
// Copyright (c) 2002-2009 Prof. William H. Green (whgreen@mit.edu) and the
// RMG Team (rmg_dev@mit.edu)
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of ... | added additional debugging line
last commit's debugging line gave "False"
| source/RMG/jing/chem/QMTP.java | added additional debugging line | <ide><path>ource/RMG/jing/chem/QMTP.java
<ide> File runningDirectory = new File(qmfolder);
<ide> String command=name+".com";
<ide> File script = new File(command);
<add> System.out.println(script.exists());
<ide> script.setExecutable(true);
<ide> System.out.println(script.setExecutab... | |
Java | apache-2.0 | 7b4f2bd50467afc3596e3050ea847ed9ee4ba8d3 | 0 | ThiagoGarciaAlves/drools,mswiderski/drools,sotty/drools,292388900/drools,TonnyFeng/drools,winklerm/drools,ngs-mtech/drools,ChallenHB/drools,pperboires/PocDrools,sotty/drools,jomarko/drools,kevinpeterson/drools,iambic69/drools,droolsjbpm/drools,jiripetrlik/drools,jomarko/drools,Buble1981/MyDroolsFork,mswiderski/drools,p... | /*
* J A V A C O M M U N I T Y P R O C E S S
*
* J S R 9 4
*
* Test Compatability Kit
*
*/
package org.jcp.jsr94.tck;
// java imports
import junit.framework.Test;
import junit.framework.TestSuite;
import org.jcp.jsr94.tck.admin.LocalRuleExecutionSetProviderTest;
import org.jcp.jsr94.tck.admin... | drools-jsr94/src/test/java/org/jcp/jsr94/tck/AllTests.java | /*
* J A V A C O M M U N I T Y P R O C E S S
*
* J S R 9 4
*
* Test Compatability Kit
*
*/
package org.jcp.jsr94.tck;
// java imports
import junit.framework.Test;
import junit.framework.TestSuite;
import org.jcp.jsr94.tck.admin.LocalRuleExecutionSetProviderTest;
import org.jcp.jsr94.tck.admin... | -Commented out test case until JSR94 group fix classloader in test.
git-svn-id: 070c3881401fb0972c64ffd64a7265ee2adfa2f8@3318 c60d74c8-e8f6-0310-9e8f-d4a2fc68ab70
| drools-jsr94/src/test/java/org/jcp/jsr94/tck/AllTests.java | -Commented out test case until JSR94 group fix classloader in test. | <ide><path>rools-jsr94/src/test/java/org/jcp/jsr94/tck/AllTests.java
<ide>
<ide> TestSuite suite = new TestSuite( "JSR 94 Test Compatability Kit" );
<ide> suite.addTestSuite( ApiSignatureTest.class );
<add> //JBRULES-139 TCK-TestCaseUtil needs to be fixed
<ide> //suite.addTestSuite( Clas... | |
Java | epl-1.0 | 2282b7387c1a49fb83e8b0fb92dbe2b5dda9519f | 0 | debrief/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | org.mwc.debrief.legacy/src/Debrief/Wrappers/TrackWrapper.java | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | catch last merge operation
| org.mwc.debrief.legacy/src/Debrief/Wrappers/TrackWrapper.java | catch last merge operation | <ide><path>rg.mwc.debrief.legacy/src/Debrief/Wrappers/TrackWrapper.java
<ide> expertProp("Color", "the track color", FORMAT),
<ide> displayExpertProp("EndTimeLabels", "Start/End time labels",
<ide> "Whether to label track start/end with 6-figure DTG",
<del> ... | |
Java | apache-2.0 | a1d83a74232528a56884b8a1303e703577b8985b | 0 | graphhopper/graphhopper,graphhopper/graphhopper,fbonzon/graphhopper,boldtrn/graphhopper,boldtrn/graphhopper,graphhopper/graphhopper,fbonzon/graphhopper,graphhopper/graphhopper,fbonzon/graphhopper,boldtrn/graphhopper,fbonzon/graphhopper,boldtrn/graphhopper | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | core/src/main/java/com/graphhopper/routing/util/EncodingManager.java | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | do not always add the currently more experimental car_access and bike_access EncodedValues
| core/src/main/java/com/graphhopper/routing/util/EncodingManager.java | do not always add the currently more experimental car_access and bike_access EncodedValues | <ide><path>ore/src/main/java/com/graphhopper/routing/util/EncodingManager.java
<ide> // TODO introduce road_access for different vehicles? But how to create it in DefaultTagParserFactory?
<ide> _addEdgeTagParser(new OSMRoadAccessParser(), false);
<ide> }
<del> if (... | |
Java | bsd-2-clause | 5d71f904487a0ea97065f78f8a56761edb966471 | 0 | javafunk/funk,javafunk/funk | /*
* Copyright (C) 2011-Present Funk committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.javafunk.funk;
import org.hamcrest.Matchers;
import ... | src/test/java/org/javafunk/funk/EagerlyAnyAllNoneTest.java | /*
* Copyright (C) 2011-Present Funk committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*/
package org.javafunk.funk;
import org.javafunk.funk.functors.Pre... | Adding test cases for empty Iterable case with Eagerly.{all, any, none}.
| src/test/java/org/javafunk/funk/EagerlyAnyAllNoneTest.java | Adding test cases for empty Iterable case with Eagerly.{all, any, none}. | <ide><path>rc/test/java/org/javafunk/funk/EagerlyAnyAllNoneTest.java
<ide> */
<ide> package org.javafunk.funk;
<ide>
<add>import org.hamcrest.Matchers;
<ide> import org.javafunk.funk.functors.Predicate;
<ide> import org.junit.Test;
<ide>
<ide>
<ide> import static org.hamcrest.MatcherAssert.assertThat;
<ide> import ... | |
Java | mit | 68ddbbf0d4a300cd2a997d6536f7f3b78a1b3093 | 0 | 20matan/react-native-material-kit,xinthink/react-native-material-kit,20matan/react-native-material-kit,rtmruczek/react-native-material-kit,20matan/react-native-material-kit,xinthink/react-native-material-kit,xinthink/react-native-material-kit,rtmruczek/react-native-material-kit,xinthink/react-native-material-kit,rtmruc... | package com.github.xinthink.rnmk.widget;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;
import android.support.annotation.NonNull;
im... | android/src/main/java/com/github/xinthink/rnmk/widget/TickView.java | package com.github.xinthink.rnmk.widget;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.RectF;
import android.support.annotation.NonNull;
im... | Correcting the tick position
Leaving 2px gap from bottom to appear more central. | android/src/main/java/com/github/xinthink/rnmk/widget/TickView.java | Correcting the tick position | <ide><path>ndroid/src/main/java/com/github/xinthink/rnmk/widget/TickView.java
<ide> float tickWidth = (float) ((baseSize - this.inset) / Math.sqrt(2));
<ide> float a = (float) (tickWidth / Math.sqrt(2));
<ide> float x0 = left + inset;
<del> float y0 = bottom - this.inset - (baseSize - ins... | |
Java | mit | a922510a6e3027d2a4f43f0819d3c37e7385e312 | 0 | Hypersonic/Starlorn | package edu.stuy.starlorn.world;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.geom.Rectangle2D;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.concurrent.ConcurrentLinkedQueue;
import e... | src/world/World.java | package edu.stuy.starlorn.world;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.geom.Rectangle2D;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.concurrent.ConcurrentLinkedQueue;
import e... | Lose most recent half of your upgrades on dealth.
| src/world/World.java | Lose most recent half of your upgrades on dealth. | <ide><path>rc/world/World.java
<ide> lives--;
<ide> ships.remove(player);
<ide> if (pickups.size() > 0) {
<del> pickups.remove(pickups.size()-1);
<add> pickups.subList(pickups.size() / 2, pickups.size()).clear();
<ide> }
<ide> }
<ide> | |
JavaScript | mit | 0d51e96731f63aa327b9b4386014f5f587dd71bf | 0 | mikeobrien/FubuMVC.Swank,mikeobrien/FubuMVC.Swank,mikeobrien/FubuMVC.Swank | var gulp = require('gulp'),
args = require('yargs').argv,
assemblyInfo = require('gulp-dotnet-assembly-info'),
msbuild = require('gulp-msbuild'),
nunit = require('gulp-nunit-runner'),
Nuget = require('nuget-runner');
gulp.task('deploy', ['nuget-push']);
gulp.task('ci', ['nuget-package']);
gulp.ta... | gulpfile.js | var gulp = require('gulp'),
args = require('yargs').argv,
assemblyInfo = require('gulp-dotnet-assembly-info'),
msbuild = require('gulp-msbuild'),
nunit = require('gulp-nunit-runner'),
Nuget = require('nuget-runner');
gulp.task('deploy', ['nuget-push']);
gulp.task('ci', ['nuget-package']);
gulp.ta... | Bumped compiler version.
| gulpfile.js | Bumped compiler version. | <ide><path>ulpfile.js
<ide> .pipe(assemblyInfo({
<ide> version: args.buildVersion,
<ide> fileVersion: args.buildVersion,
<del> copyright: function(value) {
<add> copyright: function(value) {
<ide> return 'Copyright © ' + new Date().getFullYear() + '... | |
JavaScript | mit | 2b97ae44b4d0fed26116ecaa92d1aecd61e3d409 | 0 | DoctorMcKay/node-steam-tradeoffer-manager,FelikZ/node-steam-tradeoffer-manager | var TradeOfferManager = require('./index.js');
var ETradeOfferState = TradeOfferManager.ETradeOfferState;
var EOfferFilter = TradeOfferManager.EOfferFilter;
var deepEqual = require('deep-equal');
var clone = require('clone');
/*
* pollData is an object which has the following structure:
* - `offersSince` is the STA... | lib/polling.js | var TradeOfferManager = require('./index.js');
var ETradeOfferState = TradeOfferManager.ETradeOfferState;
var EOfferFilter = TradeOfferManager.EOfferFilter;
var deepEqual = require('deep-equal');
var clone = require('clone');
TradeOfferManager.prototype.doPoll = function() {
if(!this.apiKey || Date.now() - this._last... | Added cancelTime data option to override cancelTime per-offer
Fixes #20
| lib/polling.js | Added cancelTime data option to override cancelTime per-offer | <ide><path>ib/polling.js
<ide> var EOfferFilter = TradeOfferManager.EOfferFilter;
<ide> var deepEqual = require('deep-equal');
<ide> var clone = require('clone');
<add>
<add>/*
<add> * pollData is an object which has the following structure:
<add> * - `offersSince` is the STANDARD unix time (Math.floor(Date.now() / 10... | |
JavaScript | mit | ad6f5ac297992b60687267ab8b4e6d3415710fe2 | 0 | remotebeta/codybot | // 'use strict';
var schedule = require('node-schedule');
var slack = require('./slack.js');
module.exports = scheduler;
function scheduler() {
var hrr11 = slack.students.getChannelGroupOrDMByName('hrr11');
var hrr12 = slack.students.getChannelGroupOrDMByName('hrr12');
var hrr13 = slack.students.getChannelGrou... | lib/scheduler.js | // 'use strict';
var schedule = require('node-schedule');
var slack = require('./slack.js');
module.exports = scheduler;
function scheduler() {
var hrr11 = slack.students.getChannelGroupOrDMByName('hrr11');
var hrr12 = slack.students.getChannelGroupOrDMByName('hrr12');
var hrr13 = slack.students.getChannelGrou... | debugging
| lib/scheduler.js | debugging | <ide><path>ib/scheduler.js
<ide>
<ide> var daily855am = new schedule.RecurrenceRule();
<ide> daily855am.dayOfWeek = [1,2,3,4,5,6];
<del> daily855am.hour = 11;
<add> daily855am.hour = 8;
<ide> daily855am.minute = 55;
<ide>
<ide> var daily900am = new schedule.RecurrenceRule();
<ide> daily900am.dayOfWeek = [... | |
Java | apache-2.0 | 1dd2eeb58c811f661d11092d5c500b186517e51a | 0 | cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba | /*
* A High-Level Framework for Application Configuration
*
* Copyright 2007 Merlin Hughes / Learning Objects, 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... | modules/global/src/com/haulmont/cuba/core/config/type/TypeStringify.java | /*
* A High-Level Framework for Application Configuration
*
* Copyright 2007 Merlin Hughes / Learning Objects, 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... | Refs #578: Использование Config-интерфейсов для получения некоторых экземпляров
сущностей
| modules/global/src/com/haulmont/cuba/core/config/type/TypeStringify.java | Refs #578: Использование Config-интерфейсов для получения некоторых экземпляров сущностей | <ide><path>odules/global/src/com/haulmont/cuba/core/config/type/TypeStringify.java
<ide> return new PrimitiveTypeStringify();
<ide> } else if (methodType.isEnum()) { // enum
<ide> methodName = "name";
<del> } else if (Entity.class.isAssignableFrom(m... | |
Java | bsd-3-clause | e6fc834406929b64ea6bd688f77780595a7aef73 | 0 | BeeeOn/android,BeeeOn/android,BeeeOn/android | package cz.vutbr.fit.iha.util;
import java.util.ArrayList;
import java.util.List;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import android.content.Context;
import android.content.SharedPreferences;
impo... | IHA/src/cz/vutbr/fit/iha/util/Timezone.java | package cz.vutbr.fit.iha.util;
import java.util.ArrayList;
import java.util.List;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import android.content.Context;
import android.content.SharedPreferences;
impo... | Fix crash on opening Settings (weird Java generics...)
| IHA/src/cz/vutbr/fit/iha/util/Timezone.java | Fix crash on opening Settings (weird Java generics...) | <ide><path>HA/src/cz/vutbr/fit/iha/util/Timezone.java
<ide> for (Timezone actTemp : Timezone.values()) {
<ide> retList.add(actTemp.getName(context));
<ide> }
<del> return (String[]) retList.toArray();
<add> return retList.toArray(new String[retList.size()]);
<ide> }
<ide>
<ide> /**
<ide> for (Timezone act... | |
Java | apache-2.0 | 77992dc1d6cdf2fa8edc63abe5ff888d8050c258 | 0 | d3xter/bo-android,d3xter/bo-android,wuan/bo-android | package org.blitzortung.android.map;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.MotionEvent;
import com.google.android.maps.MapView;
import java.util.HashSet;
import java.util.Set;
public class OwnMapView extends MapView {
final Set<ZoomLis... | src/main/java/org/blitzortung/android/map/OwnMapView.java | package org.blitzortung.android.map;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.MotionEvent;
import com.google.android.maps.MapView;
import java.util.HashSet;
import java.util.Set;
public class OwnMapView extends MapView {
final Set<ZoomLis... | fixed OwnMapView
| src/main/java/org/blitzortung/android/map/OwnMapView.java | fixed OwnMapView | <ide><path>rc/main/java/org/blitzortung/android/map/OwnMapView.java
<ide> final Set<ZoomListener> zoomListeners = new HashSet<ZoomListener>();
<ide>
<ide> public interface ZoomListener {
<del> public void onZoom(int zoomLevel);
<add> void onZoom(int zoomLevel);
<ide> }
<add>
<add> public OwnMapView(Context con... | |
Java | bsd-3-clause | error: pathspec 'src/test/java/nom/bdezonia/zorbage/algorithm/TestLexicographicalCompare.java' did not match any file(s) known to git
| b153110e2cc8148eeef457da005307aae8b7289d | 1 | bdezonia/zorbage,bdezonia/zorbage | /*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (C) 2016-2019 Barry DeZonia
*
* 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 ret... | src/test/java/nom/bdezonia/zorbage/algorithm/TestLexicographicalCompare.java | Define some tests for lexicographical compare algorithm
| src/test/java/nom/bdezonia/zorbage/algorithm/TestLexicographicalCompare.java | Define some tests for lexicographical compare algorithm | <ide><path>rc/test/java/nom/bdezonia/zorbage/algorithm/TestLexicographicalCompare.java
<add>/*
<add> * Zorbage: an algebraic data hierarchy for use in numeric processing.
<add> *
<add> * Copyright (C) 2016-2019 Barry DeZonia
<add> *
<add> * Redistribution and use in source and binary forms, with or without
<add> * mod... | |
Java | apache-2.0 | 6805ac99727971c7273a7a0f44cd68259ae4edf8 | 0 | sammcveety/incubator-beam,amitsela/beam,xsm110/Apache-Beam,joshualitt/DataflowJavaSDK,tgroh/incubator-beam,robertwb/incubator-beam,manuzhang/beam,rangadi/beam,apache/beam,RyanSkraba/beam,lukecwik/incubator-beam,chamikaramj/beam,jbonofre/incubator-beam,rangadi/beam,manuzhang/beam,mxm/incubator-beam,lukecwik/incubator-be... | /*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/worker/StreamingDataflowWorker.java | /*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Bound the size of commit queues in the streaming worker
----Release Notes----
[]
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=112080882
| sdk/src/main/java/com/google/cloud/dataflow/sdk/runners/worker/StreamingDataflowWorker.java | Bound the size of commit queues in the streaming worker | <ide><path>dk/src/main/java/com/google/cloud/dataflow/sdk/runners/worker/StreamingDataflowWorker.java
<ide> import com.google.cloud.dataflow.sdk.util.common.worker.OutputObjectAndByteCounter;
<ide> import com.google.cloud.dataflow.sdk.util.common.worker.ReadOperation;
<ide> import com.google.cloud.dataflow.sdk.util.com... | |
Java | apache-2.0 | d8097372bb38b4b47c557821a8d6233955c82bec | 0 | dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android | package org.commcare.models;
import org.commcare.android.javarosa.AndroidXFormExtensions;
import org.commcare.android.javarosa.IntentCallout;
import org.commcare.android.javarosa.PollSensorAction;
import org.javarosa.core.util.PrefixTree;
import org.javarosa.core.util.externalizable.PrototypeFactory;
import j... | app/src/org/commcare/models/AndroidPrototypeFactory.java | package org.commcare.models;
import org.javarosa.core.util.PrefixTree;
import org.javarosa.core.util.externalizable.PrototypeFactory;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Map;
/**
* This class overrides the core PrototypeFactory class primarily because we
* can store ou... | Add classname migration for parser extensions
| app/src/org/commcare/models/AndroidPrototypeFactory.java | Add classname migration for parser extensions | <ide><path>pp/src/org/commcare/models/AndroidPrototypeFactory.java
<ide> package org.commcare.models;
<ide>
<add>import org.commcare.android.javarosa.AndroidXFormExtensions;
<add>import org.commcare.android.javarosa.IntentCallout;
<add>import org.commcare.android.javarosa.PollSensorAction;
<ide> import org.javarosa.co... | |
Java | apache-2.0 | 0aaad3274e5ed0c2b0ba2110523f9910fe4a43af | 0 | mta452/Tehreer-Android,mta452/Tehreer-Android,mta452/Tehreer-Android | /*
* Copyright (C) 2017 Muhammad Tayyab Akram
*
* 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... | tehreer-android/src/main/java/com/mta/tehreer/internal/util/ArrayDescription.java | /*
* Copyright (C) 2017 Muhammad Tayyab Akram
*
* 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... | [lib] Handled null in array description...
| tehreer-android/src/main/java/com/mta/tehreer/internal/util/ArrayDescription.java | [lib] Handled null in array description... | <ide><path>ehreer-android/src/main/java/com/mta/tehreer/internal/util/ArrayDescription.java
<ide>
<ide> public class ArrayDescription {
<ide>
<add> private static final String NULL = "null";
<add>
<ide> public static String forByteArray(byte[] array) {
<ide> if (array != null) {
<ide> Array... | |
Java | apache-2.0 | 4045e5d36694956300343dc7a88de268b1b1763d | 0 | dslomov/intellij-community,ahb0327/intellij-community,ftomassetti/intellij-community,signed/intellij-community,blademainer/intellij-community,signed/intellij-community,blademainer/intellij-community,amith01994/intellij-community,idea4bsd/idea4bsd,allotria/intellij-community,FHannes/intellij-community,kdwink/intellij-co... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/keymap/impl/ui/KeymapPanel.java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | IDEA-115957 Keymap: Mouse shortcut conflict detection broken: Depends on current filter
| platform/platform-impl/src/com/intellij/openapi/keymap/impl/ui/KeymapPanel.java | IDEA-115957 Keymap: Mouse shortcut conflict detection broken: Depends on current filter | <ide><path>latform/platform-impl/src/com/intellij/openapi/keymap/impl/ui/KeymapPanel.java
<ide> import com.intellij.openapi.options.ConfigurationException;
<ide> import com.intellij.openapi.options.SearchableConfigurable;
<ide> import com.intellij.openapi.project.DumbAwareAction;
<add>import com.intellij.openapi.projec... | |
JavaScript | mit | 2b8af9e79ee2e3f54be98710f3f245940dffee1a | 0 | rnpm/rnpm | const fs = require('fs');
const path = require('path');
/**
* @param {String} folder Folder to seek in
* @return {String}
*/
module.exports = function findAndroidAppFolder(folder) {
if (!fs.existsSync(path.join(folder, 'android'))) {
return null;
}
if (fs.existsSync(path.join(folder, 'android', 'app')))... | src/config/android/findAndroidAppFolder.js | const fs = require('fs');
const path = require('path');
module.exports = function findAndroidAppFolder(folder) {
if (!fs.existsSync(path.join(folder, 'android'))) {
return null;
}
if (fs.existsSync(path.join(folder, 'android', 'app'))) {
return path.join('android', 'app');
}
return 'android';
};
| Added coments to findAndroidAppFolder
| src/config/android/findAndroidAppFolder.js | Added coments to findAndroidAppFolder | <ide><path>rc/config/android/findAndroidAppFolder.js
<ide> const fs = require('fs');
<ide> const path = require('path');
<ide>
<add>/**
<add> * @param {String} folder Folder to seek in
<add> * @return {String}
<add> */
<ide> module.exports = function findAndroidAppFolder(folder) {
<ide> if (!fs.existsSync(path.join... | |
Java | apache-2.0 | 251d66d053cceb225aa92d713356938e5e2dceb9 | 0 | varsis/spatial4j,ryantxu/spatial-solr-sandbox,jdeolive/spatial4j,jdeolive/spatial4j | /*
* 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 ... | spatial4j-core/src/main/java/com/spatial4j/core/context/SpatialContext.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 ... | improve performance of makeRectangle() arg checks
| spatial4j-core/src/main/java/com/spatial4j/core/context/SpatialContext.java | improve performance of makeRectangle() arg checks | <ide><path>patial4j-core/src/main/java/com/spatial4j/core/context/SpatialContext.java
<ide> * dateline.
<ide> */
<ide> public Rectangle makeRectangle(double minX, double maxX, double minY, double maxY) {
<del> verifyX(minX);
<del> verifyX(maxX);
<del> verifyY(minY);
<del> verifyY(maxY);
<add> Rec... | |
Java | mit | 7f42c808111bed9513e6eea4ca03814559657e50 | 0 | amiyajima/voogasalad_VOOGirlsGeneration,mzhu22/TurnBasedStrategy | package authoring.concretefeatures;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ScrollPane;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import... | src/authoring/concretefeatures/GameCreator.java | package authoring.concretefeatures;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import author... | css style changes
| src/authoring/concretefeatures/GameCreator.java | css style changes | <ide><path>rc/authoring/concretefeatures/GameCreator.java
<ide> import javafx.scene.Scene;
<ide> import javafx.scene.control.Button;
<ide> import javafx.scene.control.Label;
<add>import javafx.scene.control.ScrollPane;
<ide> import javafx.scene.control.TextField;
<ide> import javafx.scene.layout.HBox;
<ide> import java... | |
Java | apache-2.0 | error: pathspec 'src/kieker/tpmon/core/KiekerTerminationServletContextListener.java' did not match any file(s) known to git
| fac1e544c5702f8f68c91ee0555c4ddba8370090 | 1 | leadwire-apm/leadwire-javaagent,kieker-monitoring/kieker,leadwire-apm/leadwire-javaagent,HaStr/kieker,HaStr/kieker,kieker-monitoring/kieker,HaStr/kieker,kieker-monitoring/kieker,HaStr/kieker,kieker-monitoring/kieker,kieker-monitoring/kieker,HaStr/kieker | package kieker.tpmon.core;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Use this listener in webapps where TpmonShutdownHook is not called
*
* @author Dennis Kieselhorst... | src/kieker/tpmon/core/KiekerTerminationServletContextListener.java | moved context listener
| src/kieker/tpmon/core/KiekerTerminationServletContextListener.java | moved context listener | <ide><path>rc/kieker/tpmon/core/KiekerTerminationServletContextListener.java
<add>package kieker.tpmon.core;
<add>
<add>import javax.servlet.ServletContextEvent;
<add>import javax.servlet.ServletContextListener;
<add>
<add>import org.apache.commons.logging.Log;
<add>import org.apache.commons.logging.LogFactory;
<add>
<... | |
Java | apache-2.0 | 08d7274ee936db8e8c399ad7de3f9b0cd42d1f57 | 0 | OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,halober/ovirt-engine,yingyun001/ovirt-engine,halober/ovirt-engine,derekhiggins/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,halober/ovirt-engine,derekhiggins/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,eayun/ovir... | package org.ovirt.engine.core.bll;
import java.util.Map;
import org.ovirt.engine.core.common.AuditLogType;
import org.ovirt.engine.core.common.VdcObjectType;
import org.ovirt.engine.core.common.action.VmPoolParametersBase;
import org.ovirt.engine.core.compat.NGuid;
import org.ovirt.engine.core.dal.VdcBllMessages;
imp... | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmPoolCommand.java | package org.ovirt.engine.core.bll;
import org.ovirt.engine.core.common.AuditLogType;
import org.ovirt.engine.core.common.action.VmPoolParametersBase;
import org.ovirt.engine.core.compat.NGuid;
import org.ovirt.engine.core.dal.VdcBllMessages;
import org.ovirt.engine.core.dal.dbbroker.DbFacade;
public class RemoveVmPoo... | core: fix job properties in remove VmPool to show cluster name (#817366)
https://bugzilla.redhat.com/show_bug.cgi?id=817366
added implementation to getJobMessageProperties in RemoveVmPoolCommand,
that add the cluster in order to show its name.
setting the cluster id in the ctor so it would be available in the command... | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmPoolCommand.java | core: fix job properties in remove VmPool to show cluster name (#817366) | <ide><path>ackend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmPoolCommand.java
<ide> package org.ovirt.engine.core.bll;
<ide>
<add>import java.util.Map;
<add>
<ide> import org.ovirt.engine.core.common.AuditLogType;
<add>import org.ovirt.engine.core.common.VdcObjectType;
<ide> import org.ovirt.e... | |
Java | apache-2.0 | fdbfae2806f460ce3c6af5d277d52dae9c619a86 | 0 | codeine-cd/codeine,codeine-cd/codeine,codeine-cd/codeine,codeine-cd/codeine | package codeine.command_peer;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import codeine.api.NodeWithPeerInfo;
import codeine.configuration.Links;
import codeine.jsons.command.CommandInfo;
import codeine.jsons.command.CommandInfoForSpecificNode;
import codeine.json... | src/web_server/codeine/command_peer/PeerCommandWorker.java | package codeine.command_peer;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import codeine.api.NodeWithPeerInfo;
import codeine.configuration.Links;
import codeine.jsons.command.CommandInfo;
import codeine.jsons.command.CommandInfoForSpecificNode;
import codeine.json... | fixed output is mixing between nodes, and prevent report of node error more than once.
| src/web_server/codeine/command_peer/PeerCommandWorker.java | fixed output is mixing between nodes, and prevent report of node error more than once. | <ide><path>rc/web_server/codeine/command_peer/PeerCommandWorker.java
<ide> import codeine.permissions.IUserWithPermissions;
<ide> import codeine.utils.ExceptionUtils;
<ide> import codeine.utils.ThreadUtils;
<add>import codeine.utils.logging.LogUtils;
<ide> import codeine.utils.network.HttpUtils;
<ide>
<ide> import com... | |
Java | apache-2.0 | 758adbb49cb9b212c4fa1fb5f0fc383d0838dc7d | 0 | jagguli/intellij-community,suncycheng/intellij-community,MichaelNedzelsky/intellij-community,clumsy/intellij-community,ryano144/intellij-community,amith01994/intellij-community,fnouama/intellij-community,slisson/intellij-community,tmpgit/intellij-community,nicolargo/intellij-community,petteyg/intellij-community,aseduno... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/HistoryEntry.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | make sure document reference is cached reliably
use direct reference to avoid soft reference from file to document accidentally cleared by GC, to ensure folding data reconstructs normally and document construction is done only once for opening editors
| platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/HistoryEntry.java | make sure document reference is cached reliably | <ide><path>latform/platform-impl/src/com/intellij/openapi/fileEditor/impl/HistoryEntry.java
<ide> /*
<del> * Copyright 2000-2009 JetBrains s.r.o.
<add> * Copyright 2000-2014 JetBrains s.r.o.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use this file except in co... | |
Java | lgpl-2.1 | 5362c45524a305359c5d3b17ce8c36b7eb658fb6 | 0 | aloubyansky/wildfly-core,ivassile/wildfly-core,JiriOndrusek/wildfly-core,yersan/wildfly-core,yersan/wildfly-core,jamezp/wildfly-core,jamezp/wildfly-core,yersan/wildfly-core,bstansberry/wildfly-core,bstansberry/wildfly-core,bstansberry/wildfly-core,jfdenise/wildfly-core,jfdenise/wildfly-core,luck3y/wildfly-core,ivassile... | package org.jboss.as.domain.controller.operations;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CONTENT;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DEPLOYMENT;
import stat... | host-controller/src/main/java/org/jboss/as/domain/controller/operations/SyncServerStateOperationHandler.java | package org.jboss.as.domain.controller.operations;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CONTENT;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.DEPLOYMENT;
import stat... | WFCORE-1733 SynchServerOperationHandler op and attribute restart-required checking
| host-controller/src/main/java/org/jboss/as/domain/controller/operations/SyncServerStateOperationHandler.java | WFCORE-1733 SynchServerOperationHandler op and attribute restart-required checking | <ide><path>ost-controller/src/main/java/org/jboss/as/domain/controller/operations/SyncServerStateOperationHandler.java
<ide> import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.MANAGEMENT_CLIENT_CONTENT;
<ide> import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP;
<ide... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.