lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
mpl-2.0
f6d42eb4ad7cec752d89bb4d72ba9af379757db6
0
Pilarbrist/rhino,tejassaoji/RhinoCoarseTainting,tejassaoji/RhinoCoarseTainting,sam/htmlunit-rhino-fork,AlexTrotsenko/rhino,AlexTrotsenko/rhino,Angelfirenze/rhino,lv7777/egit_test,tntim96/htmlunit-rhino-fork,Distrotech/rhino,lv7777/egit_test,AlexTrotsenko/rhino,qhanam/rhino,tuchida/rhino,Angelfirenze/rhino,Angelfirenze/...
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/N...
src/org/mozilla/javascript/Context.java
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/N...
In getApplicationClassLoader cache result of Thread.getContextClassLoader if it coincides with the loader that loaded Context class.
src/org/mozilla/javascript/Context.java
In getApplicationClassLoader cache result of Thread.getContextClassLoader if it coincides with the loader that loaded Context class.
<ide><path>rc/org/mozilla/javascript/Context.java <ide> <ide> public final ClassLoader getApplicationClassLoader() <ide> { <del> if (applicationClassLoader != null) { <del> return applicationClassLoader; <del> } <del> ClassLoader loader = null; <del> if (method_getContext...
Java
apache-2.0
b92ccb2d9ecf35d35a2a338d521064277abd7368
0
supriyantomaftuh/java-client-api,supriyantomaftuh/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,omkarudipi/java-client-api,omkarudipi/java-client-api,grechaw/java-client-api,marklogic/java-client-api,supriyantomaftuh/java-client-api,supriyantomaftuh/java-client-api,omkaru...
package com.marklogic.client.io; import com.marklogic.client.DocumentIdentifier; import com.marklogic.client.Format; import com.marklogic.client.MarkLogicIOException; import com.marklogic.client.config.FacetHeatmapValue; import com.marklogic.client.config.FacetResult; import com.marklogic.client.config.FacetValue; imp...
src/main/java/com/marklogic/client/io/SearchHandle.java
package com.marklogic.client.io; import com.marklogic.client.DocumentIdentifier; import com.marklogic.client.Format; import com.marklogic.client.MarkLogicIOException; import com.marklogic.client.config.FacetHeatmapValue; import com.marklogic.client.config.FacetResult; import com.marklogic.client.config.FacetValue; imp...
Fixed bug 16716, build snippets dynamically to avoid having to precompute how many there are git-svn-id: 2087087167f935058d19856144d26af79f295c86@100710 62cac252-8da6-4816-9e9d-6dc37b19578c
src/main/java/com/marklogic/client/io/SearchHandle.java
Fixed bug 16716, build snippets dynamically to avoid having to precompute how many there are
<ide><path>rc/main/java/com/marklogic/client/io/SearchHandle.java <ide> } <ide> <ide> List<Snippet> jaxbSnippets = result.getSnippet(); <del> locations = new MatchLocation[jaxbSnippets.size()]; <del> int idx = 0; <add> <add> // FIXME: ? The total number of snipp...
JavaScript
apache-2.0
1b1c446bd8c4ecddd675c702bd36d7198631acb5
0
google/site-kit-wp,google/site-kit-wp,google/site-kit-wp,google/site-kit-wp
/** * Analytics Stories. * * Site Kit by Google, Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * U...
stories/module-analytics.stories.js
/** * Analytics Stories. * * Site Kit by Google, Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * U...
Fix feature flags in story.
stories/module-analytics.stories.js
Fix feature flags in story.
<ide><path>tories/module-analytics.stories.js <ide> import { properties as propertiesGA4 } from '../assets/js/modules/analytics-4/datastore/__fixtures__'; <ide> import { STORE_NAME } from '../assets/js/modules/analytics/datastore/constants'; <ide> import { MODULES_ANALYTICS_4 } from '../assets/js/modules/analytics-4/da...
Java
apache-2.0
d3c871a1d348981fd3dea12e8cff86cf42470a61
0
twogee/ant-ivy,jaikiran/ant-ivy,apache/ant-ivy,jaikiran/ant-ivy,twogee/ant-ivy,sbt/ivy,sbt/ivy,apache/ant-ivy,twogee/ant-ivy,jaikiran/ant-ivy,apache/ant-ivy,twogee/ant-ivy,apache/ant-ivy,jaikiran/ant-ivy
/* * 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/java/org/apache/ivy/ant/IvyRetrieve.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...
Make checkstyle happy git-svn-id: 4757cb15a840ff1a58eff8144c368923fad328dd@551346 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/ivy/ant/IvyRetrieve.java
Make checkstyle happy
<ide><path>rc/java/org/apache/ivy/ant/IvyRetrieve.java <ide> package org.apache.ivy.ant; <ide> <ide> import org.apache.ivy.core.cache.CacheManager; <del>import org.apache.ivy.core.retrieve.RetrieveEngine; <ide> import org.apache.ivy.core.retrieve.RetrieveOptions; <ide> import org.apache.ivy.util.filter.Filter; <ide> i...
Java
bsd-2-clause
914bad36d4fa8a5e7e397491269b7d05b16b4783
0
thecastawaydev/tonegodgui-1,brainless-studios/tonegodgui,meltzow/tonegodgui
package tonegod.gui.core; import com.jme3.app.Application; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; import com.jme3.font.LineWrapMode; import com.jme3.font.Rectangle; import com.jme3.material.Material; import com.jme3.material.RenderState; import com.jme3.material.RenderState.BlendMod...
src/tonegod/gui/core/Element.java
package tonegod.gui.core; import com.jme3.app.Application; import com.jme3.font.BitmapFont; import com.jme3.font.BitmapText; import com.jme3.font.LineWrapMode; import com.jme3.font.Rectangle; import com.jme3.material.Material; import com.jme3.material.RenderState; import com.jme3.material.RenderState.BlendMod...
Fix for text alpha fades effecting text element's visible state when calling show without effect
src/tonegod/gui/core/Element.java
Fix for text alpha fades effecting text element's visible state when calling show without effect
<ide><path>rc/tonegod/gui/core/Element.java <ide> Effect clone = effect.clone(); <ide> clone.setAudioFile(null); <ide> this.propagateEffect(clone, false); <del> } else <add> } else { <add> if (getTextElement() != null) <add> getTextElement().setAlpha(1f); <ide> screen.getEffectManager().apply...
JavaScript
mit
d7fe584b166b007ab11d02096534ad4bc8f73881
0
paveldominguez/master,paveldominguez/master
MLS.checkout = { options: { // minicart options disableFlyout: true }, updateShippingOptions: function(zipcode) { MLS.ajax.sendRequest( MLS.ajax.endpoints.CHECKOUT_SHIPPING_OPTIONS, { zipcode: zipcode }, function(r) { ...
js/checkout.js
MLS.checkout = { options: { // minicart options disableFlyout: true }, updateShippingOptions: function(zipcode) { MLS.ajax.sendRequest( MLS.ajax.endpoints.CHECKOUT_SHIPPING_OPTIONS, { zipcode: zipcode }, function(r) { ...
validation patch
js/checkout.js
validation patch
<ide><path>s/checkout.js <ide> success: function(label){ <ide> label.addClass('success').text(''); <ide> }, <add> highlight: function(element, errorClass, validClass) { <add> if ( element.type === "radio" ) { <add> ...
JavaScript
agpl-3.0
ca05eb75c5abda46fded6957c17edfed103f3a18
0
inaes-tic/mbc-common
// Save a reference to the global object (`window` in the browser, `global` // on the server). var root = this; // The top-level namespace. All public Backbone classes and modules will // be attached to this. Exported for both CommonJS and the browser. var App, server = false; if (typeof exports !== 'undefined') { ...
models/App.js
// Save a reference to the global object (`window` in the browser, `global` // on the server). var root = this; // The top-level namespace. All public Backbone classes and modules will // be attached to this. Exported for both CommonJS and the browser. var App, server = false; if (typeof exports !== 'undefined') { ...
config: correctly handle elements type. Previously an element of type 'object' would be rendered on a different level and also without the correct value.
models/App.js
config: correctly handle elements type.
<ide><path>odels/App.js <ide> <ide> // XXX: _.omit() returns a copy of the object. <ide> _.extend(root, _.omit(descriptions, ['properties', 'type'])); <del> if (!descriptions.type.match(/config|defaults|descriptions|object/)) { <del> root.type = descriptions.type; <add> if (!_....
Java
apache-2.0
15b1f4828cfb60b274250494623f9b83b1a0728d
0
javadev/orderdatabase
package com.github.javadev.orderdatabase; import com.github.underscore.Block; import com.github.underscore.Function; import com.github.underscore.Function1; import com.github.underscore.Predicate; import com.github.underscore.lodash.$; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Dat...
src/main/java/com/github/javadev/orderdatabase/NewJDialog9.java
package com.github.javadev.orderdatabase; import com.github.underscore.Block; import com.github.underscore.Function; import com.github.underscore.Function1; import com.github.underscore.lodash.$; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.LinkedHashMap; impor...
Improve metrics calculations.
src/main/java/com/github/javadev/orderdatabase/NewJDialog9.java
Improve metrics calculations.
<ide><path>rc/main/java/com/github/javadev/orderdatabase/NewJDialog9.java <ide> import com.github.underscore.Block; <ide> import com.github.underscore.Function; <ide> import com.github.underscore.Function1; <add>import com.github.underscore.Predicate; <ide> import com.github.underscore.lodash.$; <ide> import java.text....
Java
agpl-3.0
8573b4948714c3299de3c76c0b83eff29be8763f
0
CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceeng...
package com.splicemachine.derby.transactions; import com.splicemachine.derby.test.framework.SpliceSchemaWatcher; import com.splicemachine.derby.test.framework.SpliceTableWatcher; import com.splicemachine.derby.test.framework.SpliceWatcher; import com.splicemachine.derby.test.framework.TestConnection; import com.splice...
splice_machine_test/src/test/java/com/splicemachine/derby/transactions/DropTableTransactionIT.java
package com.splicemachine.derby.transactions; import com.splicemachine.derby.test.framework.SpliceSchemaWatcher; import com.splicemachine.derby.test.framework.SpliceTableWatcher; import com.splicemachine.derby.test.framework.SpliceWatcher; import com.splicemachine.derby.test.framework.TestConnection; import com.splice...
DropTableTransactionIT: add missing fail() assertion
splice_machine_test/src/test/java/com/splicemachine/derby/transactions/DropTableTransactionIT.java
DropTableTransactionIT: add missing fail() assertion
<ide><path>plice_machine_test/src/test/java/com/splicemachine/derby/transactions/DropTableTransactionIT.java <ide> <ide> import java.sql.PreparedStatement; <ide> import java.sql.SQLException; <add> <add>import static org.junit.Assert.fail; <ide> <ide> /** <ide> * @author Scott Fines <ide> //issue the drop st...
Java
epl-1.0
37e52a779cd01539b601e39b314d9e28a8d1f38f
0
DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base
package at.medevit.elexis.agenda.ui.function; import java.time.LocalDate; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Timer; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import ...
bundles/at.medevit.elexis.agenda.ui/src/at/medevit/elexis/agenda/ui/function/LoadEventsFunction.java
package at.medevit.elexis.agenda.ui.function; import java.time.LocalDate; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Timer; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import ...
[22730] use selected resources to get changed periods for agenda
bundles/at.medevit.elexis.agenda.ui/src/at/medevit/elexis/agenda/ui/function/LoadEventsFunction.java
[22730] use selected resources to get changed periods for agenda
<ide><path>undles/at.medevit.elexis.agenda.ui/src/at/medevit/elexis/agenda/ui/function/LoadEventsFunction.java <ide> IQuery<IAppointment> query = <ide> CoreModelServiceHolder.get().getQuery(IAppointment.class, true, true); <ide> query.and("lastupdate", COMPARATOR.GREATER, Long.valueOf(knownLastUpdate)); <add> i...
Java
mit
37c17c551258eaf3e4c9bc3961f3c8e3d646e630
0
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
package ee.tuleva.onboarding.mandate.email; import static ee.tuleva.onboarding.locale.LocaleConfiguration.DEFAULT_LOCALE; import static java.time.temporal.ChronoUnit.DAYS; import static java.util.Collections.singletonList; import com.microtripit.mandrillapp.lutung.view.MandrillMessage; import ee.tuleva.onboarding.epi...
src/main/java/ee/tuleva/onboarding/mandate/email/MandateEmailService.java
package ee.tuleva.onboarding.mandate.email; import static ee.tuleva.onboarding.locale.LocaleConfiguration.DEFAULT_LOCALE; import static java.time.temporal.ChronoUnit.DAYS; import static java.util.Collections.singletonList; import com.microtripit.mandrillapp.lutung.view.MandrillMessage; import com.microtripit.mandrill...
Improve code readability
src/main/java/ee/tuleva/onboarding/mandate/email/MandateEmailService.java
Improve code readability
<ide><path>rc/main/java/ee/tuleva/onboarding/mandate/email/MandateEmailService.java <ide> import static java.util.Collections.singletonList; <ide> <ide> import com.microtripit.mandrillapp.lutung.view.MandrillMessage; <del>import com.microtripit.mandrillapp.lutung.view.MandrillMessage.Recipient; <ide> import ee.tuleva....
Java
apache-2.0
a0d1b61a1766c811ea8c3fbd39a3ef8f129825c9
0
leveluplunch/levelup-java-exercises
package com.levelup.java.exercises.beginner; import java.util.List; import java.util.Scanner; import java.util.function.Function; import java.util.stream.Collectors; import com.google.common.base.Splitter; import com.google.common.collect.Lists; /** * This java example will demonstrate how to convert a phrase to pi...
src/main/java/com/levelup/java/exercises/beginner/PigLatin.java
package com.levelup.java.exercises.beginner; import java.util.List; import java.util.Scanner; import java.util.function.Function; import java.util.stream.Collectors; import com.google.common.base.Splitter; import com.google.common.collect.Lists; /** * This java example will demonstrate how to convert a phrase to pi...
removed space
src/main/java/com/levelup/java/exercises/beginner/PigLatin.java
removed space
<ide><path>rc/main/java/com/levelup/java/exercises/beginner/PigLatin.java <ide> public class PigLatin { <ide> <ide> public static void main(String[] args) { <add> <ide> // Create a Scanner object for keyboard input. <ide> Scanner keyboard = new Scanner(System.in); <ide>
Java
epl-1.0
1d975c1324349cda0d41d17ee7aa3ccb2717ea92
0
gnodet/wikitext
/******************************************************************************* * Copyright (c) 2004 - 2006 Mylar committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
org.eclipse.mylyn.jira.tests/src/org/eclipse/mylyn/jira/tests/JiraRpcClientTest.java
/******************************************************************************* * Copyright (c) 2004 - 2006 Mylar committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
NEW - bug 189170: Mylar test suite is failing https://bugs.eclipse.org/bugs/show_bug.cgi?id=189170
org.eclipse.mylyn.jira.tests/src/org/eclipse/mylyn/jira/tests/JiraRpcClientTest.java
NEW - bug 189170: Mylar test suite is failing https://bugs.eclipse.org/bugs/show_bug.cgi?id=189170
<ide><path>rg.eclipse.mylyn.jira.tests/src/org/eclipse/mylyn/jira/tests/JiraRpcClientTest.java <ide> issue = client.createIssue(issue); <ide> issue = client.getIssueByKey(issue.getKey()); <ide> assertEquals(description, JiraTaskDataHandler.convertHtml(issue.getDescription())); <del> issue.setDescription(JiraTask...
Java
apache-2.0
a0f0c821dc516838a03d428cbe1ef9815fc63236
0
vx/connectbot,vx/connectbot,alphallc/connectbot,vx/connectbot,alphallc/connectbot,vx/connectbot
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
src/sk/vx/connectbot/ConsoleActivity.java
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
Re-read hardware keyboard status on resume. Fixes #8
src/sk/vx/connectbot/ConsoleActivity.java
Re-read hardware keyboard status on resume. Fixes #8
<ide><path>rc/sk/vx/connectbot/ConsoleActivity.java <ide> <ide> bound.setResizeAllowed(true); <ide> <add> bound.hardKeyboardHidden = (getResources().getConfiguration().hardKeyboardHidden == <add> Configuration.HARDKEYBOARDHIDDEN_YES); <add> <ide> // set fullscreen value <ide> if (bound.getFullScreen() ...
Java
apache-2.0
de486ab060ea65d046ea00fb541f5cefc8db0856
0
manstis/drools,jomarko/drools,droolsjbpm/drools,winklerm/drools,manstis/drools,droolsjbpm/drools,romartin/drools,lanceleverich/drools,lanceleverich/drools,droolsjbpm/drools,jomarko/drools,jomarko/drools,winklerm/drools,winklerm/drools,jomarko/drools,romartin/drools,manstis/drools,manstis/drools,jomarko/drools,romartin/...
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
drools-compiler/src/test/java/org/drools/compiler/integrationtests/KieContainerTest.java
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
DROOLS-3860 Raise timeout of testIncrementalCompilationSynchronization (#2306)
drools-compiler/src/test/java/org/drools/compiler/integrationtests/KieContainerTest.java
DROOLS-3860 Raise timeout of testIncrementalCompilationSynchronization (#2306)
<ide><path>rools-compiler/src/test/java/org/drools/compiler/integrationtests/KieContainerTest.java <ide> } <ide> <ide> <del> @Test(timeout = 10000) <del> public void testIncrementalCompilationSynchronization() throws Exception { <add> @Test(timeout = 20000) <add> public void testIncrementalCompilation...
Java
mit
66335e682027415d5e1e1ec0294f8be8ceb85152
0
jenkinsci/saltstack-plugin,jenkinsci/saltstack-plugin,spacanowski/saltstack-plugin,spacanowski/saltstack-plugin
package com.waytta; import hudson.Launcher; import hudson.Extension; import hudson.util.FormValidation; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.AbstractProject; import hudson.tasks.Builder; import hudson.tasks.BuildStepDescriptor; import net.sf.json.JSONObject; import ...
src/main/java/com/waytta/SaltAPIBuilder.java
package com.waytta; import hudson.Launcher; import hudson.Extension; import hudson.util.FormValidation; import hudson.model.AbstractBuild; import hudson.model.BuildListener; import hudson.model.AbstractProject; import hudson.tasks.Builder; import hudson.tasks.BuildStepDescriptor; import net.sf.json.JSONObject; import ...
local_batch operations should be send to root endpoint and not /minions
src/main/java/com/waytta/SaltAPIBuilder.java
local_batch operations should be send to root endpoint and not /minions
<ide><path>rc/main/java/com/waytta/SaltAPIBuilder.java <ide> if (myClientInterface.equals("local_batch")) { <ide> saltFunc.put("batch", batchSize); <ide> listener.getLogger().println("Running in batch mode. Batch size: "+batchSize); <del> myBlockBuild = true; <ide> } <ide> if (myClientInterface.equa...
Java
bsd-3-clause
180cd39dc8ddd1ed337fd8cecad8545905ae77b6
0
messagebird/java-rest-api
package com.messagebird; import com.messagebird.exceptions.GeneralException; import com.messagebird.exceptions.NotFoundException; import com.messagebird.exceptions.UnauthorizedException; import com.messagebird.objects.Balance; import com.messagebird.objects.Contact; import com.messagebird.objects.ContactList; import c...
api/src/main/java/com/messagebird/MessageBirdClient.java
package com.messagebird; import com.messagebird.exceptions.GeneralException; import com.messagebird.exceptions.NotFoundException; import com.messagebird.exceptions.UnauthorizedException; import com.messagebird.objects.Balance; import com.messagebird.objects.Contact; import com.messagebird.objects.ContactList; import c...
add updateNumber method
api/src/main/java/com/messagebird/MessageBirdClient.java
add updateNumber method
<ide><path>pi/src/main/java/com/messagebird/MessageBirdClient.java <ide> import com.messagebird.objects.MessageResponse; <ide> import com.messagebird.objects.MsgType; <ide> import com.messagebird.objects.PagedPaging; <add>import com.messagebird.objects.PhoneNumber; <ide> import com.messagebird.objects.PhoneNumbersLooku...
JavaScript
mit
1756e2222fc4a679f150d9421c353302d824b599
0
uwwebservices/idcard-webapp-poc,uwwebservices/idcard-webapp-poc
const webpack = require('webpack'); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { mode: "production", devtool: '#source-map', node: { fs: 'empty', net: 'empty', mod...
webpack.config.js
const webpack = require('webpack'); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { mode: "production", devtool: '#source-map', node: { fs: 'empty', net: 'empty', mod...
fixing base paths for webpack
webpack.config.js
fixing base paths for webpack
<ide><path>ebpack.config.js <ide> new HtmlWebpackPlugin() <ide> ], <ide> resolve: { <del> modules: ['node_modules', './src', './src/frontend/img'], <add> modules: [ <add> 'node_modules', <add> './src', <add> './src/frontend' <add> ], <ide> extensions: [ <ide> '.js', <ide> ...
Java
epl-1.0
error: pathspec 'src/pp2016/team13/shared/Trank2.java' did not match any file(s) known to git
7ed61c4b5798772be758213678407f248f4ff2f4
1
HindiBones/project
package pp2016.team13.shared; public class Trank2 { private int wirkung; //Fuer die Server Engine ; f�r die Trankliste public static int posX; public static int posY; public static boolean aufgehoben; public static boolean gedroppt; public static int trankID; public Trank2(int wirkung) { th...
src/pp2016/team13/shared/Trank2.java
Bearbeitung blauer heiltrank
src/pp2016/team13/shared/Trank2.java
Bearbeitung blauer heiltrank
<ide><path>rc/pp2016/team13/shared/Trank2.java <add>package pp2016.team13.shared; <add> <add>public class Trank2 { <add> private int wirkung; <add> <add> //Fuer die Server Engine ; f�r die Trankliste <add> public static int posX; <add> public static int posY; <add> public static boolean aufgehoben; <add> pu...
JavaScript
mit
88605f63f5553464274a54d496cc8fa62b179a62
0
kneath/select-autocompleter,kneath/select-autocompleter
/* Script: select_autocompleter.js SelectoAutocompleter provides a way to make editable combo box (a select tag in HTML). License: MIT-style license. */ /* Class: SelectAutocompleter To activate the control, call `new SelectAutocompleter(element, options)` on any `<select>` tag you would lik...
src/select_autocompleter.js
/* Script: select_autocompleter.js SelectoAutocompleter provides a way to make editable combo box (a select tag in HTML). License: MIT-style license. */ /* Class: SelectAutocompleter To activate the control, call `new SelectAutocompleter(element, options)` on any `<select>` tag you would lik...
IE/Performance: do not highlight letters when there are none to highlight
src/select_autocompleter.js
IE/Performance: do not highlight letters when there are none to highlight
<ide><path>rc/select_autocompleter.js <ide> <ide> // Build a formatted string highlighting matches with <strong> <ide> var formattedString = scoredTerm[1]; <del> var regexp = new RegExp("([" + regExpString + "])", "ig"); <del> formattedString = formattedString.replace(regexp, "<strong>$1</s...
Java
mit
ac0a87124f8d1cd2e91de3e1359302eeb7df3e63
0
hsyyid/GriefPrevention,MinecraftPortCentral/GriefPrevention
/* GriefPrevention Server Plugin for Minecraft Copyright (C) 2012 Ryan Hamshire 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 3 of the License, or (at your op...
src/me/ryanhamshire/GriefPrevention/EntityEventHandler.java
/* GriefPrevention Server Plugin for Minecraft Copyright (C) 2012 Ryan Hamshire 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 3 of the License, or (at your op...
Fixed self-damage putting a player "in combat". Fixes especially ender pearls + immediate disconnect = death.
src/me/ryanhamshire/GriefPrevention/EntityEventHandler.java
Fixed self-damage putting a player "in combat".
<ide><path>rc/me/ryanhamshire/GriefPrevention/EntityEventHandler.java <ide> <ide> Player defender = (Player)(event.getEntity()); <ide> <del> PlayerData defenderData = this.dataStore.getPlayerData(((Player)event.getEntity()).getUniqueId()); <del> PlayerData attackerData = this.dataStore.getPlayerData(atta...
Java
apache-2.0
d75fe52e6c4a999eecb59177ccfee77847383b92
0
thymeleaf/thymeleaf,thymeleaf/thymeleaf
/* * ============================================================================= * * Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.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 ob...
src/main/java/org/thymeleaf/util/ProcessorConfigurationUtils.java
/* * ============================================================================= * * Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.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 ob...
Simplified wrapped processor variable access at runtime
src/main/java/org/thymeleaf/util/ProcessorConfigurationUtils.java
Simplified wrapped processor variable access at runtime
<ide><path>rc/main/java/org/thymeleaf/util/ProcessorConfigurationUtils.java <ide> private final int dialectPrecedence; <ide> private final int processorPrecedence; <ide> private final IProcessorDialect dialect; <del> protected final IProcessor processor; <add> private final IProces...
Java
apache-2.0
c6210a043248b980845e96bc7088402ed80bcbc3
0
HeroDigital/renditions-servlet
package com.herodigital.wcm.ext.renditions.servlet; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Arrays; import java.util.Dictionary; import javax.imageio.ImageIO; import javax.servlet.Servlet; import javax.servlet.ServletEx...
src/main/java/com/herodigital/wcm/ext/renditions/servlet/ImageRenditionServlet.java
package com.herodigital.wcm.ext.renditions.servlet; import java.awt.image.BufferedImage; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Arrays; import java.util.Dictionary; import javax.imageio.ImageIO; import javax.servlet.Servlet; import javax.servlet.ServletEx...
Added gif support
src/main/java/com/herodigital/wcm/ext/renditions/servlet/ImageRenditionServlet.java
Added gif support
<ide><path>rc/main/java/com/herodigital/wcm/ext/renditions/servlet/ImageRenditionServlet.java <ide> @Property(name = "service.vendor", value = "Hero Digital"), <ide> @Property(name = "sling.servlet.resourceTypes", value="sling/servlet/default", propertyPrivate=true), <ide> @Property(name = "sling.servlet.selector...
Java
apache-2.0
5db5881c66bd7b02ecb81a3cee4b0a7ecb31780a
0
gosu-lang/gosu-lang,gosu-lang/gosu-lang,gosu-lang/gosu-lang,gosu-lang/gosu-lang
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.compiler; import gw.config.CommonServices; import gw.internal.gosu.ir.TransformingCompiler; import gw.internal.gosu.ir.transform.AbstractElementTransformer; import gw.internal.gosu.parser.ICompilableTypeInternal; import gw.internal.gosu.parser...
gosu-core/src/main/java/gw/internal/gosu/compiler/GosuClassLoader.java
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.internal.gosu.compiler; import gw.config.CommonServices; import gw.internal.gosu.ir.TransformingCompiler; import gw.internal.gosu.ir.transform.AbstractElementTransformer; import gw.internal.gosu.parser.ICompilableTypeInternal; import gw.internal.gosu.parser...
Revert "Gets the topmost classloader if children are empty" This reverts commit f288e9c1cd58ce89966a271c64560a160b117ce9.
gosu-core/src/main/java/gw/internal/gosu/compiler/GosuClassLoader.java
Revert "Gets the topmost classloader if children are empty"
<ide><path>osu-core/src/main/java/gw/internal/gosu/compiler/GosuClassLoader.java <ide> // being in the classpath of the app class loader, resolves the name and compile the class and produce the <ide> // resource/stream associated with the compiled bytes. <ide> _loader = parent.getParent(); <del> ...
JavaScript
apache-2.0
fe8138e5f84a32584edb6835be670a3a785a4521
0
gsanthosh91/zeroclickinfo-goodies,karankrishna/zeroclickinfo-goodies,jgkamat/zeroclickinfo-goodies,visal19/zeroclickinfo-goodies,shubhamrajput/zeroclickinfo-goodies,GrandpaCardigan/zeroclickinfo-goodies,comatory/zeroclickinfo-goodies,sagarhani/zeroclickinfo-goodies,aleksandar-todorovic/zeroclickinfo-goodies,chriskaschn...
DDH.cheat_sheets = DDH.cheat_sheets || {}; DDH.cheat_sheets.build = function(ops) { Spice.registerHelper('cheatsheets_ordered', function(sections, section_order, template_type, options) { var result = ""; var template = { type: template_type, path: template_type ? 'DDH.cheat_sh...
share/goodie/cheat_sheets/cheat_sheets.js
DDH.cheat_sheets = DDH.cheat_sheets || {}; DDH.cheat_sheets.build = function(ops) { Spice.registerHelper('cheatsheets_ordered', function(sections, section_order, template_type, options) { var result = ""; var template = { type: template_type, path: template_type ? 'DDH.cheat_sh...
CheatSheets: htmlencode < >, fixes #1414
share/goodie/cheat_sheets/cheat_sheets.js
CheatSheets: htmlencode < >, fixes #1414
<ide><path>hare/goodie/cheat_sheets/cheat_sheets.js <ide> var codeClass = typeof className === "string" ? className : "bg-clr--white"; <ide> <ide> // replace escaped slashes and brackets <del> string = string.replace(/\\\\/, "<bks>") <add> string = string.replace(/\</g, '&lt;') <a...
JavaScript
mit
58c98bfdbc5880399ac473673135904d572d6ceb
0
loadletter/4chan-x,loadletter/4chan-x,loadletter/4chan-x,krynomore/4chan-x,krynomore/4chan-x,krynomore/4chan-x
// ==UserScript== // @name 4chan x // @version 2.40.49 // @namespace aeosynth // @description Adds various features. // @copyright 2009-2011 James Campos <james.r.campos@gmail.com> // @copyright 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com> // @license MIT; http://en.wi...
4chan_x.user.js
// ==UserScript== // @name 4chan x // @version 2.40.49 // @namespace aeosynth // @description Adds various features. // @copyright 2009-2011 James Campos <james.r.campos@gmail.com> // @copyright 2012-2013 Nicolas Stepien <stepien.nicolas@gmail.com> // @license MIT; http://en.wi...
Added option to run autoexpand automatically
4chan_x.user.js
Added option to run autoexpand automatically
<ide><path>chan_x.user.js <ide> 'Relative Post Dates': [false, 'Display dates as "3 minutes ago" f.e., tooltip shows the timestamp'], <ide> 'File Info Formatting': [true, 'Reformats the file information'], <ide> 'Comment Expansion': [true, 'Expand too long comments'], <add> 'Comment Auto-...
Java
lgpl-2.1
611185728206737b635becf7e122b9cd1ab9d94f
0
codelibs/jcifs,AgNO3/jcifs-ng
/* * © 2017 AgNO3 Gmbh & Co. KG * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is...
src/main/java/jcifs/smb/SmbTreeConnection.java
/* * © 2017 AgNO3 Gmbh & Co. KG * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is...
Silence tree connect failure logging a bit
src/main/java/jcifs/smb/SmbTreeConnection.java
Silence tree connect failure logging a bit
<ide><path>rc/main/java/jcifs/smb/SmbTreeConnection.java <ide> } <ide> catch ( IOException e ) { <ide> last = e; <del> log.warn("Referral failed, trying next", e); <add> log.debug("Referral failed, trying next", e); <ide> } <ide> <ide> ...
JavaScript
mit
d136945b4501342a3d7cb112be6e9e3c3a669aed
0
wejs/we-core
/** * We.js database controllers * * This file load default database config, and core models */ var Sequelize = require('sequelize'); var async = require('async'); var path = require('path'); var env = require('../env.js'); var _ = require('lodash'); var loadDatabaseConfig = require('./loadDatabaseConfig.js'); v...
lib/database/index.js
/** * We.js database controllers * * This file load default database config, and core models */ var Sequelize = require('sequelize'); var async = require('async'); var path = require('path'); var env = require('../env.js'); var _ = require('lodash'); var loadDatabaseConfig = require('./loadDatabaseConfig.js'); v...
set db.loadDatabaseConfig
lib/database/index.js
set db.loadDatabaseConfig
<ide><path>ib/database/index.js <ide> var loadDatabaseConfig = require('./loadDatabaseConfig.js'); <ide> <ide> var db = {}; <add> <add>db.loadDatabaseConfig = loadDatabaseConfig; <ide> <ide> db.defaultConnection = null; <ide>
Java
apache-2.0
e4a2a90f57e545c0ece57825bf3ab3c1dd6b3090
0
theseyi/WhereHows,mars-lan/WhereHows,alyiwang/WhereHows,alyiwang/WhereHows,linkedin/WhereHows,mars-lan/WhereHows,linkedin/WhereHows,mars-lan/WhereHows,camelliazhang/WhereHows,theseyi/WhereHows,camelliazhang/WhereHows,alyiwang/WhereHows,camelliazhang/WhereHows,theseyi/WhereHows,mars-lan/WhereHows,linkedin/WhereHows,mars...
/** * Copyright 2015 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
wherehows-dao/src/main/java/wherehows/dao/table/ExportPolicyDao.java
/** * Copyright 2015 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix typo
wherehows-dao/src/main/java/wherehows/dao/table/ExportPolicyDao.java
Fix typo
<ide><path>herehows-dao/src/main/java/wherehows/dao/table/ExportPolicyDao.java <ide> throw new UnsupportedOperationException("Not implemented yet"); <ide> } <ide> <del> public void updateDatasetExportPolicy(@Nonnull datasetUrn, @Nonnull DatasetExportPolicy record, @Nonnull String user) throws Exception { <add> ...
Java
apache-2.0
50ede23a1079271cd21c338968bf936623416a16
0
f7753/ignite,ptupitsyn/ignite,WilliamDo/ignite,apache/ignite,leveyj/ignite,VladimirErshov/ignite,alexzaitzev/ignite,ptupitsyn/ignite,StalkXT/ignite,vladisav/ignite,rfqu/ignite,a1vanov/ignite,voipp/ignite,agura/incubator-ignite,StalkXT/ignite,vladisav/ignite,murador/ignite,VladimirErshov/ignite,pperalta/ignite,vladisav/...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/GridCacheStoreManagerAdapter.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Warning is writeThrough==false && writeBehind==true
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/GridCacheStoreManagerAdapter.java
Warning is writeThrough==false && writeBehind==true
<ide><path>odules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/GridCacheStoreManagerAdapter.java <ide> <ide> CacheConfiguration cfg = cctx.config(); <ide> <del> if (cfgStore != null && !cfg.isWriteThrough() && !cfg.isReadThrough()) { <del> U.quietAndWarn(log, <del> ...
JavaScript
bsd-3-clause
999cce246d7f29fd0358ebf43a8300d2a94b786b
0
sxyseo/openbiz,openbiz/openbiz-ui,sxyseo/openbiz,sxyseo/openbiz
"use strict"; define(['../objects/View'],function(view){ return view.extend({ _columnsConfig:null, _filterConfig:null, _paginatorConfig:null, _actions:null, metadata:null, _recordActions:null, _dataGridEL:'.data-grid', collection:null, elements:{}, initialize:function(){ this.template = _.templ...
ui/views/GridView.js
"use strict"; define(['../objects/View'],function(view){ return view.extend({ _columnsConfig:null, _filterConfig:null, _paginatorConfig:null, _actions:null, metadata:null, _recordActions:null, _dataGridEL:'.data-grid', collection:null, elements:{}, initialize:function(){ this.template = _.templ...
add custom element into gridview
ui/views/GridView.js
add custom element into gridview
<ide><path>i/views/GridView.js <ide> if(typeof type == 'undefined' || type == null){ <ide> type = 'text'; <ide> } <del> var field = openbiz.elements.columns[type].getConfig(this,column,this._getRecordActions()); <add> var field; <add> if(this.elements[type]){ <add> field = this.element...
Java
apache-2.0
bb41bd8edf8f80d83791324d8f30b3acbc4fd467
0
tilioteo/hypothesis,tilioteo/hypothesis
/** * */ package com.tilioteo.hypothesis.core; import java.io.Serializable; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import elemental.json.Json; import elemental.json.JsonObject; /** * @author kamil * */ @Su...
src/com/tilioteo/hypothesis/core/Message.java
/** * */ package com.tilioteo.hypothesis.core; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import elemental.json.Json; import elemental.json.JsonObject; /** * @author kamil * */ @SuppressWarnings("serial") publ...
changed interface implementation
src/com/tilioteo/hypothesis/core/Message.java
changed interface implementation
<ide><path>rc/com/tilioteo/hypothesis/core/Message.java <ide> */ <ide> package com.tilioteo.hypothesis.core; <ide> <add>import java.io.Serializable; <ide> import java.text.DateFormat; <ide> import java.text.ParseException; <ide> import java.text.SimpleDateFormat; <ide> * <ide> */ <ide> @SuppressWarnings("serial") <...
Java
apache-2.0
53eb8d8d4c489b1fdedd7c4352dc200c83a6461a
0
molindo/spring-social,Turbots/spring-social,Turbots/spring-social,molindo/spring-social,spring-projects/spring-social,codeconsole/spring-social,spring-projects/spring-social,codeconsole/spring-social
package org.springframework.social.config.support; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.aop.scope.ScopedProxyUtils; import org.springframework.beans.PropertyValue; import org.springframework.beans.f...
spring-social-config/src/main/java/org/springframework/social/config/support/ProviderConfigurationSupport.java
package org.springframework.social.config.support; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.aop.scope.ScopedProxyUtils; import org.springframework.beans.PropertyValue; import org.springframework.beans.f...
Add subclassing hook to ProviderConfigurationSupport to allow the constructor args of ApiHelper bean to be configurable
spring-social-config/src/main/java/org/springframework/social/config/support/ProviderConfigurationSupport.java
Add subclassing hook to ProviderConfigurationSupport to allow the constructor args of ApiHelper bean to be configurable
<ide><path>pring-social-config/src/main/java/org/springframework/social/config/support/ProviderConfigurationSupport.java <ide> registerConnectionFactoryBeanDefinitions(registry, allAttributes); <ide> } <ide> <del> return registerApiBindingBean(registry, apiHelperClass, apiBindingType); <add> return registe...
Java
apache-2.0
ba48632410a2d290e2bd8379bbb7350968903238
0
webianks/PopupBubble
package com.webianks.library; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.LinearGradient; import android.graphics.PorterDuff; import android.graphics.Shader; import android.graphics.drawable.Drawable; import android.graphics.drawable.Lay...
popup-bubble/src/main/java/com/webianks/library/PopupBubble.java
package com.webianks.library; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.LinearGradient; import android.graphics.PorterDuff; import android.graphics.Shader; import android.graphics.drawable.Drawable; import android.graphics.drawable.Lay...
Remove trash useless shadow
popup-bubble/src/main/java/com/webianks/library/PopupBubble.java
Remove trash useless shadow
<ide><path>opup-bubble/src/main/java/com/webianks/library/PopupBubble.java <ide> sd.getPaint().setColor(Color.parseColor(BACKGROUND_COLOR)); <ide> <ide> <del> ShapeDrawable sds = new ShapeDrawable(rect); <del> sds.setShaderFactory(new ShapeDrawable.ShaderFactory() { <del> <del> @Overr...
Java
apache-2.0
fdc7a79ac3ac0531b517a7ae0a8d48665a885136
0
bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
src/main/java/build/buildfarm/worker/shard/Worker.java
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
Shut down fileCache or fuseCAS after pipeline join
src/main/java/build/buildfarm/worker/shard/Worker.java
Shut down fileCache or fuseCAS after pipeline join
<ide><path>rc/main/java/build/buildfarm/worker/shard/Worker.java <ide> server.shutdownNow(); <ide> } <ide> } <add> if (config.getUseFuseCas()) { <add> fuseCAS.stop(); <add> } else { <add> fileCache.stop(); <add> } <ide> backplane.stop(); <ide> } <ide>
JavaScript
mit
b7559313505d7293bfefe143a2028aab3e555af2
0
EnerG218/PServer
exports.BattleFormatsData = { kyurem: { inherit: true, tier: "Ubers" }, kyuremblack { inherit: true, tier: "Ubers"
mods/projectxy/formats-data.js
exports.BattleFormatsData = { luxray: { inherit: true, tier: "RU" }, jynx: { inherit: true, tier: "NU" }, gothitelle: { inherit: true, tier: "OU" }, archeops: { inherit: true, tier: "OU" }, weavile: { inherit: true, tier: "OU" }, politoed: { inherit: true, tier: "UU" }, ninetale...
Fix Formats-Data.js
mods/projectxy/formats-data.js
Fix Formats-Data.js
<ide><path>ods/projectxy/formats-data.js <ide> exports.BattleFormatsData = { <del> luxray: { <add> kyurem: { <ide> inherit: true, <del> tier: "RU" <add> tier: "Ubers" <ide> }, <del> jynx: { <add> kyuremblack { <ide> inherit: true, <del> tier: "NU" <del> }, <del> gothitelle: { <del> inherit: true, <del> ...
JavaScript
mit
5061581f8e4d8e949a96d10e6f02e8231109a580
0
DigitalRiver/react-atlas,Magneticmagnum/react-atlas
import React from "react"; import { mount, shallow, render } from "enzyme"; import { DropdownCore } from "../../../react-atlas-core/src/Dropdown/index"; function _findItem(n, text){ if(n.props().children){ if(n.props().children.props){ let str = n.props().children.props.value; return (str == text); } } re...
packages/react-atlas-tests/dropdown/__tests__/dropdown.test.js
import React from "react"; import { mount, shallow, render } from "enzyme"; import { DropdownCore } from "../../../react-atlas-core/src/Dropdown/index"; function _findItem(n, text){ if(n.props().children){ if(n.props().children.props){ let str = n.props().children.props.value; return (str == text); } } re...
Fix tests.
packages/react-atlas-tests/dropdown/__tests__/dropdown.test.js
Fix tests.
<ide><path>ackages/react-atlas-tests/dropdown/__tests__/dropdown.test.js <ide> <span value="you">you</span> <ide> </DropdownCore>); <ide> <del> expect(component.state().value).toEqual(undefined); <add> expect(component.state().value).toEqual(""); <ide> expect(component.state().output).toEqual('May...
Java
apache-2.0
0220af9867ea9768161977c3380f53ac67d2af24
0
ahb0327/intellij-community,akosyakov/intellij-community,apixandru/intellij-community,petteyg/intellij-community,kool79/intellij-community,supersven/intellij-community,allotria/intellij-community,Lekanich/intellij-community,robovm/robovm-studio,ThiagoGarciaAlves/intellij-community,muntasirsyed/intellij-community,samthor...
package com.jetbrains.python.run; import com.google.common.collect.Lists; import com.intellij.execution.ExecutionBundle; import com.intellij.execution.configuration.AbstractRunConfiguration; import com.intellij.execution.configuration.EnvironmentVariablesComponent; import com.intellij.execution.configurations.*; impor...
python/src/com/jetbrains/python/run/AbstractPythonRunConfiguration.java
package com.jetbrains.python.run; import com.google.common.collect.Lists; import com.intellij.execution.ExecutionBundle; import com.intellij.execution.configuration.AbstractRunConfiguration; import com.intellij.execution.configuration.EnvironmentVariablesComponent; import com.intellij.execution.configurations.*; impor...
@NotNull RunConfiguration.getSettingsEditor()
python/src/com/jetbrains/python/run/AbstractPythonRunConfiguration.java
@NotNull RunConfiguration.getSettingsEditor()
<ide><path>ython/src/com/jetbrains/python/run/AbstractPythonRunConfiguration.java <ide> import com.jetbrains.python.sdk.PythonEnvUtil; <ide> import com.jetbrains.python.sdk.PythonSdkType; <ide> import org.jdom.Element; <add>import org.jetbrains.annotations.NotNull; <ide> import org.jetbrains.annotations.Nullable; <ide>...
Java
mit
8468cca20b84319c64bc307f8630d5c2be563a15
0
CS2103JAN2017-F12-B2/main,CS2103JAN2017-F12-B2/main
package seedu.address.model.util; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.ReadOnlyToDoApp; import seedu.address.model.ToDoApp; import seedu.address.model.person.Deadline; import seedu.address.model.person.Name; import seedu.address.model.person.Start; import seedu.addr...
src/main/java/seedu/address/model/util/SampleDataUtil.java
package seedu.address.model.util; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.ReadOnlyToDoApp; import seedu.address.model.ToDoApp; import seedu.address.model.person.Deadline; import seedu.address.model.person.Name; import seedu.address.model.person.Task; import seedu.addre...
Update SampleDataUtil with Start
src/main/java/seedu/address/model/util/SampleDataUtil.java
Update SampleDataUtil with Start
<ide><path>rc/main/java/seedu/address/model/util/SampleDataUtil.java <ide> import seedu.address.model.ToDoApp; <ide> import seedu.address.model.person.Deadline; <ide> import seedu.address.model.person.Name; <add>import seedu.address.model.person.Start; <ide> import seedu.address.model.person.Task; <ide> import seedu.ad...
JavaScript
mit
24cd93ee66f5fd4813f82f4efa08f82f6e4d269c
0
yieldbot/ferret,yieldbot/ferret,yieldbot/ferret,yieldbot/ferret
/* * Ferret * Copyright (c) 2016 Yieldbot, Inc. * For the full copyright and license information, please view the LICENSE.txt file. */ /* jslint browser: true */ /* global document: false, $: false, Rx: false */ 'use strict'; // Create the module var app = function app() { if(typeof $ != "function" || typeof R...
assets/public/js/app.js
/* * Ferret * Copyright (c) 2016 Yieldbot, Inc. * For the full copyright and license information, please view the LICENSE.txt file. */ /* jslint browser: true */ /* global document: false, $: false, Rx: false */ 'use strict'; // Create the module var app = function app() { if(typeof $ != "function" || typeof R...
Fix field names for search results
assets/public/js/app.js
Fix field names for search results
<ide><path>ssets/public/js/app.js <ide> if(data && data instanceof Array) { <ide> $('#searchResults').append($('<h3>').text((provider.title || ''))); <ide> $('#searchResults').append($.map(data, function (v) { <del> var content = '<a href="'+v.Link+'" targ...
Java
apache-2.0
f9bc38a95e7786331c67caca03b38dee1cb818a7
0
corbel-platform/lib-ws,corbel-platform/lib-ws,bq/lib-ws
package io.corbel.lib.ws.dw.ioc; import io.dropwizard.jetty.GzipFilterFactory; import io.dropwizard.jetty.HttpConnectorFactory; import io.dropwizard.logging.AppenderFactory; import io.dropwizard.logging.ConsoleAppenderFactory; import io.dropwizard.logging.FileAppenderFactory; import io.dropwizard.logging.LoggingFactor...
src/main/java/io/corbel/lib/ws/dw/ioc/DropwizardIoc.java
package io.corbel.lib.ws.dw.ioc; import io.dropwizard.jetty.GzipFilterFactory; import io.dropwizard.jetty.HttpConnectorFactory; import io.dropwizard.logging.AppenderFactory; import io.dropwizard.logging.ConsoleAppenderFactory; import io.dropwizard.logging.FileAppenderFactory; import io.dropwizard.logging.LoggingFactor...
fix casting bug Change-Id: I6eac1ee7308f5f537e465fb66029dab4d32ec585
src/main/java/io/corbel/lib/ws/dw/ioc/DropwizardIoc.java
fix casting bug
<ide><path>rc/main/java/io/corbel/lib/ws/dw/ioc/DropwizardIoc.java <ide> import io.dropwizard.logging.LoggingFactory; <ide> import io.dropwizard.logging.SyslogAppenderFactory; <ide> import io.dropwizard.server.DefaultServerFactory; <add>import io.dropwizard.util.Size; <ide> <del>import io.dropwizard.util.Size; <ide> i...
Java
mit
e0e08761248e92dce7a079d439317fa69e6b696a
0
to2mbn/JMCCC,Southern-InfinityStudio/JMCCC,Darkyoooooo/JMCCC
package org.to2mbn.jmccc.version.parsing; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import java.util.Stack; import java.util.TreeMap; import java.util.TreeSet; import org.to2...
jmccc/src/main/java/org/to2mbn/jmccc/version/parsing/VersionParserImpl.java
package org.to2mbn.jmccc.version.parsing; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import java.util.Stack; import java.util.TreeMap; import java.util.TreeSet; import org.to2...
Fix couldn't download 1.13
jmccc/src/main/java/org/to2mbn/jmccc/version/parsing/VersionParserImpl.java
Fix couldn't download 1.13
<ide><path>mccc/src/main/java/org/to2mbn/jmccc/version/parsing/VersionParserImpl.java <ide> String type = "jar"; <ide> <ide> if (isNative) { <del> Set<String> excludes = parseExtractExcludes(json.getJSONObject("extract")); <add> Set<String> excludes = parseExtractExcludes(json.optJSONObject("extract")); <ide> ...
JavaScript
mit
error: pathspec 'src/lib/stringParser.js' did not match any file(s) known to git
7dc3959f13c0a747d2194132330999a31841426f
1
CBIConsulting/Winterfell,mharnek/Winterfell,andrewhathaway/Winterfell,jwbrady/Winterfell
module.exports = (template, params) => { template = template || ''; params = params || {}; /* * Split up template in to array of characters */ var characters = template.split(''); var buffer = ''; var parsedTemplate = ''; var collecting = false; for (var i = 0; i < characters.leng...
src/lib/stringParser.js
Add stringParser library to parse strings with {} in them
src/lib/stringParser.js
Add stringParser library to parse strings with {} in them
<ide><path>rc/lib/stringParser.js <add>module.exports = (template, params) => { <add> template = template || ''; <add> params = params || {}; <add> <add> /* <add> * Split up template in to array of characters <add> */ <add> var characters = template.split(''); <add> <add> var buffer = ''; <add> var ...
JavaScript
mit
4b3e2ccca4e08ae41f23f9f7dd31305ffd7105de
0
PKRoma/atom,PKRoma/atom,stinsonga/atom,kevinrenaers/atom,ardeshirj/atom,Mokolea/atom,liuderchi/atom,t9md/atom,brettle/atom,FIT-CSE2410-A-Bombs/atom,Mokolea/atom,andrewleverette/atom,decaffeinate-examples/atom,t9md/atom,liuderchi/atom,stinsonga/atom,andrewleverette/atom,decaffeinate-examples/atom,xream/atom,ardeshirj/at...
'use strict' const _ = require('underscore-plus') const url = require('url') const path = require('path') const {Emitter, Disposable, CompositeDisposable} = require('event-kit') const fs = require('fs-plus') const {Directory} = require('pathwatcher') const DefaultDirectorySearcher = require('./default-directory-search...
src/workspace.js
'use strict' const _ = require('underscore-plus') const url = require('url') const path = require('path') const {Emitter, Disposable, CompositeDisposable} = require('event-kit') const fs = require('fs-plus') const {Directory} = require('pathwatcher') const DefaultDirectorySearcher = require('./default-directory-search...
Remove the buildTextEditor binding The comment was actually no longer accurate since arrow functions aren't newable. After doing an audit, @maxbrunsfeld determined that it could just be removed.
src/workspace.js
Remove the buildTextEditor binding
<ide><path>rc/workspace.js <ide> <ide> this.defaultDirectorySearcher = new DefaultDirectorySearcher() <ide> this.consumeServices(this.packageManager) <del> <del> // One cannot simply .bind here since it could be used as a component with <del> // Etch, in which case it'd be `new`d. And when it's `new`d, `...
Java
apache-2.0
41e10ffb799af602acf6862a2b9d75eae70b7849
0
ukwa/blindex,ukwa/blindex,ukwa/blindex,ukwa/blindex,ukwa/blindex
package uk.bl.wa.blindex; import java.io.IOException; import java.net.URI; import java.net.URL; import java.util.Arrays; import java.util.Iterator; import java.util.List; import org.apache.hadoop.filecache.DistributedCache; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.ha...
src/main/java/uk/bl/wa/blindex/IndexerJob.java
package uk.bl.wa.blindex; import java.io.IOException; import java.net.URI; import java.net.URL; import java.util.Arrays; import java.util.Iterator; import java.util.List; import org.apache.hadoop.filecache.DistributedCache; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.ha...
Seems I have to repeat myself.
src/main/java/uk/bl/wa/blindex/IndexerJob.java
Seems I have to repeat myself.
<ide><path>rc/main/java/uk/bl/wa/blindex/IndexerJob.java <ide> <ide> JobConf conf = new JobConf(IndexerJob.Map.class); <ide> conf.setJobName("JISC2_Indexer"); <add> conf.setMapOutputKeyClass(IntWritable.class); <add> conf.setMapOutputValueClass(SolrInputDocumentWritable.class); <ide> conf.setMapperClass(Map.cl...
JavaScript
mit
efe73e2ce3ff794ada3ea879a02af9ffb8828372
0
jupe/mongoose-tail
/* ******************* mongoose-tail ******************* ``` var motail = require('mongoose-tail'); var mt = new motail({}); mt.event('error', function(error){ }) mt.event('count', function(count){ }) mt.event('data', function(data) { }); ``` */ var EventEmitter = require('events').EventEmitter; var uti...
lib/index.js
/* ******************* mongoose-tail ******************* ``` var motail = require('mongoose-tail'); var mt = new motail({}); mt.event('error', function(error){ }) mt.event('count', function(count){ }) mt.event('data', function(data) { }); ``` */ var EventEmitter = require('events').EventEmitter; var uti...
Update index.js
lib/index.js
Update index.js
<ide><path>ib/index.js <ide> <ide> /* 3.rd modules*/ <ide> var _ = require('underscore'); <del>var mongoose = require('mongoose'); <add>var mongoose = module.parent.mongoose; <ide> var cronJob = require('cron').CronJob; <ide> <ide> /* Implementation */ <ide> this.job = false; <ide> this.triggeredList = []; <ide> ...
Java
mit
error: pathspec 'src/org/jmist/toolkit/Optics.java' did not match any file(s) known to git
37bb1e43547ebfe090045fecfc0e8e0317b4ec9d
1
bwkimmel/jmist
/** * */ package org.jmist.toolkit; import org.jmist.util.MathUtil; import org.jmist.util.ReferenceArgument; /** * Provides utility methods for geometric optics. * @author bkimmel */ public final class Optics { /** * Computes a reflected vector. * @param in The vector to be reflected. * @param normal The...
src/org/jmist/toolkit/Optics.java
Added Optics class with static utility methods for geometric optics (reflection, refraction).
src/org/jmist/toolkit/Optics.java
Added Optics class with static utility methods for geometric optics (reflection, refraction).
<ide><path>rc/org/jmist/toolkit/Optics.java <add>/** <add> * <add> */ <add>package org.jmist.toolkit; <add> <add>import org.jmist.util.MathUtil; <add>import org.jmist.util.ReferenceArgument; <add> <add>/** <add> * Provides utility methods for geometric optics. <add> * @author bkimmel <add> */ <add>public final class Op...
Java
mit
9f89ea6518d9547e50e677991ad13376b54a515e
0
douggie/XChange
package org.knowm.xchange.bitmex.service; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Base64; import javax.crypto.Mac; import javax.ws.rs.FormParam; import org.knowm.xchange.service.BaseParamsDigest; import si.mazi.rescu.RestInvocation; public class BitmexDig...
xchange-bitmex/src/main/java/org/knowm/xchange/bitmex/service/BitmexDigest.java
package org.knowm.xchange.bitmex.service; import java.io.IOException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import javax.crypto.Mac; import javax.ws.rs.FormParam; import org.knowm.xchange.service.BaseParamsDigest; import net.iharder.Base64; import si.mazi.rescu.RestInvoc...
[bitmex] switch API keys to url-safe base64 encoding, which is the scheme used by bitmex
xchange-bitmex/src/main/java/org/knowm/xchange/bitmex/service/BitmexDigest.java
[bitmex] switch API keys to url-safe base64 encoding, which is the scheme used by bitmex
<ide><path>change-bitmex/src/main/java/org/knowm/xchange/bitmex/service/BitmexDigest.java <ide> package org.knowm.xchange.bitmex.service; <ide> <del>import java.io.IOException; <ide> import java.security.MessageDigest; <ide> import java.security.NoSuchAlgorithmException; <add>import java.util.Base64; <ide> <ide> impo...
JavaScript
mit
1fba0f7d2e6c74fe03908aafd154a76381cbe2eb
0
Kilian/grafico,Kilian/grafico
var Ico = { Base: {}, SparkLine: {}, SparkBar: {}, BaseGraph: {}, LineGraph: {}, BarGraph: {}, HorizontalBarGraph: {} } Ico.Base = Class.create({ /* Returns a suitable set of labels for given data points on the Y axis */ labelStep: function(data) { var min = data.min(), max = data.max()...
ico.js
var Ico = { Base: {}, SparkLine: {}, SparkBar: {}, BaseGraph: {}, LineGraph: {}, BarGraph: {}, HorizontalBarGraph: {} } Ico.Base = Class.create({ /* Returns a suitable set of labels for given data points on the Y axis */ labelStep: function(data) { var min = data.min(), max = data.max()...
add hover colour to api
ico.js
add hover colour to api
<ide><path>co.js <ide> datalabels: '', <ide> percentages: false, // opt for percentage in horizontal graph horizontal labels <ide> start_at_zero: true, <del> horiz_bargraph_firstcolour: false // different c...
Java
apache-2.0
bde251dc0bb81d486128a53abfb5dd163f1f46be
0
strapdata/elassandra,vroyer/elasticassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elasticassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra,vroyer/elasticassandra,strapdata/elassandra,strapdata/elassandra
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
test/framework/src/test/java/org/elasticsearch/test/VersionUtilsTests.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Filter current version from compatible versions We need to filter the current version from the list of compatible versions to match how we calculate the list of compatible versions in Gradle.
test/framework/src/test/java/org/elasticsearch/test/VersionUtilsTests.java
Filter current version from compatible versions
<ide><path>est/framework/src/test/java/org/elasticsearch/test/VersionUtilsTests.java <ide> .filter(Version::isRelease) <ide> .collect(toList()); <ide> List<String> releasedIndexCompatible = released.stream() <add> .filter(v -> !Version.CURRENT.equals(v)) <ide> ...
Java
lgpl-2.1
d681511077d56443175d3d9d6e2686403999b4c3
0
hal/core,hal/core,hal/core,hal/core,hal/core
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
gui/src/main/java/org/jboss/mbui/gui/reification/strategy/ChoiceStrategy.java
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
Top level Container.CHOICE uses scroll panel for nested elements
gui/src/main/java/org/jboss/mbui/gui/reification/strategy/ChoiceStrategy.java
Top level Container.CHOICE uses scroll panel for nested elements
<ide><path>ui/src/main/java/org/jboss/mbui/gui/reification/strategy/ChoiceStrategy.java <ide> <ide> import com.google.gwt.dom.client.Style; <ide> import com.google.gwt.event.logical.shared.AttachEvent; <add>import com.google.gwt.user.client.ui.ScrollPanel; <ide> import com.google.gwt.user.client.ui.TabPanel; <ide> imp...
Java
mit
c8ad0401fce1564f5fe7f49df8091499dfa53818
0
kobasemi/PacketCAM,kobasemi/PacketCAM
package jp.ac.kansai_u.kutc.firefly.packetcam.opengl; import android.graphics.Bitmap; import android.graphics.Matrix; import android.opengl.GLSurfaceView; import android.util.Log; import jp.ac.kansai_u.kutc.firefly.packetcam.readpcap.PacketAnalyser; import jp.ac.kansai_u.kutc.firefly.packetcam.readpcap.PcapManager; im...
PacketCAM/src/jp/ac/kansai_u/kutc/firefly/packetcam/opengl/EffectRenderer.java
package jp.ac.kansai_u.kutc.firefly.packetcam.opengl; import android.graphics.Bitmap; import android.graphics.Matrix; import android.opengl.GLSurfaceView; import android.util.Log; import jp.ac.kansai_u.kutc.firefly.packetcam.readpcap.PacketAnalyser; import jp.ac.kansai_u.kutc.firefly.packetcam.readpcap.PcapManager; im...
位置とサイズをパケット情報を利用して表示できるように実装
PacketCAM/src/jp/ac/kansai_u/kutc/firefly/packetcam/opengl/EffectRenderer.java
位置とサイズをパケット情報を利用して表示できるように実装
<ide><path>acketCAM/src/jp/ac/kansai_u/kutc/firefly/packetcam/opengl/EffectRenderer.java <ide> <ide> PcapPacket packet = null; <ide> <add> int colorFlg = 0; <add> boolean alphaFlg = false; <add> <ide> /** <ide> * スレッドセーフなキュー,インスタンスはPcapManagerから取得する <ide> * @see jp.ac.kansai_u.kutc.firefly.packetcam...
Java
mit
92ec2f8513ba6ccb2e91e7ff4edc55f5febe2f67
0
AmadouSallah/Programming-Interview-Questions,AmadouSallah/Programming-Interview-Questions
/* Problem 91. Decode Ways A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the total number of ways to decode it. For example, Given encoded message "12", it could be decoded as "AB" (...
leetcode/java/prob91DecodeWays/NumberOfDecodings.java
/* Problem 91. Decode Ways A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the total number of ways to decode it. For example, Given encoded message "12", it could be decoded as "AB" (...
Added Solution2 for NumberOfDecodings.java: O(n) runtime and O(1) space complexities
leetcode/java/prob91DecodeWays/NumberOfDecodings.java
Added Solution2 for NumberOfDecodings.java: O(n) runtime and O(1) space complexities
<ide><path>eetcode/java/prob91DecodeWays/NumberOfDecodings.java <ide> */ <ide> <ide> public class NumberOfDecodings { <add> <add> // O(n) runtime and O(n) space complexities <ide> public static int numDecodings(String s) { <ide> if (s == null || s.length() == 0) return 0; <ide> int n = s.length(); <ide> ...
Java
apache-2.0
205f8823dac554e685073e9a0ea8769f8f528e70
0
apereo/cas,rkorn86/cas,apereo/cas,rkorn86/cas,Jasig/cas,apereo/cas,apereo/cas,rkorn86/cas,fogbeam/cas_mirror,apereo/cas,fogbeam/cas_mirror,rkorn86/cas,Jasig/cas,apereo/cas,fogbeam/cas_mirror,fogbeam/cas_mirror,fogbeam/cas_mirror,Jasig/cas,apereo/cas,Jasig/cas,fogbeam/cas_mirror
package org.apereo.cas.configuration.model.support.jpa; import org.apereo.cas.configuration.model.support.ConnectionPoolingProperties; import org.apereo.cas.configuration.support.DurationCapable; import org.apereo.cas.configuration.support.ExpressionLanguageCapable; import org.apereo.cas.configuration.support.Required...
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/jpa/AbstractJpaProperties.java
package org.apereo.cas.configuration.model.support.jpa; import org.apereo.cas.configuration.model.support.ConnectionPoolingProperties; import org.apereo.cas.configuration.support.DurationCapable; import org.apereo.cas.configuration.support.ExpressionLanguageCapable; import org.apereo.cas.configuration.support.Required...
fix tests; update rel notes
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/jpa/AbstractJpaProperties.java
fix tests; update rel notes
<ide><path>pi/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/jpa/AbstractJpaProperties.java <ide> <ide> /** <ide> * Attempts to do a JNDI data source look up for the data source name specified. <del> * Will attempt to locate the data source object as is, o...
Java
lgpl-2.1
25ee92544ce08d635794be7aa19301ad7dd6807c
0
exedio/copernica,exedio/copernica,exedio/copernica
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
lib/src/com/exedio/cope/Database.java
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
put logging into executeSQL git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@3630 e7d4fc99-c606-0410-b9bf-843393a9eab7
lib/src/com/exedio/cope/Database.java
put logging into executeSQL
<ide><path>ib/src/com/exedio/cope/Database.java <ide> } <ide> } <ide> <del> final long logStart = log ? System.currentTimeMillis() : 0; <del> <ide> executeSQLQuery(connection, bf, <ide> new ResultSetHandler() <ide> { <ide> }, <ide> false <ide> ); <del> <del> if(log) <del> log(logStart, b...
Java
apache-2.0
f29b9e84f2993cbd40001418ac5bc3eed1534dab
0
Shabirmean/carbon-device-mgt,madawas/carbon-device-mgt,milanperera/carbon-device-mgt,sameeragunarathne/carbon-device-mgt,madhawap/carbon-device-mgt,prithvi66/carbon-device-mgt,wso2/carbon-device-mgt,DimalChandrasiri/carbon-device-mgt,pasindujw/carbon-device-mgt,GDLMadushanka/carbon-device-mgt,pasindujw/carbon-device-mg...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/ActivityProviderServiceImpl.java
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
Fixed 200 returns when activities are empty and since is a future date
components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/ActivityProviderServiceImpl.java
Fixed 200 returns when activities are empty and since is a future date
<ide><path>omponents/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/ActivityProviderServiceImpl.java <ide> int count = dmService.getActivityCountUpdatedAfter(timestamp); <ide> activityList.setCount(count); <ide> if (activities ==...
Java
mit
d79c969bc9a7c8318d384c5b6a92c09bf419f5a0
0
roccobarbi/predatorieprede02
package predatorieprede02; public class LinkedPredatore extends LinkedOrganism { // Private fields private Predatore self; // Overloaded // Accessors /** * @return the self */ public Predatore getSelf() { return self; } /** * @param self the self to set */ private void setSelf(Predatore self) ...
src/predatorieprede02/LinkedPredatore.java
package predatorieprede02; public class LinkedPredatore extends LinkedOrganism { // Private fields private Predatore self; // Overloaded // Accessors /** * @return the self */ public Predatore getSelf() { return self; } /** * @param self the self to set */ private void setSelf(Predatore self) ...
minor debugging
src/predatorieprede02/LinkedPredatore.java
minor debugging
<ide><path>rc/predatorieprede02/LinkedPredatore.java <ide> // Move <ide> grid = field.lookAround(posX, posY); <ide> dest = self.chooseMove(grid); <add> //for(int i = 0; i < grid.length; i++) System.out.println(grid[i]); // DEBUG: remove after debugging <ide> if(dest > -1){ <del> System.out.println(dest + " :...
Java
apache-2.0
4c90af4050d6c852d80331579b5340d78641af1a
0
squirrelala/Rainfall-core,cljohnso/Rainfall-core,squirrelala/Rainfall-core,cschanck/Rainfall-core,cschanck/Rainfall-core,aurbroszniowski/Rainfall-core,cljohnso/Rainfall-core,aurbroszniowski/Rainfall-core
/* * Copyright 2014 Aurélien Broszniowski * * 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/io/rainfall/reporting/HtmlReporter.java
/* * Copyright 2014 Aurélien Broszniowski * * 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 ...
added 3rd digit to latencies reporting
src/main/java/io/rainfall/reporting/HtmlReporter.java
added 3rd digit to latencies reporting
<ide><path>rc/main/java/io/rainfall/reporting/HtmlReporter.java <ide> <ide> for (Enum<E> result : resultsReported) { <ide> averageLatencySb.append(",") <del> .append(String.format("%.2f", (statisticsPeek.getPeriodicAverageLatencyInMs(result)))); <add> .append(String.format("%.3f", (statisti...
Java
apache-2.0
a3f5561caaf8bc51b1d1b4ef9369f7bc9d5f5717
0
ceruleanotter/feb_5_Sunshine
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
app/src/main/java/com/example/android/sunshine/app/ForecastFragment.java
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Updated forecast fragment to use loaders.
app/src/main/java/com/example/android/sunshine/app/ForecastFragment.java
Updated forecast fragment to use loaders.
<ide><path>pp/src/main/java/com/example/android/sunshine/app/ForecastFragment.java <ide> import android.os.Bundle; <ide> import android.preference.PreferenceManager; <ide> import android.support.v4.app.Fragment; <add>import android.support.v4.app.LoaderManager; <add>import android.support.v4.content.CursorLoader; <add>...
Java
bsd-3-clause
b9c49b5aea03710a4a9cb32ad8cf04ef8650e59c
0
NCIP/c3pr,NCIP/c3pr,NCIP/c3pr
package edu.duke.cabig.c3pr.domain.factory; import java.util.List; import org.apache.log4j.Logger; import org.springframework.context.MessageSource; import edu.duke.cabig.c3pr.constants.ContactMechanismType; import edu.duke.cabig.c3pr.constants.CoordinatingCenterStudyStatus; import edu.duke.cabig.c3pr.constants.Orga...
codebase/projects/core/src/java/edu/duke/cabig/c3pr/domain/factory/StudySubjectFactory.java
package edu.duke.cabig.c3pr.domain.factory; import java.util.List; import org.apache.log4j.Logger; import org.springframework.context.MessageSource; import edu.duke.cabig.c3pr.constants.ContactMechanismType; import edu.duke.cabig.c3pr.constants.CoordinatingCenterStudyStatus; import edu.duke.cabig.c3pr.constants.Orga...
CPR-1478 : added a setter method for icd9DiseaseSiteDao
codebase/projects/core/src/java/edu/duke/cabig/c3pr/domain/factory/StudySubjectFactory.java
CPR-1478 : added a setter method for icd9DiseaseSiteDao
<ide><path>odebase/projects/core/src/java/edu/duke/cabig/c3pr/domain/factory/StudySubjectFactory.java <ide> this.healthcareSiteDao = healthcareSiteDao; <ide> } <ide> <del> public void setAnatomicSiteDao(ICD9DiseaseSiteDao icd9DiseaseSiteDao) { <add> public ICD9DiseaseSiteDao getIcd9DiseaseSiteDao() { <add> return ...
JavaScript
mpl-2.0
ed31c81945e5bdc4295e999a95479f25932df51e
0
matthewjwein/webextensions-examples,mdn/webextensions-examples,evolighting/webextensions-examples,matthewjwein/webextensions-examples,matthewjwein/webextensions-examples,mdn/webextensions-examples,evolighting/webextensions-examples,evolighting/webextensions-examples,mdn/webextensions-examples
function saveOptions(e) { browser.storage.local.set({ colour: document.querySelector("#colour").value }); e.preventDefault(); } function restoreOptions() { var gettingItem = browser.storage.local.get('colour'); gettingItem.then((res) => { document.querySelector("#colour").value = res.colour || 'Firef...
favourite-colour/options.js
function saveOptions(e) { browser.storage.local.set({ colour: document.querySelector("#colour").value }); } function restoreOptions() { var gettingItem = browser.storage.local.get('colour'); gettingItem.then((res) => { document.querySelector("#colour").value = res.colour || 'Firefox red'; }); } docu...
add in prevent default (#173)
favourite-colour/options.js
add in prevent default (#173)
<ide><path>avourite-colour/options.js <ide> browser.storage.local.set({ <ide> colour: document.querySelector("#colour").value <ide> }); <add> e.preventDefault(); <ide> } <ide> <ide> function restoreOptions() {
Java
mit
error: pathspec 'src/ctci/_25SPNSchedulingNonPreEmptive.java' did not match any file(s) known to git
3f97b244a5a646f4bb2d323cb62e27a44e3b5dba
1
darshanhs90/Java-InterviewPrep,darshanhs90/Java-Coding
package ctci; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Scanner; /*Implementation of LFU Page Replacement Algorithm*/ public class _25SPNSchedulingNonPreEmptive{ public static void main(String[] args) { Scanner scanner=new Scanner(new InputStreamReader(System.in)); Integer noO...
src/ctci/_25SPNSchedulingNonPreEmptive.java
Shortest Path Next schdeuler completed
src/ctci/_25SPNSchedulingNonPreEmptive.java
Shortest Path Next schdeuler completed
<ide><path>rc/ctci/_25SPNSchedulingNonPreEmptive.java <add>package ctci; <add> <add>import java.io.InputStreamReader; <add>import java.util.Arrays; <add>import java.util.Scanner; <add> <add> <add>/*Implementation of LFU Page Replacement Algorithm*/ <add>public class _25SPNSchedulingNonPreEmptive{ <add> <add> public sta...
Java
epl-1.0
947549b6c26311fecf8e05180e14aebe0d66aa8e
0
abstratt/textuml,abstratt/textuml,abstratt/textuml
/******************************************************************************* * Copyright (c) 2006, 2010 Abstratt Technologies * 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 ...
plugins/com.abstratt.mdd.frontend.textuml.core/src/com/abstratt/mdd/internal/frontend/textuml/BehaviorGenerator.java
/******************************************************************************* * Copyright (c) 2006, 2010 Abstratt Technologies * 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 ...
tweaking error reporting in case of required expression provided when an optional one was expected
plugins/com.abstratt.mdd.frontend.textuml.core/src/com/abstratt/mdd/internal/frontend/textuml/BehaviorGenerator.java
tweaking error reporting in case of required expression provided when an optional one was expected
<ide><path>lugins/com.abstratt.mdd.frontend.textuml.core/src/com/abstratt/mdd/internal/frontend/textuml/BehaviorGenerator.java <ide> ensure( <ide> !TypeUtils.isRequiredPin(mainOutput), <ide> left, <del> () -> new UnclassifiedProblem("Expression must be optional") <add> () -> new OptionalValueExpected() <ide...
Java
apache-2.0
285111b5e81aead1bec6cfc6b7adc5fbf3070e8c
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
/* * The Spring Framework is published under the terms * of the Apache Software License. */ package org.springframework.transaction.interceptor; import java.io.InputStream; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import junit.framework.TestCase; import org.aopalliance.intercept.MethodInt...
test/org/springframework/transaction/interceptor/BeanFactoryTransactionTests.java
/* * The Spring Framework is published under the terms * of the Apache Software License. */ package org.springframework.transaction.interceptor; import java.io.InputStream; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import junit.framework.TestCase; import org.aopalliance.intercept.MethodInt...
Changed DummyTxManager class name because of CVS problem git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@778 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
test/org/springframework/transaction/interceptor/BeanFactoryTransactionTests.java
Changed DummyTxManager class name because of CVS problem
<ide><path>est/org/springframework/transaction/interceptor/BeanFactoryTransactionTests.java <ide> import org.springframework.beans.factory.BeanFactory; <ide> import org.springframework.beans.factory.xml.XmlBeanFactory; <ide> import org.springframework.transaction.CountingTxManager; <del>import org.springframework.trans...
Java
mit
error: pathspec 'src/java/net/sf/jabref/export/MSBibExportFormat.java' did not match any file(s) known to git
70397419e42797797b422e0cb6496c82d0462472
1
zellerdev/jabref,ayanai1/jabref,mairdl/jabref,Siedlerchr/jabref,bartsch-dev/jabref,JabRef/jabref,shitikanth/jabref,grimes2/jabref,tschechlovdev/jabref,sauliusg/jabref,motokito/jabref,obraliar/jabref,grimes2/jabref,mairdl/jabref,shitikanth/jabref,Mr-DLib/jabref,mredaelli/jabref,jhshinn/jabref,zellerdev/jabref,tschechlov...
package net.sf.jabref.export; import net.sf.jabref.Globals; import net.sf.jabref.BibtexDatabase; import net.sf.jabref.msbib.*; import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerFactory; import javax.x...
src/java/net/sf/jabref/export/MSBibExportFormat.java
MSBibExportFormatter used to export in MSOffice 2007 format. Based on ModsExportFormat.
src/java/net/sf/jabref/export/MSBibExportFormat.java
MSBibExportFormatter used to export in MSOffice 2007 format. Based on ModsExportFormat.
<ide><path>rc/java/net/sf/jabref/export/MSBibExportFormat.java <add>package net.sf.jabref.export; <add> <add>import net.sf.jabref.Globals; <add>import net.sf.jabref.BibtexDatabase; <add>import net.sf.jabref.msbib.*; <add> <add>import javax.xml.transform.dom.DOMSource; <add>import javax.xml.transform.stream.StreamResult...
JavaScript
agpl-3.0
cf899afdc7c365ddc6fa6f0a786aaf265d2ccf12
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
/* * (c) Copyright Ascensio System SIA 2010-2016 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its S...
common/Drawings/Format/GraphicObjectBase.js
/* * (c) Copyright Ascensio System SIA 2010-2016 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its S...
fix typo
common/Drawings/Format/GraphicObjectBase.js
fix typo
<ide><path>ommon/Drawings/Format/GraphicObjectBase.js <ide> if(this.spPr && this.spPr.Fill && this.spPr.Fill.fill && this.spPr.Fill.fill.RasterImageId){ <ide> if(mapUrl[this.spPr.Fill.fill.RasterImageId]){ <ide> var blip_fill = new AscFormat.CBlipFill(); <del> blip_fil...
Java
mit
dfc77cc93a6edf81d05b55fe372ab02944695134
0
anyazz/SimpleTweets
package com.codepath.apps.restclienttemplate.models; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.text.Editable; import android.text.TextWatcher; import android.text.format.DateUtils; import andro...
app/src/main/java/com/codepath/apps/restclienttemplate/models/TweetAdapter.java
package com.codepath.apps.restclienttemplate.models; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.text.Editable; import android.text.TextWatcher; import android.text.format.DateUtils; import andro...
separated into shortenRelativeTime function
app/src/main/java/com/codepath/apps/restclienttemplate/models/TweetAdapter.java
separated into shortenRelativeTime function
<ide><path>pp/src/main/java/com/codepath/apps/restclienttemplate/models/TweetAdapter.java <ide> holder.tvScreenName.setText("@" + tweet.user.screenName); <ide> holder.tvTimestamp.setText(getRelativeTimeAgo(tweet.createdAt)); <ide> <del> // convert "_ minutes ago" to "_m", etc <del> String...
Java
unlicense
c453143f1fcca4e7d4aeed28b7b2e7da225170e9
0
fuzzyBSc/systemdesign,fuzzyBSc/systemdesign
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jurisdict...
SystemDesign/src/main/java/au/id/soundadvice/systemdesign/fxml/LogicalTreeController.java
/* * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jurisdict...
Don't show external functions as unallocated
SystemDesign/src/main/java/au/id/soundadvice/systemdesign/fxml/LogicalTreeController.java
Don't show external functions as unallocated
<ide><path>ystemDesign/src/main/java/au/id/soundadvice/systemdesign/fxml/LogicalTreeController.java <ide> // Keep orphans separate to avoid null pointers in TreeMap <ide> SortedMap<String, Function> rawOrphans = new TreeMap<>(); <ide> allocated.getFunctions() <add> ...
JavaScript
mit
6844f2e014cbea4b0143625ae83da6b68f411188
0
auth0/docs,auth0/docs,auth0/docs
// This is the list of APIs used in the old two-step quickstarts. const apiNames = [ 'aspnet-webapi', 'aws', 'azure-blob-storage', 'azure-mobile-services', 'azure-sb', 'falcor', 'firebase', 'golang', 'hapi', 'java-spring-security', 'java', 'nginx', 'nodejs', 'php-laravel', 'php-symfony', ...
config/redirects.js
// This is the list of APIs used in the old two-step quickstarts. const apiNames = [ 'aspnet-webapi', 'aws', 'azure-blob-storage', 'azure-mobile-services', 'azure-sb', 'falcor', 'firebase', 'golang', 'hapi', 'java-spring-security', 'java', 'nginx', 'nodejs', 'php-laravel', 'php-symfony', ...
Brand and Customize redirects Brand and customize redirect fixes
config/redirects.js
Brand and Customize redirects
<ide><path>onfig/redirects.js <ide> '/i18n/password-strength' <ide> ], <ide> to: '/brand-and-customize/i18n/password-options-translation' <add> }, <add> { <add> from: ['/universal-login/new-experience/universal-login-page-templates','/universal-login/page-templates'], <add> to: '/brand-and-customi...
Java
apache-2.0
ad42821bc281f0a5eb4de6a12b100277e97d8431
0
arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint
/* * Copyright (c) 2010-2017 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/show/PagePreviewChanges.java
/* * Copyright (c) 2010-2017 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Fix for MID-4252 (perhaps temporary)
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/show/PagePreviewChanges.java
Fix for MID-4252 (perhaps temporary)
<ide><path>ui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/show/PagePreviewChanges.java <ide> savePerformed(target); <ide> } <ide> }; <del> save.add(new EnableBehaviour(() -> violationsEmpty())); <add> //save.add(new EnableBehaviour(() -> violationsEmpty())); // does not work a...
Java
apache-2.0
1b1254d8484e5dbf0ecff1445bd835d57197c841
0
bkirschn/sakai,duke-compsci290-spring2016/sakai,kingmook/sakai,hackbuteer59/sakai,buckett/sakai-gitflow,kwedoff1/sakai,rodriguezdevera/sakai,willkara/sakai,clhedrick/sakai,whumph/sakai,lorenamgUMU/sakai,bzhouduke123/sakai,clhedrick/sakai,wfuedu/sakai,wfuedu/sakai,OpenCollabZA/sakai,buckett/sakai-gitflow,buckett/sakai-g...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community Licen...
calendar/calendar-tool/tool/src/java/org/sakaiproject/calendar/tool/CalendarAction.java
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community Licen...
SAK-22636 - Calendar uses file separator instead of entity separator, contributed patch. git-svn-id: 04d4787a8f5c2a5245f79294070475605a4425d0@113742 66ffb92e-73f9-0310-93c1-f5514f145a0a
calendar/calendar-tool/tool/src/java/org/sakaiproject/calendar/tool/CalendarAction.java
SAK-22636 - Calendar uses file separator instead of entity separator, contributed patch.
<ide><path>alendar/calendar-tool/tool/src/java/org/sakaiproject/calendar/tool/CalendarAction.java <ide> import java.io.ByteArrayInputStream; <ide> import java.io.IOException; <ide> import java.io.InputStream; <del>import java.io.File; <ide> import java.text.DateFormat; <ide> import java.text.NumberFormat; <ide> import ...
Java
mit
e873db38c77606b98a4d5d9ad291c413bbb4aee4
0
conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5
package com.conveyal.r5.analyst.cluster; import com.conveyal.r5.analyst.GridCache; import com.conveyal.r5.analyst.PointSet; import com.conveyal.r5.analyst.WebMercatorGridPointSetCache; import com.conveyal.r5.analyst.WorkerCategory; import com.conveyal.r5.profile.ProfileRequest; import com.conveyal.r5.transit.Transport...
src/main/java/com/conveyal/r5/analyst/cluster/AnalysisTask.java
package com.conveyal.r5.analyst.cluster; import com.conveyal.r5.analyst.GridCache; import com.conveyal.r5.analyst.PointSet; import com.conveyal.r5.analyst.WebMercatorGridPointSetCache; import com.conveyal.r5.analyst.WorkerCategory; import com.conveyal.r5.profile.ProfileRequest; import com.conveyal.r5.transit.Transport...
docs(request): add javadoc
src/main/java/com/conveyal/r5/analyst/cluster/AnalysisTask.java
docs(request): add javadoc
<ide><path>rc/main/java/com/conveyal/r5/analyst/cluster/AnalysisTask.java <ide> */ <ide> public int nPathsPerTarget = 3; <ide> <add> /** <add> * Whether the R5 worker should log an analysis request it receives from the broker. analysis-backend translates <add> * front-end requests to the format exp...
Java
epl-1.0
7e280014877bdcb7c1548efc3daf3cf564dd1dbd
0
miklossy/xtext-core,miklossy/xtext-core
/******************************************************************************* * Copyright (c) 2012 itemis AG (http://www.itemis.eu) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distr...
plugins/org.eclipse.xtext/src/org/eclipse/xtext/generator/LineSeparatorHarmonizer.java
/******************************************************************************* * Copyright (c) 2012 itemis AG (http://www.itemis.eu) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distr...
[trace] Replaced TracingAppendable by TreeAppendable which can be post processed
plugins/org.eclipse.xtext/src/org/eclipse/xtext/generator/LineSeparatorHarmonizer.java
[trace] Replaced TracingAppendable by TreeAppendable which can be post processed
<ide><path>lugins/org.eclipse.xtext/src/org/eclipse/xtext/generator/LineSeparatorHarmonizer.java <ide> @Inject <ide> private IWhitespaceInformationProvider whitespaceInformationProvider; <ide> <del> public String postProcess(URI fileURI, CharSequence content) { <add> public CharSequence postProcess(URI fileURI, Char...
JavaScript
agpl-3.0
40f1c2dfe5fa6811257bdc6a3da28cd388d90894
0
Memba/Memba-Widgets,Memba/Memba-Widgets,Memba/Memba-Widgets
/** * Copyright (c) 2013-2017 Memba Sarl. All rights reserved. * Sources at https://github.com/Memba */ /* jshint browser: true, jquery: true */ /* globals define: false */ (function (f, define) { 'use strict'; define([ './window.assert', './window.logger', './vendor/kendo/kendo.bin...
src/js/kidoju.widgets.selector.js
/** * Copyright (c) 2013-2017 Memba Sarl. All rights reserved. * Sources at https://github.com/Memba */ /* jshint browser: true, jquery: true */ /* globals define: false */ (function (f, define) { 'use strict'; define([ './window.assert', './window.logger', './vendor/kendo/kendo.bin...
Prevent drawing a selection when interacting with a kj-interactive element
src/js/kidoju.widgets.selector.js
Prevent drawing a selection when interacting with a kj-interactive element
<ide><path>rc/js/kidoju.widgets.selector.js <ide> _onMouseDown: function (e) { <ide> assert.instanceof($.Event, e, kendo.format(assert.messages.instanceof.default, 'e', 'jQuery.Event')); <ide> e.preventDefault(); // prevents from selecting the div <add> if ($(...
JavaScript
mit
696a46232bbc4747970008516a495d9764fa378d
0
SporkList/sporklist.github.io,SporkList/sporklist.github.io
var parseUser = null; var position = null; var service = null; var autocomplete = null; var searchResults = null; var count = 0; /* In the case of no location name, we use the user's current location */ function retrieveSearchResults() { var loc; var place = autocomplete.getPlace(); if(place == undefi...
scripts/main.js
var parseUser = null; var position = null; var service = null; var autocomplete = null; var searchResults = null; var count = 0; /* In the case of no location name, we use the user's current location */ function retrieveSearchResults() { var loc; var place = autocomplete.getPlace(); if(place == undefi...
GAAHHH
scripts/main.js
GAAHHH
<ide><path>cripts/main.js <ide> <ide> /* Integrate with shit here */ <ide> var name = choice.name; <del> var location = new Parse.GeoPoint({latitude: choice.geometry.location.lat(), longitude: choice.geometry.location.lng()}); <add> var loc = new Parse.GeoPoint({latitude: choice.geometry.location.lat...
Java
apache-2.0
18c8ec0fa870b8764b98f128859f25a70c17ce22
0
yarrr-ru/stash2slack
package com.pragbits.stash.components; import com.atlassian.event.api.EventListener; import com.atlassian.stash.commit.CommitService; import com.atlassian.stash.content.Changeset; import com.atlassian.stash.content.ChangesetsBetweenRequest; import com.atlassian.stash.event.RepositoryPushEvent; import com.atlassian.sta...
src/main/java/com/pragbits/stash/components/RepositoryPushActivityListener.java
package com.pragbits.stash.components; import com.atlassian.event.api.EventListener; import com.atlassian.stash.commit.CommitService; import com.atlassian.stash.content.Changeset; import com.atlassian.stash.content.ChangesetsBetweenRequest; import com.atlassian.stash.event.RepositoryPushEvent; import com.atlassian.sta...
Update RepositoryPushActivityListener.java Remove messages about new branches
src/main/java/com/pragbits/stash/components/RepositoryPushActivityListener.java
Update RepositoryPushActivityListener.java
<ide><path>rc/main/java/com/pragbits/stash/components/RepositoryPushActivityListener.java <ide> boolean isNewRef = refChange.getFromHash().equalsIgnoreCase("0000000000000000000000000000000000000000"); <ide> boolean isDeleted = refChange.getToHash().equalsIgnoreCase("000000000000000000000...
Java
apache-2.0
5da51cbb74cdb7c38f3838a9e1c09d0d48668335
0
playfellas/superapp
package it.playfellas.superapp.ui.master; import android.graphics.Bitmap; import android.support.v4.app.Fragment; import android.util.Log; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; import java.util.List; import butterknife.Bind; import it.playfellas.superapp.R; pub...
app/src/main/java/it/playfellas/superapp/ui/master/GameFragment.java
package it.playfellas.superapp.ui.master; import android.graphics.Bitmap; import android.support.v4.app.Fragment; import android.util.Log; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; import java.util.List; import butterknife.Bind; import it.playfellas.superapp.R; impo...
Fix for "are you really sure" dialog fragment Master
app/src/main/java/it/playfellas/superapp/ui/master/GameFragment.java
Fix for "are you really sure" dialog fragment Master
<ide><path>pp/src/main/java/it/playfellas/superapp/ui/master/GameFragment.java <ide> <ide> import butterknife.Bind; <ide> import it.playfellas.superapp.R; <del>import lombok.Getter; <ide> <ide> public class GameFragment extends Fragment implements <ide> MasterDialogFragment.DialogConfirmListener { <ide> <ide...
JavaScript
mit
2fa0dbbb850cf8a29ee4e912382649b5a0669d5c
0
mavoweb/mavo
(function($, $$) { var _ = Mavo.Expression = $.Class({ constructor: function(expression) { this.expression = expression; }, eval: function(data = Mavo.Data.stub, o) { Mavo.hooks.run("expression-eval-beforeeval", this); if (!this.function) { try { this.function = Mavo.Script.compile(this.expression, o...
src/expression.js
(function($, $$) { var _ = Mavo.Expression = $.Class({ constructor: function(expression) { this.expression = expression; }, eval: function(data = Mavo.Data.stub, o) { Mavo.hooks.run("expression-eval-beforeeval", this); try { if (!this.function) { this.function = Mavo.Script.compile(this.expression, o...
Better error display for expressions Separate compilation errors from runtime errors, show the former only once. More useful error display overall. Link to docs for disabling expressions.
src/expression.js
Better error display for expressions
<ide><path>rc/expression.js <ide> eval: function(data = Mavo.Data.stub, o) { <ide> Mavo.hooks.run("expression-eval-beforeeval", this); <ide> <del> try { <del> if (!this.function) { <add> if (!this.function) { <add> try { <ide> this.function = Mavo.Script.compile(this.expression, o); <ide> } <add> cat...
Java
apache-2.0
7617d3917e9de8785ba1db99934ee5e1648b5db5
0
atomfrede/generator-jhipster,PierreBesson/generator-jhipster,PierreBesson/generator-jhipster,robertmilowski/generator-jhipster,liseri/generator-jhipster,nkolosnjaji/generator-jhipster,gmarziou/generator-jhipster,robertmilowski/generator-jhipster,dynamicguy/generator-jhipster,dynamicguy/generator-jhipster,robertmilowski...
<%# Copyright 2013-2017 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
generators/server/templates/src/main/java/package/config/_CacheConfiguration.java
<%# Copyright 2013-2017 the original author or authors from the JHipster project. This file is part of the JHipster project, see http://www.jhipster.tech/ for more information. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ma...
Wording
generators/server/templates/src/main/java/package/config/_CacheConfiguration.java
Wording
<ide><path>enerators/server/templates/src/main/java/package/config/_CacheConfiguration.java <ide> .eviction().type(EvictionType.COUNT).size(cacheInfo.getReplicated() <ide> .getMaxEntries()).expiration().lifespan(cacheInfo.getReplicated().getTimeToLiveSeconds(), TimeUnit.MINUTES).build())...
JavaScript
apache-2.0
281284d22748768310b619da187335b711dc547c
0
input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus
import { action } from 'mobx'; import _ from 'lodash'; import type { appState } from '../state/index'; import Wallet from '../domain/Wallet'; import WalletTransaction from '../domain/WalletTransaction'; import api from '../api'; export default class WalletsController { state: appState; constructor(state: appStat...
app/controllers/WalletsController.js
import { action } from 'mobx'; import _ from 'lodash'; import type { appState } from '../state/index'; import Wallet from '../domain/Wallet'; import WalletTransaction from '../domain/WalletTransaction'; import api from '../api'; export default class WalletsController { state: appState; constructor(state: appStat...
Fix loading duplicate wallet transactions
app/controllers/WalletsController.js
Fix loading duplicate wallet transactions
<ide><path>pp/controllers/WalletsController.js <ide> const transactions = await api.loadWalletTransactions({ <ide> address: wallet.address <ide> }); <add> wallet.transactions.clear(); <ide> for (const transaction of transactions) { <ide> wallet.addTransaction(new WalletTransaction...
Java
apache-2.0
adf51f6cb9cd3bdfc613387ba015031b5d720fd4
0
epam-debrecen-rft-2015/atsy,epam-debrecen-rft-2015/atsy,epam-debrecen-rft-2015/atsy
package com.epam.rft.atsy.persistence.entities; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; import javax.persistence.Table; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsCons...
persistence/src/main/java/com/epam/rft/atsy/persistence/entities/StateFlowEntity.java
package com.epam.rft.atsy.persistence.entities; import javax.persistence.Entity; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; import javax.persistence.Table; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsCons...
fixed StateFlowRepositoryIT
persistence/src/main/java/com/epam/rft/atsy/persistence/entities/StateFlowEntity.java
fixed StateFlowRepositoryIT
<ide><path>ersistence/src/main/java/com/epam/rft/atsy/persistence/entities/StateFlowEntity.java <ide> @AllArgsConstructor <ide> @EqualsAndHashCode(callSuper = true) <ide> @ToString(callSuper = true) <del>@Builder <ide> @Entity <ide> @Table(name = "state_flow", schema = "atsy") <ide> public class StateFlowEntity extends...
JavaScript
mit
4c4774fa04b604f1635fb3538aa98c685a7de2cf
0
jorix/OL-FeaturePopups,jorix/OL-FeaturePopups
/* Copyright 2011-2012 Xavier Mamano, http://github.com/jorix/OL-FeaturePopups * Published under MIT license. All rights reserved. */ /** * requires OpenLayers/Control/SelectFeature.js * requires OpenLayers/Lang.js * requires OpenLayers/Popup.js */ /** * Class: OpenLayers.Control.FeaturePopups * The FeaturePop...
lib/FeaturePopups.js
/* Copyright 2011-2012 Xavier Mamano, http://github.com/jorix/OL-FeaturePopups * Published under MIT license. All rights reserved. */ /** * requires OpenLayers/Control/SelectFeature.js * requires OpenLayers/Lang.js * requires OpenLayers/Popup.js */ /** * Class: OpenLayers.Control.FeaturePopups * The FeaturePop...
Complete documentation of some properties.
lib/FeaturePopups.js
Complete documentation of some properties.
<ide><path>ib/FeaturePopups.js <ide> * <OpenLayers.Events.on> on hover control, internal use only. <ide> */ <ide> hoverListeners: null, <del> <del> /** <del> * Property: layerListeners <del> * {Object} layerListeners object will be registered with <del> * <OpenLayers.Events.on>...
Java
mit
19fc1255635b5270fca4a0e9173808dc4aee84c5
0
oleg-nenashev/remoting,jenkinsci/remoting,oleg-nenashev/remoting,jenkinsci/remoting
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, in...
src/main/java/hudson/remoting/Channel.java
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, in...
resurrected compatibility with 2.7 and earlier.
src/main/java/hudson/remoting/Channel.java
resurrected compatibility with 2.7 and earlier.
<ide><path>rc/main/java/hudson/remoting/Channel.java <ide> public String toString() { <ide> return "close"; <ide> } <add> <add> // this value is compatible with remoting < 2.8. I made an incompatible change in 2.8 that got corrected in 2.11. <add> static final long serialVersio...
Java
mit
8442af1d8cccb9930ba3a95fa29c4ce6ddf5794b
0
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.fresco.vito.core; import static org.assertj.core.api.Java6Assertions.assertThat; import static org.mockito.Mo...
vito/core/src/test/java/com/facebook/fresco/vito/core/ImagePipelineUtilsTest.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.fresco.vito.core; import static org.assertj.core.api.Java6Assertions.assertThat; import static org.mockito.Mo...
Daily `arc lint --take GOOGLEJAVAFORMAT` Reviewed By: zertosh Differential Revision: D19901403 fbshipit-source-id: c5fe154ceb99e53ff667c7d9ab66410469ddf440
vito/core/src/test/java/com/facebook/fresco/vito/core/ImagePipelineUtilsTest.java
Daily `arc lint --take GOOGLEJAVAFORMAT`
<ide><path>ito/core/src/test/java/com/facebook/fresco/vito/core/ImagePipelineUtilsTest.java <ide> <ide> @Test <ide> public void testBuildImageRequest_whenUriNull_thenReturnNull() { <del> ImageRequest imageRequest = mImagePipelineUtils.buildImageRequest(null, ImageOptions.defaults()); <add> ImageRequest image...
Java
mit
6db60c0abe00ec8a1b55d9020909c20754f128e8
0
dreamhead/moco,dreamhead/moco
package com.github.dreamhead.moco; import com.github.dreamhead.moco.matcher.AbstractRequestMatcher; import static com.github.dreamhead.moco.internal.InternalApis.context; public interface RequestMatcher extends ConfigApplier<RequestMatcher> { boolean match(Request request); RequestMatcher ANY_REQUEST_MATCHE...
moco-core/src/main/java/com/github/dreamhead/moco/RequestMatcher.java
package com.github.dreamhead.moco; import com.github.dreamhead.moco.matcher.AbstractRequestMatcher; import static com.github.dreamhead.moco.internal.InternalApis.context; public interface RequestMatcher extends ConfigApplier<RequestMatcher> { boolean match(final Request request); RequestMatcher ANY_REQUEST_...
removed redundant final from request matcher
moco-core/src/main/java/com/github/dreamhead/moco/RequestMatcher.java
removed redundant final from request matcher
<ide><path>oco-core/src/main/java/com/github/dreamhead/moco/RequestMatcher.java <ide> import static com.github.dreamhead.moco.internal.InternalApis.context; <ide> <ide> public interface RequestMatcher extends ConfigApplier<RequestMatcher> { <del> boolean match(final Request request); <add> boolean match(Request ...
Java
apache-2.0
e739c5aa87e0b0bc9df8f9c5a9a78b4bc0d3eeb6
0
cdljsj/cat,bryanchou/cat,dadarom/cat,chinaboard/cat,howepeng/cat,jialinsun/cat,chinaboard/cat,redbeans2015/cat,cdljsj/cat,dadarom/cat,ddviplinux/cat,unidal/cat,dianping/cat,javachengwc/cat,dianping/cat,ddviplinux/cat,wuqiangxjtu/cat,redbeans2015/cat,javachengwc/cat,bryanchou/cat,javachengwc/cat,JacksonSha/cat,michael83...
package com.dianping.cat.report.task.alert.sender; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.TimeUnit; import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable; import org.codehaus.plexus.personalit...
cat-home/src/main/java/com/dianping/cat/report/task/alert/sender/AlertManager.java
package com.dianping.cat.report.task.alert.sender; import java.util.List; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.TimeUnit; import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable; import org.codehaus.plexus.personalit...
modify the alert Manager
cat-home/src/main/java/com/dianping/cat/report/task/alert/sender/AlertManager.java
modify the alert Manager
<ide><path>at-home/src/main/java/com/dianping/cat/report/task/alert/sender/AlertManager.java <ide> import org.unidal.tuple.Pair; <ide> <ide> import com.dianping.cat.Cat; <add>import com.dianping.cat.message.Event; <ide> import com.dianping.cat.report.task.alert.sender.decorator.DecoratorManager; <ide> import com.dianp...
JavaScript
apache-2.0
623af0ed6e817650511b41115830010086c1acc1
0
Kitware/geojs,OpenGeoscience/geojs,OpenGeoscience/geojs,dcjohnston/geojs,OpenGeoscience/geojs,Kitware/geojs,dcjohnston/geojs,dcjohnston/geojs,essamjoubori/geojs,dcjohnston/geojs,Kitware/geojs,essamjoubori/geojs,essamjoubori/geojs,essamjoubori/geojs
/*global window*/ (function ($, geo) { 'use strict'; // This requires jquery ui, which we don't want to make a // hard requirement, so bail out here if the widget factory // is not available and throw a helpful message when the // tries to use it. if (!$.widget) { $.fn.geojsMap = function () { th...
src/plugin/jquery-plugin.js
/*global window*/ (function ($, geo) { 'use strict'; // Default map options that can be over-ridden via plugin options. var defaultOptions = { mapOpts: { center: {latitude: 0, longitude: 0}, zoom: 0 }, baseLayer: 'osm', // a valid geojs base layer name baseRenderer: 'vglRe...
Rewrite jquery plugin using $.widget
src/plugin/jquery-plugin.js
Rewrite jquery plugin using $.widget
<ide><path>rc/plugin/jquery-plugin.js <ide> /*global window*/ <del> <ide> (function ($, geo) { <ide> 'use strict'; <ide> <del> // Default map options that can be over-ridden via plugin options. <del> var defaultOptions = { <del> mapOpts: { <del> center: {latitude: 0, longitude: 0}, <del> zoom: 0 <del>...
Java
agpl-3.0
7684f10e5fa35769f19a31e10a8d5cc223688cd8
0
cojen/Tupl
/* * Copyright 2011-2015 Cojen.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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
src/main/java/org/cojen/tupl/Node.java
/* * Copyright 2011-2015 Cojen.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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Remove false assertion. A concurrent unbind can prevent a rebind from finishing, and so a non-null last cursor frame can be briefly observed after the rebinding is complete.
src/main/java/org/cojen/tupl/Node.java
Remove false assertion. A concurrent unbind can prevent a rebind from finishing, and so a non-null last cursor frame can be briefly observed after the rebinding is complete.
<ide><path>rc/main/java/org/cojen/tupl/Node.java <ide> TreeCursorFrame prev = frame.mPrevCousin; <ide> frame.rebind(child, frame.mNodePos); <ide> frame = prev; <del> } <del> <del> if (mLastCursorFrame != null) { <del> throw new AssertionError(); <ide> ...
Java
mit
551cc3c900a9fdb0d4fa04c403bac85360961f5e
0
shyiko/ktlint,shyiko/ktlint,shyiko/ktlint,shyiko/ktlint
package com.github.shyiko.ktlint.idea; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { private Main() {} public static vo...
ktlint-intellij-idea-integration/src/main/java/com/github/shyiko/ktlint/idea/Main.java
package com.github.shyiko.ktlint.idea; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; import java.util.NoSuchElementException; import java.util.Scanner; import java.util.stream.Collectors; import java.util.stream.Stream; public class Main { private Main() {} public static vo...
Updated --apply-to-idea error message shown when .idea directory isn't found
ktlint-intellij-idea-integration/src/main/java/com/github/shyiko/ktlint/idea/Main.java
Updated --apply-to-idea error message shown when .idea directory isn't found
<ide><path>tlint-intellij-idea-integration/src/main/java/com/github/shyiko/ktlint/idea/Main.java <ide> KtLintIntellijIDEAIntegration.apply(workDir, false); <ide> } catch (KtLintIntellijIDEAIntegration.ProjectNotFoundException e) { <ide> System.err.println(".idea directory not...
Java
mit
cfd3bd8a0e6c2108827bf4c65a09b1b6a12db760
0
Quiqucode/Flow,Quiqucode/Flow,Quiqucode/Flow
package flow.compiled; public abstract class Compiled { /* * Psuedo-Compilation for Tokenised code. * Returns a simpler version of source code. */ }
FlowLanguage/src/flow/compiled/Compiled.java
package flow.compiled; public class Compiled { //Testing testing 123 }
Updated compiled.java
FlowLanguage/src/flow/compiled/Compiled.java
Updated compiled.java
<ide><path>lowLanguage/src/flow/compiled/Compiled.java <ide> package flow.compiled; <ide> <del>public class Compiled { <del> //Testing testing 123 <add>public abstract class Compiled { <add> /* <add> * Psuedo-Compilation for Tokenised code. <add> * Returns a simpler version of source code. <add> */ <ide> <ide> }
Java
lgpl-2.1
4cac3bea58d17a479f94c55b42696cb8f0c7f0ae
0
getrailo/railo,JordanReiter/railo,JordanReiter/railo,modius/railo,getrailo/railo,getrailo/railo,modius/railo
package railo.runtime.type.scope; import java.util.ArrayList; import java.util.Comparator; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import railo.commons.lang.CFTypes; import railo.runtime.PageContext; import railo.runtime.dump.DumpDa...
railo-java/railo-core/src/railo/runtime/type/scope/ArgumentImpl.java
package railo.runtime.type.scope; import java.util.ArrayList; import java.util.Comparator; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import railo.commons.lang.CFTypes; import railo.runtime.PageContext; import railo.runtime.dump.DumpDa...
remove shortcut pre test in argument scope
railo-java/railo-core/src/railo/runtime/type/scope/ArgumentImpl.java
remove shortcut pre test in argument scope
<ide><path>ailo-java/railo-core/src/railo/runtime/type/scope/ArgumentImpl.java <ide> Object o=super.get(key,null); <ide> if(o!=null)return o; <ide> <del> char c = key.charAt(0); <del> if(!Character.isDigit(c) && c!='+') return defaultValue; // it make sense to have this step between <add> //char c = key.ch...
Java
mit
59a56d3943de9ac01b44e32fcd6a36125fd5e3eb
0
ippeb/TetrisBattleBot,ippeb/TetrisBattleBot,ippeb/TetrisBattleBot
// This class deals with everything concerning the Tetris board // such as saving the current board state and simulating a Tetromino // drop and Tetromino rotation. // // Other methods include counting and clearing the number of // filled lines (rows). package TetrisBattleBot; public class TetrisBoard { // // ...
src/TetrisBattleBot/TetrisBoard.java
// This class deals with everything concerning the Tetris board // such as saving the current board state and simulating a Tetromino // drop and Tetromino rotation. // // Other methods include counting and clearing the number of // filled lines (rows). package TetrisBattleBot; public class TetrisBoard { // // ...
Added comparison of two TetrisBoards
src/TetrisBattleBot/TetrisBoard.java
Added comparison of two TetrisBoards
<ide><path>rc/TetrisBattleBot/TetrisBoard.java <ide> updateHeight(); <ide> } <ide> <add> // compare current Tetris board to argument, <add> // only the contents of the board is compared <add> // not included are: <add> // * fields within top, left, right and bottom margin <add> // * Height array <add>...
JavaScript
mit
d6b50b7346c1483ed5aaac72522d127aa1397a2f
0
sidorares/node-mysql2,sidorares/node-mysql2,sidorares/node-mysql2,sidorares/node-mysql2
var config = { host: process.env.MYSQL_HOST || 'localhost', user: process.env.MYSQL_USER || 'root', password: (process.env.CI ? process.env.MYSQL_PASSWORD : '') || '', database: process.env.MYSQL_DATABASE || 'test', compress: process.env.MYSQL_USE_COMPRESSION, port: process.env.MYSQL_PORT || 3306 }; var co...
test/common.js
var config = { host: process.env.MYSQL_HOST || 'localhost', user: process.env.MYSQL_USER || 'root', password: process.env.CI ? process.env.MYSQL_PASSWORD : '', database: process.env.MYSQL_DATABASE || 'test', compress: process.env.MYSQL_USE_COMPRESSION, port: process.env.MYSQL_PORT || 3306 }; console.log(co...
This should fix CI test. I think.
test/common.js
This should fix CI test. I think.
<ide><path>est/common.js <ide> var config = { <ide> host: process.env.MYSQL_HOST || 'localhost', <ide> user: process.env.MYSQL_USER || 'root', <del> password: process.env.CI ? process.env.MYSQL_PASSWORD : '', <add> password: (process.env.CI ? process.env.MYSQL_PASSWORD : '') || '', <ide> database: process.env.M...
Java
mit
dfaa5d48fc443917c84e1a80283ddf3478c35a73
0
avast/metrics
package com.avast.metrics.statsd; import com.avast.metrics.api.Counter; import com.timgroup.statsd.StatsDClient; import java.util.concurrent.atomic.AtomicLong; public class StatsDCounter implements Counter, StatsDMetric { private final StatsDClient client; private final String name; private double sample...
statsd/src/main/java/com/avast/metrics/statsd/StatsDCounter.java
package com.avast.metrics.statsd; import com.avast.metrics.api.Counter; import com.timgroup.statsd.StatsDClient; import java.util.concurrent.atomic.AtomicLong; public class StatsDCounter implements Counter, StatsDMetric { private final StatsDClient client; private final String name; private double sample...
Fixed sample rate
statsd/src/main/java/com/avast/metrics/statsd/StatsDCounter.java
Fixed sample rate
<ide><path>tatsd/src/main/java/com/avast/metrics/statsd/StatsDCounter.java <ide> <ide> @Override <ide> public void init() { <del> client.count(name, 0, sampleRate); <add> client.count(name, 0); <ide> } <ide> <ide> private void underlying(final long value) {
JavaScript
mit
f2052ae23e80e033a67d9a8c6577936ddc462eb8
0
drougge/wwwwellpapp,drougge/wwwwellpapp,drougge/wwwwellpapp
function tagmode_mkb(txt, func, cn) { var button; button = document.createElement("input"); button.type = "submit"; button.value = txt; button.onclick = function () { func(); if (wp.tagging) { wp.tm_input.focus(); } return false; }; if (cn) { button.className = cn; } return button; } function tagmode_loo...
static/tagmode.js
function tagmode_mkb(txt, func, cn) { var button; button = document.createElement("input"); button.type = "submit"; button.value = txt; button.onclick = function () { func(); if (wp.tagging) { wp.tagging_input.focus(); } return false; }; if (cn) { button.className = cn; } return button; } function tagmod...
Rename wp.tagging_* -> wp.tm_* (for sanity).
static/tagmode.js
Rename wp.tagging_* -> wp.tm_* (for sanity).
<ide><path>tatic/tagmode.js <ide> button.value = txt; <ide> button.onclick = function () { <ide> func(); <del> if (wp.tagging) { wp.tagging_input.focus(); } <add> if (wp.tagging) { wp.tm_input.focus(); } <ide> return false; <ide> }; <ide> if (cn) { button.className = cn; } <ide> var form, div, tags; <ide> i...
Java
agpl-3.0
3b9166173a77c0864f105a5b43cef26f432caa69
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
1c3b26b0-2e62-11e5-9284-b827eb9e62be
hello.java
1c35c4b8-2e62-11e5-9284-b827eb9e62be
1c3b26b0-2e62-11e5-9284-b827eb9e62be
hello.java
1c3b26b0-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>1c35c4b8-2e62-11e5-9284-b827eb9e62be <add>1c3b26b0-2e62-11e5-9284-b827eb9e62be
Java
apache-2.0
906205e0bfc68bb377434ce9dc4d7499f3d51aad
0
ysc/superword,ysc/superword,simpleabc/MyTest,ysc/superword,simpleabc/MyTest
/** * * APDPlat - Application Product Development Platform Copyright (c) 2013, 杨尚川, * yang-shangchuan@qq.com * * 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 3 of the Lice...
src/main/java/org/apdplat/superword/tools/TextIndexer.java
/** * * APDPlat - Application Product Development Platform Copyright (c) 2013, 杨尚川, * yang-shangchuan@qq.com * * 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 3 of the Lice...
索引文件结构
src/main/java/org/apdplat/superword/tools/TextIndexer.java
索引文件结构
<ide><path>rc/main/java/org/apdplat/superword/tools/TextIndexer.java <ide> <ide> /** <ide> * 文本索引 <add> * <add> * 索引文件结构: <add> * 1、一个词的索引由=分割的三部分组成,第一部分是词,第二部分是这个词在多少个文档中出现过(上限1000),第三部分是倒排表 <add> * 2、倒排表由多个倒排表项目组成,倒排表项目之间使用|分割 <add> * 3、倒排表项目的组成又分为三部分,用_分割,第一部分是文档ID,第二部分是词频,第三部分是词的位置 <add> * 4、词的位置用:分割 <add> * <add...
JavaScript
mpl-2.0
8626a99de79694448d398150eeba008643c6a555
0
g-bo/eea.webforms.generator
/** * @file xsdwebform.parser.log.js * XSD Schema to HTML5 Web Form * @author George Bouris <gb@eworx.gr> * @copyright Copyright (C) 2017 EEA, Eworx, George Bouris. All rights reserved. */ 'use strict'; /** * Class XSDWebFormParserLog * Parser for XSD Schema Tags * Static */ class XSDWebFormParserLog { /** ...
src/lib/xsdwebform.parser.log.js
/** * @file xsdwebform.parser.log.js * XSD Schema to HTML5 Web Form * @author George Bouris <gb@eworx.gr> * @copyright Copyright (C) 2017 EEA, Eworx, George Bouris. All rights reserved. */ 'use strict'; /** * Class XSDWebFormParserLog * Parser for XSD Schema Tags * Static */ class XSDWebFormParserLog { /** ...
Updated log
src/lib/xsdwebform.parser.log.js
Updated log
<ide><path>rc/lib/xsdwebform.parser.log.js <ide> margin-bottom: -4px; <ide> } <ide> .tbtn { <add> text-align: center; <ide> cursor: pointer; <ide> width: 200px; <ide> background-color: #999;
Java
epl-1.0
34b12c65869d93531a25be57ae7c0b75b208e6a2
0
jboss-reddeer/reddeer,jboss-reddeer/reddeer,djelinek/reddeer,djelinek/reddeer
/******************************************************************************* * Copyright (c) 2016 Red Hat, Inc. * Distributed under license by Red Hat, Inc. All rights reserved. * This program is made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, * and...
plugins/org.jboss.reddeer.core/src/org/jboss/reddeer/core/util/Display.java
/******************************************************************************* * Copyright (c) 2016 Red Hat, Inc. * Distributed under license by Red Hat, Inc. All rights reserved. * This program is made available under the terms of the * Eclipse Public License v1.0 which accompanies this distribution, * and...
Remove UI call chaining attept log message. Fixes #1498
plugins/org.jboss.reddeer.core/src/org/jboss/reddeer/core/util/Display.java
Remove UI call chaining attept log message. Fixes #1498
<ide><path>lugins/org.jboss.reddeer.core/src/org/jboss/reddeer/core/util/Display.java <ide> private static org.eclipse.swt.widgets.Display display; <ide> private static SyncInterceptorManager sim = SyncInterceptorManager.getInstance(); <ide> <del> private static boolean firstAttempt = true; <del> <ide> private Disp...
JavaScript
mit
c992c3110f1fb17cf8d78e4251758eff58ae8c55
0
johncipponeri/substitute-news
var substitutions = [ "witnesses", "these dudes I know", "allegedly", "kinda probably", "new study", "tumblr post", "rebuild", "avenge", "space", "spaaace", "google glass", "virtual boy", "smartphone", "pokedex", "electric", "atomic", "senator", "elf-lord", "car", "cat", "election", "eating contest", "congr...
src/script.js
var substitutions = [ "witnesses", "these dudes I know", "allegedly", "kinda probably", "new study", "tumblr post", "rebuild", "avenge", "space", "spaaace", "google glass", "virtual boy", "smartphone", "pokedex", "electric", "atomic", "senator", "elf-lord", "car", "cat", "election", "eating contest", "congr...
- Corrected in-word substitutions - Replaced innerHTML with textContent - Now loops through individual words per line
src/script.js
- Corrected in-word substitutions - Replaced innerHTML with textContent - Now loops through individual words per line
<ide><path>rc/script.js <ide> "could not be reached for comment", "is guilty and everyone knows it" <ide> ]; <ide> <del>var lines = document.body.innerHTML.split('\n'); <add>var lines = document.body.textContent.split('\n'); <ide> <ide> for(var l = 0; l < lines.length; l += 1) { <del> for(var s = 0; s < substitution...