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
agpl-3.0
d358ed81d2295d0fa1c0dbe091242a9229e219ce
0
Freeyourgadget/Gadgetbridge,ivanovlev/Gadgetbridge,Freeyourgadget/Gadgetbridge,rosenpin/Gadgetbridge,roidelapluie/Gadgetbridge,rosenpin/Gadgetbridge,ivanovlev/Gadgetbridge,roidelapluie/Gadgetbridge,rosenpin/Gadgetbridge,roidelapluie/Gadgetbridge,ivanovlev/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbr...
package nodomain.freeyourgadget.gadgetbridge.service.devices.pebble; import android.util.Base64; import android.util.Pair; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.nio.ByteBuffer; import java.nio.ByteOrd...
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleProtocol.java
package nodomain.freeyourgadget.gadgetbridge.service.devices.pebble; import android.util.Base64; import android.util.Pair; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.nio.ByteBuffer; import java.nio.ByteOrd...
Pebble: Display a failure if we cannot map a notification id back to a Phone number when replying to an SMS
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleProtocol.java
Pebble: Display a failure if we cannot map a notification id back to a Phone number when replying to an SMS
<ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleProtocol.java <ide> import java.util.SimpleTimeZone; <ide> import java.util.UUID; <ide> <add>import nodomain.freeyourgadget.gadgetbridge.GBApplication; <ide> import nodomain.freeyourgadget.gadgetbridge.deviceevents.GBDeviceEv...
Java
apache-2.0
0bb7b4db47e5af8d7e37b48545b00f70f69a34f1
0
artem-zinnatullin/RxJava,artem-zinnatullin/RxJava
/** * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
src/main/java/io/reactivex/disposables/CompositeDisposable.java
/** * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
2.x composite disposable docs (#6432) * 2.x: Improving NPE message in CompositeDisposable add(..) when param is null * 2.x: Improving NPE message in CompositeDisposable addAll(..) when item in vararg param is null * 2.x: Improved in CompositeDisposable: NPE error messages, parameter naming at methods, added @thr...
src/main/java/io/reactivex/disposables/CompositeDisposable.java
2.x composite disposable docs (#6432)
<ide><path>rc/main/java/io/reactivex/disposables/CompositeDisposable.java <ide> <ide> /** <ide> * Creates a CompositeDisposables with the given array of initial elements. <del> * @param resources the array of Disposables to start with <del> */ <del> public CompositeDisposable(@NonNull Disposable......
JavaScript
mit
4e94e2c6c5cc4a03d102dc06d1ce1c0033514d11
0
nicholasess/seraph-model,brikteknologier/seraph-model,IgorRubinovich/seraph-model,anmolonruby/seraph-model,Squeegy/seraph-model
var assert = require('assert'); var model = require('../'); var Emitter = require('events').EventEmitter; var util = require('util'); var seraph = require('disposable-seraph'); var _ = require('underscore'); describe('Seraph Model', function() { var neo; var db; before(function(done) { seraph(function(err, _...
test/model_test.js
var assert = require('assert'); var model = require('../'); var Emitter = require('events').EventEmitter; var util = require('util'); var seraph = require('disposable-seraph'); var _ = require('underscore'); describe('Seraph Model', function() { var neo; var db; before(function(done) { seraph(function(err, _...
Updated custom index test
test/model_test.js
Updated custom index test
<ide><path>est/model_test.js <ide> }); <ide> }); <ide> it ('should add to more than one index', function(done) { <del> var mockdb = new SeraphMock(); <del> var beer = model(mockdb, 'Beer'); <add> var beer = model(db, 'Beer'); <ide> <ide> beer.addIndex('otherIndex', 'something',...
Java
agpl-3.0
101482bd365bd24c9728b25867de7d6a623e23bc
0
barspi/jPOS-EE,jpos/jPOS-EE,barspi/jPOS-EE,jrfinc/jPOS-EE,barspi/jPOS-EE,jrfinc/jPOS-EE,jrfinc/jPOS-EE,jpos/jPOS-EE,jpos/jPOS-EE
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2015 Alejandro P. Revilla * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your ...
modules/minigl/src/main/java/org/jpos/gl/Account.java
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2015 Alejandro P. Revilla * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your ...
handle correctly when the other code is null, String.compareTo throws NullPointerException
modules/minigl/src/main/java/org/jpos/gl/Account.java
handle correctly when the other code is null, String.compareTo throws NullPointerException
<ide><path>odules/minigl/src/main/java/org/jpos/gl/Account.java <ide> } <ide> public int compareTo (Object o) { <ide> if (o instanceof Account) { <del> if (getCode() == null) { <del> return ((Account)o).getCode() == null ? 0 : 1; <add> Account other = (Account) o; <a...
Java
apache-2.0
error: pathspec 'loader-server/src/main/java/perf/server/util/ObjectMapperUtil.java' did not match any file(s) known to git
4b09f12ea344b57b69a31c6b7034cf1eb110d5b1
1
krishnakanthpps/loader,krishnakanthpps/loader,krishnakanthpps/loader,krishnakanthpps/loader
package perf.server.util; import org.codehaus.jackson.map.ObjectMapper; /** * Created with IntelliJ IDEA. * User: nitinka * Date: 13/4/13 * Time: 10:10 AM * To change this template use File | Settings | File Templates. */ public class ObjectMapperUtil { private static ObjectMapper objectMapper; public ...
loader-server/src/main/java/perf/server/util/ObjectMapperUtil.java
adding ObjectMapperUtil.java
loader-server/src/main/java/perf/server/util/ObjectMapperUtil.java
adding ObjectMapperUtil.java
<ide><path>oader-server/src/main/java/perf/server/util/ObjectMapperUtil.java <add>package perf.server.util; <add> <add>import org.codehaus.jackson.map.ObjectMapper; <add> <add>/** <add> * Created with IntelliJ IDEA. <add> * User: nitinka <add> * Date: 13/4/13 <add> * Time: 10:10 AM <add> * To change this template use F...
JavaScript
mit
9ec6e322a7f9c6b3b0a57d2f751728f82f0816e2
0
lukechilds/merge-images
// Return Promise const imageMerge = (sources = []) => new Promise(resolve => { // Load sources const images = sources.map(source => new Promise(resolve => { const img = new Image(); img.onload = () => resolve(Object.assign({}, source, {img})); img.src = source.src; })); // Create canvas const canvas = docu...
src/index.js
// Return Promise const imageMerge = (sources = []) => new Promise(resolve => { // Load sources const images = sources.map(src => new Promise(resolve => { const img = new Image(); img.onload = () => resolve(img); img.src = src; })); // Create canvas const canvas = document.createElement('canvas'); const ct...
Allow custom positions to be passed through
src/index.js
Allow custom positions to be passed through
<ide><path>rc/index.js <ide> // Return Promise <ide> const imageMerge = (sources = []) => new Promise(resolve => { <ide> // Load sources <del> const images = sources.map(src => new Promise(resolve => { <add> const images = sources.map(source => new Promise(resolve => { <ide> const img = new Image(); <del> img.onloa...
Java
apache-2.0
a7350482d3930f69468489937ec3965ac95d3b54
0
ecarm002/incubator-asterixdb,amoudi87/asterixdb,ty1er/incubator-asterixdb,sjaco002/incubator-asterixdb,heriram/incubator-asterixdb,amoudi87/asterixdb,kisskys/incubator-asterixdb,waans11/incubator-asterixdb,heriram/incubator-asterixdb,waans11/incubator-asterixdb,parshimers/incubator-asterixdb,ty1er/incubator-asterixdb,k...
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
asterix-metadata/src/main/java/edu/uci/ics/asterix/metadata/declared/AqlMetadataProvider.java
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
fixed an abort issue appeared from RecoveryIT test
asterix-metadata/src/main/java/edu/uci/ics/asterix/metadata/declared/AqlMetadataProvider.java
fixed an abort issue appeared from RecoveryIT test
<ide><path>sterix-metadata/src/main/java/edu/uci/ics/asterix/metadata/declared/AqlMetadataProvider.java <ide> // generate field permutations <ide> int[] fieldPermutation = new int[numKeys]; <ide> int[] bloomFilterKeyFields = new int[secondaryKeys.size()]; <add> int[] modificationCallbackP...
Java
apache-2.0
6b496e53a1f96c04978959626654497bd38f04b9
0
MovingBlocks/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,Nanoware/Terasology,Malanius/Terasology,MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
engine/src/main/java/org/terasology/rendering/dag/gsoc/ModuleRendering.java
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Update createBufferPair to take less arguments, strip off the redundant ones
engine/src/main/java/org/terasology/rendering/dag/gsoc/ModuleRendering.java
Update createBufferPair to take less arguments, strip off the redundant ones
<ide><path>ngine/src/main/java/org/terasology/rendering/dag/gsoc/ModuleRendering.java <ide> } <ide> <ide> protected BufferPair createBufferPair(String primaryBufferName, String secondaryBufferName, <del> ScalingFactors primaryBufferScale, ScalingFactors secondaryBufferS...
Java
apache-2.0
16329a4e88621afc67fa42454489e67ae0861a3e
0
viltgroup/minium,viltgroup/minium,viltgroup/minium
/* * Copyright (C) 2015 The Minium Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
minium-webelements-config/src/main/java/minium/web/config/WebDriverFactory.java
/* * Copyright (C) 2015 The Minium Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Fix chrome desired capabilities. - Able to launch in headless mode.
minium-webelements-config/src/main/java/minium/web/config/WebDriverFactory.java
Fix chrome desired capabilities.
<ide><path>inium-webelements-config/src/main/java/minium/web/config/WebDriverFactory.java <ide> <ide> enum WebDriverType { <ide> CHROME(BrowserType.CHROME, BrowserType.GOOGLECHROME) { <add> @SuppressWarnings("deprecation") <ide> @Override <ide> public WebDriver create(Web...
Java
apache-2.0
46c2394455f028685155644809dd699f347dd7bf
0
dreedyman/Rio,dreedyman/Rio,dreedyman/Rio
/* * Copyright 2008 to the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
rio/src/main/java/org/rioproject/system/measurable/SigarHelper.java
/* * Copyright 2008 to the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
debug messages
rio/src/main/java/org/rioproject/system/measurable/SigarHelper.java
debug messages
<ide><path>io/src/main/java/org/rioproject/system/measurable/SigarHelper.java <ide> s.append(", "); <ide> s.append(pids[i]); <ide> } <del> System.out.println("JMX pids: ["+s.toString()+"]"); <add> System.out.println("Parent PID: ["+ppid+"], JMX pids: ["+s.toString()+"]"...
Java
agpl-3.0
7726747f64b35e302374bab9a68eb5fa711bd9b6
0
mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud
package org.cryptonit.cloud.timestamping; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.M...
src/main/java/org/cryptonit/cloud/timestamping/Application.java
package org.cryptonit.cloud.timestamping; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.R...
Add missing import
src/main/java/org/cryptonit/cloud/timestamping/Application.java
Add missing import
<ide><path>rc/main/java/org/cryptonit/cloud/timestamping/Application.java <ide> import javax.ws.rs.Produces; <ide> import javax.ws.rs.core.Context; <ide> import javax.ws.rs.core.HttpHeaders; <add>import javax.ws.rs.core.MediaType; <ide> import javax.ws.rs.core.Response; <ide> import org.bouncycastle.tsp.TSPException; <...
Java
apache-2.0
dc522d010cd2078d4ce6888df564610ed29bbdc7
0
amyvmiwei/hbase,gustavoanatoly/hbase,lshmouse/hbase,JingchengDu/hbase,JingchengDu/hbase,gustavoanatoly/hbase,narendragoyal/hbase,gustavoanatoly/hbase,justintung/hbase,justintung/hbase,narendragoyal/hbase,bijugs/hbase,ndimiduk/hbase,StackVista/hbase,francisliu/hbase,joshelser/hbase,francisliu/hbase,ChinmaySKulkarni/hbas...
/* * * 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"); y...
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/Filter.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"); y...
HBASE-12996 Reversed field on Filter should be transient (Ian Friedman)
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/Filter.java
HBASE-12996 Reversed field on Filter should be transient (Ian Friedman)
<ide><path>base-client/src/main/java/org/apache/hadoop/hbase/filter/Filter.java <ide> @InterfaceAudience.Public <ide> @InterfaceStability.Stable <ide> public abstract class Filter { <del> protected boolean reversed; <add> protected transient boolean reversed; <ide> /** <ide> * Reset the state of the filter betwe...
Java
mit
ef8a3e1b1fb692c30738335b4177950dfb54065d
0
amruthsoft9/Jenkis,hudson/hudson-2.x,brunocvcunha/jenkins,ns163/jenkins,scoheb/jenkins,tastatur/jenkins,chbiel/jenkins,kzantow/jenkins,dariver/jenkins,Krasnyanskiy/jenkins,damianszczepanik/jenkins,mattclark/jenkins,scoheb/jenkins,lordofthejars/jenkins,maikeffi/hudson,lvotypko/jenkins3,ikedam/jenkins,jzjzjzj/jenkins,pau...
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
core/src/main/java/hudson/slaves/Channels.java
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
bug fix git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@17093 71c3de6d-444a-0410-be80-ed276b4c234a
core/src/main/java/hudson/slaves/Channels.java
bug fix
<ide><path>ore/src/main/java/hudson/slaves/Channels.java <ide> <ide> ArgumentListBuilder args = new ArgumentListBuilder(); <ide> args.add(new File(System.getProperty("java.home"),"bin/java")); <del> args.add("-jar").add(Which.jarFile(Channel.class)); <ide> if(systemProperties!=null) <ide...
Java
apache-2.0
da3f8c20ae3511d55b6c2d619a1183819269efe5
0
attatrol/Orekit,liscju/Orekit,attatrol/Orekit,liscju/Orekit
/* Copyright 2002-2015 CS Systèmes d'Information * Licensed to CS Systèmes d'Information (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Versi...
src/main/java/org/orekit/propagation/semianalytical/dsst/forces/DSSTThirdBody.java
/* Copyright 2002-2015 CS Systèmes d'Information * Licensed to CS Systèmes d'Information (CS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * CS licenses this file to You under the Apache License, Versi...
waste whitespace deleted
src/main/java/org/orekit/propagation/semianalytical/dsst/forces/DSSTThirdBody.java
waste whitespace deleted
<ide><path>rc/main/java/org/orekit/propagation/semianalytical/dsst/forces/DSSTThirdBody.java <ide> // the factorial ratio coefficient or 1. if |s| <= |j| <ide> double factCoef; <ide> if (absS > absJ) { <del> factCoef = (fact[n + s] / fact[n + j]) * (fact[n - s] / fact ...
Java
apache-2.0
137e58b9f28817a08ff91efc840a90b861430183
0
JohannesKlug/hbird,JohannesKlug/hbird
package org.hbird.application.halcyon; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.core.MediaType; import org.hbird.application.commanding.interfaces.processing.CommandAcceptor; import org.hbird.application.halcyon.osgi.OsgiReady; import org.hbird.core.commons.tmt...
src/application/halcyon/src/main/java/org/hbird/application/halcyon/CommandingResource.java
package org.hbird.application.halcyon; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.core.MediaType; import org.hbird.application.commanding.interfaces.processing.Commanding; import org.hbird.application.halcyon.osgi.OsgiReady; import org.hbird.core.commons.tmtc.Com...
Refactored commanding interface names.
src/application/halcyon/src/main/java/org/hbird/application/halcyon/CommandingResource.java
Refactored commanding interface names.
<ide><path>rc/application/halcyon/src/main/java/org/hbird/application/halcyon/CommandingResource.java <ide> import javax.ws.rs.Path; <ide> import javax.ws.rs.core.MediaType; <ide> <del>import org.hbird.application.commanding.interfaces.processing.Commanding; <add>import org.hbird.application.commanding.interfaces.proc...
Java
mit
165b618923f737347160d37958c0ee3f7363ae55
0
OpenMods/OpenPeripheral-Addons
package openperipheral.addons.sensors; import java.util.List; import java.util.Map; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.item.EntityMinecart; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.uti...
src/openperipheral/addons/sensors/AdapterSensor.java
package openperipheral.addons.sensors; import java.util.List; import java.util.Map; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.item.EntityMinecart; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.uti...
fixing #25 no longer fails
src/openperipheral/addons/sensors/AdapterSensor.java
fixing #25 no longer fails
<ide><path>rc/openperipheral/addons/sensors/AdapterSensor.java <ide> return AxisAlignedBB.getAABBPool().getAABB(location.posX, location.posY, location.posZ, location.posX + 1, location.posY + 1, location.posZ + 1).expand(range, range, range); <ide> } <ide> <del> private static List<Integer> listEntities(ISensorEnvi...
Java
apache-2.0
bff27af75e0ef240ad576d602819ac972e434e5d
0
UniTime/unitime,UniTime/unitime,maciej-zygmunt/unitime,maciej-zygmunt/unitime,maciej-zygmunt/unitime,UniTime/unitime
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
JavaSource/org/unitime/timetable/gwt/client/sectioning/StudentSectioningWidget.java
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
Student Scheduling Assistant: Teaching Assignments - ignore teaching assignments when checking for changes - this is to avoid the "you have made some changes in your schedule", when teaching assignments are shown
JavaSource/org/unitime/timetable/gwt/client/sectioning/StudentSectioningWidget.java
Student Scheduling Assistant: Teaching Assignments
<ide><path>avaSource/org/unitime/timetable/gwt/client/sectioning/StudentSectioningWidget.java <ide> return; <ide> if (!iScheduleChanged || MESSAGES.warnScheduleChangedOnCourseRequest().equals(iStatus.getMessage())) { <ide> courses: for (ClassAssignmentInterface.CourseAssignment course: iLastAssignment.get...
JavaScript
mit
a698c894aa3d1e7dd13c97550452c48b49feb262
0
serprex/openEtG,serprex/openEtG
"use strict"; var lastmove = 0; document.addEventListener("mousemove", function(e){ var now = Date.now(); if (now - this.lastmove < 16){ e.stopPropagation(); return; } this.lastmove = now; }); var gfx = require("./gfx"); var etg = require("./etg"); var ui = require("./uiutil"); var Cards = require("./Cards"); v...
px.js
"use strict"; var lastmove = 0; document.addEventListener("mousemove", function(e){ var now = Date.now(); if (now - this.lastmove < 16){ e.stopPropagation(); return; } this.lastmove = now; }); var gfx = require("./gfx"); var etg = require("./etg"); var ui = require("./uiutil"); var Cards = require("./Cards"); v...
mkView hitArea typo
px.js
mkView hitArea typo
<ide><path>x.js <ide> var view = new PIXI.Container(); <ide> view.interactive = true; <ide> if (mouseover){ <del> view.hitArea = new PIXI.math.Rectangle(0, 0, 600, 900); <add> view.hitArea = new PIXI.math.Rectangle(0, 0, 900, 600); <ide> view.mouseover = mouseover; <ide> } <ide> return view;
Java
mit
8a449dc14abaf1330cac9cbd9a6b7d04d2bd4495
0
angelbirth/icpc
import java.util.Scanner; import java.io.BufferedReader; import java.io.InputStreamReader; public class Alay { public static void main(String[] args) { Scanner s = new Scanner(System.in); int n = s.nextInt(); int[] seeds = new int[n]; for (int i = 0; i < n; i++) { seeds[i] = s.nextInt(); } ...
ICPC/src/Alay.java
import java.util.Scanner; import java.io.BufferedReader; import java.io.InputStreamReader; public class Alay{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int n=s.nextInt(); int[] seeds=new int[n]; for(int i=0;i<n;i++){ seeds[i]=s.nextInt(); } String text; Stri...
Modified Alay
ICPC/src/Alay.java
Modified Alay
<ide><path>CPC/src/Alay.java <ide> import java.util.Scanner; <ide> import java.io.BufferedReader; <ide> import java.io.InputStreamReader; <del>public class Alay{ <del> public static void main(String[] args){ <del> Scanner s=new Scanner(System.in); <del> int n=s.nextInt(); <del> int[] seeds=new int[n]; <del> for(int...
Java
apache-2.0
c1a758c016fa43b857eaf996c5a52f990aa2140c
0
lasanthafdo/carbon-event-processing,keizer619/carbon-event-processing,lasanthafdo/carbon-event-processing,sacjaya/carbon-event-processing,ayyoob/carbon-event-processing,wso2/carbon-event-processing,ravihansa3000/carbon-event-processing,sajithshn/carbon-event-processing,ramindu90/carbon-event-processing,tishan89/carbon-...
/* * Copyright (c) 2005-2014, 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/event-processor/org.wso2.carbon.event.processor.ui/src/main/java/org/wso2/carbon/event/processor/ui/UIConstants.java
/* * Copyright (c) 2005-2014, 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...
Improving comment
components/event-processor/org.wso2.carbon.event.processor.ui/src/main/java/org/wso2/carbon/event/processor/ui/UIConstants.java
Improving comment
<ide><path>omponents/event-processor/org.wso2.carbon.event.processor.ui/src/main/java/org/wso2/carbon/event/processor/ui/UIConstants.java <ide> ANNOTATION_TOKEN_CLOSING_BRACKET + SIDDHI_LINE_SEPARATER + <ide> SIDDHI_LINE_SEPARATER + <ide> SIDDHI_LITERAL_BEGIN_MULTI_LINE_COMMENT + <de...
JavaScript
apache-2.0
adb3fd5fba679f63a009ff442a133176f74dafeb
0
AlphaStaxLLC/bigdesk,siye1982/bigdesk,swimmingsand/bigdesk,lukas-vlcek/bigdesk,marsmensch/bigdesk,AlphaStaxLLC/bigdesk,node/bigdesk,marsmensch/bigdesk,crate/bigdesk,AIsaac08/bigdesk,swimmingsand/bigdesk,node/bigdesk,lukas-vlcek/bigdesk,AIsaac08/bigdesk,siye1982/bigdesk
// bigdesk store keeps track of state of clusters var bigdeskStore = new BigdeskStore(); // declare views var clusterHealthView = undefined; var clusterNodesListView = undefined; var connectionNotEstablishedTimeout = undefined; var setupConnectionCheck = function(url) { if (connectionNotEstablishedTimeout == und...
js/bigdeskApp.js
// bigdesk store keeps track of state of clusters var bigdeskStore = new BigdeskStore(); // declare views var clusterHealthView = undefined; var clusterNodesListView = undefined; var connectTo = function(url, refreshInterval, storeSize, dispatcher, callback) { var connectionConfig = { baseUrl: url }; var clu...
make connecting/disconnecting a cluster a little bit more robust
js/bigdeskApp.js
make connecting/disconnecting a cluster a little bit more robust
<ide><path>s/bigdeskApp.js <ide> var clusterHealthView = undefined; <ide> var clusterNodesListView = undefined; <ide> <add>var connectionNotEstablishedTimeout = undefined; <add> <add>var setupConnectionCheck = function(url) { <add> if (connectionNotEstablishedTimeout == undefined) { <add> connectionNotEstabl...
Java
bsd-3-clause
7eb17476f3dd09584878fae8b2af3e614238e4c3
0
asamgir/openspecimen,krishagni/openspecimen,krishagni/openspecimen,asamgir/openspecimen,krishagni/openspecimen,asamgir/openspecimen
/* * $Name: 1.41.2.34 $ * * */ package edu.wustl.catissuecore.util.listener; import java.io.File; import java.sql.Connection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import java.util.Vector; import javax.naming.InitialContext; import javax.ser...
WEB-INF/src/edu/wustl/catissuecore/util/listener/CatissueCoreServletContextListener.java
/* * $Name: 1.41.2.33 $ * * */ package edu.wustl.catissuecore.util.listener; import java.io.File; import java.sql.Connection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TreeMap; import java.util.Vector; import javax.naming.InitialContext; import javax.ser...
changes reverted SVN-Revision: 15691
WEB-INF/src/edu/wustl/catissuecore/util/listener/CatissueCoreServletContextListener.java
changes reverted
<ide><path>EB-INF/src/edu/wustl/catissuecore/util/listener/CatissueCoreServletContextListener.java <ide> /* <del> * $Name: 1.41.2.33 $ <add> * $Name: 1.41.2.34 $ <ide> * <ide> * */ <ide> package edu.wustl.catissuecore.util.listener; <ide> catissueCoreCacheManager.addObjectToCache(AnnotationConstants.COLLE...
Java
mit
e498092117f6c040fcab48f9fbaa09039c040c73
0
GitHubRGI/swagd,GitHubRGI/swagd,GitHubRGI/swagd,GitHubRGI/swagd
package com.rgi.common; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * Created by steven.lander on 10/28/15. */ public class PairTest { @Test public void testNullPair() { final Pair...
Common/test/com/rgi/common/PairTest.java
package com.rgi.common; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Created by steven.lander on 10/28/15. */ public class PairTest { @Test public void testNullPair() { final Pair<String, String> stringPair1 = new Pair<>(null, null); final Pair<String, Strin...
add most test cases for Pair, if not all
Common/test/com/rgi/common/PairTest.java
add most test cases for Pair, if not all
<ide><path>ommon/test/com/rgi/common/PairTest.java <ide> import org.junit.Test; <ide> <ide> import static org.junit.Assert.assertEquals; <add>import static org.junit.Assert.assertFalse; <add>import static org.junit.Assert.assertTrue; <ide> <ide> /** <ide> * Created by steven.lander on 10/28/15. <ide> public void...
Java
apache-2.0
c8c6cef5c3c553aea306de6117cbcad34a110cfe
0
silent-nischal/AnimatedExpandableListView,ritesh24/AnimatedExpandableListView,lsurvila/AnimatedExpandableListView,doomtrooper/AnimatedExpandableListView,idunnololz/AnimatedExpandableListView
package com.idunnololz.widgets; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.util.Log; import android.util.SparseArray; import android.view.View; import and...
src/com/idunnololz/widgets/AnimatedExpandableListView.java
package com.idunnololz.widgets; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.util.SparseArray; import android.view.View; import android.view.ViewGroup; impo...
Fix issue where collapse animation is really slow
src/com/idunnololz/widgets/AnimatedExpandableListView.java
Fix issue where collapse animation is really slow
<ide><path>rc/com/idunnololz/widgets/AnimatedExpandableListView.java <ide> import android.graphics.Canvas; <ide> import android.graphics.drawable.Drawable; <ide> import android.util.AttributeSet; <add>import android.util.Log; <ide> import android.util.SparseArray; <ide> import android.view.View; <ide> import android.vi...
Java
lgpl-2.1
097b519b33467ab52a0bc3e737b70e1b73d0e2a5
0
zachcp/biojava,heuermh/biojava,fionakim/biojava,heuermh/biojava,andreasprlic/biojava,emckee2006/biojava,andreasprlic/biojava,pwrose/biojava,sbliven/biojava-sbliven,pwrose/biojava,lafita/biojava,zachcp/biojava,pwrose/biojava,fionakim/biojava,JolantaWojcik/biojavaOwn,biojava/biojava,JolantaWojcik/biojavaOwn,emckee2006/bi...
package org.biojava.bio.structure.scop; import java.io.Serializable; import java.io.StringWriter; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; i...
biojava3-structure/src/main/java/org/biojava/bio/structure/scop/ScopDomain.java
package org.biojava.bio.structure.scop; import java.io.Serializable; import java.io.StringWriter; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; /** Container for the information for a domain. ...
New getChains() method.
biojava3-structure/src/main/java/org/biojava/bio/structure/scop/ScopDomain.java
New getChains() method.
<ide><path>iojava3-structure/src/main/java/org/biojava/bio/structure/scop/ScopDomain.java <ide> <ide> import java.io.Serializable; <ide> import java.io.StringWriter; <add>import java.util.HashSet; <ide> import java.util.List; <add>import java.util.Set; <ide> <ide> import javax.xml.bind.annotation.XmlAccessType; <ide>...
Java
epl-1.0
dcd6db145a1aa38349bd4f3f805f78c87bade02e
0
debrief/limpet,debrief/limpet,debrief/limpet
/******************************************************************************* * Copyright (c) 2017 Deep Blue C Technology Ltd, and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
info.limpet/src/info/limpet/operations/arithmetic/InterpolatedMaths.java
/******************************************************************************* * Copyright (c) 2017 Deep Blue C Technology Ltd, and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
hotfix - minor tidying
info.limpet/src/info/limpet/operations/arithmetic/InterpolatedMaths.java
hotfix - minor tidying
<ide><path>nfo.limpet/src/info/limpet/operations/arithmetic/InterpolatedMaths.java <ide> else <ide> { <ide> // we couldn't load the dataset <del> throw new RuntimeException("We were unable to load the axis dataset"); <add> throw new IllegalArgumentException("We were unable to load the ...
Java
apache-2.0
ee92dc29460bafc98da48b7a43a6f017c6f2ed5a
0
jandockx/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandppw/ppwcode...
/*<license> Copyright 2004 - $Date$ by PeopleWare n.v.. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
java/vernacular/exception/trunk/src/main/java/org/ppwcode/vernacular/exception_III/ApplicationException.java
/*<license> Copyright 2004 - $Date$ by PeopleWare n.v.. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
fixed little bug
java/vernacular/exception/trunk/src/main/java/org/ppwcode/vernacular/exception_III/ApplicationException.java
fixed little bug
<ide><path>ava/vernacular/exception/trunk/src/main/java/org/ppwcode/vernacular/exception_III/ApplicationException.java <ide> @MethodContract( <ide> post = @Expression("result ? (_other != null) && (_other.class = class) && " + <ide> "(message == _other.message) && (cause == _other.cause) &&...
Java
mit
2f962738a71102fdfd1fbee03522241207e7bd0e
0
asavonic/DotsBoxes,asavonic/DotsBoxes
package dotsboxes.gui; import java.awt.EventQueue; import javax.swing.*; import dotsboxes.gui.Field; import java.awt.*; import java.awt.geom.*; import dotsboxes.callbacks.EventCallback; import dotsboxes.events.EventType; import dotsboxes.events.GameTurnEvent; import dotsboxes.game.TurnDesc; import dotsboxes.utils.D...
src/dotsboxes/gui/GUI.java
package dotsboxes.gui; import java.awt.EventQueue; import javax.swing.*; import dotsboxes.gui.Field; import java.awt.*; import java.awt.geom.*; import dotsboxes.callbacks.EventCallback; import dotsboxes.events.EventType; import dotsboxes.events.GameTurnEvent; import dotsboxes.game.TurnDesc; import dotsboxes.utils.D...
Changed call NewAnonimEvent to NewEvent in GUI.java.
src/dotsboxes/gui/GUI.java
Changed call NewAnonimEvent to NewEvent in GUI.java.
<ide><path>rc/dotsboxes/gui/GUI.java <ide> public JFrame m_frame = new JFrame(); <ide> <ide> public GUI() { <add> m_this = this; <ide> initialize(); <ide> } <ide> <ide> Panel Menu = new Panel(); <ide> Field Field = new Field(m_frame); <ide> Panel Config = new Panel(); <add> GUI m_this; <ide> <ide> public ...
Java
apache-2.0
1696cab0643c18ce9bfd73b62f8be325db437a67
0
sktoo/timetabling-system-,UniTime/unitime,UniTime/unitime,nikeshmhr/unitime,sktoo/timetabling-system-,zuzanamullerova/unitime,sktoo/timetabling-system-,nikeshmhr/unitime,UniTime/unitime,maciej-zygmunt/unitime,zuzanamullerova/unitime,maciej-zygmunt/unitime,rafati/unitime,zuzanamullerova/unitime,nikeshmhr/unitime,rafati/...
/* * UniTime 3.4 (University Timetabling Application) * Copyright (C) 2012, UniTime LLC, and individual contributors * as indicated by the @authors tag. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
JavaSource/org/unitime/timetable/security/permissions/AdministrationPermissions.java
/* * UniTime 3.4 (University Timetabling Application) * Copyright (C) 2012, UniTime LLC, and individual contributors * as indicated by the @authors tag. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
Edit Subject Area - do not allow a department to be changed if there is a solution (any solution, not just a committed one)
JavaSource/org/unitime/timetable/security/permissions/AdministrationPermissions.java
Edit Subject Area - do not allow a department to be changed if there is a solution (any solution, not just a committed one)
<ide><path>avaSource/org/unitime/timetable/security/permissions/AdministrationPermissions.java <ide> if (!super.check(user, source)) return false; <ide> <ide> return !source.hasOfferedCourses() || source.getDepartment() == null || source.getDepartment().getSolverGroup() == null || <del> source.getDepartme...
Java
bsd-3-clause
e0b31aa00159a3e33505c8afafb526d8c9b221d9
0
ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone
/* Copyright (C) 2005-2011 Fabio Riccardi */ /* Copyright (C) 2016- Masahiro Kitagawa */ package com.lightcrafts.platform; import com.lightcrafts.image.color.ColorProfileInfo; import com.lightcrafts.utils.Version; import com.lightcrafts.utils.directory.DirectoryMonitor; import com.lightcrafts.utils.directory.Unix...
lightcrafts/src/com/lightcrafts/platform/Platform.java
/* Copyright (C) 2005-2011 Fabio Riccardi */ /* Copyright (C) 2016- Masahiro Kitagawa */ package com.lightcrafts.platform; import com.lightcrafts.image.color.ColorProfileInfo; import com.lightcrafts.utils.Version; import com.lightcrafts.utils.directory.DirectoryMonitor; import com.lightcrafts.utils.directory.Unix...
Check Https too for Internet connection because InetAddress#isReachable only use port 7, it often return false.
lightcrafts/src/com/lightcrafts/platform/Platform.java
Check Https too for Internet connection
<ide><path>ightcrafts/src/com/lightcrafts/platform/Platform.java <ide> import java.io.IOException; <ide> import java.lang.management.ManagementFactory; <ide> import java.net.InetAddress; <add>import java.net.URL; <add>import java.net.URLConnection; <ide> import java.nio.file.Files; <ide> import java.nio.file.LinkOption...
JavaScript
mit
ace8e94d80e5b7cbeb93f1267c1f9a03ae284eae
0
Step7750/ScheduleStorm,Step7750/ScheduleStorm
class ClassList { constructor(uni, term) { this.baseURL = "http://api.schedulestorm.com:5000/v1/"; this.detailKeys = ["prereq", "coreq", "antireq", "notes"]; this.uni = uni; this.term = term; window.term = term; window.uni = uni; // we want to save the term ...
js/ClassList.js
class ClassList { constructor(uni, term) { this.baseURL = "http://api.schedulestorm.com:5000/v1/"; this.detailKeys = ["prereq", "coreq", "antireq", "notes"]; this.uni = uni; this.term = term; window.term = term; window.uni = uni; // we want to save the term ...
Fixes Prepending Subject to Uni without Faculties This is only applicable to searching.
js/ClassList.js
Fixes Prepending Subject to Uni without Faculties
<ide><path>s/ClassList.js <ide> var searchkey = key; <ide> <ide> // Add the subject to a course num if we can (231 = CPSC 231) <del> if (depth == 2) { <add> if (data[key]["classes"] != null) { <ide> splitpath = thispa...
Java
apache-2.0
caaa92fb0446d23df0efd92f9591d447d04de40a
0
jiripetrlik/drools,jomarko/drools,sotty/drools,sutaakar/drools,psiroky/drools,kevinpeterson/drools,liupugong/drools,mrrodriguez/drools,292388900/drools,manstis/drools,ngs-mtech/drools,jiripetrlik/drools,psiroky/drools,ThiagoGarciaAlves/drools,OnePaaS/drools,kedzie/drools-android,droolsjbpm/drools,TonnyFeng/drools,kevin...
package org.drools.marshalling.impl; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import org.dro...
drools-core/src/main/java/org/drools/marshalling/impl/AbstractProcessInstanceMarshaller.java
package org.drools.marshalling.impl; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import org.dro...
bug fix, swimlanes in writeProcessInstance git-svn-id: a243bed356d289ca0d1b6d299a0597bdc4ecaa09@25892 c60d74c8-e8f6-0310-9e8f-d4a2fc68ab70
drools-core/src/main/java/org/drools/marshalling/impl/AbstractProcessInstanceMarshaller.java
bug fix, swimlanes in writeProcessInstance
<ide><path>rools-core/src/main/java/org/drools/marshalling/impl/AbstractProcessInstanceMarshaller.java <ide> stream.writeUTF(entry.getKey()); <ide> stream.writeUTF(entry.getValue()); <ide> } <del> } <add> }else{ <add> stream.writeInt(0); <add> } <ide> List<NodeInstance> nodeInstances = ...
JavaScript
apache-2.0
6176e73cec0de2e48ab5abdaeb1f839c39261679
0
ravihansa3000/carbon-event-processing,dilini-muthumala/carbon-event-processing,ksdperera/carbon-event-processing,ksdperera/carbon-event-processing,thiliA/carbon-event-processing,tishan89/carbon-event-processing,mohanvive/carbon-event-processing,ksdperera/carbon-event-processing,thiliA/carbon-event-processing,rajeev3001...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/js/execution_plans.js
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
Adding delete verification message
components/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/js/execution_plans.js
Adding delete verification message
<ide><path>omponents/event-processor/org.wso2.carbon.event.processor.ui/src/main/resources/web/eventprocessor/js/execution_plans.js <ide> var TRACE = "Tracing"; <ide> <ide> function doDelete(executionPlanName) { <del> var theform = document.getElementById('deleteForm'); <del> theform.executionPlan.value = execut...
Java
mit
c4c59ff0cedd7210007f217db0e1ccbae71284df
0
OpenMods/OpenPeripheral
package openperipheral.core.item; import java.lang.reflect.Array; import java.util.Arrays; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.C...
src/openperipheral/core/item/MetaGeneric.java
package openperipheral.core.item; import java.util.Arrays; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.CraftingManager; import net.minec...
temp hack fix for recipes
src/openperipheral/core/item/MetaGeneric.java
temp hack fix for recipes
<ide><path>rc/openperipheral/core/item/MetaGeneric.java <ide> package openperipheral.core.item; <ide> <add>import java.lang.reflect.Array; <ide> import java.util.Arrays; <ide> <ide> import net.minecraft.client.renderer.texture.IconRegister; <ide> private Icon icon; <ide> private Object[][] recipes; <ide> <del> pub...
Java
apache-2.0
87c3939bc2874dcce0b8e8e209c9e41fbe4e8fd3
0
spotify/styx,spotify/styx,spotify/styx
/*- * -\-\- * Spotify Styx Common * -- * Copyright (C) 2016 - 2017 Spotify AB * -- * 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...
styx-common/src/test/java/com/spotify/styx/util/TimeUtilTest.java
/*- * -\-\- * Spotify Styx Common * -- * Copyright (C) 2016 - 2017 Spotify AB * -- * 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...
test cron schedule
styx-common/src/test/java/com/spotify/styx/util/TimeUtilTest.java
test cron schedule
<ide><path>tyx-common/src/test/java/com/spotify/styx/util/TimeUtilTest.java <ide> <ide> @Rule <ide> public ExpectedException expect = ExpectedException.none(); <add> public static final Schedule EVERY_5_MINUTES = Schedule.parse("*/5 * * * *"); <ide> <ide> @Test <ide> public void shouldGetLastInstant() { <ide...
Java
apache-2.0
84458e9d6bfca9ed9cce685622c94831f8e2176d
0
vrnithinkumar/concourse,JerJohn15/concourse,dubex/concourse,hcuffy/concourse,bigtreeljc/concourse,bigtreeljc/concourse,aabdin01/concourse,JerJohn15/concourse,cinchapi/concourse,hcuffy/concourse,chiranjeevjain/concourse,chiranjeevjain/concourse,kylycht/concourse,kylycht/concourse,savanibharat/concourse,Qunzer/concourse,...
/* * Copyright (c) 2013-2015 Cinchapi, 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...
concourse-server/src/main/java/org/cinchapi/concourse/server/http/routers/IndexRouter.java
/* * Copyright (c) 2013-2015 Cinchapi, 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...
Defined Endpoint for audit and chronologize method
concourse-server/src/main/java/org/cinchapi/concourse/server/http/routers/IndexRouter.java
Defined Endpoint for audit and chronologize method
<ide><path>oncourse-server/src/main/java/org/cinchapi/concourse/server/http/routers/IndexRouter.java <ide> package org.cinchapi.concourse.server.http.routers; <ide> <ide> import java.nio.ByteBuffer; <add>import java.util.ArrayList; <ide> import java.util.List; <ide> import java.util.Set; <ide> <ide> import org.cincha...
Java
agpl-3.0
983bc606a4507231c0a42481023e727ef4008835
0
Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge
/* Copyright (C) 2017-2018 Andreas Shimokawa, Carsten Pfeiffer This file is part of Gadgetbridge. Gadgetbridge is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lice...
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbip/AmazfitBipFirmwareInfo.java
/* Copyright (C) 2017-2018 Andreas Shimokawa, Carsten Pfeiffer This file is part of Gadgetbridge. Gadgetbridge is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lice...
Amazfit Bip: Allow flashing latest (beta?) GPS firmware Closes #1358
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbip/AmazfitBipFirmwareInfo.java
Amazfit Bip: Allow flashing latest (beta?) GPS firmware
<ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbip/AmazfitBipFirmwareInfo.java <ide> <ide> public class AmazfitBipFirmwareInfo extends HuamiFirmwareInfo { <ide> // gps detection is totally bogus, just the first 16 bytes <del> private static final byte[] GPS_HEADER ...
Java
apache-2.0
132bef1efbb7377fe5bbb06a12bf430f8d756065
0
yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,derekhiggins/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,raksha-rao/gluster-ovirt,walteryang47/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt...
package org.ovirt.engine.core.common.queries; import org.ovirt.engine.core.compat.Guid; public class VdsIdParametersBase extends VdcQueryParametersBase { private static final long serialVersionUID = -232268659060166995L; private Guid vdsId; public VdsIdParametersBase() { } public VdsIdParameter...
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdsIdParametersBase.java
package org.ovirt.engine.core.common.queries; import org.ovirt.engine.core.compat.*; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.NONE) @XmlType(na...
backend: Minor code clean-up for VdsIdParametersBase Organize the VdsIdParametersBase class and remove C# related annotations. Change-Id: I0a8faa7fc6997d3a0d4f310deda77536849129e2
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdsIdParametersBase.java
backend: Minor code clean-up for VdsIdParametersBase
<ide><path>ackend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdsIdParametersBase.java <ide> package org.ovirt.engine.core.common.queries; <ide> <del>import org.ovirt.engine.core.compat.*; <del>import javax.xml.bind.annotation.XmlElement; <del>import javax.xml.bind.annotation.XmlAccessTyp...
Java
bsd-3-clause
6bcf051e287a8a4b4b9e89fd6467b1f50909a7f8
0
MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2,MjAbuz/carrot2
/* * Carrot2 project. * * Copyright (C) 2002-2010, Dawid Weiss, Stanisław Osiński. * All rights reserved. * * Refer to the full license file "carrot2.LICENSE" * in the root folder of the repository checkout or at: * http://www.carrot2.org/carrot2.LICENSE */ package org.carrot2.text.preprocessing; import jav...
core/carrot2-util-text/src/org/carrot2/text/preprocessing/PhraseExtractor.java
/* * Carrot2 project. * * Copyright (C) 2002-2010, Dawid Weiss, Stanisław Osiński. * All rights reserved. * * Refer to the full license file "carrot2.LICENSE" * in the root folder of the repository checkout or at: * http://www.carrot2.org/carrot2.LICENSE */ package org.carrot2.text.preprocessing; import jav...
http://issues.carrot2.org/browse/CARROT-681 Regresssion bug introduced while refactoring. Fixed. git-svn-id: 659eb10424342cea22344621e2d2cbd98ef34d09@4329 7ff1d41c-760d-0410-a7ff-a3a56f310b35
core/carrot2-util-text/src/org/carrot2/text/preprocessing/PhraseExtractor.java
http://issues.carrot2.org/browse/CARROT-681
<ide><path>ore/carrot2-util-text/src/org/carrot2/text/preprocessing/PhraseExtractor.java <ide> int totalPhraseTf = rcs.get(0).frequency; <ide> Substring mostFrequentOriginal = rcs.get(0); <ide> IntIntOpenHashMap phraseTfByDocument = new IntIntOpenHashMap(); <add> phraseTfB...
JavaScript
mpl-2.0
0ae71e68c0020c7d000eb204dfa2cdd99fe758e6
0
bakulf/testpilot-containers,jonathanKingston/testpilot-containers,bakulf/testpilot-containers,jonathanKingston/testpilot-containers,jonathanKingston/testpilot-containers,bakulf/testpilot-containers
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; const DEFAULT_TAB = "about:newtab"...
index.js
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; const DEFAULT_TAB = "about:newtab"...
fix #174: remove add-on containers on uninstall
index.js
fix #174: remove add-on containers on uninstall
<ide><path>ndex.js <ide> // uninstallation. This object contains also a version number, in case we <ide> // need to implement a migration in the future. <ide> if (installation) { <add> let preInstalledIdentities = []; // eslint-disable-line prefer-const <add> ContextualIdentityService.getIdentitie...
Java
apache-2.0
30c19de7e08e4fc0f6594f563b3e9d38233c35cf
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
/* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
src/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java
/* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Javadoc git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@3190 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
src/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java
Javadoc
<ide><path>rc/org/springframework/aop/interceptor/ExposeInvocationInterceptor.java <ide> <ide> /** <ide> * Interceptor that exposes the current MethodInvocation. <add> * We occasionally need to do this--for example, when a pointcut <add> * or target object needs to know the Invocation context. <add> * <br>Don't use t...
Java
bsd-3-clause
error: pathspec 'src/edu/cmu/minorthird/text/util/SimpleTextLoader.java' did not match any file(s) known to git
8f5f61d8c6f15674f8f4bf1a066fa2aad32b6547
1
TeamCohen/MinorThird,TeamCohen/MinorThird,TeamCohen/MinorThird,TeamCohen/MinorThird,TeamCohen/MinorThird
package edu.cmu.minorthird.text.util; import edu.cmu.minorthird.util.Loader; import edu.cmu.minorthird.text.*; import java.io.File; import org.apache.log4j.Logger; /** * A no options loader. * It checks the given file/string and does one of two things: * 1) if Directory - load each file as a document assuming t...
src/edu/cmu/minorthird/text/util/SimpleTextLoader.java
SimpleTextLoader - one line to get TextLabels
src/edu/cmu/minorthird/text/util/SimpleTextLoader.java
SimpleTextLoader - one line to get TextLabels
<ide><path>rc/edu/cmu/minorthird/text/util/SimpleTextLoader.java <add>package edu.cmu.minorthird.text.util; <add> <add>import edu.cmu.minorthird.util.Loader; <add>import edu.cmu.minorthird.text.*; <add> <add>import java.io.File; <add> <add>import org.apache.log4j.Logger; <add> <add>/** <add> * A no options loader. <add...
Java
apache-2.0
c6944d8d34274dfab493954bebfacb25a06535a5
0
ShailShah/alluxio,WilliamZapata/alluxio,jswudi/alluxio,riversand963/alluxio,PasaLab/tachyon,wwjiang007/alluxio,riversand963/alluxio,wwjiang007/alluxio,WilliamZapata/alluxio,WilliamZapata/alluxio,calvinjia/tachyon,yuluo-ding/alluxio,wwjiang007/alluxio,Reidddddd/alluxio,bf8086/alluxio,maobaolong/alluxio,EvilMcJerkface/al...
/* * Licensed to the University of California, Berkeley 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 no...
servers/src/main/java/tachyon/worker/file/FileDataManager.java
/* * Licensed to the University of California, Berkeley 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 no...
Addressed gene's comments
servers/src/main/java/tachyon/worker/file/FileDataManager.java
Addressed gene's comments
<ide><path>ervers/src/main/java/tachyon/worker/file/FileDataManager.java <ide> import java.nio.channels.Channels; <ide> import java.nio.channels.ReadableByteChannel; <ide> import java.nio.channels.WritableByteChannel; <add>import java.util.ArrayList; <ide> import java.util.List; <ide> import java.util.Map; <ide> <ide>...
JavaScript
apache-2.0
1fce809092d09399c35f7ae908ce0b028664103b
0
onyxrev/currentsee
const os = require("os"); const fs = require("fs"); let config = {}; const configFileName = ".currentsee"; if (fs.existsSync(`${os.homedir()}/${configFileName}`)) { config = JSON.parse(fs.readFileSync(`${os.homedir()}/${configFileName}`, 'utf8')); } config.maxHistory = config.maxHistory || 30; config.fiatCurrency...
config.js
const config = require("./config.json"); config.columns = config.columns || [ ["Symbol", "symbol"], ["Price", "price"], ["Change", "stats_delta_display"], ["Histogram", "stats_histogram"] ]; config.updateInterval = config.updateInterval || 300; // seconds config.dataSource = config.dataSource || "crypto_compa...
support config file in home directory
config.js
support config file in home directory
<ide><path>onfig.js <del>const config = require("./config.json"); <add>const os = require("os"); <add>const fs = require("fs"); <add> <add>let config = {}; <add>const configFileName = ".currentsee"; <add> <add>if (fs.existsSync(`${os.homedir()}/${configFileName}`)) { <add> config = JSON.parse(fs.readFileSync(`${os.hom...
Java
mit
3d45309a621960673bcec1cc80454e819bb7f475
0
student-capture/student-capture
package studentcapture.datalayer.database; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataAccessException; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.IncorrectResultSizeDataAccessException; import org.springframework...
src/main/java/studentcapture/datalayer/database/User.java
package studentcapture.datalayer.database; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataAccessException; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.dao.IncorrectResultSizeDataAccessException; import org.springframework...
Typo in Javadoc Removed unneccessary array initializers when passed as a varargs argument
src/main/java/studentcapture/datalayer/database/User.java
Typo in Javadoc
<ide><path>rc/main/java/studentcapture/datalayer/database/User.java <ide> /** <ide> * Returns a list with info of a user. <ide> * <del> * @param casID unique identifier for a person <add> * @param userID unique identifier for a person <ide> * @return The list with info of a p...
JavaScript
apache-2.0
ee79bd285b549b91ee4b24e44a9a6af5d2f25e06
0
projecttacoma/cql_qdm_patientapi,projecttacoma/cql_qdm_patientapi,projecttacoma/cql_qdm_patientapi
/** * no_asset_compression **/ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t...
vendor/assets/javascripts/cql4browsers.js
/** * no_asset_compression **/ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t...
updated cql4browsers.js with bonnie-v1.3_updates@c6b4cc2
vendor/assets/javascripts/cql4browsers.js
updated cql4browsers.js with bonnie-v1.3_updates@c6b4cc2
<ide><path>endor/assets/javascripts/cql4browsers.js <ide> },{"./clinical":5,"./datetime":7,"./interval":9,"./logic":10,"./uncertainty":11}],7:[function(require,module,exports){ <ide> // Generated by CoffeeScript 1.12.7 <ide> (function() { <del> var Date, DateTime, Uncertainty, cqlFormatStringToMomentFormatString, days...
JavaScript
mit
d43c00598a2c397e2e30ba15099194319ae6d867
0
avwo/whistle,avwo/whistle
var util = require('util'); var path = require('path'); var url = require('url'); var iconv = require('iconv-lite'); var request = require('../util/http-mgr').request; var isUtf8 = require('../util/is-utf8'); var ca = require('../https/ca'); var Storage = require('../rules/storage'); var getServer = require('hagent').c...
lib/plugins/load-plugin.js
var util = require('util'); var path = require('path'); var url = require('url'); var iconv = require('iconv-lite'); var request = require('../util/http-mgr').request; var isUtf8 = require('../util/is-utf8'); var ca = require('../https/ca'); var Storage = require('../rules/storage'); var getServer = require('hagent').c...
refactor: onDisconnected
lib/plugins/load-plugin.js
refactor: onDisconnected
<ide><path>ib/plugins/load-plugin.js <ide> if (req.curReceiveStatus) { <ide> process.nextTick(req.onReceiveStateChange.bind(req)); <ide> } <add> var disconnected; <ide> var emitDisconnect = function(err) { <del> if (req.isDisconnected) { <add> if (disconnected) { <ide> return; <ide> } <add> ...
Java
apache-2.0
4d1992bf84aa4cd87bca2b9392b39dfd1b94ab04
0
opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open
package net.onrc.onos.core.metrics; import com.codahale.metrics.Counter; import com.codahale.metrics.Gauge; import com.codahale.metrics.Histogram; import com.codahale.metrics.Meter; import com.codahale.metrics.Metric; import com.codahale.metrics.MetricFilter; import com.codahale.metrics.MetricRegistry; import com.coda...
src/main/java/net/onrc/onos/core/metrics/OnosMetrics.java
package net.onrc.onos.core.metrics; import com.codahale.metrics.Counter; import com.codahale.metrics.Gauge; import com.codahale.metrics.Histogram; import com.codahale.metrics.Meter; import com.codahale.metrics.Metric; import com.codahale.metrics.MetricFilter; import com.codahale.metrics.MetricRegistry; import com.coda...
Fix checkstyle errors in metrics packages Change-Id: I1f328d7aa252c2834490ac18be06b2f61f26f9b1
src/main/java/net/onrc/onos/core/metrics/OnosMetrics.java
Fix checkstyle errors in metrics packages
<ide><path>rc/main/java/net/onrc/onos/core/metrics/OnosMetrics.java <ide> * caller needs to allocate its own Metric, but still register it with the <ide> * system. <ide> * <add> * @param <T> Metric type <ide> * @param component component the Metric is defined in <ide> * @param feature featu...
Java
apache-2.0
8ffe0666982d3f3e9d376cbc27762f487ea99114
0
bogdandrutu/opencensus-java,sebright/opencensus-java,sebright/instrumentation-java,sebright/opencensus-java,census-instrumentation/opencensus-java,ubschmidt2/instrumentation-java,census-instrumentation/opencensus-java,songy23/instrumentation-java,bogdandrutu/opencensus-java,dinooliva/instrumentation-java,bogdandrutu/in...
/* * Copyright 2016, Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writi...
core/src/test/java/com/google/instrumentation/stats/StatsContextFactoryTest.java
/* * Copyright 2016, Google Inc. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writi...
Modify some test methods to be static according to lint suggestions.
core/src/test/java/com/google/instrumentation/stats/StatsContextFactoryTest.java
Modify some test methods to be static according to lint suggestions.
<ide><path>ore/src/test/java/com/google/instrumentation/stats/StatsContextFactoryTest.java <ide> testDeserialize(new ByteArrayInputStream(new byte[1])); <ide> } <ide> <del> private StatsContext testDeserialize(InputStream inputStream) throws IOException { <add> private static StatsContext testDeserialize(Input...
JavaScript
mit
a13e50dfacce6ab866b4a00b2a75341c878dc64b
0
DDMAL/Neon.js,DDMAL/Neon.js,DDMAL/Neon.js,DDMAL/Neon.js
/* Copyright (C) 2011-2013 by Gregory Burlet, Alastair Porter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
src/nn/squarenote/squarenoteinteraction.js
/* Copyright (C) 2011-2013 by Gregory Burlet, Alastair Porter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
#190 - Incorrect Group Neumify Now the alert will hide itself once a proper group has been created.
src/nn/squarenote/squarenoteinteraction.js
#190 - Incorrect Group Neumify
<ide><path>rc/nn/squarenote/squarenoteinteraction.js <ide> $.post(gui.apiprefix + "/neumify", {data: data}, function (data) { <ide> // set id of the new neume with generated ID from the server <ide> newNeume.id = JSON.parse(data).id; <add> gui.hideAlert(); <ide...
Java
apache-2.0
6f974688002c096517e30ebe0cf853dcf82eb340
0
sjaco002/incubator-asterixdb-hyracks,heriram/incubator-asterixdb,ty1er/incubator-asterixdb,ilovesoup/hyracks,kisskys/incubator-asterixdb,ilovesoup/hyracks,lwhay/hyracks,waans11/incubator-asterixdb,ecarm002/incubator-asterixdb,waans11/incubator-asterixdb,sjaco002/incubator-asterixdb-hyracks,waans11/incubator-asterixdb-h...
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/profiling/IOCounterLinux.java
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
fix the linux io counter
hyracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/profiling/IOCounterLinux.java
fix the linux io counter
<ide><path>yracks/hyracks-control/hyracks-control-nc/src/main/java/edu/uci/ics/hyracks/control/nc/io/profiling/IOCounterLinux.java <ide> try { <ide> long reads = extractColumn(4); <ide> return reads; <del> } catch (Exception e) { <add> } catch (IOException e) { <ide> ...
Java
bsd-2-clause
1a60479b2511f1f11780e3e47c383dfa8c95f19a
0
samynk/DArtE
package dae.animation.bhv; import com.jme3.asset.AssetInfo; import com.jme3.asset.AssetLoader; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.math.Vector3f; import dae.animation.skeleton.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStre...
src/dae/animation/bhv/BHVReader.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package dae.animation.bhv; import com.jme3.asset.AssetInfo; import com.jme3.asset.AssetLoader; import com.jme3.material.Material; import com.jme3.math.ColorRGBA; import com.jme3.math.Vector3f; import dae.anim...
Removed unnecessary comments.
src/dae/animation/bhv/BHVReader.java
Removed unnecessary comments.
<ide><path>rc/dae/animation/bhv/BHVReader.java <del>/* <del> * To change this template, choose Tools | Templates <del> * and open the template in the editor. <del> */ <ide> package dae.animation.bhv; <ide> <ide> import com.jme3.asset.AssetInfo;
Java
apache-2.0
17ab00cde925f3f8b152cf70ced13394fdc26c80
0
threerings/playn,ruslansennov/playn,threerings/playn,ruslansennov/playn,ruslansennov/playn,threerings/playn,threerings/playn
/** * Copyright 2012 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
core/src/playn/core/gl/IndexedTrisShader.java
/** * Copyright 2012 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Workaround a bug in Intel graphics. In IndexedTrisShaders, if we do the various attribute binding up in activate(), Intel cards give broken behavior. To reproduce it, add three layers: 1) An ImageLayer from a CanvasImage (alternately use a SurfaceLayer) 2) An ImageLayer from an assets-sourced Image 3) Another Image...
core/src/playn/core/gl/IndexedTrisShader.java
Workaround a bug in Intel graphics.
<ide><path>ore/src/playn/core/gl/IndexedTrisShader.java <ide> prog.bind(); <ide> uScreenSize.bind(fbufWidth, fbufHeight); <ide> <add> ctx.checkGLError("Shader.prepare bind"); <add> } <add> <add> @Override <add> public void prepare(int tint, boolean justActivated) { <add> this.arTint = (t...
Java
agpl-3.0
bd83a3137a8b5fb20d98f0189093584aaf098749
0
Audiveris/audiveris,Audiveris/audiveris
//----------------------------------------------------------------------------// // // // S c o r e // // ...
src/main/omr/score/Score.java
//----------------------------------------------------------------------------// // // // S c o r e // // ...
Handling of a default tempo value
src/main/omr/score/Score.java
Handling of a default tempo value
<ide><path>rc/main/omr/score/Score.java <ide> // <ide> package omr.score; <ide> <add>import omr.constant.Constant; <add>import omr.constant.ConstantSet; <add> <add>import omr.score.common.PagePoint; <add>import omr.score.common.ScorePoint; <add>import omr.score.common.UnitDimension; <add>import omr.score.entity.ScoreN...
Java
apache-2.0
48c551bd64e708b980d8e41f415efd3dc68d517c
0
jcuenod/brainrot
package jcuenod.brainrot; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.nio.channels.FileChannel; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import android.content.ContentValues; import android.content.Context; import andro...
BrainRot/src/jcuenod/brainrot/DBHelper.java
package jcuenod.brainrot; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.nio.channels.FileChannel; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.TreeMap; import j...
Removed unused imports
BrainRot/src/jcuenod/brainrot/DBHelper.java
Removed unused imports
<ide><path>rainRot/src/jcuenod/brainrot/DBHelper.java <ide> import java.text.SimpleDateFormat; <ide> import java.util.ArrayList; <ide> import java.util.Date; <del>import java.util.HashMap; <del>import java.util.Map; <del>import java.util.TreeMap; <del> <del>import jcuenod.brainrot.Statistics.ScatterChartCoords; <del>im...
Java
apache-2.0
ff0e14f366a9f5e5a8a5357817ea4c7c3c8b2e74
0
antlibs/ant-contrib
/* * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
src/main/java/net/sf/antcontrib/property/SortList.java
/* * Copyright (c) 2001-2004 Ant-Contrib project. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Use Double.compare()
src/main/java/net/sf/antcontrib/property/SortList.java
Use Double.compare()
<ide><path>rc/main/java/net/sf/antcontrib/property/SortList.java <ide> int res = 0; <ide> <ide> if (numeric) { <del> double d1 = Double.parseDouble(s1); <del> double d2 = Double.parseDouble(s2); <del> res = (d1 < d2) ? -1 : (d1 == d2) ? 0 : 1; <add> res = Dou...
Java
apache-2.0
ebc71682ebb53d375578c8028bcb67a26d63ede4
0
unratito/ceylon.language,ceylon/ceylon.language,ceylon/ceylon.language,unratito/ceylon.language
package com.redhat.ceylon.compiler.java.runtime.metamodel; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.lang.reflect.Constructor; import java.lang.reflect.Member; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import j...
runtime/com/redhat/ceylon/compiler/java/runtime/metamodel/ConstructorDispatch.java
package com.redhat.ceylon.compiler.java.runtime.metamodel; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.invoke.MethodType; import java.lang.reflect.Constructor; import java.lang.reflect.Member; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import j...
ConstructorDispatch: Fix $call$(Object...)
runtime/com/redhat/ceylon/compiler/java/runtime/metamodel/ConstructorDispatch.java
ConstructorDispatch: Fix $call$(Object...)
<ide><path>untime/com/redhat/ceylon/compiler/java/runtime/metamodel/ConstructorDispatch.java <ide> public Type $call$(Object... args) { <ide> try { <ide> if(firstDefaulted == -1) <del> return (Type)constructor.invokeExact(args); <add> return (Type)constructor.invoke...
Java
apache-2.0
e103c658c41884025a58f62d361f1c38a1451f32
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
package ai.vespa.hosted.cd.http; import ai.vespa.hosted.api.EndpointAuthenticator; import ai.vespa.hosted.cd.Endpoint; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.time.Duration; import java.util.Map;...
tenant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java
package ai.vespa.hosted.cd.http; import ai.vespa.hosted.api.EndpointAuthenticator; import ai.vespa.hosted.cd.Endpoint; import java.io.IOException; import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; import java.time.Duration; import java.util.Map;...
Show request with exception message
tenant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java
Show request with exception message
<ide><path>enant-cd/src/main/java/ai/vespa/hosted/cd/http/HttpEndpoint.java <ide> return client.send(authenticator.authenticated(request).build(), handler); <ide> } <ide> catch (IOException | InterruptedException e) { <del> throw new RuntimeException(e); <add> throw new...
Java
lgpl-2.1
103cfd07706b6f7c55c41edcdec0a753ab517ec1
0
RomanHargrave/cuelib
/* * Cuelib library for manipulating cue sheets. * Copyright (C) 2008 Jan-Willem van den Broek * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
src/jwbroek/cuelib/CueSheetSerializer.java
/* * Cuelib library for manipulating cue sheets. * Copyright (C) 2008 Jan-Willem van den Broek * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
Small javadoc addition.
src/jwbroek/cuelib/CueSheetSerializer.java
Small javadoc addition.
<ide><path>rc/jwbroek/cuelib/CueSheetSerializer.java <ide> * of this method is not necessarily identical to the parsed sheet, though it will contain the <ide> * same data. Fields may appear in a different order, whitespace may change, comments may be <ide> * gone, etc. <del> * @param cueSheet <add> * @para...
Java
lgpl-2.1
06ee6e4f36ee4a2ccadbadf305ef3b63045ace24
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * jETeL/CloverETL - Java based ETL application framework. * Copyright (c) Javlin, a.s. (info@cloveretl.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
cloveretl.connection/src/org/jetel/connection/jdbc/SQLIncremental.java
/* * jETeL/CloverETL - Java based ETL application framework. * Copyright (c) Javlin, a.s. (info@cloveretl.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
FIX: CL-2260 DbInputTable: when incremental key is used twice, ArrayIndexOutOfBoundsException is thrown git-svn-id: 0c3331f003cd65fce51c5a16c6c1f4b0bff1e9aa@12248 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.connection/src/org/jetel/connection/jdbc/SQLIncremental.java
FIX: CL-2260 DbInputTable: when incremental key is used twice, ArrayIndexOutOfBoundsException is thrown
<ide><path>loveretl.connection/src/org/jetel/connection/jdbc/SQLIncremental.java <ide> import java.sql.ResultSetMetaData; <ide> import java.sql.SQLException; <ide> import java.sql.Statement; <add>import java.util.ArrayList; <ide> import java.util.Arrays; <ide> import java.util.Iterator; <ide> import java.util.List; <id...
Java
mit
eb334d9794d94bb22dfea435a61f19437ce195f6
0
sake/bouncycastle-java
package org.bouncycastle.x509; import java.io.IOException; import java.math.BigInteger; import java.security.MessageDigest; import java.security.Principal; import org.bouncycastle.jce.cert.CertSelector; import java.security.cert.Certificate; import java.security.cert.CertificateEncodingException; import java.security....
jdk1.3/org/bouncycastle/x509/AttributeCertificateHolder.java
package org.bouncycastle.x509; import java.io.IOException; import java.math.BigInteger; import java.security.MessageDigest; import java.security.Principal; import java.security.cert.CertSelector; import java.security.cert.Certificate; import java.security.cert.CertificateEncodingException; import java.security.cert.Ce...
update
jdk1.3/org/bouncycastle/x509/AttributeCertificateHolder.java
update
<ide><path>dk1.3/org/bouncycastle/x509/AttributeCertificateHolder.java <ide> import java.math.BigInteger; <ide> import java.security.MessageDigest; <ide> import java.security.Principal; <del>import java.security.cert.CertSelector; <add>import org.bouncycastle.jce.cert.CertSelector; <ide> import java.security.cert.Certi...
Java
mit
e3ef1ba67c1949ecc274c97b3263dd5fbbd10628
0
graphql-java/graphql-java,graphql-java/graphql-java
package graphql; import graphql.language.SourceLocation; import java.util.List; /** * The graphql spec says that mutations are optional but it does not specify how to respond * when it is not supported. This error is returned in this case. * * http://facebook.github.io/graphql/#sec-Initial-types */ public cla...
src/main/java/graphql/MutationNotSupportedError.java
package graphql; import graphql.language.SourceLocation; import java.util.List; /** * The graphql spec says that mutations are optional but it does not specify how to respond * when it is not supported. This error is returned in this case. * * http://facebook.github.io/graphql/#sec-Initial-types */ public cla...
Fix typo
src/main/java/graphql/MutationNotSupportedError.java
Fix typo
<ide><path>rc/main/java/graphql/MutationNotSupportedError.java <ide> <ide> @Override <ide> public String getMessage() { <del> return "Mutations are not supported onm this schema"; <add> return "Mutations are not supported on this schema"; <ide> } <ide> <ide> @Override
Java
agpl-3.0
7654c8b1f62e70fb995e0d045596ca6b8a1adbf3
0
ianopolous/Peergos,Peergos/Peergos,Peergos/Peergos,ianopolous/Peergos,Peergos/Peergos,ianopolous/Peergos
package peergos.server; import peergos.server.corenode.*; import peergos.server.mutable.*; import peergos.server.social.*; import peergos.server.util.Args; import peergos.server.util.IpfsWrapper; import peergos.server.util.Logging; import peergos.shared.*; import peergos.shared.cbor.*; import peergos.shared.corenode.*...
src/peergos/server/Main.java
package peergos.server; import org.eclipse.jetty.util.log.Log; import peergos.server.corenode.*; import peergos.server.mutable.*; import peergos.server.social.*; import peergos.server.util.Args; import peergos.server.util.IpfsWrapper; import peergos.server.util.Logging; import peergos.shared.*; import peergos.shared.c...
[decentralized] fix build
src/peergos/server/Main.java
[decentralized] fix build
<ide><path>rc/peergos/server/Main.java <ide> package peergos.server; <ide> <del>import org.eclipse.jetty.util.log.Log; <ide> import peergos.server.corenode.*; <ide> import peergos.server.mutable.*; <ide> import peergos.server.social.*; <ide> } catch (Exception e) { <ide> e.printStac...
Java
bsd-3-clause
6925a3629daba1650c14d86162af0c0f872b391b
0
TeamCohen/MinorThird,TeamCohen/MinorThird,TeamCohen/MinorThird,TeamCohen/MinorThird,TeamCohen/MinorThird
src/edu/cmu/minorthird/text/util/SplitFileOnGroupId.java
package edu.cmu.minorthird.text.util; import java.io.*; import java.util.List; import java.util.StringTokenizer; /** * This class takes a data file (document group tokens) * and splits it into multiple files, each with one of the original groups removed * * Basic algorithm: * 1) iterate through the input file ...
moved to apps/ksteppe
src/edu/cmu/minorthird/text/util/SplitFileOnGroupId.java
moved to apps/ksteppe
<ide><path>rc/edu/cmu/minorthird/text/util/SplitFileOnGroupId.java <del>package edu.cmu.minorthird.text.util; <del> <del>import java.io.*; <del>import java.util.List; <del>import java.util.StringTokenizer; <del> <del>/** <del> * This class takes a data file (document group tokens) <del> * and splits it into multiple fi...
Java
apache-2.0
18d8f00aeb3049d40be5d392d630ffcf55a5fa28
0
GerritCodeReview/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,gerrit-review/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,qtproject/qtq...
// 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 applicable ...
gerrit-sshd/src/main/java/com/google/gerrit/sshd/ChangeArgumentParser.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 applicable ...
Remove unused import Change-Id: I5799cb58ec1cc2d01914a8633a3e6047fc6ff781
gerrit-sshd/src/main/java/com/google/gerrit/sshd/ChangeArgumentParser.java
Remove unused import
<ide><path>errit-sshd/src/main/java/com/google/gerrit/sshd/ChangeArgumentParser.java <ide> package com.google.gerrit.sshd; <ide> <ide> import com.google.common.base.Function; <del>import com.google.common.base.Optional; <ide> import com.google.common.base.Predicates; <ide> import com.google.common.collect.FluentIterab...
JavaScript
mit
c06f309c20ab7afafbc99a9a31bae94f5530d7a0
0
Zizzamia/ng-tasty,Zizzamia/ng-tasty
var express = require('express'); var app = express(); app.set('views', 'docs/'); app.engine('html', require('ejs').renderFile); app.use('/static', express.static('docs/static')); app.use('/components', express.static('components')); app.use('/dist', express.static('dist')); app.use('/src', express.static('src'));...
docs/server.js
var express = require('express'); var app = express(); app.set('views', 'docs/'); app.engine('html', require('ejs').renderFile); app.use('/static', express.static('docs/static')); app.use('/components', express.static('components')); app.use('/dist', express.static('dist')); app.use('/src', express.static('src'));...
Fixed docs.
docs/server.js
Fixed docs.
<ide><path>ocs/server.js <ide> app.use('/components', express.static('components')); <ide> app.use('/dist', express.static('dist')); <ide> app.use('/src', express.static('src')); <del>app.use('/template', express.static('template')); <add>app.use('/template', express.static('dist/template')); <ide> <ide> function...
JavaScript
mit
24b5e32063eea614567a2756ca9540f21e61bec3
0
ralouphie/pointr
var express = require('express'); var request = require('request'); var mime = require('mime'); var gm = require('gm'); var url = require('url'); var fs = require('fs'); var morgan = require('morgan'); var errors = require('./lib/errors'); var config = require('./lib/config'); var Timers = require('./lib/timers'); var ...
app.js
var express = require('express'); var request = require('request'); var mime = require('mime'); var gm = require('gm'); var url = require('url'); var fs = require('fs'); var morgan = require('morgan'); var errors = require('./lib/errors'); var config = require('./lib/config'); var Timers = require('./lib/timers'); var ...
Allow ?data without the =1
app.js
Allow ?data without the =1
<ide><path>pp.js <ide> <ide> // If the client requested just the data, return it as JSON. <ide> // Otherwise stream the image back to the client. <del> if (req.query.data) { <add> if ('undefined' !== typeof req.query.data) { <ide> res.json({ <ide> timers: timers, <ide> operations:...
Java
apache-2.0
0441a550154d06fa453980ca1d35e83dabb50f4c
0
kool79/intellij-community,Distrotech/intellij-community,samthor/intellij-community,orekyuu/intellij-community,tmpgit/intellij-community,TangHao1987/intellij-community,pwoodworth/intellij-community,kdwink/intellij-community,TangHao1987/intellij-community,TangHao1987/intellij-community,da1z/intellij-community,asedunov/in...
package com.intellij.psi.impl.compiled; import com.intellij.openapi.diagnostic.Logger; import com.intellij.psi.*; import com.intellij.psi.impl.PsiImplUtil; import com.intellij.psi.impl.source.PsiClassReferenceType; import com.intellij.psi.impl.source.tree.JavaElementType; import com.intellij.psi.impl.source.tree.TreeE...
source/com/intellij/psi/impl/compiled/ClsTypeElementImpl.java
package com.intellij.psi.impl.compiled; import com.intellij.openapi.diagnostic.Logger; import com.intellij.psi.*; import com.intellij.psi.impl.source.PsiClassReferenceType; import com.intellij.psi.impl.source.tree.JavaElementType; import com.intellij.psi.impl.source.tree.TreeElement; import com.intellij.psi.impl.PsiIm...
removed jmock dep
source/com/intellij/psi/impl/compiled/ClsTypeElementImpl.java
removed jmock dep
<ide><path>ource/com/intellij/psi/impl/compiled/ClsTypeElementImpl.java <ide> <ide> import com.intellij.openapi.diagnostic.Logger; <ide> import com.intellij.psi.*; <add>import com.intellij.psi.impl.PsiImplUtil; <ide> import com.intellij.psi.impl.source.PsiClassReferenceType; <ide> import com.intellij.psi.impl.source.t...
Java
apache-2.0
428487246046018af02201db347dea75f91b3570
0
atlasapi/atlas-deer,atlasapi/atlas-deer
package org.atlasapi.content; import com.google.common.base.Objects; import com.google.common.base.Throwables; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.util.concurrent.AbstractIdleService; impor...
atlas-elasticsearch/src/main/java/org/atlasapi/content/EsContentIndex.java
package org.atlasapi.content; import com.google.common.base.Objects; import com.google.common.base.Throwables; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.util.concurrent.AbstractIdleService; impor...
Missing dereference
atlas-elasticsearch/src/main/java/org/atlasapi/content/EsContentIndex.java
Missing dereference
<ide><path>tlas-elasticsearch/src/main/java/org/atlasapi/content/EsContentIndex.java <ide> EsContent.TOPICS + "." + EsTopic.TYPE_NAME, <ide> FilterBuilders.termFilter( <ide> EsContent.TOPICS + "." + EsTopic.TYPE_NAME + "." + EsContent.ID, <del> ...
Java
apache-2.0
26bb8acb1282b2073c61d9c5bf2e8eb98adcbde9
0
bmwshop/brooklyn,neykov/incubator-brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,neykov/incubator-brooklyn,andreaturli/legacy-brooklyn,bmwshop/brooklyn,bmwshop/brooklyn,bmwshop/brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,aledsage/lega...
/* * Copyright 2012-2014 by Cloudsoft Corporation Limited * * 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...
utils/common/src/main/java/brooklyn/util/ssh/BashCommands.java
/* * Copyright 2012-2014 by Cloudsoft Corporation Limited * * 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...
Add option to curl to retrieve HTTPS URLs without certificate installation
utils/common/src/main/java/brooklyn/util/ssh/BashCommands.java
Add option to curl to retrieve HTTPS URLs without certificate installation
<ide><path>tils/common/src/main/java/brooklyn/util/ssh/BashCommands.java <ide> <ide> List<String> commands = new ArrayList<String>(); <ide> for (String url : urls) { <del> String command = format("curl -f -L \"%s\"", url); <add> String command = format("curl -f -L -k \"%s\...
Java
apache-2.0
e56d883faa6b94b9b2895643f818679fd242d7fe
0
mylog00/flink,fanyon/flink,GJL/flink,godfreyhe/flink,StephanEwen/incubator-flink,mtunique/flink,sunjincheng121/flink,mylog00/flink,gustavoanatoly/flink,StephanEwen/incubator-flink,godfreyhe/flink,mbode/flink,zjureel/flink,mtunique/flink,ueshin/apache-flink,jinglining/flink,mbode/flink,fanzhidongyzby/flink,darionyaphet/...
/** * 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...
flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Fix serializability for SlotSharingGroup
flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java
Fix serializability for SlotSharingGroup
<ide><path>link-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java <ide> * deployed together within a slot. This is a soft permission, in contrast to the hard constraint <ide> * defined by a co-location hint. <ide> */ <del>public class SlotSharingGroup { <add>public class SlotS...
Java
mit
6f3947f6c78ce09927b52020fd56a15d9fca7456
0
pronovic/yet-another-docker-plugin,KostyaSha/yet-another-docker-plugin,pronovic/yet-another-docker-plugin,KostyaSha/yet-another-docker-plugin,pronovic/yet-another-docker-plugin,KostyaSha/yet-another-docker-plugin
package com.github.kostyasha.yad; import com.github.kostyasha.yad.commons.AbstractCloud; import com.github.kostyasha.yad.commons.DockerCreateContainer; import com.github.kostyasha.yad.docker_java.com.github.dockerjava.api.DockerClient; import com.github.kostyasha.yad.docker_java.com.github.dockerjava.api.DockerExcepti...
yet-another-docker-plugin/src/main/java/com/github/kostyasha/yad/DockerCloud.java
package com.github.kostyasha.yad; import com.github.kostyasha.yad.commons.AbstractCloud; import com.github.kostyasha.yad.commons.DockerCreateContainer; import com.github.kostyasha.yad.docker_java.com.github.dockerjava.api.DockerClient; import com.github.kostyasha.yad.docker_java.com.github.dockerjava.api.DockerExcepti...
Fix template counting.
yet-another-docker-plugin/src/main/java/com/github/kostyasha/yad/DockerCloud.java
Fix template counting.
<ide><path>et-another-docker-plugin/src/main/java/com/github/kostyasha/yad/DockerCloud.java <ide> // count only total cloud capacity <ide> count++; <ide> } else if (labels.containsKey(DOCKER_TEMPLATE_LABEL) && <del> labels.get(DOCKER_TEMPLAT...
Java
bsd-2-clause
319e230c3bb80e29bf011bb4bc1a046f0b1f2b69
0
imagej/imagej-legacy,imagej/imagej-legacy,imagej/imagej-legacy,imagej/imagej-legacy
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2014 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
src/main/java/net/imagej/legacy/ImageJ2Options.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2014 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
Disable SCIFIO by default Enabling SCIFIO by default is currently too disruptive to most users. We have received excellent feedback and bug reports, so it is reasonable to now disable SCIFIO by default until these outstanding issues are resolved.
src/main/java/net/imagej/legacy/ImageJ2Options.java
Disable SCIFIO by default
<ide><path>rc/main/java/net/imagej/legacy/ImageJ2Options.java <ide> + "(SCientific Image Format Input and Output), which provides truly " <ide> + "extensible support for reading and writing image file formats.", <ide> callback = "run") <del> private boolean newStyleIO = true; <add> private boolean newStyleIO = ...
Java
lgpl-2.1
b941e48e4e9803de3efae4158b77e3874c707674
0
gallardo/opencms-core,alkacon/opencms-core,gallardo/opencms-core,alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core,gallardo/opencms-core,gallardo/opencms-core
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by th...
src/org/opencms/ui/apps/Messages.java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by th...
Fixed missing message constants.
src/org/opencms/ui/apps/Messages.java
Fixed missing message constants.
<ide><path>rc/org/opencms/ui/apps/Messages.java <ide> public static final String ERR_PROJECTS_CAN_NOT_DISPLAY_FILES_0 = "ERR_PROJECTS_CAN_NOT_DISPLAY_FILES_0"; <ide> <ide> /** Message constant for key in the resource bundle. */ <add> public static final String GUI_MODULES_EXPORTPOINT_SOURCE_0 = "GUI_MODULES...
Java
apache-2.0
dc5f2444aef04b50671a47e5c884775a66c976de
0
jgrandja/spring-security,djechelon/spring-security,rwinch/spring-security,djechelon/spring-security,jgrandja/spring-security,fhanik/spring-security,rwinch/spring-security,rwinch/spring-security,jgrandja/spring-security,spring-projects/spring-security,spring-projects/spring-security,djechelon/spring-security,fhanik/spri...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
config/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Replace expired msdn link with latest web archive copy Initial link expired in March, 2016. Latest copy found in web archive is from February, 2016
config/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java
Replace expired msdn link with latest web archive copy
<ide><path>onfig/src/main/java/org/springframework/security/config/annotation/web/configurers/HeadersConfigurer.java <ide> * <ide> * <p> <ide> * Allows customizing the {@link XXssProtectionHeaderWriter} which adds the <a href= <del> * "https://blogs.msdn.com/b/ieinternals/archive/2011/01/31/controlling-the-inter...
Java
apache-2.0
b2db3a42dc3496db51777ac0e738708844618669
0
jasta/android-sqlite-server
package org.devtcg.sqliteserver.impl.binder; import android.os.Bundle; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import org.devtcg.sqliteserver.impl.ExecutorHelper; import org.devtcg.sqliteserver.impl.SQLiteExecutor; import org.devtcg.sqliteserver.impl.binder.protocol.Abstr...
library/src/org/devtcg/sqliteserver/impl/binder/ServerImpl.java
package org.devtcg.sqliteserver.impl.binder; import android.os.Bundle; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import org.devtcg.sqliteserver.impl.ExecutorHelper; import org.devtcg.sqliteserver.impl.SQLiteExecutor; import org.devtcg.sqliteserver.impl.binder.protocol.Abstr...
Added TODO about runOnDedicatedThread.
library/src/org/devtcg/sqliteserver/impl/binder/ServerImpl.java
Added TODO about runOnDedicatedThread.
<ide><path>ibrary/src/org/devtcg/sqliteserver/impl/binder/ServerImpl.java <ide> // simplest to keep it out of that code path. <ide> case ACQUIRE: <ide> return doOnTransact(methodName, request); <add> // TODO: If this server is running in the same process as the client,...
Java
apache-2.0
f203739635d921d3b99b87c0f04a1cddfb4b4bb0
0
kryptnostic/kodex
package com.kryptnostic.crypto.v1.keys; import java.io.IOException; import java.nio.ByteBuffer; import java.util.zip.DataFormatException; import java.util.zip.Deflater; import java.util.zip.Inflater; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Preconditions; import com.kryptnosti...
src/main/java/com/kryptnostic/crypto/v1/keys/JacksonKodexMarshaller.java
package com.kryptnostic.crypto.v1.keys; import java.io.IOException; import java.nio.ByteBuffer; import java.util.zip.DataFormatException; import java.util.zip.Deflater; import java.util.zip.Inflater; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Preconditions; import com.kryptnosti...
ensure java 7 compatibility
src/main/java/com/kryptnostic/crypto/v1/keys/JacksonKodexMarshaller.java
ensure java 7 compatibility
<ide><path>rc/main/java/com/kryptnostic/crypto/v1/keys/JacksonKodexMarshaller.java <ide> public class JacksonKodexMarshaller<T> implements KodexMarshaller<T> { <ide> private final Class<T> clazz; <ide> private final ObjectMapper mapper; <del>// protected static final int INTEGER_BYTES = Integer.SIZE / By...
Java
apache-2.0
2917a513f0273a02c654b392dd9623f230d87b5e
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2016, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
client/src/main/java/org/spine3/protobuf/TypeToClassMap.java
/* * Copyright 2016, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Refactor building the map.
client/src/main/java/org/spine3/protobuf/TypeToClassMap.java
Refactor building the map.
<ide><path>lient/src/main/java/org/spine3/protobuf/TypeToClassMap.java <ide> import java.util.Properties; <ide> import java.util.Set; <ide> <del>import static com.google.common.collect.Maps.newHashMap; <ide> import static org.spine3.io.IoUtil.loadAllProperties; <ide> <ide> /** <ide> <ide> /** <ide> * File, ...
Java
apache-2.0
1a9c04f18aeafa3297ed5c4498eb1279c13d53d9
0
apache/logging-log4j2,apache/logging-log4j2,apache/logging-log4j2
/* * 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 n...
log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/InterpolatorTest.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 n...
Add Interpolator#getDefaultLookup(). Split commit 3/2 for cherry-picking to master.
log4j-core/src/test/java/org/apache/logging/log4j/core/lookup/InterpolatorTest.java
Add Interpolator#getDefaultLookup().
<ide><path>og4j-core/src/test/java/org/apache/logging/log4j/core/lookup/InterpolatorTest.java <ide> import static org.junit.jupiter.api.Assertions.assertNull; <ide> <ide> /** <del> * <add> * Tests {@link Interpolator}. <ide> */ <ide> public class InterpolatorTest { <ide> <ide> private static final String TEST_CO...
Java
apache-2.0
260a48fdeda2f6a6e6effabd445b6a2532419908
0
dx-pbuckley/vavr,amygithub/vavr,dx-pbuckley/vavr,amygithub/vavr,ummels/vavr,ummels/vavr
/* / \____ _ _ ____ ______ / \ ____ __ _ _____ * / / \/ \ / \/ \ / /\__\/ // \/ \ / / _ \ Javaslang * _/ / /\ \ \/ / /\ \\__\\ \ // /\ \ /\\/ \__/ / Copyright 2014-now Daniel Dietrich * /___/\_/ \_/\____/\_/ \_/\__\/__/___\_/ \_// \__/_____/ Licensed under...
src/main/java/javaslang/control/Try.java
/* / \____ _ _ ____ ______ / \ ____ __ _ _____ * / / \/ \ / \/ \ / /\__\/ // \/ \ / / _ \ Javaslang * _/ / /\ \ \/ / /\ \\__\\ \ // /\ \ /\\/ \__/ / Copyright 2014-now Daniel Dietrich * /___/\_/ \_/\____/\_/ \_/\__\/__/___\_/ \_// \__/_____/ Licensed under...
Added Try.success() and Try.failure()
src/main/java/javaslang/control/Try.java
Added Try.success() and Try.failure()
<ide><path>rc/main/java/javaslang/control/Try.java <ide> } catch (Throwable t) { <ide> return new Failure<>(t); <ide> } <add> } <add> <add> /** <add> * Creates a {@link Success} that contains the given {@code value}. Shortcut for {@code new Success<>(value)}. <add> * <add> ...
JavaScript
mit
ee403f087e36d6ec1003ee826d042083d27f9b4a
0
ReactiveObserver/reactive-dao
const EventEmitter = require("./EventEmitter.js") const debug = require('debug')('dao') class Observation { constructor(connection, what, pushed) { this.what = what this.connection = connection this.pushed = pushed this.observables = [] this.receivedSignals = [] } addObservable(observable) { ...
lib/ReactiveConnection.js
const EventEmitter = require("./EventEmitter.js") const debug = require('debug')('dao') class Observation { constructor(connection, what, pushed) { this.what = what this.connection = connection this.pushed = pushed this.observables = [] this.receivedSignals = [] } addObservable(observable) { ...
disconnect events suppresed when infinite timeout is set
lib/ReactiveConnection.js
disconnect events suppresed when infinite timeout is set
<ide><path>ib/ReactiveConnection.js <ide> } <ide> } <ide> let queuedConnectionId = this.connectedCounter <del> if(this.settings.queueActiveRequestsOnDisconnect) { <add> if(this.settings.queueActiveRequestsOnDisconnect && this.settings.requestSendTimeout < Infinity) { <ide> setTimeout(() => { <...
Java
apache-2.0
bf35cb82c16cf277bdaa0f56b8d954aa637029ad
0
ericmaxwell2003/roboguiceRealmNaeNae,ericmaxwell2003/commentNaeNae
package software.credible.commentslistapp; import android.app.Application; import android.test.ApplicationTestCase; import junit.framework.Assert; import junit.framework.TestResult; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.List; public class CommentsCrudTest extends ...
app/src/androidTest/java/software/credible/commentslistapp/CommentsCrudTest.java
package software.credible.commentslistapp; import android.app.Application; import android.test.ApplicationTestCase; import junit.framework.Assert; import junit.framework.TestResult; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.util.List; public class CommentsCrudTest extends ...
Test Change
app/src/androidTest/java/software/credible/commentslistapp/CommentsCrudTest.java
Test Change
<ide><path>pp/src/androidTest/java/software/credible/commentslistapp/CommentsCrudTest.java <ide> assertNotNull(comment); <ide> assertEquals("Comment_7", comment.getComment()); <ide> } <add> <ide> }
Java
agpl-3.0
ed6f4d13758eddb84b248ff87394787f9530c325
0
ua-eas/kfs,ua-eas/kfs,UniversityOfHawaii/kfs,UniversityOfHawaii/kfs,UniversityOfHawaii/kfs,ua-eas/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/will-financials,ua-eas/kfs-devops-automation-fork,ua-eas/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,bhutchinson/kfs,bhutchinson/kfs,kkronenb/kfs,ua-eas/kfs-d...
/* * Copyright 2010 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.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/ecl1.php * * Unless requir...
work/src/org/kuali/kfs/module/endow/batch/service/impl/PooledFundControlTransactionsServiceImpl.java
/* * Copyright 2010 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.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/ecl1.php * * Unless requir...
KULENDOW-560: Fixed the wrong validation for ECDD
work/src/org/kuali/kfs/module/endow/batch/service/impl/PooledFundControlTransactionsServiceImpl.java
KULENDOW-560: Fixed the wrong validation for ECDD
<ide><path>ork/src/org/kuali/kfs/module/endow/batch/service/impl/PooledFundControlTransactionsServiceImpl.java <ide> initializeReports(); <ide> <ide> // All the jobs should be attempted. If one should fail, that would be an exception to report and then return false. <del> if (!createCash...
Java
apache-2.0
5df3d46aad217002cb752bbdcee8167b049b41ad
0
ggrandes/bouncer,ggrandes/bouncer
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * dis...
src/main/java/org/javastack/bouncer/KeyGenerator.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * dis...
fix header format PKCS#8 / PKCS#1
src/main/java/org/javastack/bouncer/KeyGenerator.java
fix header format PKCS#8 / PKCS#1
<ide><path>rc/main/java/org/javastack/bouncer/KeyGenerator.java <ide> ext.set(BasicConstraintsExtension.NAME, new BasicConstraintsExtension(Boolean.TRUE, true, 0)); // Critical|isCA|pathLen <ide> ext.set(SubjectKeyIdentifierExtension.NAME, <ide> new SubjectKeyIdentifierExtension(new KeyIdentifier(pair.getPublic...
JavaScript
mit
bcea0f62be788471f3425dd5b5ddfb1232edac6e
0
hparra/gulp-rename,florianeckerstorfer/gulp-rename
/*global describe, it*/ "use strict"; require("should"); require("mocha"); var path = require("path"), gulp = require("gulp"), rename = require("../"); describe("gulp-rename", function () { // string it("should rename file with a string", function (done) { var obj = "hola.md"; var stream = gulp.src("./test...
test/main.js
/*global describe, it*/ "use strict"; require("should"); require("mocha"); var gulp = require("gulp"), rename = require("../"); describe("gulp-rename", function () { // string it("should rename file with a string", function (done) { var obj = "hola.md"; var stream = gulp.src("./test/fixtures/hello.txt").pip...
fix(test): Fix tests on Windows
test/main.js
fix(test): Fix tests on Windows
<ide><path>est/main.js <ide> require("should"); <ide> require("mocha"); <ide> <del>var gulp = require("gulp"), <add>var path = require("path"), <add> gulp = require("gulp"), <ide> rename = require("../"); <ide> <ide> describe("gulp-rename", function () { <ide> <ide> stream.on("error", done); <ide> stream.on("da...
Java
mit
9ee3203fa4a13990d936615028bd8e3510f33028
0
stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android
package com.stripe.android.model; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.Size; import android.support.annotation.StringDef; import com.stripe.android.util.StripeJsonUtils; import org.json.JSONException; import org.json.JSONObject; imp...
stripe/src/main/java/com/stripe/android/model/Source.java
package com.stripe.android.model; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.Size; import android.support.annotation.StringDef; import com.stripe.android.util.StripeJsonUtils; import org.json.JSONException; import org.json.JSONObject; imp...
addressing review
stripe/src/main/java/com/stripe/android/model/Source.java
addressing review
<ide><path>tripe/src/main/java/com/stripe/android/model/Source.java <ide> putStripeJsonModelMapIfNotNull(hashMap, FIELD_REDIRECT, mRedirect); <ide> <ide> if (mType != null) { <del> hashMap.put(getType(), mSourceTypeData); <add> hashMap.put(mType, mSourceTypeData); <ide> } ...
JavaScript
mit
c60b3d2dedec6d93ccdcc3994234bf3c71406834
0
jigkoh3/cyber-true-fed,jigkoh3/cyber-true-fed,jigkoh3/cyber-true-fed,jigkoh3/cyber-true-fed
// ---------------------- MigratePreToPostController.js ---------------------- smartApp.controller('MigratePreToPostController', function( $ngBootbox, $scope, AuthenService, SystemService, $routeParams, ReasonService, migratePreToPostService, ChangePricePlanService, paginat...
app/app/controllers/migratePreToPostController.js
// ---------------------- MigratePreToPostController.js ---------------------- smartApp.controller('MigratePreToPostController', function( $ngBootbox, $scope, AuthenService, SystemService, $routeParams, ReasonService, migratePreToPostService, ChangePricePlanService, paginat...
Fixed ie Error at migratePreToPost
app/app/controllers/migratePreToPostController.js
Fixed ie Error at migratePreToPost
<ide><path>pp/app/controllers/migratePreToPostController.js <ide> }); <ide> <ide> <del> <del> $scope.callPropositionList(); <add> if($scope.SubNo != "null"){ <add> $scope.callPropositionList(); <add> } <add> <ide> <ide> }); <ide> };
Java
mit
17e36a710bb057e3fcf471e5fe1058a48a87a870
0
fadelakin/BitWear
package com.fisheradelakin.bitwear; import android.app.ProgressDialog; import android.content.Context; import android.graphics.Color; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Handler; import android.support.v4.widget.SwipeRefreshLayout; impo...
mobile/src/main/java/com/fisheradelakin/bitwear/MainActivity.java
package com.fisheradelakin.bitwear; import android.app.ProgressDialog; import android.content.Context; import android.graphics.Color; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Handler; import android.support.v4.widget.SwipeRefreshLayout; impo...
fuck it. i'm calling it a night
mobile/src/main/java/com/fisheradelakin/bitwear/MainActivity.java
fuck it. i'm calling it a night
<ide><path>obile/src/main/java/com/fisheradelakin/bitwear/MainActivity.java <ide> <ide> @Override <ide> public void onConnected(Bundle connectionHint) { <del> String message = mPriceText.getText().toString(); <add> String message = "$330"; <ide> // Requires a new thread to avoid blocking ...
JavaScript
mit
ea29db83136dd896f570efa9a2142ff979037207
0
azclick/yebo-ember,azclick/yebo-ember,yebo-ecommerce/ember,yebo-ecommerce/ember,azclick/yebo-ember,yebo-ecommerce/ember
import DS from 'ember-data'; import Ember from 'ember'; export default DS.Model.extend({ // Attributes name: DS.attr('string'), description: DS.attr('string'), slug: DS.attr('string'), total_on_hand: DS.attr('number'), available: DS.attr('boolean'), // Price Attributes price: DS.attr('string'), // ...
packages/core/app/models/product.js
import DS from 'ember-data'; import Ember from 'ember'; export default DS.Model.extend({ // Attributes name: DS.attr('string'), description: DS.attr('string'), slug: DS.attr('string'), total_on_hand: DS.attr('number'), available: DS.attr('boolean'), // Price Attributes price: DS.attr('string'), // ...
apply cammelCasing
packages/core/app/models/product.js
apply cammelCasing
<ide><path>ackages/core/app/models/product.js <ide> // rawDiscountPrice: DS.attr('number'), <ide> <ide> // Installments Attributes <del> has_installments: DS.attr("boolean"), <add> hasInstallments: DS.attr("boolean"), <ide> installments: DS.attr("string"), <ide> installmentValue: DS.attr('string'), <ide> /...
JavaScript
mit
8ff39fc9e02cacbbb56691af5cad84fc2cf022a9
0
Turfjs/turf-point-on-line
var distance = require('turf-distance'); var point = require('turf-point'); var linestring = require('turf-linestring'); var bearing = require('turf-bearing'); var destination = require('turf-destination'); /** * Takes a Point and a LineString and calculates the closest Point on the LineString * * @module turf/poin...
index.js
var distance = require('turf-distance'); var point = require('turf-point'); var linestring = require('turf-linestring'); var bearing = require('turf-bearing'); var destination = require('turf-destination'); /** * Takes a Point and a LineString and calculates the closest Point on the LineString * * @module turf/poin...
Autoreformat
index.js
Autoreformat
<ide><path>ndex.js <ide> * //=result <ide> */ <ide> <del>module.exports = function (line, pt) { <add>module.exports = function(line, pt) { <ide> var coords; <del> if(line.type === 'Feature') coords = line.geometry.coordinates; <del> else if(line.type === 'LineString') coords = line.geometry.coordinates; <del> e...
Java
apache-2.0
8aa1b8f3edee7acaa1c9535d0f90be81d926da52
0
apotapov/tafl
package com.pactstudios.games.tafl.core.consts; import com.badlogic.gdx.graphics.Color; import com.pactstudios.games.tafl.core.enums.AiType; public final class Constants { private Constants() { } public static final class GameConstants { private GameConstants() { } public static...
core/src/main/java/com/pactstudios/games/tafl/core/consts/Constants.java
package com.pactstudios.games.tafl.core.consts; import com.badlogic.gdx.graphics.Color; import com.pactstudios.games.tafl.core.enums.AiType; public final class Constants { private Constants() { } public static final class GameConstants { private GameConstants() { } public static...
Changing depth to 4
core/src/main/java/com/pactstudios/games/tafl/core/consts/Constants.java
Changing depth to 4
<ide><path>ore/src/main/java/com/pactstudios/games/tafl/core/consts/Constants.java <ide> <ide> public static final class AiConstants { <ide> public static final int INT_TREE_DEPTH = 2; <del> public static final int ADV_TREE_DEPTH = 5; <add> public static final int ADV_TREE_DEPTH = 4; <ide> <...
JavaScript
mit
bbcf60cd71533913ae3dcb32fad7b60b503881f9
0
Zipzapadam/Server,kuroscafe/Showdown-Boilerplate,Extradeath/psserver,Nineage/Origin,Flareninja/Sora,xfix/Pokemon-Showdown,TheManwithskills/Dusk--Showdown,TheFenderStory/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Pikachuun/Touhoumon-Showdown,yashagl/pokecommunity,Articuno-I/Pokemon-Showdown,TheManwithskills/COC,com...
/** * Simulator process * Pokemon Showdown - http://pokemonshowdown.com/ * * This file is where the battle simulation itself happens. * * The most important part of the simulation happens in runEvent - * see that function's definition for details. * * @license MIT license */ require('sugar'); global.Config ...
battle-engine.js
/** * Simulator process * Pokemon Showdown - http://pokemonshowdown.com/ * * This file is where the battle simulation itself happens. * * The most important part of the simulation happens in runEvent - * see that function's definition for details. * * @license MIT license */ require('sugar'); global.Config ...
Support leaving empty slots when switching multiple mons in This happens in Doubles or Triples if, in a single turn, more pokemon faint than can switch in. This commit introduces two changes. Namely: - If more pokemon faint in a single turn than can switch in, those with the higher positions now can have switch flags o...
battle-engine.js
Support leaving empty slots when switching multiple mons in This happens in Doubles or Triples if, in a single turn, more pokemon faint than can switch in. This commit introduces two changes. Namely: - If more pokemon faint in a single turn than can switch in, those with the higher positions now can have switch flags o...
<ide><path>attle-engine.js <ide> <ide> switch (type) { <ide> case 'switch': <del> var switchablesLeft = 0; <del> var switchTable = null; <del> function canSwitch(a) { <del> return !a.fainted; <del> } <del> function shouldSwitch(a) { <del> if (!a) return false; <del> if (!switchablesLeft) { <del>...
JavaScript
apache-2.0
5944a7f7df63b715395d1425fe4cf97c7f4ee927
0
netfishx/new_react_rockstar
3052d386-2f85-11e5-ba4b-34363bc765d8
hello.js
304dae54-2f85-11e5-81aa-34363bc765d8
3052d386-2f85-11e5-ba4b-34363bc765d8
hello.js
3052d386-2f85-11e5-ba4b-34363bc765d8
<ide><path>ello.js <del>304dae54-2f85-11e5-81aa-34363bc765d8 <add>3052d386-2f85-11e5-ba4b-34363bc765d8
Java
apache-2.0
a302c19b9a5d88acb2c7a68276d59d2e243e8964
0
mbhulin/orientdb,joansmith/orientdb,mmacfadden/orientdb,intfrr/orientdb,cstamas/orientdb,wouterv/orientdb,cstamas/orientdb,allanmoso/orientdb,wouterv/orientdb,sanyaade-g2g-repos/orientdb,tempbottle/orientdb,alonsod86/orientdb,tempbottle/orientdb,alonsod86/orientdb,joansmith/orientdb,orientechnologies/orientdb,mmacfadde...
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
core/src/main/java/com/orientechnologies/orient/core/sql/functions/OSQLFunctionRuntime.java
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
SQL fixed runtime f(x) usage of evaluate passing curren record
core/src/main/java/com/orientechnologies/orient/core/sql/functions/OSQLFunctionRuntime.java
SQL fixed runtime f(x) usage of evaluate passing curren record
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/sql/functions/OSQLFunctionRuntime.java <ide> <ide> } <ide> } else if (configuredParameters[i] instanceof OSQLPredicate) <del> runtimeParameters[i] = ((OSQLPredicate) configuredParameters[i]).evaluate(iContext); <add> runtimePara...
Java
apache-2.0
91dcf079dd1827885fa6a45f4c8979a160d5c992
0
semonte/intellij-community,semonte/intellij-community,da1z/intellij-community,asedunov/intellij-community,da1z/intellij-community,ibinti/intellij-community,signed/intellij-community,ThiagoGarciaAlves/intellij-community,vvv1559/intellij-community,da1z/intellij-community,allotria/intellij-community,suncycheng/intellij-co...
/* * Copyright 2000-2016 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/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java
/* * Copyright 2000-2016 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...
[file-history] minor: extract variable
platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java
[file-history] minor: extract variable
<ide><path>latform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java <ide> outer: <ide> while (!startIds.isEmpty()) { <ide> for (int currentPathId : startIds) { <del> if (!iterateCommitIdsAndValues(currentPathId, (renamedPathId, commitId) -> { <add> boolean foundCommit =...
Java
mit
a35e7b93c83d8996145c7dbe50e95628f67f36cc
0
njmube/OpERP,DevOpsDistilled/OpERP
package devopsdistilled.operp.client.account.controllers.impl; import javax.inject.Inject; import devopsdistilled.operp.client.abstracts.EntityOperation; import devopsdistilled.operp.client.account.controllers.ReceivedTransactionController; import devopsdistilled.operp.client.account.models.ReceivedTransactionModel; ...
OpERP/src/main/java/devopsdistilled/operp/client/account/controllers/impl/ReceivedTransactionControllerImpl.java
package devopsdistilled.operp.client.account.controllers.impl; import javax.inject.Inject; import devopsdistilled.operp.client.abstracts.EntityOperation; import devopsdistilled.operp.client.account.controllers.ReceivedTransactionController; import devopsdistilled.operp.client.account.panes.controllers.ReceivedTransac...
Impl delete()
OpERP/src/main/java/devopsdistilled/operp/client/account/controllers/impl/ReceivedTransactionControllerImpl.java
Impl delete()
<ide><path>pERP/src/main/java/devopsdistilled/operp/client/account/controllers/impl/ReceivedTransactionControllerImpl.java <ide> <ide> import devopsdistilled.operp.client.abstracts.EntityOperation; <ide> import devopsdistilled.operp.client.account.controllers.ReceivedTransactionController; <add>import devopsdistilled....
Java
mit
0972aa04a42d651785ec0b98fffe6bab5a3e197a
0
sdh31/tower_defense,kevinkdo/oogasalad_OOGALoompas,jordanly/oogasalad_OOGALoompas,dennis-park/OOGALoompas,codylieu/oogasalad_OOGALoompas,dianwen/oogasalad_TowerDefense,garysheng/tower-defense-game-engine
package main.java.player; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionL...
src/main/java/player/Player.java
package main.java.player; import java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionL...
added itemchooser to gui
src/main/java/player/Player.java
added itemchooser to gui
<ide><path>rc/main/java/player/Player.java <ide> import main.java.player.panels.HelpTextPanel; <ide> import main.java.player.panels.HighScoreCard; <ide> import main.java.player.panels.InfoPanel; <add>import main.java.player.panels.ItemChooser; <add>import main.java.player.panels.ObjectChooser; <ide> import main.java.pl...
JavaScript
agpl-3.0
23eb3c3094e9a50e45b8301945995c73ce3ab67c
0
vatesfr/xo-web,lmcro/xo-web,lmcro/xo-web,lmcro/xo-web,vatesfr/xo-web
export function create ({ name, subjects, objects, limits }) { return this.createResourceSet(name, subjects, objects, limits) } create.permission = 'admin' create.params = { name: { type: 'string', }, subjects: { type: 'array', items: { type: 'string', }, optional: true, }, objec...
packages/xo-server/src/api/resource-set.js
import { unauthorized } from 'xo-common/api-errors' // =================================================================== export function create ({ name, subjects, objects, limits }) { return this.createResourceSet(name, subjects, objects, limits) } create.permission = 'admin' create.params = { name: { typ...
chore(xo-server/resourceSet.get{,All}): explicit permission check
packages/xo-server/src/api/resource-set.js
chore(xo-server/resourceSet.get{,All}): explicit permission check
<ide><path>ackages/xo-server/src/api/resource-set.js <del>import { unauthorized } from 'xo-common/api-errors' <del> <del>// =================================================================== <del> <ide> export function create ({ name, subjects, objects, limits }) { <ide> return this.createResourceSet(name, subjects,...
Java
mit
41ff89d2fc2c479973f48aaa3ff164cfab0830be
0
bill176/tetris,bill176/tetris
package tetris.game; import java.awt.*; import javax.swing.*; public class MainConsole{ private JFrame frame; private Canvas canvas; public MainConsole(){ frame = new JFrame("Tetris"); frame.setSize((Canvas.WIDTH + 7) * Canvas.SIDE_OF_SQUARE, (Canvas.HEIGHT + 1) * Canvas.SIDE...
MainConsole.java
package tetris.game; import java.awt.*; import javax.swing.*; public class MainConsole{ private JFrame frame; private Canvas canvas; public MainConsole(){ frame = new JFrame("Tetris"); frame.setSize((Canvas.WIDTH + 7) * Canvas.SIDE_OF_SQUARE, (Canvas.HEIGHT + 1) * Canvas.SIDE...
Update description with Canvas class
MainConsole.java
Update description with Canvas class
<ide><path>ainConsole.java <ide> frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); <ide> frame.setVisible(true); <ide> frame.setResizable(false); <add> frame.setLocationRelativeTo(null); <ide> <ide> canvas = new Canvas(); <ide> frame.addKeyListener(canvas.getKeyListener()); ...
Java
apache-2.0
2ed804f16cd3ebc804f060d002e075243a4fcb02
0
cloudera/Impala,cloudera/Impala,michaelhkw/incubator-impala,cloudera/Impala,michaelhkw/incubator-impala,cloudera/Impala,michaelhkw/incubator-impala,cloudera/Impala,michaelhkw/incubator-impala,michaelhkw/incubator-impala,cloudera/Impala,michaelhkw/incubator-impala,michaelhkw/incubator-impala,cloudera/Impala
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
fe/src/main/java/com/cloudera/impala/service/JniFrontend.java
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
S3: clarify defaultFS error message Clarify this error message (and add some missing spaces) now that impala does support other filesystems. For the time being, Impala does still require that defaultFS is set to an hdfs filesystem. Change-Id: I1979025b89ee9d7d9f057b35129063098fd307e2 Reviewed-on: http://gerrit.cloud...
fe/src/main/java/com/cloudera/impala/service/JniFrontend.java
S3: clarify defaultFS error message
<ide><path>e/src/main/java/com/cloudera/impala/service/JniFrontend.java <ide> } <ide> <ide> /** <del> * Return an empty string if the FileSystem configured in CONF refers to a <del> * DistributedFileSystem (the only one supported by Impala) and Impala can list the root <del> * directory "/". Otherwise, retur...