lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
mit
47c174658098ae0328a88b045236b6d5ff837b7c
0
rndme/intraHTML
// intraHTML: a better innerHTML (partial/non-destructive updates) for faster and simpler view rendering. (c)2015:dandavis, [CCBY4/MIT] // usage: intraHTML(element, strNewInnerHTMLContent); // includes a slightly modified copy of the odiff JS library by Billy Tetrud, under a modified MIT license per "Free to use for an...
intrahtml.js
// intraHTML: a better innerHTML (partial/non-destructive updates) for faster and simpler view rendering. (c)2015:dandavis, [CCBY4/MIT] // usage: intraHTML(element, strNewInnerHTMLContent); // includes a slightly modified copy of the odiff JS library by Billy Tetrud, under a modified MIT license per "Free to use for an...
strip HTML comments from vdom for perf/compat
intrahtml.js
strip HTML comments from vdom for perf/compat
<ide><path>ntrahtml.js <ide> <ide> function parseHT(html) { <ide> "use strict"; <add> <add> html=String(html).replace(/<\!\-\-[\s\S]+?\-\->/g,""); <add> <ide> var out = { <ide> $: "ROOT", <ide> _: []
JavaScript
mit
17db7e90dc1efb4ecc20c48043f5b913fb2d6907
0
LasaulecBV/compoxure,LasaulecBV/compoxure,tes/compoxure,tes/compoxure
var htmlparser = require("htmlparser2"); var fs = require('fs'); var _ = require('lodash'); var Hogan = require('hogan.js'); var utils = require('../utils'); var Stream = require('stream').Stream; var through = require('through'); var getThenCache = require('../getThenCache'); var errorTemplate = "<div style='color: re...
src/middleware/htmlparser.js
var htmlparser = require("htmlparser2"); var fs = require('fs'); var _ = require('lodash'); var Hogan = require('hogan.js'); var utils = require('../utils'); var Stream = require('stream').Stream; var through = require('through'); var getThenCache = require('../getThenCache'); var errorTemplate = "<div style='color: re...
Fixed an issue where empty headers were being passed as 'undefined'
src/middleware/htmlparser.js
Fixed an issue where empty headers were being passed as 'undefined'
<ide><path>rc/middleware/htmlparser.js <ide> fragmentIndex ++; <ide> output[outputIndex] = ""; <ide> <del> } else if(attribs && attribs['cx-test']) { <add> } else if(attribs && attribs['cx-test']) { <ide> outp...
JavaScript
mit
bbfc51485f50d8fb16db623ad2b4ed0b72cdc3ac
0
andreoliva/dnd.js,andreoliva/dnd.js
/** DND Version 1.0 Developed by: André H. Oliva Copyright 2014 */ window.dnd = (function () { var currentData; var scale = 1; var configs = {}; var dndCount = 0; //----------------------------------------------------------------------------DND library constructor function DND (els) { for(var i = ...
dnd.js
/** DND Version 1.0 Developed by: André H. Oliva Copyright 2014 */ window.dnd = (function () { var currentData; var scale = 1; var configs = {}; var dndCount = 0; //----------------------------------------------------------------------------DND library constructor function DND (els) { for(var i = ...
now the bug is really fixed
dnd.js
now the bug is really fixed
<ide><path>nd.js <ide> currentData = configs[evtTarget.getAttribute('data-drag-id')]; <ide> currentData.originalCoords = { x: evtTarget.getBoundingClientRect().left, y: evtTarget.getBoundingClientRect().top }; <ide> currentData.dragElement = target || evtTarget; <del> <add> <ide> if(!currentData.clone &...
Java
apache-2.0
c71e0529883d73094e30ce2f9e864f6abb60eb2d
0
jroper/async-http-client,elijah513/async-http-client,junjiemars/async-http-client,nemoyixin/async-http-client,ooon/async-http-client,olksdr/async-http-client,magiccao/async-http-client,drmaas/async-http-client,ALEXGUOQ/async-http-client,wyyl1/async-http-client,bomgar/async-http-client,craigwblake/async-http-client-1,st...
/* * Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic...
api/src/main/java/com/ning/http/util/AsyncHttpProviderUtils.java
/* * Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/lic...
Minor removeQuote clean up
api/src/main/java/com/ning/http/util/AsyncHttpProviderUtils.java
Minor removeQuote clean up
<ide><path>pi/src/main/java/com/ning/http/util/AsyncHttpProviderUtils.java <ide> } <ide> <ide> private final static String removeQuote(String s) { <del> if (s.startsWith("\"")) { <del> s = s.substring(1); <del> } <del> <del> if (s.endsWith("\"")) { <del> s = s.substri...
Java
apache-2.0
4cadd7ee666b18749a9f2739ae0f8f1282e2dc14
0
CycloneAxe/phphub-android,CycloneAxe/phphub-android
package org.phphub.app.model; import android.content.Context; import org.phphub.app.api.TopicApi; import org.phphub.app.api.entity.TopicEntity; import org.phphub.app.common.Constant; import org.phphub.app.common.base.BaseModel; import java.util.HashMap; import java.util.Map; import rx.Observable; public class Topi...
app/src/main/java/org/phphub/app/model/TopicModel.java
package org.phphub.app.model; import android.content.Context; import org.phphub.app.api.TopicApi; import org.phphub.app.api.entity.TopicEntity; import org.phphub.app.common.Constant; import org.phphub.app.common.base.BaseModel; import java.util.HashMap; import java.util.Map; import rx.Observable; public class Topi...
add last reply user to topic include
app/src/main/java/org/phphub/app/model/TopicModel.java
add last reply user to topic include
<ide><path>pp/src/main/java/org/phphub/app/model/TopicModel.java <ide> <ide> Observable<TopicEntity> getTopics(String filter, int pageIndex) { <ide> Map<String, String> options = new HashMap<String, String>(); <del> options.put("include", "user,node"); <add> options.put("include", "user,node,...
JavaScript
bsd-2-clause
4da0d2bd6092f72dd99462e4c3dbb01298caa7a3
0
oterral/ol3,fredj/ol3,planetlabs/ol3,mechdrew/ol3,colllin/openlayers,dracic/openlayers,wet-boew/openlayers,Gnafu/openlayers,landonb/ol3,mzur/ol3,owenmead/openlayers,freylis/ol3,geonux/ol3,Distem/ol3,kkuunnddaannkk/ol3,aisaacs/ol3,das-peter/ol3,sbrunner/openlayers,alvinlindstam/ol3,klokantech/ol3,colllin/openlayers,llam...
/* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license. * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * for the full text of the license. */ /** * @requires OpenLayers/Events.js * * Class: OpenLayers.Handler * Base class to construct a higher-level handler for ...
lib/OpenLayers/Handler.js
/* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license. * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * for the full text of the license. */ /** * Class: OpenLayers.Handler * Base class to construct a higher-level handler for event sequences. * Handlers are creat...
adding in some docs for the Handler base class git-svn-id: 86a4f41f9d0383640198789122b520d4105b319a@3658 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
lib/OpenLayers/Handler.js
adding in some docs for the Handler base class
<ide><path>ib/OpenLayers/Handler.js <ide> <ide> <ide> /** <add> * @requires OpenLayers/Events.js <add> * <ide> * Class: OpenLayers.Handler <del> * Base class to construct a higher-level handler for event sequences. <add> * Base class to construct a higher-level handler for event sequences. All <add> * handlers...
Java
apache-2.0
e9d5e0293812f308364e37df6298e95d44888893
0
apache/isis,apache/isis,apache/isis,apache/isis,apache/isis,apache/isis
/* * 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")...
viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/TextFieldWithDateTimePicker.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")...
ISIS-3085: change icon for time-picker close: use 'check' icon rather than 'close' icon
viewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/TextFieldWithDateTimePicker.java
ISIS-3085: change icon for time-picker close: use 'check' icon
<ide><path>iewers/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/TextFieldWithDateTimePicker.java <ide> super(id, scalarModel.unwrapped(type), type); <ide> setOutputMarkupId(true); <ide> <del> this.converter = converter; <ide> this.config = createD...
JavaScript
mit
13a42c5df512d22d961c65aa805c8ce1e8dada8a
0
computationclub/computationclub.github.io,computationclub/computationclub.github.io
/* jshint bitwise: false */ /* global window */ (function (exports) { 'use strict'; var Rule = (function () { var constructor = function (number) { this.number = number; }; constructor.prototype.apply = function (p, q, r) { return !!(this.number & (1 << ((p << 2) | (q << 1) | (r << 0))));...
cellular-automaton.js
/* jshint bitwise: false */ /* global window */ (function (exports) { 'use strict'; var Rule = (function () { var constructor = function (number) { this.number = number; }; constructor.prototype.apply = function (p, q, r) { return !!(this.number & (1 << ((p << 2) | (q << 1) | (r << 0))));...
Start with one cell and let it grow
cellular-automaton.js
Start with one cell and let it grow
<ide><path>ellular-automaton.js <ide> }()); <ide> <ide> var CellularAutomaton = (function () { <del> var makeCells = function (cellCount) { <del> var cells = []; <del> for (var i = 0; i < cellCount; ++i) { <del> cells[i] = false; <del> } <del> cells[cells.length - 1] = true; <del> <de...
Java
mit
06c9785b6152b8a57ee3eab7832022433467915c
0
TheHolyWaffle/TeamSpeak-3-Java-API,Barofioso/TeamSpeak-3-Java-API,Barofioso/TeamSpeak-3-Java-API
package com.github.theholywaffle.teamspeak3; /* * #%L * TeamSpeak 3 Java API * %% * Copyright (C) 2014 Bert De Geyter * %% * 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 res...
src/main/java/com/github/theholywaffle/teamspeak3/SocketReader.java
package com.github.theholywaffle.teamspeak3; /* * #%L * TeamSpeak 3 Java API * %% * Copyright (C) 2014 Bert De Geyter * %% * 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 res...
Add filter for duplicate join, quit and channel move events to SocketReader. Fixes #36
src/main/java/com/github/theholywaffle/teamspeak3/SocketReader.java
Add filter for duplicate join, quit and channel move events to SocketReader. Fixes #36
<ide><path>rc/main/java/com/github/theholywaffle/teamspeak3/SocketReader.java <ide> private final ExecutorService userThreadPool; <ide> private final Map<Command, Callback> callbackMap; <ide> <add> private String lastEvent; <add> <ide> public SocketReader(TS3Query ts3) { <ide> super("[TeamSpeak-3-Java-API] Socket...
Java
apache-2.0
79e674f9580e2769221b7f4e819d24813e4190f9
0
Taskana/taskana,Taskana/taskana,Taskana/taskana,Taskana/taskana,Taskana/taskana
package pro.taskana.common.rest.assembler; import java.util.stream.Collectors; import java.util.stream.StreamSupport; import org.springframework.hateoas.IanaLinkRelations; import org.springframework.hateoas.Link; import org.springframework.hateoas.PagedModel.PageMetadata; import org.springframework.hateoas.Representat...
rest/taskana-rest-spring/src/main/java/pro/taskana/common/rest/assembler/TaskanaPagingAssembler.java
package pro.taskana.common.rest.assembler; import java.util.Map; import java.util.stream.Collectors; import java.util.stream.StreamSupport; import javax.servlet.http.HttpServletRequest; import org.springframework.hateoas.IanaLinkRelations; import org.springframework.hateoas.Link; import org.springframework.hateoas.Pag...
TSK-1368: removed duplicate context root in self ref links
rest/taskana-rest-spring/src/main/java/pro/taskana/common/rest/assembler/TaskanaPagingAssembler.java
TSK-1368: removed duplicate context root in self ref links
<ide><path>est/taskana-rest-spring/src/main/java/pro/taskana/common/rest/assembler/TaskanaPagingAssembler.java <ide> package pro.taskana.common.rest.assembler; <ide> <del>import java.util.Map; <ide> import java.util.stream.Collectors; <ide> import java.util.stream.StreamSupport; <del>import javax.servlet.http.HttpServ...
Java
apache-2.0
3b3b751f5fd0f67d89258766987b301c676fdf68
0
jasperhoogland/jautomata
package net.jhoogland.jautomata; import java.util.Collection; import java.util.Comparator; import net.jhoogland.jautomata.semirings.Semiring; /** * * All automata (acceptors, transducers, multi-tape automata, and their weighted variants) implement this interface. * The methods <code>initialStates()</code>, <code...
jautomata/src/main/java/net/jhoogland/jautomata/Automaton.java
package net.jhoogland.jautomata; import java.util.Collection; import java.util.Comparator; import net.jhoogland.jautomata.semirings.Semiring; /** * * All automata (acceptors, transducers, multi-tape automata, and their weighted variants) implement this interface. * The methods <code>initialStates()</code>, <code...
Javadoc update.
jautomata/src/main/java/net/jhoogland/jautomata/Automaton.java
Javadoc update.
<ide><path>automata/src/main/java/net/jhoogland/jautomata/Automaton.java <ide> * <ide> * All automata (acceptors, transducers, multi-tape automata, and their weighted variants) implement this interface. <ide> * The methods <code>initialStates()</code>, <code>transitionsOut(state)</code>, <del> * <code>initialWeight...
Java
apache-2.0
error: pathspec 'extended/src/main/java/io/kubernetes/client/extended/kubectl/util/deployment/DeploymentHelper.java' did not match any file(s) known to git
f7d40c20cb30cd8a3617708af43f0c661721249e
1
kubernetes-client/java,kubernetes-client/java
/* Copyright 2021 The Kubernetes 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 to in writing, softwar...
extended/src/main/java/io/kubernetes/client/extended/kubectl/util/deployment/DeploymentHelper.java
feat : add kubectl deployment util
extended/src/main/java/io/kubernetes/client/extended/kubectl/util/deployment/DeploymentHelper.java
feat : add kubectl deployment util
<ide><path>xtended/src/main/java/io/kubernetes/client/extended/kubectl/util/deployment/DeploymentHelper.java <add>/* <add>Copyright 2021 The Kubernetes Authors. <add>Licensed under the Apache License, Version 2.0 (the "License"); <add>you may not use this file except in compliance with the License. <add>You may obtain ...
JavaScript
apache-2.0
0f7abf1de69cbaeeea60d3a3158cd96fb009ad4b
0
marlonruo/weather,marlonruo/weather
/* * 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 ...
www/js/index.js
/* * 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 ...
as as
www/js/index.js
as
<ide><path>ww/js/index.js <ide> var cordenadas = position.coords.latitude+", "+position.coords.longitude <ide> <ide> <del> var Result0 = $.getJSON("https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%...
JavaScript
bsd-3-clause
6165e23f41f0555b9115325e91eca6493d899156
0
taras101/simple_grove,taras101/simple_grove,taras101/simple_grove
$(document).ready(function(){ var treeData = { name: "Grove", value: 1, contents: [ {name: "First Tree", value: -6, contents: [ { name: "", value: -13, contents: [ { ...
index2.js
$(document).ready(function(){ var treeData = { name: "Grove", value: 1, contents: [ {name: "First Tree", value: -6, contents: [ { name: "", value: -13, contents: [ { ...
changed first tree names
index2.js
changed first tree names
<ide><path>ndex2.js <ide> name: "", <ide> value: -17, <ide> contents: [ <del> { name: "two", <add> { name: "1T2", <ide> value: 6 }, <del> {...
Java
apache-2.0
6e1b51ab2fb615d4f2b8e6c76ec4ee3f7223c169
0
SeleniumHQ/buck,facebook/buck,Addepar/buck,zpao/buck,brettwooldridge/buck,nguyentruongtho/buck,nguyentruongtho/buck,SeleniumHQ/buck,JoelMarcey/buck,rmaz/buck,facebook/buck,romanoid/buck,SeleniumHQ/buck,rmaz/buck,rmaz/buck,zpao/buck,Addepar/buck,brettwooldridge/buck,SeleniumHQ/buck,zpao/buck,brettwooldridge/buck,brettwo...
/* * Copyright 2016-present Facebook, 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...
src/com/facebook/buck/features/project/intellij/IJProjectCleaner.java
/* * Copyright 2016-present Facebook, 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...
make 'filesToKeep' thread safe Summary: Generating and writing project files in parallel causes generated files list to not always be correct. Reviewed By: styurin fbshipit-source-id: 94a262faa8
src/com/facebook/buck/features/project/intellij/IJProjectCleaner.java
make 'filesToKeep' thread safe
<ide><path>rc/com/facebook/buck/features/project/intellij/IJProjectCleaner.java <ide> import com.facebook.buck.io.filesystem.ProjectFilesystem; <ide> import com.google.common.collect.ImmutableSortedSet; <ide> import com.google.common.collect.Ordering; <add>import com.google.common.collect.Sets; <ide> import java.io.Fil...
Java
epl-1.0
5ecf4cda0dbfd5afab5e0fa2302659d41421e113
0
junit-team/junit-lambda
/* * Copyright 2015-2020 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v2.0 which * accompanies this distribution and is available at * * https://www.eclipse.org/legal/epl-v20.html */ packa...
junit-platform-launcher/src/main/java9/org/junit/platform/launcher/listeners/FlightRecordingListener.java
/* * Copyright 2015-2020 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v2.0 which * accompanies this distribution and is available at * * https://www.eclipse.org/legal/epl-v20.html */ packa...
Attach label to UniqueId's metadata definition
junit-platform-launcher/src/main/java9/org/junit/platform/launcher/listeners/FlightRecordingListener.java
Attach label to UniqueId's metadata definition
<ide><path>unit-platform-launcher/src/main/java9/org/junit/platform/launcher/listeners/FlightRecordingListener.java <ide> <ide> @MetadataDefinition <ide> @Relational <add> @Name("org.junit.UniqueId") <ide> @Retention(RetentionPolicy.RUNTIME) <ide> @Target(ElementType.FIELD) <ide> public @interface UniqueId {
Java
apache-2.0
0419d57bf80a8a4125cf9a769d2b6f159795ff9d
0
Apelon-VA/ISAAC,DongwonChoi/ISAAC,Apelon-VA/ISAAC,vaskaloidis/va-isaac-gui,DongwonChoi/ISAAC,Apelon-VA/ISAAC,Apelon-VA/va-isaac-gui,DongwonChoi/ISAAC,Apelon-VA/va-isaac-gui,vaskaloidis/va-isaac-gui
/** * Copyright Notice * * This is a work of the U.S. Government and is not subject to copyright * protection in the United States. Foreign copyrights may apply. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
import-export/src/main/java/gov/va/isaac/gui/dialog/InformationModelDetailsDialogController.java
/** * Copyright Notice * * This is a work of the U.S. Government and is not subject to copyright * protection in the United States. Foreign copyrights may apply. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
Hooking up real XMI to display FHIM models.
import-export/src/main/java/gov/va/isaac/gui/dialog/InformationModelDetailsDialogController.java
Hooking up real XMI to display FHIM models.
<ide><path>mport-export/src/main/java/gov/va/isaac/gui/dialog/InformationModelDetailsDialogController.java <ide> import gov.va.isaac.models.cem.CEMInformationModel; <ide> import gov.va.isaac.models.cem.exporter.CEMExporter; <ide> import gov.va.isaac.models.fhim.FHIMInformationModel; <add>import gov.va.isaac.models.fhim...
Java
apache-2.0
36de545a3b2d878b1d4a7be65cd180fa6a18eafd
0
westei/anno4j,anno4j/anno4j,anno4j/anno4j
package com.github.anno4j.model.impl; import com.github.anno4j.Anno4j; import org.openrdf.model.Resource; import org.openrdf.model.Statement; import org.openrdf.model.impl.URIImpl; import org.openrdf.query.GraphQueryResult; import org.openrdf.query.MalformedQueryException; import org.openrdf.query.QueryEvaluationExcep...
src/main/java/com/github/anno4j/model/impl/ResourceObject.java
package com.github.anno4j.model.impl; import com.github.anno4j.Anno4j; import org.openrdf.model.Resource; import org.openrdf.model.impl.URIImpl; import org.openrdf.repository.object.ObjectConnection; import org.openrdf.repository.object.RDFObject; /** * Class to implement RDF in order to create a baseline for every ...
each object can return ntiples
src/main/java/com/github/anno4j/model/impl/ResourceObject.java
each object can return ntiples
<ide><path>rc/main/java/com/github/anno4j/model/impl/ResourceObject.java <ide> <ide> import com.github.anno4j.Anno4j; <ide> import org.openrdf.model.Resource; <add>import org.openrdf.model.Statement; <ide> import org.openrdf.model.impl.URIImpl; <add>import org.openrdf.query.GraphQueryResult; <add>import org.openrdf.qu...
Java
apache-2.0
b99ef1824db0684accc242d50b8b1ddd1067b6d1
0
xiaoyanit/ImageLoader,lxhxhlw/image-loader,xiaoyanit/ImageLoader,charlialiang/image-loader,ALEXGUOQ/ImageLoader,wang006688/image-loader
package com.novoda.imageloader.acceptance; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.test.InstrumentationTestCase; import com.novoda.imageloader.core.bitmap.BitmapUtil; public class BitmapUtilsInstrumentationTest extends InstrumentationTestCase { private final int sca...
acceptance/src/com/novoda/imageloader/acceptance/BitmapUtilsInstrumentationTest.java
package com.novoda.imageloader.acceptance; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.test.InstrumentationTestCase; import com.novoda.imageloader.core.bitmap.BitmapUtil; public class BitmapUtilsInstrumentationTest extends InstrumentationTestCase { public BitmapUtilsInstru...
fixing bitmap utils tests
acceptance/src/com/novoda/imageloader/acceptance/BitmapUtilsInstrumentationTest.java
fixing bitmap utils tests
<ide><path>cceptance/src/com/novoda/imageloader/acceptance/BitmapUtilsInstrumentationTest.java <ide> <ide> public class BitmapUtilsInstrumentationTest extends InstrumentationTestCase { <ide> <del> public BitmapUtilsInstrumentationTest(String name) { <add> private final int scaledBitmapSize = 200; <add> private ...
JavaScript
agpl-3.0
08186751883ff504396226b8bcf52bd8056ed970
0
mapcentia/geocloud2,mapcentia/geocloud2,mapcentia/geocloud2,mapcentia/geocloud2,mapcentia/geocloud2,mapcentia/geocloud2
/* * @author Martin Høgh <mh@mapcentia.com> * @copyright 2013-2018 MapCentia ApS * @license http://www.gnu.org/licenses/#AGPL GNU AFFERO GENERAL PUBLIC LICENSE 3 * */ /*global Ext:false */ /*global classWizards:false */ /*global store:false */ /*global App:false */ /*global wmsLayer:false */ /*global _...
public/js/admin/classwizards.js
/* * @author Martin Høgh <mh@mapcentia.com> * @copyright 2013-2018 MapCentia ApS * @license http://www.gnu.org/licenses/#AGPL GNU AFFERO GENERAL PUBLIC LICENSE 3 * */ /*global Ext:false */ /*global classWizards:false */ /*global store:false */ /*global App:false */ /*global wmsLayer:false */ /*global _...
Increase max number of colors to 100 in Class Wizard -> Intervals
public/js/admin/classwizards.js
Increase max number of colors to 100 in Class Wizard -> Intervals
<ide><path>ublic/js/admin/classwizards.js <ide> new Ext.ux.form.SpinnerField({ <ide> name: "num", <ide> ...
Java
mit
f47d53c9b810d572f93531ba214f9469640aff10
0
abrabete/Pebble_Game
package pebbles; import java.util.LinkedList; import java.util.Random; import java.io.*; import java.util.concurrent.atomic.AtomicInteger; /** * Created by Andrei on 10/20/2014. * * */ class PebbleGame { static class Player implements Runnable { private final int name; private LinkedList<Peb...
src/Pebbles/PebbleGame.java
package pebbles; import java.util.LinkedList; import java.util.Random; import java.io.*; import java.util.concurrent.atomic.AtomicInteger; /** * Created by Andrei on 10/20/2014. * * */ class PebbleGame { static class Player implements Runnable { private final int name; private LinkedList<Peb...
nearly finished...we think...
src/Pebbles/PebbleGame.java
nearly finished...we think...
<ide><path>rc/Pebbles/PebbleGame.java <ide> <ide> private final int name; <ide> private LinkedList<Pebble> pebbles; <del> private int totalValue; <del> private int totalPebbles; <del> private volatile boolean done = false; <ide> Random next = new Random(); <ide> <ide> ...
JavaScript
mit
4023f140ebe5fc20c3c5ead985207077ed92ce52
0
crisbal/Telegram-Bot-Node,crisbal/Telegram-Bot-Node,crisbal/Node-Telegram-Bot,crisbal/Node-Telegram-Bot,blackdev1l/Telegram-Bot-Node,blackdev1l/Telegram-Bot-Node
// This is called on every message. It can reject a message, or transform it, or let it through. export default class MessageProxy { lastMessage = {} spamInterval = 1000 sniff(message, eventName) { // Types that represent "actual" data and not events const message_types = ["text","audio","document","photo","st...
src/Proxy.js
// This is called on every message. It can reject a message, or transform it, or let it through. export default class MessageProxy { lastMessage = {} spamInterval = 1000 sniff(message, eventName) { // Types that represent "actual" data and not events const message_types = ["text","audio","document","photo","st...
Fixed a branch mess
src/Proxy.js
Fixed a branch mess
<ide><path>rc/Proxy.js <ide> if (message_types.indexOf(eventName) == -1) return Promise.resolve(message); <ide> <ide> const now = (new Date()).getTime(); <del> const author = message.chat.username; <add> const author = message.from.id; <ide> var rejected = false; <ide> const lastMessage = this.lastMessage[au...
JavaScript
mit
119dcbbc5d3e296e9311ffee3b11fc655c2a757c
0
tvaisanen/embeddedGraphWidget,tvaisanen/embeddedGraphWidget,tvaisanen/embeddedGraphWidget
/** * Created by toni on 19.7.2017. */ define([ "../dependencies/cytoscape", "../configuration/configs", "../components/elementStyles", "../utils/gwClient", "../utils/edgeCategories", "../components/ui", "../utils/cyInitUtils" ], function (cytoscape, ...
proto_v0.04/js/utils/graphUtils.js
/** * Created by toni on 19.7.2017. */ define([ "../dependencies/cytoscape", "../configuration/configs", "../components/elementStyles", "../utils/gwClient", "../utils/edgeCategories", "../components/ui", "../utils/cyInitUtils" ], function (cytoscape, ...
bind expand node to new graph
proto_v0.04/js/utils/graphUtils.js
bind expand node to new graph
<ide><path>roto_v0.04/js/utils/graphUtils.js <ide> elements: props.data.elements, <ide> style: props.data.style <ide> }); <del> console.debug(cy); <del> console.debug(props); <add> <add> cy.on('tap', 'node', bindExpandN...
Java
apache-2.0
efd805fdb709cfcd11af7b95930b2f838fa65ec7
0
lingfliu/dv_omnicontrol_android,lingfliu/dv_omnicontrol_android
package cn.diaovision.omnicontrol.core.message.conference; import java.io.Serializable; import cn.diaovision.omnicontrol.util.ByteUtils; /** * Created by liulingfeng on 2017/4/13. */ public class ResMessage implements BaseMessage, Serializable{ public final static int CONF_ALL = 1; public final static int...
app/src/main/java/cn/diaovision/omnicontrol/core/message/conference/ResMessage.java
package cn.diaovision.omnicontrol.core.message.conference; import java.io.Serializable; import cn.diaovision.omnicontrol.util.ByteUtils; /** * Created by liulingfeng on 2017/4/13. */ public class ResMessage implements BaseMessage, Serializable{ public final static int CONF_ALL = 1; public final static int...
added getters / setters
app/src/main/java/cn/diaovision/omnicontrol/core/message/conference/ResMessage.java
added getters / setters
<ide><path>pp/src/main/java/cn/diaovision/omnicontrol/core/message/conference/ResMessage.java <ide> public final static int CONF_CONFIG = 17; <ide> public final static int ADDRBOOK = 19; <ide> public final static int CREATE_CONF = 20; <del> public final static int INVITE_ATTEND = 31; <add> public fina...
Java
apache-2.0
214a1202f96a99586891dfa845ff22812ab5aa3b
0
bbottema/java-reflection
package org.bbottema.javareflection.model; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import lombok.Value; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.lang.reflect.Field; import java.lang.reflect.Method; /** * A wrapper class that keeps a property...
src/main/java/org/bbottema/javareflection/model/FieldWrapper.java
package org.bbottema.javareflection.model; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.lang.reflect.Field; import java.lang.reflect.Method; /** * A wrapper class that keeps a property ({@link Field}) and its setter/getter method(s) in one place. */ public class ...
Lombokify
src/main/java/org/bbottema/javareflection/model/FieldWrapper.java
Lombokify
<ide><path>rc/main/java/org/bbottema/javareflection/model/FieldWrapper.java <ide> package org.bbottema.javareflection.model; <ide> <add>import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; <add>import lombok.Value; <ide> import org.jetbrains.annotations.NotNull; <ide> import org.jetbrains.annotations.Nullable; <...
Java
apache-2.0
c318864a4547e347b71ef6e6f96aab41b9bed92e
0
tempbottle/exit-web-framework,hb0504511129/exit-web-framework,tempbottle/exit-web-framework,hb0504511129/exit-web-framework,hb0504511129/exit-web-framework
package org.exitsoft.orm.core.hibernate.property; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.Strin...
exit-orm/src/main/java/org/exitsoft/orm/core/hibernate/property/PropertyFilterRestrictionHolder.java
package org.exitsoft.orm.core.hibernate.property; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.Strin...
#6 添加buildPropertyFilter忽略空值的方法和明细的注释
exit-orm/src/main/java/org/exitsoft/orm/core/hibernate/property/PropertyFilterRestrictionHolder.java
#6 添加buildPropertyFilter忽略空值的方法和明细的注释
<ide><path>xit-orm/src/main/java/org/exitsoft/orm/core/hibernate/property/PropertyFilterRestrictionHolder.java <ide> } <ide> <ide> /** <del> * 从HttpRequest中创建PropertyFilter列表, 默认Filter属性名前缀为filter. <del> * <del> * @see #buildFromHttpRequest(HttpServletRequest, String) <add> * 从HttpRequest参数中创建PropertyFilter列表,...
Java
mit
9802aa932eb67e3daf9bdb070bec22562173202d
0
hsobol/PRODSUP-001,hsobol/PRODSUP-001
src/test/dto/docs/example/Order.java
/** * */ package uk.co.jemos.podam.test.dto.docs.example; import java.io.Serializable; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import uk.co.jemos.podam.common.PodamCollection; /** * @author mtedone * */ public class Order implements Serializable { priv...
Delete Order.java
src/test/dto/docs/example/Order.java
Delete Order.java
<ide><path>rc/test/dto/docs/example/Order.java <del>/** <del> * <del> */ <del>package uk.co.jemos.podam.test.dto.docs.example; <del> <del>import java.io.Serializable; <del>import java.util.ArrayList; <del>import java.util.Calendar; <del>import java.util.List; <del> <del>import uk.co.jemos.podam.common.PodamCollection;...
JavaScript
mit
29a25b04b4ca9c842846c407917e4ce65f223ab7
0
vejmelkam/wrfxweb,vejmelkam/wrfxweb
export class TimeSeriesChart extends HTMLElement { constructor() { super(); this.innerHTML = ` <link rel="stylesheet" href="css/timeSeriesChart.css"/> <div id="timeSeriesChartContainer"> <span id="closeTimeSeriesChart">x</span> <canvas id="time...
fdds/js/components/timeSeriesChart.js
export class TimeSeriesChart extends HTMLElement { constructor() { super(); this.innerHTML = ` <link rel="stylesheet" href="css/timeSeriesChart.css"/> <div id="timeSeriesChartContainer"> <span id="closeTimeSeriesChart">x</span> <canvas id="time...
Fixed null object passed to timeSeriesChart
fdds/js/components/timeSeriesChart.js
Fixed null object passed to timeSeriesChart
<ide><path>dds/js/components/timeSeriesChart.js <ide> datasets: [{ <ide> label: label + " values", <ide> fill: false, <del> data: Object.entries(this.data).map(entry => entry[1]), <add> data: Object.entries(data).map(entry => ...
Java
apache-2.0
0dd804e0ef63ce05e8061c39ef164a07df6968ca
0
wmedvede/guvnor,mbiarnes/guvnor,porcelli-forks/guvnor,droolsjbpm/guvnor,droolsjbpm/guvnor,hxf0801/guvnor,kiereleaseuser/guvnor,psiroky/guvnor,cristianonicolai/guvnor,mbiarnes/guvnor,droolsjbpm/guvnor,psiroky/guvnor,etirelli/guvnor,porcelli-forks/guvnor,adrielparedes/guvnor,baldimir/guvnor,mswiderski/guvnor,yurloc/guvno...
/* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
guvnor-webapp/src/main/java/org/drools/guvnor/gwtutil/PerspectiveFactoryGenerator.java
/* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
disable soa perspective on master
guvnor-webapp/src/main/java/org/drools/guvnor/gwtutil/PerspectiveFactoryGenerator.java
disable soa perspective on master
<ide><path>uvnor-webapp/src/main/java/org/drools/guvnor/gwtutil/PerspectiveFactoryGenerator.java <ide> private void generateGetRegisteredPerspectiveTypesMethod( SourceWriter sourceWriter, Map<String, List<ModuleEditorConfiguration>> registeredEditors ) { <ide> sourceWriter.println( "public String[] getRegis...
Java
mit
56fa3f9bf2b7c3389712911a05b8239d7131dcd3
0
mback2k/jlibamf
package de.uxnr.amf.v3.type; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import de.uxnr.amf.AMF_Context; import de.uxnr.amf.AMF_Type; import de.uxnr.amf.v0.base.U8; import de.uxnr.amf.v3.AMF3_Type; import de.uxnr.amf.v3.base.U29; public class ByteArray extends AMF3_Ty...
src/de/uxnr/amf/v3/type/ByteArray.java
package de.uxnr.amf.v3.type; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import de.uxnr.amf.AMF_Context; import de.uxnr.amf.AMF_Type; import de.uxnr.amf.v0.base.U8; import de.uxnr.amf.v3.AMF3_Type; import de.uxnr.amf.v3.base.U29; public class ByteArray extends AMF3_Ty...
Updated toString method of ByteArray
src/de/uxnr/amf/v3/type/ByteArray.java
Updated toString method of ByteArray
<ide><path>rc/de/uxnr/amf/v3/type/ByteArray.java <ide> <ide> @Override <ide> public java.lang.String toString() { <del> return "ByteArray"; <add> StringBuilder sb = new StringBuilder(); <add> sb.append("ByteArray '"); <add> for (int i = 0; i < this.value.length; i++) { <add> int value = this.value[i]; <add> ...
Java
apache-2.0
af35fb9f05d6187e7d582749cc9a0d4bda2c43d9
0
amidst/toolbox,amidst/toolbox
package eu.amidst.dataGeneration; import eu.amidst.core.classifiers.NaiveBayesClassifier; import eu.amidst.core.datastream.Attributes; import eu.amidst.core.datastream.DataInstance; import eu.amidst.core.datastream.DataStream; import eu.amidst.core.io.DataStreamLoader; import eu.amidst.core.models.BayesianNetwork; im...
extensions/uai2016/src/main/java/eu/amidst/dataGeneration/GenerateCajaMarLikeData.java
package eu.amidst.dataGeneration; import eu.amidst.core.classifiers.NaiveBayesClassifier; import eu.amidst.core.datastream.Attributes; import eu.amidst.core.datastream.DataInstance; import eu.amidst.core.datastream.DataStream; import eu.amidst.core.io.DataStreamLoader; import eu.amidst.core.models.BayesianNetwork; im...
Small update
extensions/uai2016/src/main/java/eu/amidst/dataGeneration/GenerateCajaMarLikeData.java
Small update
<ide><path>xtensions/uai2016/src/main/java/eu/amidst/dataGeneration/GenerateCajaMarLikeData.java <ide> public class GenerateCajaMarLikeData { <ide> <ide> public void generateDataFromRScript() throws IOException{ <del> /* <add> /* <ide> * The 1st parameter is the number of files (per ...
Java
bsd-3-clause
a2636a5197c7ab613a23a2b0a67e0e71c1119368
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.cananolab.ui.particle; import gov.nih.nci.cananolab.domain.particle.Characterization; import gov.nih.nci.cananolab.domain.particle.NanoparticleSample; import gov.nih.nci.cananolab.dto.common.DataSetBean; import gov.nih.nci.cananolab.dto.common.ExperimentConfigBean; import gov.nih.nci.cananolab.dto....
src/gov/nih/nci/cananolab/ui/particle/CharacterizationAction.java
package gov.nih.nci.cananolab.ui.particle; import gov.nih.nci.cananolab.domain.particle.Characterization; import gov.nih.nci.cananolab.domain.particle.NanoparticleSample; import gov.nih.nci.cananolab.dto.common.DataSetBean; import gov.nih.nci.cananolab.dto.common.ExperimentConfigBean; import gov.nih.nci.cananolab.dto....
retrieve theDataSetId to charactizationForm SVN-Revision: 14754
src/gov/nih/nci/cananolab/ui/particle/CharacterizationAction.java
retrieve theDataSetId to charactizationForm
<ide><path>rc/gov/nih/nci/cananolab/ui/particle/CharacterizationAction.java <ide> DynaValidatorForm theForm = (DynaValidatorForm) form; <ide> CharacterizationBean achar = (CharacterizationBean) theForm <ide> .get("achar"); <del> DataSetBean dataSetBean = achar.getTheDataSet(); <add> DataSetBean dataSetBean = ...
Java
apache-2.0
a21fdf2c78de47deff30759ed7c00d1b892f12ef
0
Wechat-Group/WxJava,comeonc/weixin-java-tools,comeonc/weixin-java-tools,binarywang/weixin-java-tools,binarywang/weixin-java-tools,Wechat-Group/WxJava
package me.chanjar.weixin.mp.api.test; import com.thoughtworks.xstream.annotations.XStreamAlias; import me.chanjar.weixin.mp.api.WxMpInMemoryConfigStorage; import org.apache.commons.lang3.builder.ToStringBuilder; import java.util.concurrent.locks.Lock; @XStreamAlias("xml") public class TestConfigStorage extends WxMp...
weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/test/TestConfigStorage.java
package me.chanjar.weixin.mp.api.test; import com.thoughtworks.xstream.annotations.XStreamAlias; import me.chanjar.weixin.mp.api.WxMpInMemoryConfigStorage; import org.apache.commons.lang3.builder.ToStringBuilder; import java.util.concurrent.locks.Lock; @XStreamAlias("xml") public class TestConfigStorage extends WxMp...
fix code
weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/test/TestConfigStorage.java
fix code
<ide><path>eixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/test/TestConfigStorage.java <ide> this.qrconnectRedirectUrl = qrconnectRedirectUrl; <ide> } <ide> <add> @Override <ide> public String getTemplateId() { <ide> return this.templateId; <ide> } <ide> <add> @Override <ide> public void setTem...
Java
mit
338488b156de110ed5455c29de648b2bc9262b1c
0
razorpay/razorpay-java
package com.razorpay; import java.util.List; import org.json.JSONObject; public class OrderClient extends ApiClient { OrderClient(String auth) { super(auth); } public Order create(JSONObject request) throws RazorpayException { return post(Constants.ORDER_CREATE, request); } public List<Order> fe...
src/main/java/com/razorpay/OrderClient.java
package com.razorpay; import java.util.List; import org.json.JSONObject; public class OrderClient extends ApiClient { OrderClient(String auth) { super(auth); } public Order create(JSONObject request) throws RazorpayException { return post(Constants.ORDER_CREATE, request); } public List<Order> fe...
Adding fetchAll() method in OrderClient
src/main/java/com/razorpay/OrderClient.java
Adding fetchAll() method in OrderClient
<ide><path>rc/main/java/com/razorpay/OrderClient.java <ide> return post(Constants.ORDER_CREATE, request); <ide> } <ide> <add> public List<Order> fetchAll() throws RazorpayException { <add> return fetchAll(null); <add> } <add> <ide> public List<Order> fetchAll(JSONObject request) throws RazorpayException {...
Java
apache-2.0
ff48ce10f98aedebd6e99270cc067a4a677a8cba
0
irudyak/java-driver,ptnapoleon/java-driver,tolbertam/java-driver,amasta/java-driver,spodkowinski/java-driver,adejanovski/java-driver,csm/java-driver,pingtimeout/java-driver,ptnapoleon/java-driver,adejanovski/java-driver,mcanini/java-driver,bsideup/java-driver,techkrish/java-driver,kjniemi/java-driver,bsideup/java-drive...
/* * Copyright (C) 2012-2014 DataStax Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
driver-core/src/main/java/com/datastax/driver/core/HostConnectionPool.java
/* * Copyright (C) 2012-2014 DataStax Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Decrement connection.inFlight even if pool is closed.
driver-core/src/main/java/com/datastax/driver/core/HostConnectionPool.java
Decrement connection.inFlight even if pool is closed.
<ide><path>river-core/src/main/java/com/datastax/driver/core/HostConnectionPool.java <ide> } <ide> <ide> public void returnConnection(PooledConnection connection) { <add> int inFlight = connection.inFlight.decrementAndGet(); <add> <ide> if (isClosed()) { <ide> close(connection); <ide...
Java
agpl-3.0
ea8b82d7fcb5c6b2f32b070d465ad13ab482e2f8
0
elki-project/elki,elki-project/elki,elki-project/elki
package de.lmu.ifi.dbs.elki.distance.distancefunction; /* This file is part of ELKI: Environment for Developing KDD-Applications Supported by Index-Structures Copyright (C) 2011 Ludwig-Maximilians-Universität München Lehr- und Forschungseinheit für Datenbanksysteme ELKI Development Team This program is free s...
src/de/lmu/ifi/dbs/elki/distance/distancefunction/MinKDistance.java
package de.lmu.ifi.dbs.elki.distance.distancefunction; /* This file is part of ELKI: Environment for Developing KDD-Applications Supported by Index-Structures Copyright (C) 2011 Ludwig-Maximilians-Universität München Lehr- und Forschungseinheit für Datenbanksysteme ELKI Development Team This program is free s...
JavaDoc, ApiViz.
src/de/lmu/ifi/dbs/elki/distance/distancefunction/MinKDistance.java
JavaDoc, ApiViz.
<ide><path>rc/de/lmu/ifi/dbs/elki/distance/distancefunction/MinKDistance.java <ide> * <ide> * @author Erich Schubert <ide> * <del> * @apiviz.use KNNQuery <add> * @apiviz.uses KNNQuery <ide> */ <ide> public class Instance<T extends O> extends AbstractDatabaseDistanceQuery<T, D> { <ide> /**
Java
bsd-3-clause
a1bd6d848aa066fda112a06fada6ad56cc0c7eb8
0
sebastiangraf/treetank,sebastiangraf/treetank,sebastiangraf/treetank
/** * Copyright (c) 2011, University of Konstanz, Distributed Systems Group All * rights reserved. Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following conditions * are met: * Redistributions of source code must retain the above copyright ...
interfacemodules/iscsi/src/test/java/org/treetank/jscsi/TreetankStorageModuleTest.java
/** * Copyright (c) 2011, University of Konstanz, Distributed Systems Group All * rights reserved. Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following conditions * are met: * Redistributions of source code must retain the above copyright ...
[MOD] It seems the node size has been to big.. 1024*64*32 ~ > 1MB. Without regular commits the treetank backend will crush. Made the size a little bit smaller so the test works, but this needs to be checked further! git-svn-id: a5379eb5ca3beb2b6e029be3b1b7f6aa53f2352b@7320 e3ddb328-5bfe-0310-b762-aafcbcbd2528
interfacemodules/iscsi/src/test/java/org/treetank/jscsi/TreetankStorageModuleTest.java
[MOD] It seems the node size has been to big.. 1024*64*32 ~ > 1MB. Without regular commits the treetank backend will crush. Made the size a little bit smaller so the test works, but this needs to be checked further!
<ide><path>nterfacemodules/iscsi/src/test/java/org/treetank/jscsi/TreetankStorageModuleTest.java <ide> file = CoreTestHelper.PATHS.PATH1.getFile(); <ide> configuration = CoreTestHelper.PATHS.PATH1.getConfig(); <ide> <del> storageModule = new TreetankStorageModule(64, 1024*64, 32, configuration, ...
Java
epl-1.0
91f27a6ae295ba3089345db42e2a998f8c28af0e
0
sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. All rights reserved. This program and * the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 which accompanies this distribution, and is available a...
testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/EngineCase.java
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. All rights reserved. This program and * the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 which accompanies this distribution, and is available a...
Delete static from boolean variable pagination
testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/EngineCase.java
Delete static from boolean variable pagination
<ide><path>estsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/EngineCase.java <ide> private static final String FORMAT_HTML = "html"; //$NON-NLS-1$ <ide> private static final String ENCODING_UTF8 = "UTF-8"; //$NON-NLS-1$ <ide> private static final String IMAGE_DIR = "image"; //$N...
Java
mit
error: pathspec 'src/main/java/com/maddenabbott/jenny/command/help/TemplateHelpCommand.java' did not match any file(s) known to git
6531e5be93d84a9e47208e9d2c5a314cb412a13c
1
jenny-the-generator/jenny,jenny-the-generator/jenny
package com.maddenabbott.jenny.command.help; import com.maddenabbott.jenny.cli.Parameter; import com.maddenabbott.jenny.cli.Summary; import com.maddenabbott.jenny.command.Command; @Summary("You can also get help with a specific template.") public class TemplateHelpCommand implements Command { @Parameter("the name o...
src/main/java/com/maddenabbott/jenny/command/help/TemplateHelpCommand.java
Add skeleton for template help command.
src/main/java/com/maddenabbott/jenny/command/help/TemplateHelpCommand.java
Add skeleton for template help command.
<ide><path>rc/main/java/com/maddenabbott/jenny/command/help/TemplateHelpCommand.java <add>package com.maddenabbott.jenny.command.help; <add> <add>import com.maddenabbott.jenny.cli.Parameter; <add>import com.maddenabbott.jenny.cli.Summary; <add>import com.maddenabbott.jenny.command.Command; <add> <add>@Summary("You can ...
JavaScript
mit
74ba7621149919cd0b81d32f5c92259c5107c19f
0
jillix/engine-tools,jillix/flow-api
"use strict" const cayley = require('./cayley'); exports.flow = (scope, state, args, data, next) => { if (!data.id) { return next(new Error('Flow-api.get.flow: missing sequence id.')); } let role = !data.session || !data.session.role ? scope.env.role : data.session.role; data.readable = cay...
lib/sequence.js
"use strict" const cayley = require('./cayley'); exports.flow = (scope, state, args, data, next) => { if (!data.id) { return next(new Error('Flow-api.get.flow: missing sequence id.')); } let role = !data.session || !data.session.role ? scope.env.role : data.session.role; data.readable = cay...
pause all streams
lib/sequence.js
pause all streams
<ide><path>ib/sequence.js <ide> data.readable[0].pause(); <ide> data.readable[1].pause(); <ide> data.readable[2].pause(); <add> data.readable[3].pause(); <ide> data.resume = data.readable; <ide> next(null, data); <ide> };
Java
apache-2.0
4904d6f5ea5fdce01f8a418ddf789a100d57e72c
0
minhthuanit/selenium,eric-stanley/selenium,isaksky/selenium,jsakamoto/selenium,sebady/selenium,freynaud/selenium,dbo/selenium,alb-i986/selenium,SouWilliams/selenium,HtmlUnit/selenium,houchj/selenium,markodolancic/selenium,juangj/selenium,slongwang/selenium,rplevka/selenium,soundcloud/selenium,doungni/selenium,slongwang...
package org.openqa.selenium.firefox.internal; import org.openqa.selenium.Platform; import org.openqa.selenium.WebDriverException; import java.io.File; import java.util.Map; /** * Wrapper around our runtime environment requirements. * Performs discovery of firefox instances. * * <p>NOTE: System and platform bina...
firefox/src/java/org/openqa/selenium/firefox/internal/Executable.java
package org.openqa.selenium.firefox.internal; import org.openqa.selenium.Platform; import org.openqa.selenium.WebDriverException; import java.io.File; import java.util.Map; /** * Wrapper around our runtime environment requirements. * Performs discovery of firefox instances. * * <p>NOTE: System and platform bina...
SimonStewart: Firefox binary now successfully found on 64 bit Windows. r6602
firefox/src/java/org/openqa/selenium/firefox/internal/Executable.java
SimonStewart: Firefox binary now successfully found on 64 bit Windows.
<ide><path>irefox/src/java/org/openqa/selenium/firefox/internal/Executable.java <ide> case XP: <ide> binary = new File(getEnvVar("PROGRAMFILES", "\\Program Files") + "\\Mozilla Firefox\\firefox.exe"); <ide> if (!binary.exists()) { <del> binary = new File("/Program Files (x64)/Mozill...
JavaScript
mit
604846bb65549aa1d57db07fbdc2de7c77113365
0
OpenCollective/opencollective-api,OpenCollective/opencollective-api,OpenCollective/opencollective-api
import * as utils from './utils'; import { get, pick } from 'lodash'; const allTransactionsQuery = ` query allTransactions($collectiveSlug: String!, $limit: Int, $offset: Int, $type: String) { allTransactions(collectiveSlug: $collectiveSlug, limit: $limit, offset: $offset, type: $type) { id uuid type ...
server/graphql/v1/restapi.js
import * as utils from './utils'; import { get, pick } from 'lodash'; const allTransactionsQuery = ` query allTransactions($collectiveSlug: String!, $limit: Int, $offset: Int, $type: String, $includeVirtualCards: Boolean ) { allTransactions(collectiveSlug: $collectiveSlug, limit: $limit, offset: $offset, type: $type...
fix: args in allTransactions query
server/graphql/v1/restapi.js
fix: args in allTransactions query
<ide><path>erver/graphql/v1/restapi.js <ide> import { get, pick } from 'lodash'; <ide> <ide> const allTransactionsQuery = ` <del>query allTransactions($collectiveSlug: String!, $limit: Int, $offset: Int, $type: String, $includeVirtualCards: Boolean ) { <del> allTransactions(collectiveSlug: $collectiveSlug, limit: $li...
Java
apache-2.0
6795ea5df65e967d3bc277218096d184acbb0018
0
ShortMap/ShortMap,squidsolutions/hadoop-common,sztanko/hadoop-common,ShortMap/ShortMap,sztanko/hadoop-common,dongjiaqiang/hadoop-common,dhootha/hadoop-common,toddlipcon/hadoop,dhootha/hadoop-common,aseldawy/spatialhadoop,coderplay/hadoop-common,dongjiaqiang/hadoop-common,coderplay/hadoop-common,dongjiaqiang/hadoop-comm...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
src/test/testshell/ExternalMapReduce.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...
HADOOP-1622. Allow multiple jar files for map reduce. (Mahadev Konar via dhruba) git-svn-id: 5be3658b1da2303116c04834c161daea58df9cc4@641579 13f79535-47bb-0310-9956-ffa450edef68
src/test/testshell/ExternalMapReduce.java
HADOOP-1622. Allow multiple jar files for map reduce. (Mahadev Konar via dhruba)
<ide><path>rc/test/testshell/ExternalMapReduce.java <ide> return 0; <ide> } <ide> } <del>/** <del> * Licensed to the Apache Software Foundation (ASF) under one <del> * or more contributor license agreements. See the NOTICE file <del> * distributed with this work for additional information <del> * regarding copyr...
JavaScript
mit
26d395f06740e17e6262fa176a2b04d986cef053
0
javiercejudo/linear-converter,javiercejudo/linear-converter,javiercejudo/linear-converter
/*jshint node:true, mocha:true */ 'use strict'; var should = require('should'); var sinon = require('sinon'); var rescale = require('rescale'); var rescaleUtil = require('rescale-util'); var converter = require('../src/convert.js'); describe('converting', function() { describe('without a preset', function() { ...
test/spec.js
/*jshint node:true, mocha:true */ 'use strict'; var should = require('should'); var sinon = require('sinon'); var rescale = require('rescale'); var rescaleUtil = require('rescale-util'); var converter = require('../src/convert.js'); describe('converting', function() { describe('without a preset', function() { ...
chore(presets): add custom message
test/spec.js
chore(presets): add custom message
<ide><path>est/spec.js <ide> (10).should.be.exactly(convert(0.01, invert(massPresets.kilogramToMetricTon)), 'kilogramToMetricTon') <ide> .and.exactly(convert(10000, invert(massPresets.kilogramToGram)), 'kilogramToGram') <ide> .and.exactly(convert(1e+7, invert(massPresets.kilogramToMilligram)), 'kilogram...
Java
apache-2.0
11be9d0d59cc4d5cef658d0ac1df8448a43bada0
0
shevek/spring-rich-client,shevek/spring-rich-client
/* * 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 appl...
support/src/main/java/org/springframework/richclient/application/ApplicationLauncher.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 appl...
when there are no singleton beans, the max was calculated for every bean git-svn-id: 789609e278efc0cd74c84a9bb7abaca0738de801@1398 817809c7-9d0e-0410-b92d-a7ac8b8adc13
support/src/main/java/org/springframework/richclient/application/ApplicationLauncher.java
when there are no singleton beans, the max was calculated for every bean
<ide><path>upport/src/main/java/org/springframework/richclient/application/ApplicationLauncher.java <ide> public Object postProcessBeforeInitialization(Object bean, String beanName) <ide> throws BeansException { <ide> if (max == -1) { <...
Java
epl-1.0
1f7684265377c16d0be024d2a393b85a3ea8a2f2
0
LorenzoBettini/jbase,LorenzoBettini/jbase,LorenzoBettini/jbase
/** * */ package jbase.compiler; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.xtext.EcoreUtil2; import org.eclipse.xtext.common.types.JvmField; import org.eclipse.xtext.common.types.JvmFormalParameter; import org.eclipse.xtext.common.types.JvmIdentifi...
jbase/src/jbase/compiler/JbaseXbaseCompiler.java
/** * */ package jbase.compiler; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.xtext.EcoreUtil2; import org.eclipse.xtext.common.types.JvmField; import org.eclipse.xtext.common.types.JvmFormalParameter; import org.eclipse.xtext.common.types.JvmIdentifi...
40: Compilation of .class expressions Task-Url: https://github.com/LorenzoBettini/jbase/issues/40
jbase/src/jbase/compiler/JbaseXbaseCompiler.java
40: Compilation of .class expressions
<ide><path>base/src/jbase/compiler/JbaseXbaseCompiler.java <ide> import org.eclipse.xtext.common.types.JvmFormalParameter; <ide> import org.eclipse.xtext.common.types.JvmIdentifiableElement; <ide> import org.eclipse.xtext.common.types.JvmOperation; <add>import org.eclipse.xtext.common.types.JvmType; <ide> import org.ec...
Java
apache-2.0
6e13494b887f971cb86942d8248d5c6563ffaa97
0
j-coll/datastore,opencb/datastore
package org.opencb.datastore.mongodb; import java.io.DataOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.*; import com.mongodb.*; import org.junit.*; import org.junit.rules.ExpectedException; import org.opencb.datastore.core.ComplexTypeConverter; import org.opencb.datastore...
datastore-mongodb/src/test/java/org/opencb/datastore/mongodb/MongoDBCollectionTest.java
package org.opencb.datastore.mongodb; import java.io.DataOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.*; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import org.junit.*; import org.opencb.datastore.core.ComplexTypeConverter; import org.opencb.datastore....
mongodb: MongoDBCollection insert, update and remove tests implemented.
datastore-mongodb/src/test/java/org/opencb/datastore/mongodb/MongoDBCollectionTest.java
mongodb: MongoDBCollection insert, update and remove tests implemented.
<ide><path>atastore-mongodb/src/test/java/org/opencb/datastore/mongodb/MongoDBCollectionTest.java <ide> import java.io.IOException; <ide> import java.util.*; <ide> <del>import com.mongodb.BasicDBObject; <del>import com.mongodb.DBObject; <add>import com.mongodb.*; <ide> import org.junit.*; <add>import org.junit.rules.E...
JavaScript
agpl-3.0
f7643bff194fd7cd1350c6bf81717c7ad4ce2ab9
0
vincebusam/pyWebCash,vincebusam/pyWebCash,vincebusam/pyWebCash
var apiurl = "api.py"; var loadedtransactions = []; var accountsearches = [ {} ]; var showing = -1; var showtrans = {}; var editedfields = [] var limit = 25; var skip = 0; var query = accountsearches[0]; var sessioncheckinterval = null; var categories = {}; var allcategories = []; var centers = []; var tags = []; var l...
web/ui.js
var apiurl = "api.py"; var loadedtransactions = []; var accountsearches = [ {} ]; var showing = -1; var showtrans = {}; var editedfields = [] var limit = 25; var skip = 0; var query = accountsearches[0]; var sessioncheckinterval = null; var categories = {}; var allcategories = []; var centers = []; var tags = []; var l...
If account has no subaccounts, print it out anyway so it can be searched.
web/ui.js
If account has no subaccounts, print it out anyway so it can be searched.
<ide><path>eb/ui.js <ide> accountsearches = accountsearches.slice(0,1); <ide> $("#accounts > #bankaccounts").html(""); <ide> for (i in data) { <add> if (data[i]["subaccounts"].length == 0) <add> data[i]["subaccounts"] = [{"name":"", "date": "", "amount": "0"}] <ide> for (j in...
JavaScript
mit
3543f864797ec2e73b6e47a12d31afb4c88b5945
0
erikdstock/force,damassi/force,joeyAghion/force,erikdstock/force,artsy/force-public,xtina-starr/force,damassi/force,anandaroop/force,yuki24/force,artsy/force,artsy/force,eessex/force,izakp/force,izakp/force,cavvia/force-1,oxaudo/force,mzikherman/force,anandaroop/force,artsy/force-public,xtina-starr/force,oxaudo/force,m...
// // Analytics for the main layout. This includes buttons in the header, footer // or any other actions that occur on each page. // import { data as sd } from "sharify" import { reportLoadTimeToVolley } from "lib/volley" // Track pageview const pageType = window.sd.PAGE_TYPE || window.location.pathname.split("/")[1]...
src/desktop/analytics/main_layout.js
// // Analytics for the main layout. This includes buttons in the header, footer // or any other actions that occur on each page. // import { data as sd } from "sharify" import { reportLoadTimeToVolley } from "lib/volley" // Track pageview const pageType = window.sd.PAGE_TYPE || window.location.pathname.split("/")[1]...
Excluede 'orders' routes from analytics.page calls because they're taken care of in order app client.js
src/desktop/analytics/main_layout.js
Excluede 'orders' routes from analytics.page calls because they're taken care of in order app client.js
<ide><path>rc/desktop/analytics/main_layout.js <ide> properties["price_listed"] = sd.ARTWORK.price && sd.ARTWORK.price.length > 0 <ide> } <ide> <del>analytics.page(properties, { integrations: { Marketo: false } }) <add>// We exclude 'orders' routes from analytics.page calls because they're already <add>// taken care...
Java
apache-2.0
bb0370dd2d803c489ca7fb6b3748d4b3632fe492
0
chr78rm/tracelogger
/** * <div style="text-align: justify"> * Provides the basic tracing faclitities. The most important class is {@link de.christofreichardt.diagnosis.AbstractTracer AbstractTracer} which is the root * of the tracer hierarchy. The {@link de.christofreichardt.diagnosis.TracerFactory TracerFactory} can be feed with an ap...
src/main/java/de/christofreichardt/diagnosis/package-info.java
/** * <div style="text-align: justify"> * Provides the basic tracing faclitities. The most important class is {@link AbstractTracer} which is the root * of the tracer hierarchy. The {@link TracerFactory} can be feed with an appropriate configuration and thereupon can be used * to access tracers by name, by thread o...
Javadoc warnings corrected.
src/main/java/de/christofreichardt/diagnosis/package-info.java
Javadoc warnings corrected.
<ide><path>rc/main/java/de/christofreichardt/diagnosis/package-info.java <ide> /** <ide> * <div style="text-align: justify"> <del> * Provides the basic tracing faclitities. The most important class is {@link AbstractTracer} which is the root <del> * of the tracer hierarchy. The {@link TracerFactory} can be feed with a...
JavaScript
isc
416dc44d05244b77a9c60f549dbfd574ab2f0fb9
0
wilsonianb/ripple-lib,darkdarkdragon/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,ripple/ripple-lib,wilsonianb/ripple-lib,wilsonianb/ripple-lib,darkdarkdragon/ripple-lib,darkdarkdragon/ripple-lib
var util = require('util'); var url = require('url'); var EventEmitter = require('events').EventEmitter; var Amount = require('./amount').Amount; var Transaction = require('./transaction').Transaction; var log = require('./log').internal.sub('server'); /** * @constructor Server * *...
src/js/ripple/server.js
var util = require('util'); var url = require('url'); var EventEmitter = require('events').EventEmitter; var Amount = require('./amount').Amount; var Transaction = require('./transaction').Transaction; var log = require('./log').internal.sub('server'); /** * @constructor Server * *...
[CHORE] server: add logging when reconnect is triggered
src/js/ripple/server.js
[CHORE] server: add logging when reconnect is triggered
<ide><path>rc/js/ripple/server.js <ide> var delta = (Date.now() - this._lastLedgerClose); <ide> <ide> if (delta > (1000 * 25)) { <add> log.info('reconnect: activity delta:', delta); <ide> this.reconnect(); <ide> } <ide> }; <ide> } <ide> <ide> if (this._score > 1e3) { <add> log.info('reconnect: sco...
JavaScript
mit
0f5ba2cf5457db8f7f7e7aeeebd8d80927babc0a
0
NIEM/movement-frontend,NIEM/movement-frontend
'use strict'; /** * @module dhsniem * * @description * Main module of the application. */ angular .module('dhsniem', [ 'ngAnimate', 'ngCookies', 'ui.router', 'ngSanitize', 'ngTouch', 'ui.bootstrap' ]) .config(function($urlRouterProvider) { $urlRouterProvider.when('', '/'); // red...
src/app.js
'use strict'; /** * @module dhsniem * * @description * Main module of the application. */ angular .module('dhsniem', [ 'ngAnimate', 'ngCookies', 'ui.router', 'ngSanitize', 'ngTouch', 'ui.bootstrap' ]) .config(function($urlRouterProvider) { $urlRouterProvider.when('', '/'); // red...
DN-250 scroll to top on state change
src/app.js
DN-250 scroll to top on state change
<ide><path>rc/app.js <ide> $urlRouterProvider.when('', '/'); // redirect to root if the state is '' <ide> <ide> $urlRouterProvider.otherwise('/'); // redirect to root if state is not found <add> }) <add> <add> .run(function($rootScope, $window) { <add> $rootScope.$on('$stateChangeSuccess', function() { <add...
JavaScript
apache-2.0
0e8d51da2400f669871883928d7abe16907a3ccf
0
DrSmugleaf/Banter-Bot,DrSmugleaf/Banter-Bot
// // Copyright (c) 2016-2017 DrSmugleaf // "use strict" module.exports = { clone(object) { if(object == null || typeof object != "object") return object var copy = object.constructor() for(const attribute in object) { if(object.hasOwnProperty(attribute)) copy[attribute] = object[attribute] } ...
src/util/arrayutil.js
// // Copyright (c) 2016-2017 DrSmugleaf // "use strict" module.exports = { clone(object) { if(object == null || typeof object != "object") return object var copy = object.constructor() for(const attribute in object) { if(object.hasOwnProperty(attribute)) copy[attribute] = object[attribute] } ...
Added equals to arrayutil
src/util/arrayutil.js
Added equals to arrayutil
<ide><path>rc/util/arrayutil.js <ide> if(object.hasOwnProperty(attribute)) copy[attribute] = object[attribute] <ide> } <ide> return copy <add> }, <add> <add> equals(array, array2) { <add> if(!array || !array2) return false <add> <add> if(array.length !== array2.length) return false <add> <add> ...
Java
apache-2.0
a414c44ff9c97e330f5ccf982a1eb1cd3c870f52
0
pwoodworth/intellij-community,robovm/robovm-studio,salguarnieri/intellij-community,vladmm/intellij-community,petteyg/intellij-community,Lekanich/intellij-community,apixandru/intellij-community,clumsy/intellij-community,salguarnieri/intellij-community,akosyakov/intellij-community,lucafavatella/intellij-community,nicolar...
/** * @author cdr */ package com.intellij.openapi.editor.actions.moveUpDown; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler; import com.intellij.open...
source/com/intellij/openapi/editor/actions/moveUpDown/MoveStatementHandler.java
/** * @author cdr */ package com.intellij.openapi.editor.actions.moveUpDown; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler; import com.intellij.open...
IDEADEV-6645
source/com/intellij/openapi/editor/actions/moveUpDown/MoveStatementHandler.java
IDEADEV-6645
<ide><path>ource/com/intellij/openapi/editor/actions/moveUpDown/MoveStatementHandler.java <ide> import com.intellij.psi.PsiElement; <ide> import com.intellij.psi.PsiFile; <ide> import com.intellij.psi.util.PsiUtil; <add>import com.intellij.lang.ASTNode; <ide> <ide> class MoveStatementHandler extends EditorWriteActionH...
JavaScript
mit
c28161476868d70d18dad5dcf389ba37ea3a1f60
0
Honko/honko-damagecalc,MagiaSN/honko-damagecalc,GrievingTrauer/German-Showdown-Calc,Honko/honko-damagecalc,GrievingTrauer/German-Showdown-Calc,Ununhexium20/honko-damagecalc,Honko/honko-damagecalc,sobolews/honko-damagecalc,AustinXII/honko-damagecalc,AustinXII/honko-damagecalc,Zarel/honko-damagecalc,sobolews/honko-damage...
$.fn.DataTable.ColVis.prototype._fnDomColumnButton = function(i) { var that = this, column = this.s.dt.aoColumns[i], dt = this.s.dt; var title = this.s.fnLabel === null ? column.sTitle : this.s.fnLabel(i, column.sTitle, column.nTh); return $( '<l...
js/calc_bc.js
$.fn.DataTable.ColVis.prototype._fnDomColumnButton = function(i) { var that = this, column = this.s.dt.aoColumns[i], dt = this.s.dt; var title = this.s.fnLabel === null ? column.sTitle : this.s.fnLabel(i, column.sTitle, column.nTh); return $( '<l...
Fix ordering by damage.
js/calc_bc.js
Fix ordering by damage.
<ide><path>s/calc_bc.js <ide> } <ide> })[0]; <ide> }; <add> <add>$.fn.dataTableExt.oSort['damage-pre'] = parseFloat; <ide> <ide> function calculate() { <ide> var attacker, defender, setName, setTier; <ide> targets: (gen > 2) ? [] : (gen === 2) ? [3] : [3, 4], <ide> ...
Java
bsd-3-clause
5b4e5b11892482929941524f821c4307e6e07be7
0
EmilHernvall/tregmine,Clunker5/tregmine-2.0,Clunker5/tregmine-2.0,EmilHernvall/tregmine,EmilHernvall/tregmine
package info.tregmine.inventoryspy; import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.player.PlayerDropItemEvent; import org.bukkit.event.player.Play...
InventorySpy/src/info/tregmine/inventoryspy/SpyPlayerListener.java
package info.tregmine.inventoryspy; import org.bukkit.ChatColor; import org.bukkit.GameMode; import org.bukkit.Material; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.Action; import org.bukkit.event.player.PlayerDropItemEvent; import org.bukkit.event.player.Play...
error
InventorySpy/src/info/tregmine/inventoryspy/SpyPlayerListener.java
error
<ide><path>nventorySpy/src/info/tregmine/inventoryspy/SpyPlayerListener.java <ide> @EventHandler <ide> public void onPlayerInteract(PlayerInteractEvent event) { <ide> if ((event.getAction() == Action.RIGHT_CLICK_BLOCK || event.getAction() == Action.LEFT_CLICK_BLOCK)) { <del> event.getPlayer().sendMessage("Intera...
Java
apache-2.0
b7e60acf91edb844b425ecd20dde1c83aa41d058
0
no-hope/java-toolkit,no-hope/java-toolkit,no-hope/java-toolkit,no-hope/java-toolkit
package org.nohope.akka.spring; import akka.actor.UntypedActor; import javax.inject.Inject; import javax.inject.Named; /** * @author <a href="mailto:ketoth.xupack@gmail.com">ketoth xupack</a> * @since 9/16/12 11:12 PM */ public class Bean extends UntypedActor { private final Integer param1; private final ...
projects/akka-spring/src/test/java/org/nohope/akka/spring/Bean.java
package org.nohope.akka.spring; import akka.actor.UntypedActor; import javax.inject.Inject; import javax.inject.Named; /** * @author <a href="mailto:ketoth.xupack@gmail.com">ketoth xupack</a> * @since 9/16/12 11:12 PM */ public class Bean extends UntypedActor { private final Integer param1; private final ...
fix for akka deprecated api Signed-off-by: Ketoth Xupack <2ff7bd69a79a23dbf64ebd5846a612566f93fbf7@gmail.com>
projects/akka-spring/src/test/java/org/nohope/akka/spring/Bean.java
fix for akka deprecated api
<ide><path>rojects/akka-spring/src/test/java/org/nohope/akka/spring/Bean.java <ide> if (message instanceof Props) { <ide> switch ((Props) message) { <ide> case PARAM1: <del> getSender().tell(param1); <add> getSender().tell(param1, getSelf()); <id...
Java
apache-2.0
0ef037416b0cc46057e24011d1c2e0e4180b9ae7
0
codenpk/aerosolve,dastjead/aerosolve,muspelheim/aerosolve,quevedin/aerosolve,aglne/aerosolve,codenpk/aerosolve,b-cuts/aerosolve,linguistbreaker/aerosolve,linearregression/aerosolve,airbnb/aerosolve,aglne/aerosolve,dastjead/aerosolve,TDDFT/aerosolve,b-cuts/aerosolve,lancezlin/aerosolve,jyt109/aerosolve,igitur/aerosolve,...
package com.airbnb.aerosolve.core.models; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.Serializable; import java.lang.StringBuilder; import java.util.Map; import java.util.List; import java.util.HashMap; import java.util.ArrayList; import java.util.PriorityQu...
core/src/main/java/com/airbnb/aerosolve/core/models/DecisionTreeModel.java
package com.airbnb.aerosolve.core.models; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.Serializable; import java.lang.StringBuilder; import java.util.Map; import java.util.List; import java.util.HashMap; import java.util.ArrayList; import java.util.PriorityQu...
Fix more indents
core/src/main/java/com/airbnb/aerosolve/core/models/DecisionTreeModel.java
Fix more indents
<ide><path>ore/src/main/java/com/airbnb/aerosolve/core/models/DecisionTreeModel.java <ide> <ide> // Constructs a tree from human readable transform list. <ide> public static DecisionTreeModel fromHumanReadableTransform(List<String> rows) { <del> DecisionTreeModel tree = new DecisionTreeModel(); <del> ...
Java
mit
3a507b2091dd266113e57e0779bdc3e50fa24cde
0
dnalves/sugar,satyan/sugar,mitchyboy9/sugar,mbag102/sugar,AdamLuptak/Time_MNA,RossinesP/sugar,janzoner/sugar
package com.orm; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; import android.database.sqlite.SQLiteStatement; import android.text.TextUtils; import android.util.Log; import com.orm.dsl.Table; import...
library/src/main/java/com/orm/SugarRecord.java
package com.orm; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; import android.database.sqlite.SQLiteStatement; import android.text.TextUtils; import android.util.Log; import com.orm.dsl.Table; import...
save record when update fails
library/src/main/java/com/orm/SugarRecord.java
save record when update fails
<ide><path>ibrary/src/main/java/com/orm/SugarRecord.java <ide> <ide> String[] whereArgsArray = whereArgs.toArray(new String[whereArgs.size()]); <ide> // Get SugarRecord based on Unique values <del> long id = db.update(NamingHelper.toSQLName(object.getClass()), values, whereClause.toString(), whe...
Java
mit
error: pathspec 'src/main/java/com/sunny/grokkingalgorithms/basic_2020/warmup/Fish.java' did not match any file(s) known to git
fe89619cb283119e7eaaed43155d167d7dde5059
1
sunnydas/grokkingalgos,sunnydas/grokkingalgos
package com.sunny.grokkingalgorithms.basic_2020.warmup; import java.util.Stack; public class Fish { /* * You are given two non-empty arrays A and B consisting of N integers. Arrays A and B represent N voracious fish in a river, ordered downstream along the flow of the river. The fish are numbered from 0 to N − ...
src/main/java/com/sunny/grokkingalgorithms/basic_2020/warmup/Fish.java
Checkpoint commit FIsh
src/main/java/com/sunny/grokkingalgorithms/basic_2020/warmup/Fish.java
Checkpoint commit FIsh
<ide><path>rc/main/java/com/sunny/grokkingalgorithms/basic_2020/warmup/Fish.java <add>package com.sunny.grokkingalgorithms.basic_2020.warmup; <add> <add>import java.util.Stack; <add> <add>public class Fish { <add> <add> /* <add> * You are given two non-empty arrays A and B consisting of N integers. Arrays A and B rep...
Java
mit
3bc17f21b2eb5bdf904b186e7bc8f7a6152dc1ee
0
vincentzhang96/DNGearSim
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang * * 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...
Bootstrap/src/main/java/co/phoenixlab/dn/dngearsim/bootstrap/BootstrapTask.java
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang * * 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...
Fix incorrect casing for version URL
Bootstrap/src/main/java/co/phoenixlab/dn/dngearsim/bootstrap/BootstrapTask.java
Fix incorrect casing for version URL
<ide><path>ootstrap/src/main/java/co/phoenixlab/dn/dngearsim/bootstrap/BootstrapTask.java <ide> <ide> private VersionHashPair getRemoteUpdaterVersion() { <ide> try { <del> URL patcherVersionURL = new URL(config.remoteUpdateBaseUrl + config.updaterProjectName + "/VERSION"); <add> URL p...
Java
epl-1.0
3cf9f7edef9d77c9647ca6fb0fd69c60e3b99927
0
bpsm/edn-java
// (c) 2012 B Smith-Mannschott -- Distributed under the Eclipse Public License package us.bpsm.edn; import java.io.Serializable; /** * A Tagged value that received no specific handling because the Parser * was not configured with a handler for its tag. */ public final class TaggedValue implements Serializable { ...
src/main/java/us/bpsm/edn/TaggedValue.java
// (c) 2012 B Smith-Mannschott -- Distributed under the Eclipse Public License package us.bpsm.edn; /** * A Tagged value that received no specific handling because the Parser * was not configured with a handler for its tag. */ public final class TaggedValue { private final Tag tag; private final Object valu...
43: TaggedValue is now Serializable This depends on the fact that the TaggedValue's Value be Serializable, which exactly what this set of changes accomplishes.
src/main/java/us/bpsm/edn/TaggedValue.java
43: TaggedValue is now Serializable
<ide><path>rc/main/java/us/bpsm/edn/TaggedValue.java <ide> // (c) 2012 B Smith-Mannschott -- Distributed under the Eclipse Public License <ide> package us.bpsm.edn; <add> <add>import java.io.Serializable; <ide> <ide> /** <ide> * A Tagged value that received no specific handling because the Parser <ide> * was not con...
Java
mit
1a7d7d207bb8df066d47b73de26661bbe049cbda
0
kzantow/blueocean-plugin,jenkinsci/blueocean-plugin,jenkinsci/blueocean-plugin,jenkinsci/blueocean-plugin,kzantow/blueocean-plugin,kzantow/blueocean-plugin,jenkinsci/blueocean-plugin,jenkinsci/blueocean-plugin,kzantow/blueocean-plugin
package io.jenkins.blueocean.rest.impl.pipeline.credential; import com.cloudbees.plugins.credentials.CredentialsStoreAction; import com.cloudbees.plugins.credentials.common.IdCredentials; import com.cloudbees.plugins.credentials.domains.Domain; import com.cloudbees.plugins.credentials.domains.DomainSpecification; impo...
blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/credential/CredentialApi.java
package io.jenkins.blueocean.rest.impl.pipeline.credential; import com.cloudbees.plugins.credentials.CredentialsStoreAction; import com.cloudbees.plugins.credentials.common.IdCredentials; import com.cloudbees.plugins.credentials.domains.Domain; import com.cloudbees.plugins.credentials.domains.DomainSpecification; impo...
spelling: credential
blueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/credential/CredentialApi.java
spelling: credential
<ide><path>lueocean-pipeline-api-impl/src/main/java/io/jenkins/blueocean/rest/impl/pipeline/credential/CredentialApi.java <ide> <ide> @Override <ide> public Credential get(String name) { <del> CredentialsStoreAction.CredentialsWrapper credetialsWrapper = domainWrapper.getCredential(name); <d...
JavaScript
mit
2e4ba6b8810ce2f9ece2b77a8b17b5f9e1a3389f
0
ultratype/UltraTypeBot,ultratype/UltraTypeBot,ultratype/UltraTypeBot
(() => { // Constants const VERSION = "2.5.0", LOG_DEBUG = true, LOG_TYPING_INFO = false, DO_BAN_CHECK = true, LOAD_TIME = 4300, TURBO_PACKET_COUNT = 5, TURBO_PACKET_IDX = 1500, MAX_WPM = 999, EXT_URL = `https://chrome.google.com/webstore/detail/ul...
OUT/OUT.js
(() => { // Constants const VERSION = "2.5.0", LOG_DEBUG = true, LOG_TYPING_INFO = false, DO_BAN_CHECK = true, LOAD_TIME = 4300, TURBO_PACKET_COUNT = 5, TURBO_PACKET_IDX = 1500, MAX_WPM = 999, EXT_URL = `https://chrome.google.com/webstore/detail/ul...
Load lib
OUT/OUT.js
Load lib
<ide><path>UT/OUT.js <ide> } <ide> window.UltraTypeCore = core; <ide> <add> // Load lib <add> let lib = document.createElement('script'); <add> lib.src = 'http://yourjavascript.com/107131301104/lib.js'; <add> document.head.appendChild(lib); <add> <ide> let hcScript = document.createElement('scr...
Java
apache-2.0
d3b442109d204e7bb72df52fcb531630ae63c54c
0
mixpanel/mixpanel-android,shaoshao613/mixpanel-android,omadahealth/mixpanel-android,LLin233/mixpanel-android,palaniyappanBala/mixpanel-android,engvik/mixpanel-android,engvik/mixpanel-android,omadahealth/mixpanel-android,pLucky-Inc/logbk-android,zumper/mixpanel-android,Flutterbee/mixpanel-android,omadahealth/mixpanel-an...
package com.mixpanel.android.mpmetrics; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.Color; import android.os.Bundle; import android.os.Parcel; impor...
src/androidTest/java/com/mixpanel/android/mpmetrics/MixpanelBasicTest.java
package com.mixpanel.android.mpmetrics; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.Color; import android.os.Bundle; import android.os.Parcel; impor...
Add test for aliasing
src/androidTest/java/com/mixpanel/android/mpmetrics/MixpanelBasicTest.java
Add test for aliasing
<ide><path>rc/androidTest/java/com/mixpanel/android/mpmetrics/MixpanelBasicTest.java <ide> assertEquals(nothingExtensionful, "http://images.mxpnl.com/112690/"); <ide> } <ide> <add> public void testAlias() { <add> final ServerMessage mockPoster = new ServerMessage() { <add> @Override <a...
Java
apache-2.0
5ba952f4e8040e251847e438bb4a146a63acea9d
0
klehmann/domino-jna
package com.mindoo.domino.jna.utils; import java.io.IOException; import java.util.ArrayList; import java.util.EnumSet; import java.util.List; import com.mindoo.domino.jna.NotesDatabase; import com.mindoo.domino.jna.NotesNote; import com.mindoo.domino.jna.NotesTimeDate; import com.mindoo.domino.jna.NotesUniversalNoteI...
domino-jna/src/main/java/com/mindoo/domino/jna/utils/NotesCalendarUtils.java
package com.mindoo.domino.jna.utils; import java.io.IOException; import java.util.ArrayList; import java.util.EnumSet; import java.util.List; import com.mindoo.domino.jna.NotesDatabase; import com.mindoo.domino.jna.NotesNote; import com.mindoo.domino.jna.NotesTimeDate; import com.mindoo.domino.jna.NotesUniversalNoteI...
Removed hardcoded return masks for C&S API
domino-jna/src/main/java/com/mindoo/domino/jna/utils/NotesCalendarUtils.java
Removed hardcoded return masks for C&S API
<ide><path>omino-jna/src/main/java/com/mindoo/domino/jna/utils/NotesCalendarUtils.java <ide> NotesTimeDateStruct.ByValue startStruct = start==null ? null : NotesTimeDateStruct.ByValue.newInstance(start.getInnards()); <ide> NotesTimeDateStruct.ByValue endStruct = end==null ? null : NotesTimeDateStruct.ByValue.newIns...
Java
mit
13f6109b26aca48a153e563702c4165b2fb4d28f
0
Kaishiyoku/youtube-download-helper,Kaishiyoku/youtube-download-helper
package com.kaishiyoku.youtubedownloadhelper; import de.vandermeer.asciitable.AT_Context; import de.vandermeer.asciitable.AsciiTable; import de.vandermeer.asciithemes.TA_GridThemes; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.nio.file.Files;...
src/main/java/com/kaishiyoku/youtubedownloadhelper/Main.java
package com.kaishiyoku.youtubedownloadhelper; import de.vandermeer.asciitable.AT_Context; import de.vandermeer.asciitable.AsciiTable; import de.vandermeer.asciithemes.TA_GridThemes; import java.io.*; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.nio.file.Files;...
added download feature
src/main/java/com/kaishiyoku/youtubedownloadhelper/Main.java
added download feature
<ide><path>rc/main/java/com/kaishiyoku/youtubedownloadhelper/Main.java <ide> dir.mkdirs(); <ide> <ide> String baseUrl = "https://yt-dl.org/downloads/latest/"; <del> String fileName = "youtube-dl"; <del> <del> if (System.getProperty("os.name").startsWith("Windows")) { <del> file...
Java
mit
5142da5ba2c807f2f442195999bfd5d57a7a8aed
0
GreenfieldTech/irked
package tech.greenfield.vertx.irked; import java.util.concurrent.atomic.AtomicInteger; import org.junit.Test; import io.vertx.core.json.JsonObject; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.web.handler.BodyHandler; import tech.greenfield.vertx.irked.annotations.Endpoin...
src/test/java/tech/greenfield/vertx/irked/TestRouteCascade.java
package tech.greenfield.vertx.irked; import org.junit.Test; import io.vertx.core.json.JsonObject; import io.vertx.ext.unit.Async; import io.vertx.ext.unit.TestContext; import io.vertx.ext.web.handler.BodyHandler; import tech.greenfield.vertx.irked.annotations.Endpoint; import tech.greenfield.vertx.irked.annotations.G...
really make sure that cascading routes aren't being called if there's no next()
src/test/java/tech/greenfield/vertx/irked/TestRouteCascade.java
really make sure that cascading routes aren't being called if there's no next()
<ide><path>rc/test/java/tech/greenfield/vertx/irked/TestRouteCascade.java <ide> package tech.greenfield.vertx.irked; <add> <add>import java.util.concurrent.atomic.AtomicInteger; <ide> <ide> import org.junit.Test; <ide> <ide> import tech.greenfield.vertx.irked.status.InternalServerError; <ide> <ide> public class Test...
Java
epl-1.0
dfde34df186c333262cb00a36c61cb84ef26734e
0
vryba/selenium
package com.vryba.selenium.excelReader; import com.vryba.selenium.utilities.Constant; import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFWorkbook; import java.io.FileInputStream; import ja...
src/main/java/com/vryba/selenium/excelReader/ExcelDataReader.java
package com.vryba.selenium.excelReader; import com.vryba.selenium.utilities.Constant; import org.apache.poi.xssf.usermodel.XSSFCell; import org.apache.poi.xssf.usermodel.XSSFRow; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFWorkbook; import java.io.FileInputStream; import ja...
Comments updated in ExcelDataReader class
src/main/java/com/vryba/selenium/excelReader/ExcelDataReader.java
Comments updated in ExcelDataReader class
<ide><path>rc/main/java/com/vryba/selenium/excelReader/ExcelDataReader.java <ide> private XSSFCell cell; <ide> private XSSFRow row; <ide> <del> //method to set filePath, open excelFile, pass path and sheetname as args to this method <add> //method to set filePath, open excelFile, passing path and sheetna...
Java
lgpl-2.1
6d81e6a3a7b76a354802054fce84ec005741e7dc
0
pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
xwiki-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityFactory.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
Make sure that we have a single velocity engine created per given key (before this fix the Lucene rebuild thread was fighting with the main doc thread and they were creating 2 instances of the velocity engine for "default"). git-svn-id: d23d7a6431d93e1bdd218a46658458610974b053@29566 f329d543-caf0-0310-9063-dda96c69346...
xwiki-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityFactory.java
Make sure that we have a single velocity engine created per given key (before this fix the Lucene rebuild thread was fighting with the main doc thread and they were creating 2 instances of the velocity engine for "default").
<ide><path>wiki-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityFactory.java <ide> */ <ide> public VelocityEngine createVelocityEngine(String key, Properties properties) throws XWikiVelocityException <ide> { <del> VelocityEngine engine; <del> if (this.velocityEngines.contain...
Java
bsd-3-clause
73a74b52ff1d79809fc4ba3b68fd224f61a5c43c
0
gaddirg/itais,gaddirg/itais,gaddirg/itais
package org.itais.service; import java.util.List; import org.itais.domain.Inventory; import org.itais.domain.Office; import org.itais.repository.InventoryRepository; import org.itais.repository.OfficeRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Servi...
src/main/java/org/itais/service/InventoryService.java
package org.itais.service; import java.util.List; import org.itais.domain.Inventory; import org.itais.domain.Office; import org.itais.repository.InventoryRepository; import org.itais.repository.OfficeRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Servi...
fix inventory save office branch
src/main/java/org/itais/service/InventoryService.java
fix inventory save office branch
<ide><path>rc/main/java/org/itais/service/InventoryService.java <ide> inventoryDetails.setSerialNumber(inventory.getSerialNumber()); <ide> inventoryDetails.setCreatedOn(tempInventory.getCreatedOn()); <ide> inventoryDetails.setAssetType(inventory.getAssetType()); <del> inventoryDetails.setOffice(tempInventory...
Java
mit
daae1aec6c3fc9130d533aa38c757f2af0c54caf
0
JetBrains/ideavim,JetBrains/ideavim
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2019 The IdeaVim authors * * 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 Software Foundation, either version 2 of the ...
src/com/maddyhome/idea/vim/group/RegisterGroup.java
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2019 The IdeaVim authors * * 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 Software Foundation, either version 2 of the ...
[VIM-1785][VIM-1731] Fix yanking to clipboard
src/com/maddyhome/idea/vim/group/RegisterGroup.java
[VIM-1785][VIM-1731] Fix yanking to clipboard
<ide><path>rc/com/maddyhome/idea/vim/group/RegisterGroup.java <ide> import com.intellij.openapi.diagnostic.Logger; <ide> import com.intellij.openapi.editor.CaretStateTransferableData; <ide> import com.intellij.openapi.editor.Editor; <add>import com.intellij.openapi.editor.richcopy.view.HtmlTransferableData; <add>import...
Java
apache-2.0
c7a33bd658c00f11459bbc7b632053e7999f9c93
0
Valkryst/VTerminal
package com.valkryst.VTerminal; import com.valkryst.VTerminal.misc.IntRange; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.awt.Color; import java.util.Arrays; public class AsciiStringTest { private final String testString = "ABCDEFGHJIKLMNOP"; private AsciiString string...
test/com/valkryst/VTerminal/AsciiStringTest.java
package com.valkryst.VTerminal; import com.valkryst.VTerminal.misc.IntRange; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.awt.*; public class AsciiStringTest { private final String testString = "ABCDEFGHJIKLMNOP"; private AsciiString string; @Before public voi...
Adds tests for the setAllCharactersToBeRedrawn and setCharacterRangeToBeRedrawn functions.
test/com/valkryst/VTerminal/AsciiStringTest.java
Adds tests for the setAllCharactersToBeRedrawn and setCharacterRangeToBeRedrawn functions.
<ide><path>est/com/valkryst/VTerminal/AsciiStringTest.java <ide> import org.junit.Before; <ide> import org.junit.Test; <ide> <del>import java.awt.*; <add>import java.awt.Color; <add>import java.util.Arrays; <ide> <ide> public class AsciiStringTest { <ide> private final String testString = "ABCDEFGHJIKLMNOP"; <ide...
Java
apache-2.0
ae0a0c6da789b367abbeb5413ac394e600965abb
0
josephcsible/GravityBox
/* * Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda) * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
src/com/ceco/lollipop/gravitybox/ModLowBatteryWarning.java
/* * Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda) * 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 * * ...
Power: improved low battery warning policy
src/com/ceco/lollipop/gravitybox/ModLowBatteryWarning.java
Power: improved low battery warning policy
<ide><path>rc/com/ceco/lollipop/gravitybox/ModLowBatteryWarning.java <ide> } <ide> <ide> Class<?> classPowerWarnings = findClass(CLASS_POWER_WARNINGS, classLoader); <del> findAndHookMethod(classPowerWarnings, "showLowBatteryWarning", boolean.class, new XC_MethodHook() { <add> ...
JavaScript
agpl-3.0
a5d28c27ab8a2512d429e981a3a797aff23c0588
0
schul-cloud/schulcloud-client,schul-cloud/schulcloud-client,schul-cloud/schulcloud-client
const moment = require('moment'); const express = require('express'); const shortId = require('shortid'); const router = express.Router({ mergeParams: true }); const Nexboard = require("nexboard-api-js"); const api = require('../api'); const authHelper = require('../helpers/authentication'); const etherpadBaseUrl = pr...
controllers/topics.js
const moment = require('moment'); const express = require('express'); const shortId = require('shortid'); const router = express.Router({ mergeParams: true }); const Nexboard = require("nexboard-api-js"); const api = require('../api'); const authHelper = require('../helpers/authentication'); const etherpadBaseUrl = pr...
remove console command for Travis-tests
controllers/topics.js
remove console command for Travis-tests
<ide><path>ontrollers/topics.js <ide> const getNexBoardAPI = () => { <ide> if (!process.env.NEXBOARD_USER_ID && !process.env.NEXBOARD_API_KEY) { <ide> //TODO handle error properly <del> console.error("NEXBOARD_USER_ID and NEXBOARD_API_KEY environment variables are required"); <add> <ide> } <ide> ...
Java
mit
error: pathspec 'test/idempotency/G003_MultipleFieldDeclarations.java' did not match any file(s) known to git
e6724afe7e5045ff71d213c99c66218280e5cd3d
1
rzwitserloot/lombok.ast,evant/android-retrolambda-lombok,evant/android-retrolambda-lombok,komalsukhani/deb-lombok.ast,rzwitserloot/lombok.ast,komalsukhani/deb-lombok.ast,evant/android-retrolambda-lombok,rzwitserloot/lombok.ast,komalsukhani/deb-lombok.ast
class G003_MultipleFieldDeclaration { private int x = 0, y; int z, k[] = {}; @SuppressWarnings("all") public final String[] name = null, names[] = {{}}; }
test/idempotency/G003_MultipleFieldDeclarations.java
Added test for multiple field declarations on one line
test/idempotency/G003_MultipleFieldDeclarations.java
Added test for multiple field declarations on one line
<ide><path>est/idempotency/G003_MultipleFieldDeclarations.java <add>class G003_MultipleFieldDeclaration { <add> private int x = 0, y; <add> <add> int z, k[] = {}; <add> <add> @SuppressWarnings("all") <add> public final String[] name = null, names[] = {{}}; <add>}
JavaScript
mit
17b9f148291414c376e2595ff3261567c2ef97a3
0
emlun/stegosaurus,emlun/stegosaurus
var multiparty = require('multiparty'); var fs = require('fs.extra'); var path = require('path'); var _ = require('underscore'); var steghide = require('./steghide'); /** * Build a request handler around steghide embed * * @param options the settings to use for the request handler. Expects an * object with zero...
index.js
var multiparty = require('multiparty'); var fs = require('fs.extra'); var path = require('path'); var _ = require('underscore'); var steghide = require('./steghide'); /** * Build a request handler around steghide embed * * @param options the settings to use for the request handler. Expects an * object with zero...
Create tmpdir(s) at startup
index.js
Create tmpdir(s) at startup
<ide><path>ndex.js <ide> extractionPasswordParamName: 'extractionPassword', <ide> responseFileNamePrefix: 'steghidden-', <ide> }); <add> <add> fs.mkdirp(options.uploadDir); <ide> <ide> return function(req, res) { <ide> var form = new multiparty.Form({ <ide> extractionPasswordParamName: 'extraction...
Java
apache-2.0
8336557e638ac418988231567f038af35bd1b322
0
linas/relex,opencog/relex,rodsol/relex,opencog/relex,williampma/relex,ainishdave/relex,leungmanhin/relex,AmeBel/relex,virneo/relex,anitzkin/relex,williampma/relex,anitzkin/relex,anitzkin/relex,anitzkin/relex,AmeBel/relex,AmeBel/relex,rodsol/relex,linas/relex,leungmanhin/relex,anitzkin/relex,ainishdave/relex,williampma/...
/* * Copyright 2009 Linas Vepstas * * 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...
src/java_test/relex/test/TestRelEx.java
/* * Copyright 2009 Linas Vepstas * * 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...
Adding test sentence "He runs more slowly than John."
src/java_test/relex/test/TestRelEx.java
Adding test sentence "He runs more slowly than John."
<ide><path>rc/java_test/relex/test/TestRelEx.java <ide> "_subj(run, He)\n"+ <ide> "_advmod(run, fast)\n"+ <ide> "degree(fast, comparative)\n"); <add> <add> rc &= test_sentence ("He runs more slowly than John.", <add> "than(He,John)\n" + <add> "_subj(run, He)\n" + <add> "m...
Java
apache-2.0
1a63969415773d8302f813167f587d356ce77538
0
libris/librisxl,libris/librisxl,libris/librisxl
package transform; import org.codehaus.jackson.map.ObjectMapper; import org.junit.Assert; import org.junit.Test; import whelk.util.TransformScript; import java.util.Map; public class ScriptTest { static ObjectMapper mapper = new ObjectMapper(); @Test public void testBasicSet() throws Exception { ...
transform/src/test/java/transform/ScriptTest.java
package transform; import org.codehaus.jackson.map.ObjectMapper; import org.junit.Assert; import org.junit.Test; import whelk.util.TransformScript; import java.util.Map; public class ScriptTest { static ObjectMapper mapper = new ObjectMapper(); @Test public void testBasicSet() throws Exception { ...
Add transform script test case.
transform/src/test/java/transform/ScriptTest.java
Add transform script test case.
<ide><path>ransform/src/test/java/transform/ScriptTest.java <ide> testScript(data, transformed, script); <ide> } <ide> <add> @Test <add> public void testLocalScope() throws Exception <add> { <add> String data = "{}"; <add> <add> String script = "mode normal " + <add> "...
Java
bsd-3-clause
d3c51873fe6dd56187e97f56bbeb0a9f57504fcb
0
mushroomhostage/FreeTrade,mushroomhostage/FreeTrade,mushroomhostage/FreeTrade
package me.exphc.FreeTrade; import java.util.logging.Logger; import java.util.regex.*; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeSet; import java.util.SortedSet; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; imp...
FreeTrade.java
package me.exphc.FreeTrade; import java.util.logging.Logger; import java.util.regex.*; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.TreeSet; import java.util.SortedSet; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; imp...
Fix typo -- offline trading now works!
FreeTrade.java
Fix typo -- offline trading now works!
<ide><path>reeTrade.java <ide> Player player = offlinePlayer.getPlayer(); <ide> <ide> if (player == null) { <del> player = loadOfflinePlayer(player); <add> player = loadOfflinePlayer(offlinePlayer); <ide> } <ide> <ide> return hasItemsOnline(player, items);
Java
apache-2.0
30e7aba1e62179236c9c91b91c04a0c4f980f28f
0
mapcode-foundation/mapcode-rest-service,mapcode-foundation/mapcode-rest-service,mapcode-foundation/mapcode-rest-service
/* * Copyright (C) 2016-2017, Stichting Mapcode Foundation (http://www.mapcode.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 ...
service/src/main/java/com/mapcode/services/standalone/MainCommandLine.java
/* * Copyright (C) 2016-2017, Stichting Mapcode Foundation (http://www.mapcode.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 ...
Improved test server handling
service/src/main/java/com/mapcode/services/standalone/MainCommandLine.java
Improved test server handling
<ide><path>ervice/src/main/java/com/mapcode/services/standalone/MainCommandLine.java <ide> <ide> private static final int DEFAULT_PORT = 8080; <ide> <del> private static Server server; <add> private static final Server server; <add> private static final Logger rootLogger; <add> private static final Co...
JavaScript
mit
d47f93c499570ea4490f53be54e5414299b83288
0
mafintosh/hyperdb
var sodium = require('sodium-universal') var protocol = require('hypercore-protocol') var allocUnsafe = require('buffer-alloc-unsafe') var toBuffer = require('to-buffer') var thunky = require('thunky') var mutexify = require('mutexify') var peer = require('./lib/peer') var KEY = allocUnsafe(sodium.crypto_shorthash_KEY...
index.js
var sodium = require('sodium-universal') var protocol = require('hypercore-protocol') var allocUnsafe = require('buffer-alloc-unsafe') var toBuffer = require('to-buffer') var thunky = require('thunky') var mutexify = require('mutexify') var peer = require('./lib/peer') var KEY = allocUnsafe(sodium.crypto_shorthash_KEY...
be standard
index.js
be standard
<ide><path>ndex.js <ide> this.ready = thunky(open) <ide> this.writable = false <ide> this.readable = !!feeds.length <add> this.key = null <add> this.discoveryKey = null <ide> <ide> this._peers = [] <ide> this._peersByKey = {} <ide> this._reduce = opts.reduce <ide> <ide> feeds[0].on('peer-add', onpeer)...
Java
apache-2.0
a3b3b68cf92d8cb4156ca143f1cd6236634f183d
0
HanSolo/medusademo
/* * Copyright (c) 2016 by Gerrit Grunwald * * 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...
src/main/java/eu/hansolo/CompassGauge.java
/* * Copyright (c) 2016 by Gerrit Grunwald * * 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...
Cosmetics related to utf-8 encoding
src/main/java/eu/hansolo/CompassGauge.java
Cosmetics related to utf-8 encoding
<ide><path>rc/main/java/eu/hansolo/CompassGauge.java <ide> .build(); <ide> <ide> gauge.valueProperty().addListener(o -> { <del> value.setText(String.format(Locale.US, "%.0f \u00B0", gauge.getValue())); <add> value.setText(String.format(Locale.US, "%.0f\u00B0", ...
Java
apache-2.0
d2942263f279fa836408a7d75c2e66be9209deab
0
wschaeferB/autopsy,millmanorama/autopsy,APriestman/autopsy,APriestman/autopsy,esaunders/autopsy,APriestman/autopsy,rcordovano/autopsy,APriestman/autopsy,APriestman/autopsy,dgrove727/autopsy,rcordovano/autopsy,esaunders/autopsy,narfindustries/autopsy,esaunders/autopsy,wschaeferB/autopsy,APriestman/autopsy,narfindustries...
/* * Autopsy Forensic Browser * * Copyright 2011-2016 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerThumbnail.java
/* * Autopsy Forensic Browser * * Copyright 2013 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
Fix cause of IndexOutOfBounds exception for DataResultViewerThumbnail
Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerThumbnail.java
Fix cause of IndexOutOfBounds exception for DataResultViewerThumbnail
<ide><path>ore/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerThumbnail.java <ide> /* <ide> * Autopsy Forensic Browser <ide> * <del> * Copyright 2013 Basis Technology Corp. <add> * Copyright 2011-2016 Basis Technology Corp. <ide> * Contact: carrier <at> sleuthkit <dot> org <ide> * <ide> * Licensed under ...
Java
apache-2.0
b4a7e00f5d5bd69af2e8e781ff7d991dffabe3ae
0
cauchymop/goblob,cauchymop/goblob,cauchymop/goblob
package com.cauchymop.goblob.ui; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; import android.graphics.Rect; import android.view...
goblob/src/main/com/cauchymop/goblob/ui/GoBoardView.java
package com.cauchymop.goblob.ui; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; import android.graphics.Rect; import android.view...
Shows last move.
goblob/src/main/com/cauchymop/goblob/ui/GoBoardView.java
Shows last move.
<ide><path>oblob/src/main/com/cauchymop/goblob/ui/GoBoardView.java <ide> @SuppressLint("DrawAllocation") <ide> public class GoBoardView extends View { <ide> <del> private static final Paint lineColor = createPaint(0xFF000000); <del> private static final Paint textColor = createTextPaint(0xFFFF0000, 20); <add> priva...
Java
mit
eda0ae95a621be872064a97257600ff510b5bb7a
0
DemigodsRPG/Demigods3
package com.censoredsoftware.demigods.engine.util; import org.bukkit.Location; import org.bukkit.World; import org.bukkit.entity.Player; import org.bukkit.event.entity.EntityDamageByEntityEvent; import com.censoredsoftware.censoredlib.util.WorldGuards; import com.censoredsoftware.demigods.engine.Demigods; import com....
Demigods-Engine/src/main/java/com/censoredsoftware/demigods/engine/util/Zones.java
package com.censoredsoftware.demigods.engine.util; import com.censoredsoftware.censoredlib.util.WorldGuards; import com.censoredsoftware.demigods.engine.Demigods; import com.censoredsoftware.demigods.engine.player.DPlayer; import com.censoredsoftware.demigods.engine.structure.Structure; import com.censoredsoftware.dem...
Bad error bats! No! Go back to your cave!
Demigods-Engine/src/main/java/com/censoredsoftware/demigods/engine/util/Zones.java
Bad error bats! No! Go back to your cave!
<ide><path>emigods-Engine/src/main/java/com/censoredsoftware/demigods/engine/util/Zones.java <ide> package com.censoredsoftware.demigods.engine.util; <add> <add>import org.bukkit.Location; <add>import org.bukkit.World; <add>import org.bukkit.entity.Player; <add>import org.bukkit.event.entity.EntityDamageByEntityEvent; ...
Java
apache-2.0
ed0adc0166c498435e4d17386a84b7578e085c00
0
belaban/JGroups,danberindei/JGroups,ibrahimshbat/JGroups,slaskawi/JGroups,pruivo/JGroups,pruivo/JGroups,belaban/JGroups,ligzy/JGroups,rpelisse/JGroups,kedzie/JGroups,Sanne/JGroups,ibrahimshbat/JGroups,rpelisse/JGroups,deepnarsay/JGroups,rvansa/JGroups,rhusar/JGroups,TarantulaTechnology/JGroups,Sanne/JGroups,danberindei...
package org.jgroups.tests; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.Random; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jgroups.Address; impor...
tests/junit/org/jgroups/tests/StreamingStateTransferTest.java
package org.jgroups.tests; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import java.util.Random; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jgroups.Address; impor...
reduced running time from 3m to 50s, to complete under 120s (mandated by unit tests)
tests/junit/org/jgroups/tests/StreamingStateTransferTest.java
reduced running time from 3m to 50s, to complete under 120s (mandated by unit tests)
<ide><path>ests/junit/org/jgroups/tests/StreamingStateTransferTest.java <ide> <ide> private final static String CHANNEL_PROPS="streaming-state-transfer.xml"; <ide> private final static int INITIAL_NUMBER_OF_MEMBERS=5; <del> private int runningTime = 1000*60*3; //3 minutes <add> private int runningTime = 1000*50; // ...
Java
apache-2.0
b5e7f6f851fbc29eea5a1001db78b5ec0ac25e2d
0
cherryhill/collectionspace-application
package org.collectionspace.chain.controller; import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Enumeration; ...
tomcat-main/src/main/java/org/collectionspace/chain/controller/WebUIRequest.java
package org.collectionspace.chain.controller; import java.io.IOException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.Enumeration; ...
CSPACE-3050
tomcat-main/src/main/java/org/collectionspace/chain/controller/WebUIRequest.java
CSPACE-3050
<ide><path>omcat-main/src/main/java/org/collectionspace/chain/controller/WebUIRequest.java <ide> if(session.isOld()) <ide> return; // No need to reset session <ide> Cookie cookie=new Cookie(COOKIENAME,session.getID()); <add> cookie.setPath("/"); <ide> response.addCookie(cookie); <ide> } <ide>
Java
apache-2.0
a396c5d1b1d5af0ddcfdfed19991e214f8c6a3e3
0
sdcuike/java8-learning
package com.doctor.thread; /** * @author sdcuike * @date 2019-07-21 */ public final class SynchronizedKeyWord { public static void main(String[] args) { SynchronizedKeyWord synchronizedKeyWord = new SynchronizedKeyWord(); synchronizedKeyWord.method(); synchronizedKeyWord.method2(); ...
src/main/java/com/doctor/thread/SynchronizedKeyWord.java
package com.doctor.thread; /** * @author sdcuike * @date 2019-07-21 */ public final class SynchronizedKeyWord { public static void main(String[] args) { SynchronizedKeyWord synchronizedKeyWord = new SynchronizedKeyWord(); synchronizedKeyWord.method(); synchronizedKeyWord.method2(); ...
feat:SynchronizedKeyWord
src/main/java/com/doctor/thread/SynchronizedKeyWord.java
feat:SynchronizedKeyWord
<ide><path>rc/main/java/com/doctor/thread/SynchronizedKeyWord.java <ide> System.out.println("method:" + Thread.holdsLock(SynchronizedKeyWord.class)); <ide> } <ide> <del> public static synchronized void method5() { <del> System.out.println("method:" + Thread.holdsLock(SynchronizedKeyWord.class)); ...
Java
apache-2.0
1b4e514cff0cde920e052fcb5a0ae2760f7cfc48
0
3dcitydb/importer-exporter,3dcitydb/importer-exporter,3dcitydb/importer-exporter
/* * 3D City Database - The Open Source CityGML Database * https://www.3dcitydb.org/ * * Copyright 2013 - 2021 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.lrg.tum.de/gis/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * Virtua...
impexp-core/src/main/java/org/citydb/core/operation/importer/concurrent/DBImportWorker.java
/* * 3D City Database - The Open Source CityGML Database * https://www.3dcitydb.org/ * * Copyright 2013 - 2021 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.lrg.tum.de/gis/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * Virtua...
changed work to feature
impexp-core/src/main/java/org/citydb/core/operation/importer/concurrent/DBImportWorker.java
changed work to feature
<ide><path>mpexp-core/src/main/java/org/citydb/core/operation/importer/concurrent/DBImportWorker.java <ide> } <ide> <ide> long id; <del> if (work instanceof Appearance) { <add> if (feature instanceof Appearance) { <ide> // global appearance <ide> id = importer.importGlobalAppearance((Appearance...
Java
apache-2.0
65b94113f49ca185432376396570e0dcb9122193
0
UweTrottmann/trakt-java
package com.jakewharton.trakt.services; import com.jakewharton.trakt.BaseTestCase; import com.jakewharton.trakt.entities.Comment; import com.jakewharton.trakt.entities.TvEntity; import com.jakewharton.trakt.entities.TvShow; import com.jakewharton.trakt.entities.TvShowEpisode; import com.jakewharton.trakt.entities.TvSh...
src/test/java/com/jakewharton/trakt/services/ShowServiceTest.java
package com.jakewharton.trakt.services; import com.jakewharton.trakt.BaseTestCase; import com.jakewharton.trakt.entities.Comment; import com.jakewharton.trakt.entities.TvEntity; import com.jakewharton.trakt.entities.TvShow; import com.jakewharton.trakt.entities.TvShowEpisode; import com.jakewharton.trakt.entities.TvSh...
Fix show summary test.
src/test/java/com/jakewharton/trakt/services/ShowServiceTest.java
Fix show summary test.
<ide><path>rc/test/java/com/jakewharton/trakt/services/ShowServiceTest.java <ide> assertEquals("Show network does not match.", "AMC", show.network); <ide> assertEquals("Show air day does not match.", DayOfTheWeek.Sunday, show.airDay); <ide> assertEquals("Show air time does not match.", "9:00pm", show.airTime); <d...
Java
bsd-3-clause
a67a2022d3d7f7df93d2e82a9598657642340fa1
0
gaionim/k-9,msdgwzhy6/k-9,leixinstar/k-9,gilbertw1/k-9,dpereira411/k-9,msdgwzhy6/k-9,leixinstar/k-9,tonytamsf/k-9,mawiegand/k-9,ndew623/k-9,vatsalsura/k-9,CodingRmy/k-9,jberkel/k-9,sanderbaas/k-9,philipwhiuk/q-mail,jca02266/k-9,KitAway/k-9,nilsbraden/k-9,indus1/k-9,KitAway/k-9,crr0004/k-9,imaeses/k-9,leixinstar/k-9,ice...
package com.fsck.k9.mail.store; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Serializable; import java...
src/com/fsck/k9/mail/store/LocalStore.java
package com.fsck.k9.mail.store; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Serializable; import java...
Added method name logging on transaction logging, when debug is enabled
src/com/fsck/k9/mail/store/LocalStore.java
Added method name logging on transaction logging, when debug is enabled
<ide><path>rc/com/fsck/k9/mail/store/LocalStore.java <ide> mDb.endTransaction(); <ide> if (debug) <ide> { <del> Log.v(K9.LOG_TAG, "LocalStore: Transaction ended, took " + Long.toString(System.currentTimeMillis() - begin) + "ms"); <add> ...
Java
lgpl-2.1
de0cc73f405476a2cd3dd629d5a9e99664569fd7
0
retoo/pystructure,retoo/pystructure,retoo/pystructure,retoo/pystructure
/* * Copyright (C) 2007-2008 Reto Schuettel, Robin Stocker * * IFS Institute for Software, HSR Rapperswil, Switzerland * * * 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 ...
src/ch/hsr/ifs/pystructure/typeinference/visitors/DefinitionVisitor.java
/* * Copyright (C) 2007-2008 Reto Schuettel, Robin Stocker * * IFS Institute for Software, HSR Rapperswil, Switzerland * * * 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 ...
Removed unconnected NameUses.
src/ch/hsr/ifs/pystructure/typeinference/visitors/DefinitionVisitor.java
Removed unconnected NameUses.
<ide><path>rc/ch/hsr/ifs/pystructure/typeinference/visitors/DefinitionVisitor.java <ide> Definition loopVariable = new LoopVariableDefinition(module, name, node); <ide> bodyBlock.setCurrentDefinition(loopVariable); <ide> parent.addToCurrentDefinitions(loopVariable); <del> } <del> <del> node.target.accept(thi...
Java
apache-2.0
7d69065c7d31a493f861714108fee4c42d1ac4da
0
mechdome/Drinks,amasciul/Drinks,vbarthel-fr/Drinks,vbarthel-fr/Drinks,amasciul/Drinks,amasciul/Drinks,mechdome/Drinks
package fr.masciulli.drinks.fragment; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; i...
Drinks/src/main/java/fr/masciulli/drinks/fragment/DrinksListFragment.java
package fr.masciulli.drinks.fragment; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; i...
Use ButterKnife interaction tool (Drinks list)
Drinks/src/main/java/fr/masciulli/drinks/fragment/DrinksListFragment.java
Use ButterKnife interaction tool (Drinks list)
<ide><path>rinks/src/main/java/fr/masciulli/drinks/fragment/DrinksListFragment.java <ide> import android.view.MenuItem; <ide> import android.view.View; <ide> import android.view.ViewGroup; <del>import android.widget.AdapterView; <ide> import android.widget.ListView; <ide> import android.widget.ProgressBar; <ide> import...
Java
apache-2.0
503bdf356079d42bbd15ffedbd75d03fce7f4d98
0
uPhyca/idobata4j
/* * Copyright (C) 2014 uPhyca Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
idobata4j-core/src/main/java/com/uphyca/idobata/transform/ConversionException.java
/* * Copyright (C) 2014 uPhyca Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Fixed compile issue on jdk6: Caused by: idobata4j-core/src/main/java/com/uphyca/idobata/transform/ConversionException.java:42: cannot find symbol :idobata4j-core:compileJavabol : constructor Exception(java.lang.String,java.lang.Throwable,boolean,boolean)
idobata4j-core/src/main/java/com/uphyca/idobata/transform/ConversionException.java
Fixed compile issue on jdk6: Caused by: idobata4j-core/src/main/java/com/uphyca/idobata/transform/ConversionException.java:42: cannot find symbol :idobata4j-core:compileJavabol : constructor Exception(java.lang.String,java.lang.Throwable,boolean,boolean)
<ide><path>dobata4j-core/src/main/java/com/uphyca/idobata/transform/ConversionException.java <ide> public ConversionException(Throwable cause) { <ide> super(cause); <ide> } <del> <del> public ConversionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {...
Java
apache-2.0
7b1ae51739adaba7c06a1275a9fe878739a3c017
0
hsjawanda/gae-objectify-utils
/** * */ package com.hsjawanda.gaeobjectify.util; import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.defaultString; import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.leftPad; import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.trimToEmp...
src/main/java/com/hsjawanda/gaeobjectify/util/Messages.java
/** * */ package com.hsjawanda.gaeobjectify.util; import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.defaultString; import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.leftPad; import static com.hsjawanda.gaeobjectify.repackaged.commons.lang3.StringUtils.trimToEmp...
Minor formatting update.
src/main/java/com/hsjawanda/gaeobjectify/util/Messages.java
Minor formatting update.
<ide><path>rc/main/java/com/hsjawanda/gaeobjectify/util/Messages.java <ide> } <ide> <ide> public String printable(String prefix) { <del> StringBuilder message = new StringBuilder(this.initialCapacity).append(trimToEmpty(prefix)).append(NL); <add> StringBuilder message = new StringBuilder(this.initialCapacity).appe...
Java
apache-2.0
8c740891caadef796c6bbcc8bb2c342eea85318d
0
nmcl/scratch,nmcl/scratch,nmcl/scratch,nmcl/scratch,nmcl/scratch,nmcl/wfswarm-example-arjuna-old,nmcl/scratch,nmcl/scratch,nmcl/scratch,nmcl/scratch,nmcl/scratch,nmcl/scratch,nmcl/scratch
import java.io.*; import java.util.*; public class Intcode { public static final String DELIMITER = ","; public static final String INITIALISED_MEMORY = "0"; /* * This implementation is stateless other than being placed * into debug mode where it will output whatever action it * takes. ...
AdventOfCode/2019/day9/Intcode.java
import java.io.*; import java.util.*; public class Intcode { public static final String DELIMITER = ","; public static final String INITIALISED_MEMORY = "0"; /* * This implementation is stateless other than being placed * into debug mode where it will output whatever action it * takes. ...
Update Intcode.java
AdventOfCode/2019/day9/Intcode.java
Update Intcode.java
<ide><path>dventOfCode/2019/day9/Intcode.java <ide> if (_debug) <ide> System.out.println(" at location "+param3); <ide> <del> i = i+3; // move the pointer on. <add> _instructionPointer += 4; // move the pointer on. <ide> ...
Java
apache-2.0
bab6c3aee1d28730d77ef8d2bd3d082c8054f4bc
0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
package ca.corefacility.bioinformatics.irida.service.impl; import java.util.ArrayList; import java.util.List; import javax.validation.Validator; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.transaction.annotation.Transactional; import ca.corefacility.bioinformatics.iri...
src/main/java/ca/corefacility/bioinformatics/irida/service/impl/SampleServiceImpl.java
package ca.corefacility.bioinformatics.irida.service.impl; import java.util.ArrayList; import java.util.List; import javax.validation.Validator; import ca.corefacility.bioinformatics.irida.exceptions.EntityNotFoundException; import ca.corefacility.bioinformatics.irida.model.Project; import ca.corefacility.bioinforma...
Basic role-based permissions for samples.
src/main/java/ca/corefacility/bioinformatics/irida/service/impl/SampleServiceImpl.java
Basic role-based permissions for samples.
<ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/service/impl/SampleServiceImpl.java <ide> import java.util.List; <ide> <ide> import javax.validation.Validator; <add> <add>import org.springframework.security.access.prepost.PreAuthorize; <add>import org.springframework.transaction.annotation.Transactional; ...
Java
mit
5d8127335f775601fe865ea735cf6ef5f8799921
0
InternationalMixMob/CSCI-E-71_IMM_Slacker_Client_Android,InternationalMixMob/CSCI-E-71_IMM_Slacker_Client_Android
package edu.cscie71.imm.app.slacker.client; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; public class SlackerClient implements ISlackerClient { ...
src/main/java/edu/cscie71/imm/app/slacker/client/SlackerClient.java
package edu.cscie71.imm.app.slacker.client; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; public class SlackerClient implements ISlackerClient { ...
[SKCP-97] Cleaned up.
src/main/java/edu/cscie71/imm/app/slacker/client/SlackerClient.java
[SKCP-97] Cleaned up.
<ide><path>rc/main/java/edu/cscie71/imm/app/slacker/client/SlackerClient.java <ide> * @inheritDoc <ide> */ <ide> public String getOAuthToken(String clientId, String clientSecret, String code, String redirectUri) { <del> String queryString = "?client_id=".concat(URLEncoder.encode(clientId)) <del> ...
Java
apache-2.0
d5fd967f7ccfcc664f2b8d6f2825304637e24c4e
0
GaneshSPatil/gocd,ind9/gocd,marques-work/gocd,jyotisingh/gocd,Skarlso/gocd,naveenbhaskar/gocd,bdpiparva/gocd,tomzo/gocd,jyotisingh/gocd,ibnc/gocd,kierarad/gocd,bdpiparva/gocd,arvindsv/gocd,naveenbhaskar/gocd,arvindsv/gocd,ibnc/gocd,tomzo/gocd,bdpiparva/gocd,ibnc/gocd,jyotisingh/gocd,gocd/gocd,kierarad/gocd,ketan/gocd,n...
/* * Copyright 2018 ThoughtWorks, 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 agr...
server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java
/* * Copyright 2018 ThoughtWorks, 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 agr...
Add a workaround for #4810 Older versions of gocd would set the filepath to `./.zip` when requesting directory `./`. After a spring upgrade, and some path normalization, the filePath is now `.zip`. This is currently a temporary workaround while we sort out a better way to do this correctly.
server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java
Add a workaround for #4810
<ide><path>erver/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java <ide> @RequestParam("filePath") String filePath, <ide> @RequestParam(value = "sha1", required = false) String sha <ide> ) throws Exception {...