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
lgpl-2.1
2f9ddd6a49a524cdd8635cbbebf68d99cc92fd71
0
ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistribute i...
src/jade/lang/acl/ACLMessage.java
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistribute i...
Removed an additional blank at the end of the content slot.
src/jade/lang/acl/ACLMessage.java
Removed an additional blank at the end of the content slot.
<ide><path>rc/jade/lang/acl/ACLMessage.java <ide> } <ide> if(content != null) <ide> if(content.length() > 0) <del> w.write(CONTENT + " \"" + escape(content) + " \"\n"); <add> w.write(CONTENT + " \"" + escape(content) + "\" \n"); <ide> if(reply_with != null) <ide> if(reply_with.length() > 0) <ide...
Java
apache-2.0
ce2ae87908dec60e86b8720a35da1648bd1d3a56
0
babble/babble,babble/babble,babble/babble,babble/babble,babble/babble,babble/babble
// JxpServlet.java /** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that ...
src/main/ed/appserver/jxp/JxpServlet.java
// JxpServlet.java /** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that ...
servlets technically take request, response, print as parameters
src/main/ed/appserver/jxp/JxpServlet.java
servlets technically take request, response, print as parameters
<ide><path>rc/main/ed/appserver/jxp/JxpServlet.java <ide> scope.put( "print" , writer , true ); <ide> <ide> try { <del> _theFunction.call( scope ); <add> _theFunction.call( scope , request , response , writer ); <ide> <ide> if ( writer._writer.has...
Java
lgpl-2.1
a1aa2c16f5227a5ed42a8ae8120fb16968835925
0
xcv58/polyglot,blue-systems-group/project.maybe.polyglot,xcv58/polyglot,liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,xcv58/polyglot,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,xcv58/polyg...
/* * This file is part of the Polyglot extensible compiler framework. * * Copyright (c) 2000-2006 Polyglot project group, Cornell University * */ package polyglot.types; import java.lang.reflect.Modifier; import java.util.*; import polyglot.frontend.ExtensionInfo; import polyglot.frontend.Source; import polygl...
src/polyglot/types/TypeSystem_c.java
/* * This file is part of the Polyglot extensible compiler framework. * * Copyright (c) 2000-2006 Polyglot project group, Cornell University * */ package polyglot.types; import java.lang.reflect.Modifier; import java.util.*; import polyglot.frontend.ExtensionInfo; import polyglot.frontend.Source; import polygl...
Added hooks to let subclasses find classes using something besides the SystemResolver.
src/polyglot/types/TypeSystem_c.java
Added hooks to let subclasses find classes using something besides the SystemResolver.
<ide><path>rc/polyglot/types/TypeSystem_c.java <ide> } <ide> <ide> public Named forName(String name) throws SemanticException { <add> return forName(systemResolver, name); <add> } <add> <add> protected Named forName(Resolver resolver, String name) throws SemanticException { <ide> t...
Java
agpl-3.0
fe02cb48c8623f36b29e0064c3dcb44311c1e307
0
thebigg73/OpenSongTablet,thebigg73/OpenSongTablet,thebigg73/OpenSongTablet
package com.garethevans.church.opensongtablet; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.widget.Button; import android.widget.T...
app/src/main/java/com/garethevans/church/opensongtablet/PopUpSongDetailsFragment.java
package com.garethevans.church.opensongtablet; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.widget.Button; import android.widget.T...
Enh: PopupCustomPadsFragment: Added © symbol
app/src/main/java/com/garethevans/church/opensongtablet/PopUpSongDetailsFragment.java
Enh: PopupCustomPadsFragment: Added © symbol
<ide><path>pp/src/main/java/com/garethevans/church/opensongtablet/PopUpSongDetailsFragment.java <ide> sprefix = " | "; <ide> } <ide> <add> String copyright = ""; <add> if (!StaticVariables.mCopyright.equals("")) { <add> copyright = "© " + StaticVariables.mCopyright; <add> ...
Java
apache-2.0
b48c760d422ec8cd0e31f18236730d0ef0460e73
0
eitchnet/strolch,eitchnet/strolch,eitchnet/strolch,4treesCH/strolch,4treesCH/strolch,eitchnet/strolch,4treesCH/strolch,4treesCH/strolch
package li.strolch.rest.helper; import static li.strolch.rest.StrolchRestfulConstants.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import java.util.List; import java.util.function.Function; import java.util.stream.Collectors; import com.google.gson....
li.strolch.rest/src/main/java/li/strolch/rest/helper/ResponseUtil.java
package li.strolch.rest.helper; import static li.strolch.rest.StrolchRestfulConstants.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import java.util.List; import java.util.function.Function; import com.google.gson.Gson; import com.google.gson.JsonArr...
[New] New ResponseUtil.toResponse() methods
li.strolch.rest/src/main/java/li/strolch/rest/helper/ResponseUtil.java
[New] New ResponseUtil.toResponse() methods
<ide><path>i.strolch.rest/src/main/java/li/strolch/rest/helper/ResponseUtil.java <ide> import javax.ws.rs.core.Response.Status; <ide> import java.util.List; <ide> import java.util.function.Function; <add>import java.util.stream.Collectors; <ide> <ide> import com.google.gson.Gson; <ide> import com.google.gson.JsonArray...
JavaScript
mit
216064329e068676d68cc6cd6ed9ff7f950a7659
0
react-materialize/react-materialize,react-materialize/react-materialize,react-materialize/react-materialize
import React from 'react'; import { storiesOf } from '@storybook/react'; import MediaBox from '../src/MediaBox'; import Slider from '../src/Slider'; import Slide from '../src/Slide'; const stories = storiesOf('javascript/Media', module); stories.addParameters({ info: { text: `Media components include things tha...
stories/Media.stories.js
import React from 'react'; import { storiesOf } from '@storybook/react'; import MediaBox from '../src/MediaBox'; import Slider from '../src/Slider'; import Slide from '../src/Slide'; const stories = storiesOf('javascript/Media', module); stories.addParameters({ info: { text: `Media components include things tha...
Fix className at Media.stories.js
stories/Media.stories.js
Fix className at Media.stories.js
<ide><path>tories/Media.stories.js <ide> <Slider> <ide> <Slide <ide> image={<MediaBox src="http://lorempixel.com/780/580/nature/1" caption="A demo media box1"/>}> <del> <div class="caption center-align"> <add> <div className="caption center-align"> <ide> <h3>This is our big Tagline!</h3> <...
Java
apache-2.0
8966b0394eb16266c95ef56a137197676df17083
0
opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core
/* * Copyright (c) 2016, Mirante and/or its affiliates. All rights reserved. * Mirante PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package br.net.mirante.singular.form.wicket.mapper.attachment; import br.net.mirante.singular.commons.base.SingularException; import br.net.mirante.singular.form.SInst...
form/wicket/src/main/java/br/net/mirante/singular/form/wicket/mapper/attachment/DownloadSupportedBehavior.java
/* * Copyright (c) 2016, Mirante and/or its affiliates. All rights reserved. * Mirante PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package br.net.mirante.singular.form.wicket.mapper.attachment; import br.net.mirante.singular.commons.base.SingularException; import br.net.mirante.singular.form.SInst...
[SINGULAR-FORM] adicionando header de tamanho do arquivo
form/wicket/src/main/java/br/net/mirante/singular/form/wicket/mapper/attachment/DownloadSupportedBehavior.java
[SINGULAR-FORM] adicionando header de tamanho do arquivo
<ide><path>orm/wicket/src/main/java/br/net/mirante/singular/form/wicket/mapper/attachment/DownloadSupportedBehavior.java <ide> AbstractResource resource = new AbstractResource() { <ide> @Override <ide> protected ResourceResponse newResourceResponse(Attributes attributes) { <del> <add> ...
Java
mit
15fcd39454d7bc2a6d873a99afc48be39a69d3cc
0
trancee/PushPlugin,trancee/PushPlugin,trancee/PushPlugin,trancee/PushPlugin,trancee/PushPlugin
package com.plugin.gcm; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; ...
src/android/com/plugin/gcm/GCMIntentService.java
package com.plugin.gcm; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Build; ...
Fixed icon to be square.
src/android/com/plugin/gcm/GCMIntentService.java
Fixed icon to be square.
<ide><path>rc/android/com/plugin/gcm/GCMIntentService.java <ide> } else if (icon.startsWith("file://")) { <ide> bmp = getIconFromURI(context, icon); <ide> } else { <del> bmp = getIconFromURL("https://img.andygreen.com/photo.cf?Width=" + LargeIconSize + "&Ratio=" + devicePixelRatio + "&Checksum=" + icon); <...
Java
apache-2.0
1768d8637aa11a18783bbd57ec48df39b72b1aa4
0
lucwillems/JavaLinuxNet,lucwillems/JavaLinuxNet,lucwillems/JavaLinuxNet
package org.it4y.net.protocols.IP; import junit.framework.Assert; import org.it4y.net.protocols.IP.ICMP.ICMPPacket; import org.it4y.net.protocols.IP.TCP.TCPPacket; import org.it4y.net.protocols.IP.UDP.UDPPacket; import org.junit.Test; import java.nio.ByteBuffer; /** * Created by luc on 3/21/14. */ public class IPF...
src/test/java/org/it4y/net/protocols/IP/IPFactoryTest.java
package org.it4y.net.protocols.IP; import junit.framework.Assert; import org.it4y.net.protocols.IP.ICMP.ICMPPacket; import org.it4y.net.protocols.IP.TCP.TCPPacket; import org.it4y.net.protocols.IP.UDP.UDPPacket; import org.junit.Test; import java.nio.ByteBuffer; /** * Created by luc on 3/21/14. */ public class IPF...
- more Ip factory testing
src/test/java/org/it4y/net/protocols/IP/IPFactoryTest.java
- more Ip factory testing
<ide><path>rc/test/java/org/it4y/net/protocols/IP/IPFactoryTest.java <ide> * */ <ide> static final byte[] unknownIpProtocol = { <ide> (byte)0x45, (byte)0x00, (byte)/* 8/....E. */ <del> (byte)0x00, (byte)0x39, (byte)0xf5, (byte)0x10, (byte)0x00, (byte)0x00, (byte)0x40, (byte)0x11, (byte)/*...
Java
apache-2.0
c19f3ab832178d882ce3fb59cae3bb18babba2c8
0
Zhuinden/simple-stack,Zhuinden/simple-stack
package com.zhuinden.simplestackdemo.stack; import android.os.Parcelable; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Created by Owner on 2017. 01. 12.. */ public class Backstack { private ArrayList<Parcelable> stack = new ArrayList<>(); private StateChanger sta...
demo-stack/src/main/java/com/zhuinden/simplestackdemo/stack/Backstack.java
package com.zhuinden.simplestackdemo.stack; import android.os.Parcelable; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Created by Owner on 2017. 01. 12.. */ public class Backstack { private ArrayList<Parcelable> stack = new ArrayList<>(); private StateChanger sta...
ArrayList => List
demo-stack/src/main/java/com/zhuinden/simplestackdemo/stack/Backstack.java
ArrayList => List
<ide><path>emo-stack/src/main/java/com/zhuinden/simplestackdemo/stack/Backstack.java <ide> return true; <ide> } <ide> <del> public void setHistory(ArrayList<Parcelable> newHistory, StateChange.Direction direction) { <add> public void setHistory(List<Parcelable> newHistory, StateChange.Direction direc...
Java
apache-2.0
6fdfa0705447ca871b70e4a7ca0341938fc3c851
0
jphp-compiler/jphp,jphp-compiler/jphp,jphp-compiler/jphp,jphp-compiler/jphp
package org.develnext.jphp.zend.ext.standard; import php.runtime.Memory; import php.runtime.ext.support.compile.ConstantsContainer; import php.runtime.memory.StringMemory; public class DateConstants extends ConstantsContainer { public static final Memory DATE_ATOM = StringMemory.valueOf("Y-m-d\\TH:i:sP"); pub...
exts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/standard/DateConstants.java
package org.develnext.jphp.zend.ext.standard; import php.runtime.Memory; import php.runtime.ext.support.compile.ConstantsContainer; import php.runtime.memory.StringMemory; public class DateConstants extends ConstantsContainer { public static final Memory DATE_ATOM = StringMemory.valueOf("Y-m-d\\TH:i:sP"); pub...
[WIP] Well known date-time formats now correct.
exts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/standard/DateConstants.java
[WIP] Well known date-time formats now correct.
<ide><path>xts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/standard/DateConstants.java <ide> public static final Memory DATE_RFC822 = StringMemory.valueOf("D, d M y H:i:s O"); <ide> public static final Memory DATE_RFC850 = StringMemory.valueOf("l, d-M-y H:i:s T"); <ide> public static final Memor...
Java
apache-2.0
57d4f999a9a3ba9d736a7554e78cadd9dcad34ed
0
thomaskrause/ANNIS,thomaskrause/ANNIS,korpling/ANNIS,zangsir/ANNIS,korpling/ANNIS,amir-zeldes/ANNIS,thomaskrause/ANNIS,zangsir/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,pixeldrama/ANNIS,thomaskrause/ANNIS,korpling/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,pixeldrama/ANNIS,thomaskrause/ANNIS,zangs...
/* * Copyright 2011 Corpuslinguistic working group Humboldt University Berlin. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
annis-gui/src/main/java/annis/gui/resultview/VisualizerPanel.java
/* * Copyright 2011 Corpuslinguistic working group Humboldt University Berlin. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
actually use the new mechanism
annis-gui/src/main/java/annis/gui/resultview/VisualizerPanel.java
actually use the new mechanism
<ide><path>nnis-gui/src/main/java/annis/gui/resultview/VisualizerPanel.java <ide> public void setVisibleTokenAnnosVisible(Set<String> annos) <ide> { <ide> this.visibleTokenAnnos = annos; <del> if(visPlugin != null && vis != null && visContainer != null) <del> { <del> Component newVis = visPlugin.crea...
Java
mit
b190bd831d3ca522c71d50a90820299248f219cd
0
BloodWorkXGaming/ExNihiloCreatio,BloodWorkXGaming/ExNihiloCreatio
package exnihilocreatio.util; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import javax.annotation.Nonnull; public interface StackInfo { String toString(); @Nonnull ItemStack getItemStack();...
src/main/java/exnihilocreatio/util/StackInfo.java
package exnihilocreatio.util; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import javax.annotation.Nonnull; public abstract class StackInfo { public abstract String toString(); @Nonnull publ...
moved StackInfo to interface
src/main/java/exnihilocreatio/util/StackInfo.java
moved StackInfo to interface
<ide><path>rc/main/java/exnihilocreatio/util/StackInfo.java <ide> <ide> import javax.annotation.Nonnull; <ide> <del>public abstract class StackInfo { <add>public interface StackInfo { <ide> <del> public abstract String toString(); <add> String toString(); <ide> <ide> @Nonnull <del> public abstract Item...
JavaScript
isc
3c227b6d8bc11bf4e252ba3fc9a054740af7e68e
0
vigour-io/vjs
'use strict' module.exports = function resolvePattern (obs, map) { return resolve(obs, map, [], 0) } function resolve (obs, map, path, length) { if (typeof map !== 'object') { let pattern = obs.pattern if (!length) { return pattern.upward || pattern } for (let i = length - 1; i >= 0; i--) { ...
lib/observable/subscribe/resolve.js
'use strict' module.exports = function resolvePattern (obs, map) { console.error(obs, map) return resolve(obs, map, [], 0) } function resolve (obs, map, path, length) { if (typeof map !== 'object') { let pattern = obs.pattern if (!length) { return pattern.upward || pattern } for (let i = le...
making tests
lib/observable/subscribe/resolve.js
making tests
<ide><path>ib/observable/subscribe/resolve.js <ide> 'use strict' <ide> module.exports = function resolvePattern (obs, map) { <del> console.error(obs, map) <ide> return resolve(obs, map, [], 0) <ide> } <ide> <ide> for (let i in map) { <ide> let mapValue = map[i] <ide> if (mapValue) { <del> con...
Java
apache-2.0
81d3a523bfdaf17dd2c7ece1bfc844cce331311a
0
brwe/es-token-plugin,brwe/es-token-plugin,brwe/es-token-plugin
/* * 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...
src/main/java/org/elasticsearch/script/models/EsLogisticRegressionModel.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...
debug for lr
src/main/java/org/elasticsearch/script/models/EsLogisticRegressionModel.java
debug for lr
<ide><path>rc/main/java/org/elasticsearch/script/models/EsLogisticRegressionModel.java <ide> } <ide> <ide> @Override <del> Map<String, Object> evaluate(Tuple<int[], double[]> featureValues) { <del> throw new UnsupportedOperationException("can only run with parameter debug: true"); <add> Object eva...
Java
mit
9a8c8071085d47696af09123378ccddf24ce6cdf
0
aroelke/deck-editor-java
package editor.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Cursor; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.SystemColor; import java.awt.Toolkit; import java.awt.datatransfer.Transferable; import java.awt.event...
src/main/java/editor/gui/MainFrame.java
package editor.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; import java.awt.Cursor; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.Font; import java.awt.SystemColor; import java.awt.Toolkit; import java.awt.datatransfer.Transferable; import java.awt.event...
Use an OverwriteFileChooser as the main chooser
src/main/java/editor/gui/MainFrame.java
Use an OverwriteFileChooser as the main chooser
<ide><path>rc/main/java/editor/gui/MainFrame.java <ide> /** <ide> * File chooser for opening and saving. <ide> */ <del> private JFileChooser fileChooser; <add> private OverwriteFileChooser fileChooser; <ide> /** <ide> * URL pointing to the site to get the latest version of the <ide> * ...
Java
epl-1.0
9ae3e9175f0865d4a31be449a8511520f6001857
0
Alma-Sanchez/ChessAI2
import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.Scanner; public class BoardMouseListener implements MouseListener { static int globaldepth=4; public static Chess chess; //position of mouse public static int posx, posy, posxfinal, posyfinal; //boolean so white always moves f...
src/BoardMouseListener.java
import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.util.Scanner; public class BoardMouseListener implements MouseListener { static int globaldepth=4; public static Chess chess; //position of mouse public static int posx, posy, posxfinal, posyfinal; //boolean so white always moves f...
Ai kinda works now, not really
src/BoardMouseListener.java
Ai kinda works now, not really
<ide><path>rc/BoardMouseListener.java <ide> <ide> public static String alphaBeta(int depth, int beta, int alpha, String move, int player) { <ide> //return in the form of 1234b########## <del> //String list=posibleMoves(); <del> String list="1"; <add> String list=possiblemoves(); <add> ...
Java
apache-2.0
error: pathspec 'sandbox/spring-security-config/src/test/java/org/acegisecurity/config/RememberMeServicesBeanDefinitionParserTests.java' did not match any file(s) known to git
5249befa25a541eba6e9e39a383e76546fa5b2a6
1
pwheel/spring-security,jmnarloch/spring-security,ollie314/spring-security,cyratech/spring-security,wkorando/spring-security,fhanik/spring-security,Xcorpio/spring-security,kazuki43zoo/spring-security,tekul/spring-security,SanjayUser/SpringSecurityPro,adairtaosy/spring-security,xingguang2013/spring-security,mdeinum/sprin...
/** * */ package org.acegisecurity.config; import java.lang.reflect.Field; import java.util.Map; import junit.framework.TestCase; import org.acegisecurity.AuthenticationManager; import org.acegisecurity.ui.rememberme.RememberMeProcessingFilter; import org.acegisecurity.ui.rememberme.RememberMeServices; import org...
sandbox/spring-security-config/src/test/java/org/acegisecurity/config/RememberMeServicesBeanDefinitionParserTests.java
SEC-271: tests for RememberMeServicesBeanDefinitionParser
sandbox/spring-security-config/src/test/java/org/acegisecurity/config/RememberMeServicesBeanDefinitionParserTests.java
SEC-271: tests for RememberMeServicesBeanDefinitionParser
<ide><path>andbox/spring-security-config/src/test/java/org/acegisecurity/config/RememberMeServicesBeanDefinitionParserTests.java <add>/** <add> * <add> */ <add>package org.acegisecurity.config; <add> <add>import java.lang.reflect.Field; <add>import java.util.Map; <add> <add>import junit.framework.TestCase; <add> <add>...
Java
apache-2.0
93dd925f7657f8a3f1146db9fdab2c0df6ffcfb7
0
OfflinePoker/Tournament,OfflinePoker/Tournament,OfflinePoker/Tournament,Thomas-Bergmann/Tournament,Thomas-Bergmann/Tournament,Thomas-Bergmann/Tournament
package de.hatoka.common.capi.resource; import java.text.MessageFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import de.hatoka.common.capi.app.xslt.Localizer; public class ResourceLocalizer implements Localizer { private final LocalizationBundle bundle; private final String date...
de.hatoka.common/src/main/java/de/hatoka/common/capi/resource/ResourceLocalizer.java
package de.hatoka.common.capi.resource; import java.text.MessageFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import de.hatoka.common.capi.app.xslt.Localizer; public class ResourceLocalizer implements Localizer { private final LocalizationBundle bundle; pr...
throw exception in case of wrong format * return empty string for null date
de.hatoka.common/src/main/java/de/hatoka/common/capi/resource/ResourceLocalizer.java
throw exception in case of wrong format * return empty string for null date
<ide><path>e.hatoka.common/src/main/java/de/hatoka/common/capi/resource/ResourceLocalizer.java <ide> import java.text.MessageFormat; <ide> import java.text.ParseException; <ide> import java.text.SimpleDateFormat; <del>import java.util.Date; <ide> <ide> import de.hatoka.common.capi.app.xslt.Localizer; <ide> <ide> ...
Java
apache-2.0
1abe4e08428841d402aaea2f2b13df58ffe8858c
0
Lekanich/intellij-community,da1z/intellij-community,salguarnieri/intellij-community,holmes/intellij-community,idea4bsd/idea4bsd,ibinti/intellij-community,mglukhikh/intellij-community,petteyg/intellij-community,wreckJ/intellij-community,xfournet/intellij-community,tmpgit/intellij-community,signed/intellij-community,SerC...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
java/java-impl/src/com/intellij/codeInsight/generation/GenerateMembersUtil.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
IDEA-86405 fixed
java/java-impl/src/com/intellij/codeInsight/generation/GenerateMembersUtil.java
IDEA-86405 fixed
<ide><path>ava/java-impl/src/com/intellij/codeInsight/generation/GenerateMembersUtil.java <ide> import com.intellij.psi.codeStyle.JavaCodeStyleManager; <ide> import com.intellij.psi.codeStyle.VariableKind; <ide> import com.intellij.psi.impl.light.LightMethodBuilder; <add>import com.intellij.psi.impl.light.LightTypeElem...
Java
apache-2.0
b3b5439cc63a27adc06e21cae9fc62c3341e30df
0
apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
test/org/apache/catalina/connector/TestMaxConnections.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...
Test can piggy back on the 'ant test' auto switch between connectors git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1051335 13f79535-47bb-0310-9956-ffa450edef68
test/org/apache/catalina/connector/TestMaxConnections.java
Test can piggy back on the 'ant test' auto switch between connectors
<ide><path>est/org/apache/catalina/connector/TestMaxConnections.java <ide> import org.apache.catalina.startup.SimpleHttpClient; <ide> import org.apache.catalina.startup.Tomcat; <ide> import org.apache.catalina.startup.TomcatBaseTest; <del>import org.apache.coyote.http11.Http11NioProtocol; <del>import org.apache.coyote....
Java
mit
da5e150daa0bb0c70af6837d2d22f026830d1964
0
AzureAD/azure-activedirectory-library-for-android,iambmelt/azure-activedirectory-library-for-android,AzureAD/azure-activedirectory-library-for-android,thewulf7/adal-extended,w9jds/azure-activedirectory-library-for-android,iambmelt/azure-activedirectory-library-for-android,w9jds/azure-activedirectory-library-for-android...
package com.microsoft.adal.testapp; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import android.app.Activity; import android.os.AsyncTask; import and...
samples/testapp/src/com/microsoft/adal/testapp/TestScriptRunner.java
package com.microsoft.adal.testapp; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import android.app.Activity; import android.os.AsyncTask; import and...
retrieve remote script and post
samples/testapp/src/com/microsoft/adal/testapp/TestScriptRunner.java
retrieve remote script and post
<ide><path>amples/testapp/src/com/microsoft/adal/testapp/TestScriptRunner.java <ide> <ide> import android.app.Activity; <ide> import android.os.AsyncTask; <add>import android.os.Handler; <add>import android.os.Looper; <ide> import android.util.Log; <ide> <ide> import com.google.gson.Gson; <ide> public class TestScrip...
Java
apache-2.0
e9f0c3d713e4f75f6aaa94a488900d02522cb25c
0
xjodoin/torpedoquery
package org.torpedoquery.jpa.internal.utils; import java.io.Serializable; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Arrays; import com.google.common.base.Throwables; public class SerializableMethod implements Serializable { private static final long serialVersionUID = 600...
src/main/java/org/torpedoquery/jpa/internal/utils/SerializableMethod.java
package org.torpedoquery.jpa.internal.utils; import java.io.Serializable; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Arrays; import org.mockito.exceptions.base.MockitoException; public class SerializableMethod implements Serializable { private static final long serialVe...
cleaup stuff
src/main/java/org/torpedoquery/jpa/internal/utils/SerializableMethod.java
cleaup stuff
<ide><path>rc/main/java/org/torpedoquery/jpa/internal/utils/SerializableMethod.java <ide> import java.lang.reflect.Modifier; <ide> import java.util.Arrays; <ide> <del>import org.mockito.exceptions.base.MockitoException; <add>import com.google.common.base.Throwables; <ide> <ide> public class SerializableMethod impleme...
Java
mpl-2.0
0c9d95574bf49754f0490bd4735994e1eb50067e
0
Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV
package org.helioviewer.jhv.camera.annotate; import javax.annotation.Nullable; import org.helioviewer.jhv.base.Colors; import org.helioviewer.jhv.camera.Camera; import org.helioviewer.jhv.camera.CameraHelper; import org.helioviewer.jhv.camera.Interaction; import org.helioviewer.jhv.display.Display; import org.heliovi...
src/org/helioviewer/jhv/camera/annotate/AnnotatePOS.java
package org.helioviewer.jhv.camera.annotate; import javax.annotation.Nullable; import org.helioviewer.jhv.base.Colors; import org.helioviewer.jhv.camera.Camera; import org.helioviewer.jhv.camera.CameraHelper; import org.helioviewer.jhv.camera.Interaction; import org.helioviewer.jhv.display.Display; import org.heliovi...
Extend POS meridian
src/org/helioviewer/jhv/camera/annotate/AnnotatePOS.java
Extend POS meridian
<ide><path>rc/org/helioviewer/jhv/camera/annotate/AnnotatePOS.java <ide> <ide> private static void drawLOS(Quat q, Viewport vp, Vec3 bp, BufVertex buf, byte[] color) { <ide> double delta = 2.5 * Math.PI / 180; <del> Vec3 p1 = new Vec3(radius, bp.y + delta, bp.z); <del> Vec3 p2 = new Vec3(radi...
Java
apache-2.0
708f180f42f8195acbf69c9461fdcd6ca6ab7058
0
jasonwee/libgdx,bladecoder/libgdx,ricardorigodon/libgdx,yangweigbh/libgdx,josephknight/libgdx,ztv/libgdx,Deftwun/libgdx,collinsmith/libgdx,bladecoder/libgdx,MikkelTAndersen/libgdx,czyzby/libgdx,1yvT0s/libgdx,MetSystem/libgdx,zommuter/libgdx,saqsun/libgdx,FyiurAmron/libgdx,billgame/libgdx,sarkanyi/libgdx,azakhary/libgdx...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
gdx/src/com/badlogic/gdx/ApplicationListener.java
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
Update Javadoc for pause/resume
gdx/src/com/badlogic/gdx/ApplicationListener.java
Update Javadoc for pause/resume
<ide><path>dx/src/com/badlogic/gdx/ApplicationListener.java <ide> /** Called when the {@link Application} should render itself. */ <ide> public void render (); <ide> <del> /** Called when the {@link Application} is paused. An Application is paused before it is destroyed, when a user pressed the Home <del> * button ...
JavaScript
agpl-3.0
2e62836b4d37d8af1cb7ee53d4f59f261900a029
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
"use strict"; function FileHandler() { this.get = function ( file ) { if ( AscBrowser.isAppleDevices ) { var downloadWindow = window.open( file, "_parent", "", false ); downloadWindow.document.title = "Downloading..."; window.focus(); } else { ...
Common/downloaderfiles.js
"use strict"; function FileHandler() { this.get = function ( file ) { if ( AscBrowser.isAppleDevices ) { var downloadWindow = window.open( file, "_parent", "", false ); downloadWindow.document.title = "Downloading..."; window.focus(); } else { ...
fixed: Bug 25958 - Фокус не возвращается в рабочую область после нажатия кнопки печати документа (Print) Bug 24479 - После печати документа не работает ввод данных в canvas git-svn-id: 9db5f3bf534fda1ae49cdb5ebc7e13fb9e7e48c1@57816 954022d7-b5bf-4e40-9824-e11837661b57
Common/downloaderfiles.js
fixed: Bug 25958 - Фокус не возвращается в рабочую область после нажатия кнопки печати документа (Print) Bug 24479 - После печати документа не работает ввод данных в canvas
<ide><path>ommon/downloaderfiles.js <ide> var frmWindow = getIFrameWindow( file ); <ide> var frm = frmWindow.document.getElementById( "frmFile" ); <ide> frm.submit(); <del> frmWindow.focus(); <add>// frmWindow.focus(); <ide> } <ide> } <ide> var g...
JavaScript
mit
857afb3e750b9ea6f28ee9b26899a82e8b3ec93c
0
jbaicoianu/elation-engine
elation.require([ // "engine.external.three.ColladaLoader", //"engine.external.three.JSONLoader" //"engine.external.three.glTFLoader-combined" //"engine.things.trigger" "utils.proxy" ], function() { elation.component.add("engine.things.generic", function() { this.init = function() { this._proxies = {};...
scripts/things/generic.js
elation.require([ // "engine.external.three.ColladaLoader", //"engine.external.three.JSONLoader" //"engine.external.three.glTFLoader-combined" //"engine.things.trigger" "utils.proxy" ], function() { elation.component.add("engine.things.generic", function() { this.init = function() { this._proxies = {};...
Removed MeshFaceMaterial references
scripts/things/generic.js
Removed MeshFaceMaterial references
<ide><path>cripts/things/generic.js <ide> case 'lambert': <ide> material = new THREE.MeshLambertMaterial(materialparams); <ide> break; <del> case 'face': <del> material = new THREE.MeshFaceMaterial(); <del> break; <ide> case 'depth': <ide> ...
Java
mit
c7419ccbdbdf504e45dee8a2c4bf2a0f8234b8e9
0
TakWolf/GB2260.java
package com.takwolf.gb2260; import java.util.regex.Pattern; /** * 五级划分对应的英文分别为: * 省 Province,市 Prefecture,县 County,乡 Township,村 Village */ public final class Division { public enum Level { PROVINCE(1), PREFECTURE(2), COUNTY(3); private final int value; Level(int va...
gb2260/src/main/java/com/takwolf/gb2260/Division.java
package com.takwolf.gb2260; import java.util.regex.Pattern; /** * 五级划分对应的英文分别为: * 省 Province,市 Prefecture,县 County,乡 Township,村 Village */ public final class Division { public enum Level { PROVINCE, PREFECTURE, COUNTY } private final GB2260 gb2260; private final String code; private f...
添加获取父类结点接口
gb2260/src/main/java/com/takwolf/gb2260/Division.java
添加获取父类结点接口
<ide><path>b2260/src/main/java/com/takwolf/gb2260/Division.java <ide> public final class Division { <ide> <ide> public enum Level { <del> PROVINCE, PREFECTURE, COUNTY <add> <add> PROVINCE(1), <add> <add> PREFECTURE(2), <add> <add> COUNTY(3); <add> <add> private final int value; <...
Java
bsd-3-clause
96b2bd62845d93f4ee7fb6a1aaa63294afad4a30
0
nka11/jintn3270
package com.sf.jintn3270; import javax.swing.event.EventListenerList; import com.sf.jintn3270.event.TerminalEvent; import com.sf.jintn3270.event.TerminalEventListener; /** * A TerminalModel is where telnet stream data goes to be rendered by a view. * A model maintains a list of listeners, which are notified when c...
src/com/sf/jintn3270/TerminalModel.java
package com.sf.jintn3270; import javax.swing.event.EventListenerList; import com.sf.jintn3270.event.TerminalEvent; import com.sf.jintn3270.event.TerminalEventListener; /** * A TerminalModel is where telnet stream data goes to be rendered by a view. * A model maintains a list of listeners, which are notified when c...
Minor clean-up. git-svn-id: f76f0d361b8045537d852970971daaa7b3f7adae@35 d6bd4e80-8031-4e1d-bd39-93c407d940fc
src/com/sf/jintn3270/TerminalModel.java
Minor clean-up.
<ide><path>rc/com/sf/jintn3270/TerminalModel.java <ide> } <ide> <ide> <add> /** <add> * Fire the given TerminalEvent to all registered listeners <add> */ <ide> protected void fire(TerminalEvent evt) { <del> // TODO: Actually fire the event! <ide> Object[] listeners = listenerList.getListenerList(); <ide> f...
JavaScript
mit
041f7fe301331a2fde9913b1c58cca513357558e
0
janoside/btc-rpc-explorer
#!/usr/bin/env node "use strict"; const os = require('os'); const path = require('path'); const dotenv = require("dotenv"); const fs = require('fs'); const debug = require("debug"); // start with this, we will update after loading any .env files const debugDefaultCategories = "btcexp:app,btcexp:error,btcexp:errorV...
app.js
#!/usr/bin/env node "use strict"; const os = require('os'); const path = require('path'); const dotenv = require("dotenv"); const fs = require('fs'); const debug = require("debug"); // start with this, we will update after loading any .env files const debugDefaultCategories = "btcexp:app,btcexp:error,btcexp:errorV...
more regex cleanup
app.js
more regex cleanup
<ide><path>pp.js <ide> <ide> const normalizeActions = require("./app/normalizeActions.js"); <ide> expressApp.use(require("./app/actionPerformanceMonitor.js")(statTracker, { <del> ignoredEndsWithActions: "\.js|\.css|\.svg|\.png|\.woff2", <add> ignoredEndsWithActions: /\.js|\.css|\.svg|\.png|\.woff2/, <ide> ignoredStar...
Java
apache-2.0
4b32425a09fa38a0eebe57ddbfc2d882d22261ab
0
apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere
/* * 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 ...
sharding-spring/sharding-jdbc-spring/sharding-jdbc-spring-namespace/src/main/java/org/apache/shardingsphere/shardingjdbc/spring/namespace/handler/EncryptNamespaceHandler.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 ...
delete EncryptorRuleBeanDefinitionParser
sharding-spring/sharding-jdbc-spring/sharding-jdbc-spring-namespace/src/main/java/org/apache/shardingsphere/shardingjdbc/spring/namespace/handler/EncryptNamespaceHandler.java
delete EncryptorRuleBeanDefinitionParser
<ide><path>harding-spring/sharding-jdbc-spring/sharding-jdbc-spring-namespace/src/main/java/org/apache/shardingsphere/shardingjdbc/spring/namespace/handler/EncryptNamespaceHandler.java <ide> <ide> import org.apache.shardingsphere.shardingjdbc.spring.namespace.constants.EncryptDataSourceBeanDefinitionParserTag; <ide> i...
Java
apache-2.0
6e849e91e751439c79bd44a614ded9aaf43ce094
0
sekikn/ambari,sekikn/ambari,sekikn/ambari,sekikn/ambari,sekikn/ambari,sekikn/ambari,sekikn/ambari,sekikn/ambari,sekikn/ambari
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
ambari-server/src/main/java/org/apache/ambari/server/MessageDestinationIsNotDefinedException.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
AMBARI-22734. Wrong placeholder in format string (#1436)
ambari-server/src/main/java/org/apache/ambari/server/MessageDestinationIsNotDefinedException.java
AMBARI-22734. Wrong placeholder in format string (#1436)
<ide><path>mbari-server/src/main/java/org/apache/ambari/server/MessageDestinationIsNotDefinedException.java <ide> public class MessageDestinationIsNotDefinedException extends ObjectNotFoundException { <ide> <ide> public MessageDestinationIsNotDefinedException(STOMPEvent.Type eventType) { <del> super(String.format...
Java
apache-2.0
1e413cf9403bffa125373e7eeb2b635b4c4b7d89
0
evgenymatveev/Task
package ru.ematveev.stratigypattern; import ru.ematveev.model.IPrinter; /** * Class Paint this StratigyClient. * * @author Matveev Evgeny. * @version 1.0. * @since 18.01.17. */ public class Paint { /** * Iprinter for output to console. */ private IPrinter iPrinter; /** * Constructor....
chapter_002/src/main/java/ru/ematveev/stratigypattern/Paint.java
package ru.ematveev.stratigypattern; import ru.ematveev.model.IPrinter; /** * Class Paint this StratigyClient. * * @author Matveev Evgeny. * @version 1.0. * @since 18.01.17. */ public class Paint { /** * Iprinter for output to console. */ private IPrinter iPrinter; /** * Constructor....
Paint - delete method main
chapter_002/src/main/java/ru/ematveev/stratigypattern/Paint.java
Paint - delete method main
<ide><path>hapter_002/src/main/java/ru/ematveev/stratigypattern/Paint.java <ide> public void draw(Shape shape) { <ide> iPrinter.println(shape.pic()); <ide> } <del> <del> /** <del> * Method start the program. <del> * @param args args. <del> */ <del> <del> public static void main(String[...
Java
agpl-3.0
7a74c11d0596790ce722293c94a1f607b57bdb0c
0
jpmml/jpmml-evaluator
/* * Copyright (c) 2013 KNIME.com AG, Zurich, Switzerland * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this ...
pmml-evaluator/src/main/java/org/jpmml/evaluator/nearest_neighbor/NearestNeighborModelEvaluator.java
/* * Copyright (c) 2013 KNIME.com AG, Zurich, Switzerland * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this ...
Refactored the evaluation of nearest neighbor models
pmml-evaluator/src/main/java/org/jpmml/evaluator/nearest_neighbor/NearestNeighborModelEvaluator.java
Refactored the evaluation of nearest neighbor models
<ide><path>mml-evaluator/src/main/java/org/jpmml/evaluator/nearest_neighbor/NearestNeighborModelEvaluator.java <ide> import org.jpmml.evaluator.AffinityDistribution; <ide> import org.jpmml.evaluator.CacheUtil; <ide> import org.jpmml.evaluator.Classification; <del>import org.jpmml.evaluator.ComplexDoubleVector; <ide> im...
Java
apache-2.0
856ef75e28312edcbaf51acb3452da51e76c3bd7
0
francisdb/flicklib,heitorfm/flicklib,francisdb/flicklib,heitorfm/flicklib
/* * This file is part of Flicklib. * * Copyright (C) Francis De Brabandere * * 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 * * Unles...
flicklib-core/src/main/java/com/flicklib/service/movie/porthu/PorthuFetcher.java
/* * This file is part of Flicklib. * * Copyright (C) Francis De Brabandere * * 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 * * Unles...
fix a couple of port.hu tests
flicklib-core/src/main/java/com/flicklib/service/movie/porthu/PorthuFetcher.java
fix a couple of port.hu tests
<ide><path>licklib-core/src/main/java/com/flicklib/service/movie/porthu/PorthuFetcher.java <ide> import com.flicklib.service.SourceLoader; <ide> import com.flicklib.tools.ElementOnlyTextExtractor; <ide> import com.flicklib.tools.LevenshteinDistance; <add>import com.flicklib.tools.StringUtils; <ide> import com.google.in...
Java
apache-2.0
1cd3191cb52753d24475130878d6b0aa821594fa
0
tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2001-2005 Janne Jalkanen (Janne.Jalkanen@iki.fi) This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Li...
src/com/ecyrd/jspwiki/auth/UserManager.java
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2001-2005 Janne Jalkanen (Janne.Jalkanen@iki.fi) This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Li...
UserManager validation routines were moved into new UI class InputValidator; additional refactorings including the new validation classes and WikiSession messages. git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@624893 13f79535-47bb-0310-9956-ffa450edef68
src/com/ecyrd/jspwiki/auth/UserManager.java
UserManager validation routines were moved into new UI class InputValidator; additional refactorings including the new validation classes and WikiSession messages.
<ide><path>rc/com/ecyrd/jspwiki/auth/UserManager.java <ide> import java.util.Date; <ide> import java.util.Map; <ide> import java.util.Properties; <del>import java.util.Set; <ide> import java.util.WeakHashMap; <ide> <ide> import javax.servlet.http.HttpServletRequest; <ide> import com.ecyrd.jspwiki.auth.authorize.Defaul...
Java
apache-2.0
17d59d27bb3231f8ca66882cdfbdd9c6f3bf636e
0
RWTH-i5-IDSG/jamocha,RWTH-i5-IDSG/jamocha
/* * Copyright 2002-2013 The Jamocha Team * * * 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.jamocha.org/ * * Unless required by applicable law or agreed to in writin...
src/org/jamocha/dn/memory/javaimpl/MemoryHandlerPlusTemp.java
/* * Copyright 2002-2013 The Jamocha Team * * * 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.jamocha.org/ * * Unless required by applicable law or agreed to in writin...
plus temp: added some notes
src/org/jamocha/dn/memory/javaimpl/MemoryHandlerPlusTemp.java
plus temp: added some notes
<ide><path>rc/org/jamocha/dn/memory/javaimpl/MemoryHandlerPlusTemp.java <ide> final SlotInFactAddress addresses[] = filterElement.getAddressesInTarget(); <ide> final CounterColumn counterColumn = (CounterColumn) filterElement.getCounterColumn(); <ide> final boolean existential = (counterColumn == null); <add> ...
JavaScript
mit
1974c64e7beaf7a94fb6e9237e8e0797a15f5e84
0
candiii-lin/dementia
var Firebase = require('firebase'); var moment = require('moment'); var Patient = require('../models/patient'); var motherload = new Firebase("https://dementia.firebaseio.com/"); exports.recieveAlert = function (dark, patientID, callback) { var alert = {}; var patient = Patient.findOne({_id: patientID}, function...
app/controller/alerts.js
var Firebase = require('firebase'); var moment = require('moment'); var Patient = require('../models/patient'); var motherload = new Firebase("https://dementia.firebaseio.com/"); exports.recieveAlert = function (dark, patientID, callback) { var alert = {}; var patient = Patient.findOne({_id: patientID}, function...
fix true false
app/controller/alerts.js
fix true false
<ide><path>pp/controller/alerts.js <ide> alert.timestamp = moment().format(); <ide> alert.type = "Fall"; <ide> <del> if (dark=="true") { <add> if (dark=="TRUE") { <ide> pat.is_in_dark = true; <ide> } else { <ide> pat.is_in_dark = false; <ide> alert.timestamp = moment()...
JavaScript
agpl-3.0
ad582af7b9f979a432c058298dd36aa90de7232c
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
/** @enum */ var c_oSerFormat = { Version:2, //1.0.0.2 Signature: "XLSY" }; var g_nCurFileVersion = c_oSerFormat.Version; //dif: //Version:2 добавлены свойства колонок и строк CustomWidth, CustomHeight(раньше считались true) /** @enum */ var c_oSerTableTypes = { Other: 0, SharedStrings: 1, ...
Excel/model/Serialize.js
/** @enum */ var c_oSerFormat = { Version:2, //1.0.0.2 Signature: "XLSY" }; var g_nCurFileVersion = c_oSerFormat.Version; //dif: //Version:2 добавлены свойства колонок и строк CustomWidth, CustomHeight(раньше считались true) /** @enum */ var c_oSerTableTypes = { Other: 0, SharedStrings: 1, ...
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48309 954022d7-b5bf-4e40-9824-e11837661b57
Excel/model/Serialize.js
<ide><path>xcel/model/Serialize.js <ide> oCellStyle.xfs.QuotePrefix = oCellStyleXfs.QuotePrefix; <ide> // align <ide> if(null != oCellStyleXfs.align) <del> oCellStyle.xfs.align = oCellStyleXfs.clone(); <add> oCellStyle.xfs.align = oCellStyleXfs.align.clone(); <ide> // XfId <ide> if (null !== oCell...
Java
apache-2.0
cd556b9172e6e7f287c92674a6c4d6fdcada8593
0
Tarensaror/monoblog,Tarensaror/monoblog,Tarensaror/monoblog,Tarensaror/monoblog
package de.hska.lkit.demo.web.redis.repo; import javax.annotation.PostConstruct; import javax.annotation.Resource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.connection.RedisZSetCommands.Range; import org.springframework.data.redis.core.HashOperations; ...
spring-web-demo/src/main/java/de/hska/lkit/demo/web/redis/repo/UUIDSessionRepo.java
package de.hska.lkit.demo.web.redis.repo; import javax.annotation.PostConstruct; import javax.annotation.Resource; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.connection.RedisZSetCommands.Range; import org.springframework.data.redis.core.HashOperations; ...
nihongo desu
spring-web-demo/src/main/java/de/hska/lkit/demo/web/redis/repo/UUIDSessionRepo.java
nihongo desu
<ide><path>pring-web-demo/src/main/java/de/hska/lkit/demo/web/redis/repo/UUIDSessionRepo.java <ide> public boolean isExistingUUID(String uuid) { <ide> // KEY_PREFIX_SESSION + uuid, String <ide> <del> StringRedisTemplate foo = new StringRedisTemplate(); <add> StringRedisTemplate foo = new StringRedisTemplate(str...
Java
apache-2.0
318adc583870549cae3478e58d9e250214f467fa
0
linkedin/gobblin,chavdar/gobblin-1,linkedin/gobblin,ibuenros/gobblin,ibuenros/gobblin,arjun4084346/gobblin,jinhyukchang/gobblin,shirshanka/gobblin,ydailinkedin/gobblin-1,ydailinkedin/gobblin-1,ydailinkedin/gobblin-1,arjun4084346/gobblin,ydailinkedin/gobblin-1,ydai1124/gobblin-1,sahilTakiar/gobblin,jack-moseley/gobblin,...
/* * Copyright (C) 2014-2016 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 appl...
gobblin-runtime/src/test/java/gobblin/scheduler/JobConfigFileMonitorTest.java
/* * Copyright (C) 2014-2016 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 appl...
Increase timeout for service manager stop. (#1445)
gobblin-runtime/src/test/java/gobblin/scheduler/JobConfigFileMonitorTest.java
Increase timeout for service manager stop. (#1445)
<ide><path>obblin-runtime/src/test/java/gobblin/scheduler/JobConfigFileMonitorTest.java <ide> if (jobConfigDir != null) { <ide> FileUtils.forceDelete(new File(jobConfigDir)); <ide> } <del> this.serviceManager.stopAsync().awaitStopped(10, TimeUnit.SECONDS); <add> this.serviceManager.stopAsync().await...
Java
apache-2.0
fd5d5c2f6d755086b3d3081925f2bf86b92db9c0
0
yahoo/pulsar,yahoo/pulsar,yahoo/pulsar,merlimat/pulsar,merlimat/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,merlimat/pulsar,massakam/pulsar,massakam/pulsar
/** * 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...
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.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...
[pulsar-broker] make replication mtls configuration dynamic (#4609)
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
[pulsar-broker] make replication mtls configuration dynamic (#4609)
<ide><path>ulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java <ide> <ide> @FieldContext( <ide> category = CATEGORY_AUTHENTICATION, <add> dynamic = true, <ide> doc = "Authentication settings of the broker itself. \n\nUsed when the broker connects" <ide> ...
Java
mit
fe945d91983c854e2c6e79e225761f48ffd04059
0
wuwen5/lombok,riccardobl/lombok,mg6maciej/hrisey,Tradunsky/lombok,Arvoreen/lombok,dmissoh/lombok,riccardobl/lombok,fpeter8/lombok,yangpeiyong/hrisey,redundent/lombok,MaTriXy/lombok,martenbohlin/lombok,arielnetworks/lombok,timtreibmann/lombokDataReceived,dcendents/lombok,openlegacy/lombok,openlegacy/lombok,vampiregod199...
/* * Copyright © 2009 Reinier Zwitserloot and Roel Spilker. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
src/lombok/javac/apt/Processor.java
/* * Copyright © 2009 Reinier Zwitserloot and Roel Spilker. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, cop...
More attempts to fix NullPointerExceptions reported on the forums. http://groups.google.com/group/project-lombok/browse_thread/thread/a8d59daaf7c1ae09
src/lombok/javac/apt/Processor.java
More attempts to fix NullPointerExceptions reported on the forums.
<ide><path>rc/lombok/javac/apt/Processor.java <ide> import lombok.javac.JavacASTAdapter; <ide> import lombok.javac.JavacAST.Node; <ide> <add>import com.sun.source.util.TreePath; <ide> import com.sun.source.util.Trees; <ide> import com.sun.tools.javac.processing.JavacProcessingEnvironment; <ide> import com.sun.tools.ja...
JavaScript
mit
7c8d44c5dedaeb655e69cd3b06f99fc7553054e5
0
dstreet/inline-svg
/*! * Inline SVG Polyfill v.1.0.1 * ---------------------------------------------------------------------------- * Find inline SVG elements and replace them with a fallback image set via * the `data-fallback` attribute. * * @author David Street * @license MIT */ (function (root, factory) { if (typeof define ...
src/main.js
/*! * Inline SVG Polyfill v.1.0.1 * ---------------------------------------------------------------------------- * Find inline SVG elements and replace them with a fallback image set via * the `data-fallback` attribute. * * @author David Street * @license MIT */ (function (root, factory) { if (typeof defi...
Use tabs over spaces
src/main.js
Use tabs over spaces
<ide><path>rc/main.js <ide> <ide> <ide> (function (root, factory) { <del> if (typeof define === 'function' && define.amd) { <del> // AMD. Register as an anonymous module. <del> define(['exports'], factory); <del> } else if (typeof exports === 'object') { <del> // CommonJS <del> facto...
Java
mit
a001862e834a281fc3f82e6bc966bb718c019ec0
0
SMUnlimited/sonar-stash,AmadeusITGroup/sonar-stash,acopet/sonar-stash,SMUnlimited/sonar-stash,acopet/sonar-stash,AmadeusITGroup/sonar-stash
package org.sonar.plugins.stash; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Enumeration; import java.util.jar.Attributes; import java.util.jar.Manifest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class PluginUtils { // Hiding implicit ...
src/main/java/org/sonar/plugins/stash/PluginUtils.java
package org.sonar.plugins.stash; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.Enumeration; import java.util.jar.Attributes; import java.util.jar.Manifest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class PluginUtils { // Hiding implicit ...
CQ: fixing SQUID:S2147
src/main/java/org/sonar/plugins/stash/PluginUtils.java
CQ: fixing SQUID:S2147
<ide><path>rc/main/java/org/sonar/plugins/stash/PluginUtils.java <ide> doesMatch = true; <ide> } <ide> <del> } catch (ClassNotFoundException e) { <add> } catch (ClassNotFoundException|InstantiationException|IllegalAccessException e) { <ide> LOGGER.warn(ERROR_DETAIL...
JavaScript
mit
dcfaeb9fe41edfebccfa4a7686d3b0ae1546c167
0
thealscott/sassquatch,thealscott/sassquatch
exports.init = function(grunt) { var sassquatch = { 'setup' : function() { grunt.log.write('Running full SASSquatch setup, from config JSON'); var config = grunt.config.get('sassquatch'); // Ok, let's get this party started by creating all the config files that are always there grunt.fil...
tasks/lib/sassquatch.js
exports.init = function(grunt) { var sassquatch = { 'setup' : function() { grunt.log.write('Running full SASSquatch setup, from config JSON'); var config = grunt.config.get('sassquatch'); // Ok, let's get this party started by creating all the config files that are always there grunt.fil...
added default page construction to setup method, and fixed some typos in page includes
tasks/lib/sassquatch.js
added default page construction to setup method, and fixed some typos in page includes
<ide><path>asks/lib/sassquatch.js <ide> <ide> sassquatch.write_to_template(template, write_path, replacements); <ide> <add> // Add the default page type <add> sassquatch.add_page('default'); <ide> <ide> // All the standard bits done, now lets look at the configured pages, modules and breakp...
Java
apache-2.0
95850e9daf0cbe966e7499f1698b8b3fd1fff107
0
jexp/idea2,gnuhub/intellij-community,kdwink/intellij-community,hurricup/intellij-community,akosyakov/intellij-community,tmpgit/intellij-community,jexp/idea2,pwoodworth/intellij-community,FHannes/intellij-community,joewalnes/idea-community,lucafavatella/intellij-community,apixandru/intellij-community,ivan-fedorov/intell...
/* * Copyright (c) 2005 Your Corporation. All Rights Reserved. */ package com.intellij.util.xml.impl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleUtil; import com.intellij.openapi.util.Condition; import com.intellij.openapi.util.F...
dom/impl/src/com/intellij/util/xml/impl/DomInvocationHandler.java
/* * Copyright (c) 2005 Your Corporation. All Rights Reserved. */ package com.intellij.util.xml.impl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleUtil; import com.intellij.openapi.util.Condition; import com.intellij.openapi.util.F...
IDEADEV-7254 EJB-QL editing problem in ejbjar.xml
dom/impl/src/com/intellij/util/xml/impl/DomInvocationHandler.java
IDEADEV-7254 EJB-QL editing problem in ejbjar.xml
<ide><path>om/impl/src/com/intellij/util/xml/impl/DomInvocationHandler.java <ide> } <ide> <ide> static String getTagValue(final XmlTag tag) { <add> return tag.getValue().getTrimmedText(); <add>/* <ide> final XmlText[] textElements = tag.getValue().getTextElements(); <del> return textElements.length != 0 ...
Java
mit
0f587d5b4755c1f5b570c732da7226bb3618b675
0
amwenger/igv,godotgildor/igv,godotgildor/igv,amwenger/igv,amwenger/igv,godotgildor/igv,godotgildor/igv,igvteam/igv,itenente/igv,igvteam/igv,itenente/igv,igvteam/igv,itenente/igv,igvteam/igv,itenente/igv,igvteam/igv,amwenger/igv,amwenger/igv,itenente/igv,godotgildor/igv
/* * Copyright (c) 2007-2012 The Broad Institute, Inc. * SOFTWARE COPYRIGHT NOTICE * This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved. * * This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsibl...
src/org/broad/igv/sam/AlignmentTileLoader.java
/* * Copyright (c) 2007-2012 The Broad Institute, Inc. * SOFTWARE COPYRIGHT NOTICE * This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved. * * This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsibl...
Finish AlignmentTile on cancel clear indexingmap used for downsampling on finish IGV-2065
src/org/broad/igv/sam/AlignmentTileLoader.java
Finish AlignmentTile on cancel
<ide><path>rc/org/broad/igv/sam/AlignmentTileLoader.java <ide> if (memoryTooLow()) { <ide> if(monitor != null) monitor.fireProgressChange(100); <ide> cancelReaders(); <add> t.finish(); <ide> return t; ...
Java
bsd-3-clause
d64c194aa69d7fbf22a1f8d2177fa96a1ca6f295
0
EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal
/* * Main.java * * Created on March 19, 2003, 1:28 PM */ package xal.app.acceleratordemo; import java.util.logging.*; import xal.extension.application.*; import xal.extension.application.smf.*; /** * Demo is a demo concrete subclass of ApplicationAdaptor. This demo application * is a simple accelerator vi...
apps/acceleratordemo/src/xal/app/acceleratordemo/Demo.java
/* * Main.java * * Created on March 19, 2003, 1:28 PM */ package xal.app.acceleratordemo; import javax.swing.*; import java.util.logging.*; import xal.extension.application.*; import xal.extension.application.smf.*; /** * Demo is a demo concrete subclass of ApplicationAdaptor. This demo application * is a...
using Application.displayApplicationError instead of JOptionPane.showMessageDialog
apps/acceleratordemo/src/xal/app/acceleratordemo/Demo.java
using Application.displayApplicationError instead of JOptionPane.showMessageDialog
<ide><path>pps/acceleratordemo/src/xal/app/acceleratordemo/Demo.java <ide> <ide> package xal.app.acceleratordemo; <ide> <del>import javax.swing.*; <ide> import java.util.logging.*; <ide> <ide> import xal.extension.application.*; <ide> System.err.println( exception.getMessage() ); <ide> Logger...
Java
bsd-3-clause
1f9dd15c92df01b0799e427019757f16e12dabb3
0
krishagni/openspecimen,NCIP/catissue-core,asamgir/openspecimen,krishagni/openspecimen,NCIP/catissue-core,krishagni/openspecimen,asamgir/openspecimen,asamgir/openspecimen,NCIP/catissue-core
/** * <p>Title: AdvanceSearchForm Class> * <p>Description: This Class is used to encapsulate all the request parameters passed * from ParticipantSearch.jsp/CollectionProtocolRegistrationSearch.jsp/ * SpecimenCollectionGroupSearch.jsp & SpecimenSearch.jsp pages. </p> * Copyright: Copyright (c) year * Co...
WEB-INF/src/edu/wustl/catissuecore/actionForm/AdvanceSearchForm.java
/** * <p>Title: AdvanceSearchForm Class> * <p>Description: This Class is used to encapsulate all the request parameters passed * from ParticipantSearch.jsp/CollectionProtocolRegistrationSearch.jsp/ * SpecimenCollectionGroupSearch.jsp & SpecimenSearch.jsp pages. </p> * Copyright: Copyright (c) year * Co...
Fields added for configuration SVN-Revision: 2266
WEB-INF/src/edu/wustl/catissuecore/actionForm/AdvanceSearchForm.java
Fields added for configuration
<ide><path>EB-INF/src/edu/wustl/catissuecore/actionForm/AdvanceSearchForm.java <ide> public class AdvanceSearchForm extends ActionForm <ide> { <ide> /** <add> * @return Returns the columnNames. <add> */ <add> public String[] getColumnNames() { <add> return columnNames; <add> } <add> /** <add> * @param columnNames ...
Java
bsd-3-clause
dd2ac7bb3913553adb9c0c552560e75695aa0ed7
0
Clashsoft/Dyvil,Clashsoft/Dyvil
package dyvil.tools.compiler.ast.expression; import dyvil.tools.compiler.ast.annotation.IAnnotation; import dyvil.tools.compiler.ast.classes.IClass; import dyvil.tools.compiler.ast.constant.IConstantValue; import dyvil.tools.compiler.ast.context.IContext; import dyvil.tools.compiler.ast.generic.ITypeContext; import dy...
src/compiler/dyvil/tools/compiler/ast/expression/ClassOperator.java
package dyvil.tools.compiler.ast.expression; import dyvil.tools.compiler.ast.annotation.IAnnotation; import dyvil.tools.compiler.ast.classes.IClass; import dyvil.tools.compiler.ast.constant.IConstantValue; import dyvil.tools.compiler.ast.context.IContext; import dyvil.tools.compiler.ast.generic.ITypeContext; import dy...
Fix Class Operators comp: Fixed an issue that would produce invalid bytecode when class operators were used as constant field values.
src/compiler/dyvil/tools/compiler/ast/expression/ClassOperator.java
Fix Class Operators
<ide><path>rc/compiler/dyvil/tools/compiler/ast/expression/ClassOperator.java <ide> @Override <ide> public Object toObject() <ide> { <del> return dyvil.tools.asm.Type.getType(this.type.getExtendedName()); <add> return null; <ide> } <ide> <ide> @Override
JavaScript
mit
d8116468c96a200c441226a8fc4307d99d3360d0
0
omniscale/anol,omniscale/anol
angular.module('anol.savemanager') .provider('SaveManagerService', [function() { // handles layer source change events and store listener keys for removing // listeners nicely var LayerListener = function(layer, saveManager) { this.layer = layer; this.saveManager = saveManager; this...
src/modules/savemanager/savemanager-service.js
angular.module('anol.savemanager') .provider('SaveManagerService', [function() { // handles layer source change events and store listener keys for removing // listeners nicely var LayerListener = function(layer, saveManager) { this.layer = layer; this.saveManager = saveManager; this...
Improved add feature to featureStore
src/modules/savemanager/savemanager-service.js
Improved add feature to featureStore
<ide><path>rc/modules/savemanager/savemanager-service.js <ide> this.removed = []; <ide> }; <ide> FeatureStore.prototype.add = function(feature, action) { <add> var addIdx = -1; <add> var changeIdx = -1; <add> switch(action) { <add> case this.CHANGED: <add> ...
Java
apache-2.0
50a5ba656ae2eff05c917edc3de020a7f4281974
0
scify/Memor-i,scify/Memor-i
package org.scify.memori.helper; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Properties; import java.util.logging.Level; /** * Created by pisaris on 21/12/2016. */ public class MemoriConfiguration { /** * Get a variable from project.properties file (given ...
src/main/java/org/scify/memori/helper/MemoriConfiguration.java
package org.scify.memori.helper; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * Created by pisaris on 21/12/2016. */ public class MemoriConfiguration { /** * Get a variable from project.properties file (given an input stream) * @param p...
Refactored Class to read data from the additional pack
src/main/java/org/scify/memori/helper/MemoriConfiguration.java
Refactored Class to read data from the additional pack
<ide><path>rc/main/java/org/scify/memori/helper/MemoriConfiguration.java <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.util.Properties; <add>import java.util.logging.Level; <ide> <ide> /** <ide> * Created by pisaris on 21/12/2016. <ide> * @return the property value <ide> ...
JavaScript
mit
4a81fdb5ed1b04ca2001fae2b41d742e56713333
0
pdelanauze/harvester,pdelanauze/couchstrap,pdelanauze/harvester,pdelanauze/couchstrap
/** * Created with IntelliJ IDEA. * User: pat * Date: 12-05-10 * Time: 2:15 PM * To change this template use File | Settings | File Templates. */ define(['underscore', 'backbone', '../lib/utility', '../lib/backbone-utility', '../lib/backbone-couch-schema-model', '../lib/backbone.couchdb'], function (_, Backbo...
js/application/todo-app.js
/** * Created with IntelliJ IDEA. * User: pat * Date: 12-05-10 * Time: 2:15 PM * To change this template use File | Settings | File Templates. */ define(['underscore', 'backbone', '../lib/utility', '../lib/backbone-utility', '../lib/backbone-couch-schema-model', '../lib/backbone.couchdb'], function (_, Backbo...
Removing defaults 'name' field, it already puts the backbone model in an invalid state.. which is no good
js/application/todo-app.js
Removing defaults 'name' field, it already puts the backbone model in an invalid state.. which is no good
<ide><path>s/application/todo-app.js <ide> TodoApp.Models.Todo = BackboneCouchSchemaModel.extend({ <ide> // TODO Introduce a app-config dependency that contains all the configuration options of the application, such as the url of the couchdb server <ide> defaults: { <del> type: 'todo', <del> name: '...
Java
apache-2.0
7467cc3d587d7fe680db2b403d1b34e638a2cb19
0
Hurence/log-island,MiniPlayer/log-island,Hurence/log-island,MiniPlayer/log-island,MiniPlayer/log-island,MiniPlayer/log-island,MiniPlayer/log-island
/** * Copyright (C) 2016 Hurence (bailet.thomas@gmail.com) * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless requi...
logisland-framework/logisland-utils/src/test/java/com/hurence/logisland/util/time/DateUtilTest.java
/** * Copyright (C) 2016 Hurence (bailet.thomas@gmail.com) * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless requi...
fixed a date bug between different version of jdk...
logisland-framework/logisland-utils/src/test/java/com/hurence/logisland/util/time/DateUtilTest.java
fixed a date bug between different version of jdk...
<ide><path>ogisland-framework/logisland-utils/src/test/java/com/hurence/logisland/util/time/DateUtilTest.java <ide> @Test <ide> public void testParsingWithTimeZone() throws ParseException { <ide> <add> /** <add> * WARNING ! Oracle is playing with timeZones object between minor version changes......
Java
apache-2.0
77b8f6dc5251f0852c2f08cb5f87a0070ca52812
0
SafetyCulture/elasticsearch-river-couchdb,SafetyCulture/elasticsearch-river-couchdb,elastic/elasticsearch-river-couchdb,gesellix/elasticsearch-river-couchdb,Bouhnosaure/elasticsearch-river-couchdb,elastic/elasticsearch-river-couchdb,gesellix/elasticsearch-river-couchdb,Bouhnosaure/elasticsearch-river-couchdb
/* * 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...
src/test/java/org/elasticsearch/river/couchdb/CouchdbRiverIntegrationTest.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...
[TEST] Move tests using mvel to groovy Closes #65
src/test/java/org/elasticsearch/river/couchdb/CouchdbRiverIntegrationTest.java
[TEST] Move tests using mvel to groovy
<ide><path>rc/test/java/org/elasticsearch/river/couchdb/CouchdbRiverIntegrationTest.java <ide> <ide> package org.elasticsearch.river.couchdb; <ide> <del>import org.apache.lucene.util.LuceneTestCase; <ide> import org.elasticsearch.action.get.GetResponse; <ide> import org.elasticsearch.action.search.SearchResponse; <id...
JavaScript
mit
7dd21d76c7ef073b7dfaeded4e90a163694d07f5
0
corysimmons/lost,peterramsing/lost,peterramsing/lost
var newBlock = require('./new-block.js'); /** * lost-masonry-wrap: Creates a wrapping element for working with JS Masonry * libraries like Isotope. Assigns a negative margin on each side of this * wrapping element. * * @param {string} [flex|no-flex] - Determines whether this element should * use Flexbox or not...
lib/lost-masonry-wrap.js
var newBlock = require('./new-block.js'); /** * lost-masonry-wrap: Creates a wrapping element for working with JS Masonry * libraries like Isotope. Assigns a negative margin on each side of this * wrapping element. * * @param {string} [flex|no-flex] - Determines whether this element should * use Flexbox or not...
Updates lostMasonryWrap for ESLint
lib/lost-masonry-wrap.js
Updates lostMasonryWrap for ESLint
<ide><path>ib/lost-masonry-wrap.js <ide> * } <ide> */ <ide> module.exports = function lostMasonryWrapDecl(css, settings) { <del> css.walkDecls('lost-masonry-wrap', function(decl) { <del> var declArr = [], <del> lostMasonryWrap, <del> lostMasonryWrapFlexbox = settings.flexbox, <del> lostMaso...
Java
mit
af3ffe6c65e1c927def3ecb237ed55e5930564e7
0
jbosboom/streamjit,jbosboom/streamjit
src/edu/mit/streamjit/impl/common/BlobGraph.java
package edu.mit.streamjit.impl.common; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import com.google.common.collect.ImmutableList; import com.google.common.collect.I...
blob graph deleted. Restructured blob graph will be added
src/edu/mit/streamjit/impl/common/BlobGraph.java
blob graph deleted.
<ide><path>rc/edu/mit/streamjit/impl/common/BlobGraph.java <del>package edu.mit.streamjit.impl.common; <del> <del>import java.util.ArrayList; <del>import java.util.HashMap; <del>import java.util.HashSet; <del>import java.util.List; <del>import java.util.Map; <del>import java.util.Set; <del>import java.util.concurrent.a...
Java
apache-2.0
54c29407c0e8a0fbea513e1236a334adc768e405
0
164738777/ZhihuDailyPurify
package io.github.izzyleung.zhihudailypurify.ui.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; impor...
app/src/main/java/io/github/izzyleung/zhihudailypurify/ui/fragment/NewsListFragment.java
package io.github.izzyleung.zhihudailypurify.ui.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; impor...
Fix shouldSubscribeToZhihu logic
app/src/main/java/io/github/izzyleung/zhihudailypurify/ui/fragment/NewsListFragment.java
Fix shouldSubscribeToZhihu logic
<ide><path>pp/src/main/java/io/github/izzyleung/zhihudailypurify/ui/fragment/NewsListFragment.java <ide> } <ide> <ide> private boolean shouldSubscribeToZhihu() { <del> return isToday || shouldUseAccelerateServer(); <add> return isToday || !shouldUseAccelerateServer(); <ide> } <ide> <ide> ...
Java
apache-2.0
d576c1f5e61dd02dfd030437454f543a9cf13918
0
mikepenz/FastAdapter,mikepenz/FastAdapter,mikepenz/FastAdapter,mikepenz/FastAdapter
package com.mikepenz.fastadapter; import android.os.Bundle; import android.support.v4.util.ArrayMap; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.util.SparseIntArray; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import com.mikepenz...
library/src/main/java/com/mikepenz/fastadapter/FastAdapter.java
package com.mikepenz.fastadapter; import android.os.Bundle; import android.support.v4.util.ArrayMap; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.util.SparseIntArray; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import com.mikepenz...
* fix ConcurrentModificationException in the collapse function * FIX #118
library/src/main/java/com/mikepenz/fastadapter/FastAdapter.java
* fix ConcurrentModificationException in the collapse function * FIX #118
<ide><path>ibrary/src/main/java/com/mikepenz/fastadapter/FastAdapter.java <ide> } <ide> <ide> //we will deselect starting with the lowest one <del> for (Integer value : mSelections) { <add> Iterator<Integer> selectionsIterator = mSelections.iterator(); <add...
Java
apache-2.0
9023631bfd2e7db50c3f62c00b61af403e4f3733
0
LogisticsImpactModel/LIMO,LogisticsImpactModel/LIMO,LogisticsImpactModel/LIMO
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.fontys.sofa.limo.domain.component; import java.awt.image.BufferedImage; import java.awt.image.DataBufferByte; impo...
LIMO/LIMO-domain/src/test/java/nl/fontys/sofa/limo/domain/component/IconTest.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.fontys.sofa.limo.domain.component; import java.awt.image.BufferedImage; import java.awt.image.DataBufferByte; impo...
updated iconTest
LIMO/LIMO-domain/src/test/java/nl/fontys/sofa/limo/domain/component/IconTest.java
updated iconTest
<ide><path>IMO/LIMO-domain/src/test/java/nl/fontys/sofa/limo/domain/component/IconTest.java <ide> import org.junit.BeforeClass; <ide> import org.junit.Test; <ide> import static org.junit.Assert.*; <add>import org.openide.util.Exceptions; <ide> <ide> /** <ide> * <ide> <ide> @After <ide> public void tearDo...
JavaScript
mit
9bbbd81326815cc3fab8d945675074e15f9fa8c0
0
Aplyca/patternlab-standard
/****************************************************** * PATTERN LAB NODE * EDITION-NODE-GULP * The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets. ******************************************************/ var gulp = require('gulp'), p...
gulpfile.js
/****************************************************** * PATTERN LAB NODE * EDITION-NODE-GULP * The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets. ******************************************************/ var gulp = require('gulp'), p...
Adding components
gulpfile.js
Adding components
<ide><path>ulpfile.js <ide> 'pl-dist:img', <ide> 'pl-dist:favicon', <ide> 'pl-dist:font', <del> 'pl-dist:css' <add> 'pl-dist:css', <add> 'pl-dist:components' <ide> ), <ide> function(done){ <ide> done();
Java
apache-2.0
593dcc3000ae358d1e362ed09b258b3815089ecb
0
google/nomulus,google/nomulus,google/nomulus,google/nomulus,google/nomulus,google/nomulus
// Copyright 2017 The Nomulus 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 a...
java/google/registry/rde/RdeUploadAction.java
// Copyright 2017 The Nomulus 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 a...
Add more RDE upload informational logging ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198587342
java/google/registry/rde/RdeUploadAction.java
Add more RDE upload informational logging
<ide><path>ava/google/registry/rde/RdeUploadAction.java <ide> <ide> @Override <ide> public void run() { <add> logger.atInfo().log("Attempting to acquire RDE upload lock for TLD '%s'.", tld); <ide> runner.lockRunAndRollForward(this, Registry.get(tld), timeout, CursorType.RDE_UPLOAD, interval); <ide> task...
Java
mit
acd60817f31e4507bfd045671b8eab3701a96b5d
0
CenturyLinkCloud/mdw,CenturyLinkCloud/mdw,CenturyLinkCloud/mdw,CenturyLinkCloud/mdw,CenturyLinkCloud/mdw,CenturyLinkCloud/mdw
/* * Copyright (C) 2017 CenturyLink, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
mdw-services/src/com/centurylink/mdw/services/workflow/WorkflowServicesImpl.java
/* * Copyright (C) 2017 CenturyLink, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Issue #640
mdw-services/src/com/centurylink/mdw/services/workflow/WorkflowServicesImpl.java
Issue #640
<ide><path>dw-services/src/com/centurylink/mdw/services/workflow/WorkflowServicesImpl.java <ide> if (!decodedActName.isEmpty()) <ide> activityList.setActivities(matchActivities); <ide> activityList.setCount(activityList.getActivities().size()); <del> activityList.setTotal(activityList...
Java
bsd-3-clause
ff55359871fe1e09d99b931759832ae7948558a6
0
bdezonia/zorbage,bdezonia/zorbage
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (C) 2016-2018 Barry DeZonia * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ret...
src/test/java/nom/bdezonia/zorbage/algorithm/TestRModuleConjugate.java
package nom.bdezonia.zorbage.algorithm; class TestRModuleConjugate {}
Test RModuleConjugate algorithm
src/test/java/nom/bdezonia/zorbage/algorithm/TestRModuleConjugate.java
Test RModuleConjugate algorithm
<ide><path>rc/test/java/nom/bdezonia/zorbage/algorithm/TestRModuleConjugate.java <del>package nom.bdezonia.zorbage.algorithm; class TestRModuleConjugate {} <add>/* <add> * Zorbage: an algebraic data hierarchy for use in numeric processing. <add> * <add> * Copyright (C) 2016-2018 Barry DeZonia <add> * <add> * Redistrib...
Java
mit
761853bb08ceb0430e15130f46104600f3fa247e
0
classgraph/classgraph,lukehutch/fast-classpath-scanner,lukehutch/fast-classpath-scanner
/* * This file is part of FastClasspathScanner. * * Author: Luke Hutchison * * Hosted at: https://github.com/lukehutch/fast-classpath-scanner * * -- * * The MIT License (MIT) * * Copyright (c) 2016 Luke Hutchison * * Permission is hereby granted, free of charge, to any person obtaining a copy of this s...
src/main/java/io/github/lukehutch/fastclasspathscanner/scanner/ClasspathElement.java
/* * This file is part of FastClasspathScanner. * * Author: Luke Hutchison * * Hosted at: https://github.com/lukehutch/fast-classpath-scanner * * -- * * The MIT License (MIT) * * Copyright (c) 2016 Luke Hutchison * * Permission is hereby granted, free of charge, to any person obtaining a copy of this s...
Improve log message
src/main/java/io/github/lukehutch/fastclasspathscanner/scanner/ClasspathElement.java
Improve log message
<ide><path>rc/main/java/io/github/lukehutch/fastclasspathscanner/scanner/ClasspathElement.java <ide> } else { <ide> if (log != null) { <ide> log.log(String.format("%06d-1", classpathIdx), <del> "Ignoring duplicate (masked) class ...
Java
mit
b6cad88c81a45f7e6d250c72812f7377025b205a
0
GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth
package org.xdi.oxauth.model.ldap; import org.gluu.site.ldap.persistence.annotation.LdapAttribute; import org.gluu.site.ldap.persistence.annotation.LdapDN; import org.gluu.site.ldap.persistence.annotation.LdapEntry; import org.gluu.site.ldap.persistence.annotation.LdapObjectClass; import java.io.Serializable; /** *...
Server/src/main/java/org/xdi/oxauth/model/ldap/ClientAuthorizations.java
package org.xdi.oxauth.model.ldap; import org.gluu.site.ldap.persistence.annotation.LdapAttribute; import org.gluu.site.ldap.persistence.annotation.LdapDN; import org.gluu.site.ldap.persistence.annotation.LdapEntry; import org.gluu.site.ldap.persistence.annotation.LdapObjectClass; /** * @author Javier Rojas Blum * ...
#924 (4.0) : made ClientAuthorizations serializable (otherwise it will not work with redis) https://github.com/GluuFederation/oxAuth/issues/924 (cherry picked from commit 143b892)
Server/src/main/java/org/xdi/oxauth/model/ldap/ClientAuthorizations.java
#924 (4.0) : made ClientAuthorizations serializable (otherwise it will not work with redis)
<ide><path>erver/src/main/java/org/xdi/oxauth/model/ldap/ClientAuthorizations.java <ide> import org.gluu.site.ldap.persistence.annotation.LdapEntry; <ide> import org.gluu.site.ldap.persistence.annotation.LdapObjectClass; <ide> <add>import java.io.Serializable; <add> <ide> /** <ide> * @author Javier Rojas Blum <ide> ...
Java
bsd-3-clause
b76fce1bc3052aa5522ffaf7e9bf4d0fbb9523cf
0
fbastian/owltools,dhimmel/owltools,dhimmel/owltools,owlcollab/owltools,fbastian/owltools,fbastian/owltools,owlcollab/owltools,fbastian/owltools,dhimmel/owltools,owlcollab/owltools,fbastian/owltools,dhimmel/owltools,dhimmel/owltools,owlcollab/owltools,owlcollab/owltools,dhimmel/owltools,fbastian/owltools,owlcollab/owlto...
package owltools.io; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.PrintWriter; import java.io.StringWriter; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import org.obolibrary.obo2owl.Obo2Owl; import org.obolibrary.oboformat.mode...
OWLTools-Core/src/test/java/owltools/io/OWLGsonRendererTest.java
package owltools.io; import java.io.BufferedReader; import java.io.FileReader; import java.io.PrintWriter; import java.io.StringWriter; import org.junit.Test; import org.obolibrary.obo2owl.Obo2Owl; import org.obolibrary.oboformat.model.OBODoc; import org.obolibrary.oboformat.parser.OBOFormatParser; import org.semanti...
remove hard-coded file path for test, issue #119
OWLTools-Core/src/test/java/owltools/io/OWLGsonRendererTest.java
remove hard-coded file path for test, issue #119
<ide><path>WLTools-Core/src/test/java/owltools/io/OWLGsonRendererTest.java <ide> package owltools.io; <ide> <ide> import java.io.BufferedReader; <add>import java.io.File; <ide> import java.io.FileReader; <ide> import java.io.PrintWriter; <ide> import java.io.StringWriter; <ide> <add>import org.junit.Rule; <ide> impor...
Java
apache-2.0
58ad72921ea857d4a86c0179e5e112cd9efaeb6d
0
andrhamm/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,tejasmanohar/Singularity,stevenschlansker/Singularity,grepsr/Singularity,andrhamm/Singularity,hs-jenkins-bot/Singularity,grepsr/Singularity,stevenschlansker/Singularity,HubSpot/Singularity,calebTomlinson/Singularity,hs-jenkins-bot/Singularity,te...
package com.hubspot.singularity.client; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Random; import javax.inject.Provider; import org.apache.commons.lan...
SingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java
package com.hubspot.singularity.client; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Arrays; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Random; import javax.annotation.Nonnull; import javax.inject.Provide...
The Nonnull annotation causes a dependency analysis failure for com.google.code.findbugs:annotations:jar ???? Will resolve at another time...
SingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java
The Nonnull annotation causes a dependency analysis failure for com.google.code.findbugs:annotations:jar ???? Will resolve at another time...
<ide><path>ingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java <ide> import java.util.Map.Entry; <ide> import java.util.Random; <ide> <del>import javax.annotation.Nonnull; <ide> import javax.inject.Provider; <ide> <ide> import org.apache.commons.lang3.tuple.Pair; <ide> return resp...
Java
apache-2.0
6dc2b2546bb59bac7ed3c0c9abb5dc5962b8c3dd
0
this/carbon-uuf,manuranga/carbon-uuf,rasika90/carbon-uuf,manuranga/carbon-uuf,this/carbon-uuf,this/carbon-uuf,manuranga/carbon-uuf,Shan1024/carbon-uuf,manuranga/carbon-uuf,wso2/carbon-uuf,Shan1024/carbon-uuf,wso2/carbon-uuf,sajithar/carbon-uuf,Shan1024/carbon-uuf,wso2/carbon-uuf,rasika90/carbon-uuf,wso2/carbon-uuf,saji...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
uuf-core/src/main/java/org/wso2/carbon/uuf/core/App.java
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
Fixing FindBug performance issue
uuf-core/src/main/java/org/wso2/carbon/uuf/core/App.java
Fixing FindBug performance issue
<ide><path>uf-core/src/main/java/org/wso2/carbon/uuf/core/App.java <ide> private Model createModel(HttpRequest httpRequest) { <ide> QueryStringDecoder decoder = new QueryStringDecoder(httpRequest.getUri()); <ide> Map<String, List<String>> parameters = decoder.parameters(); <del> Iterator<Stri...
Java
lgpl-2.1
48f93691e74fbd42d949634dc8dc6be1b306a858
0
zebrafishmine/intermine,zebrafishmine/intermine,justincc/intermine,JoeCarlson/intermine,elsiklab/intermine,justincc/intermine,justincc/intermine,Arabidopsis-Information-Portal/intermine,kimrutherford/intermine,zebrafishmine/intermine,elsiklab/intermine,JoeCarlson/intermine,joshkh/intermine,drhee/toxoMine,JoeCarlson/int...
package org.intermine.util; /* * Copyright (C) 2002-2004 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.html. ...
intermine/src/test/org/intermine/util/DatabaseUtilTest.java
package org.intermine.util; /* * Copyright (C) 2002-2004 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.html. ...
Added testCreateBagTable() to test DatabaseUtil.createBagTable().
intermine/src/test/org/intermine/util/DatabaseUtilTest.java
Added testCreateBagTable() to test DatabaseUtil.createBagTable().
<ide><path>ntermine/src/test/org/intermine/util/DatabaseUtilTest.java <ide> import junit.framework.TestCase; <ide> <ide> import java.sql.Connection; <add>import java.sql.Statement; <add>import java.sql.ResultSet; <ide> import java.sql.SQLException; <ide> import java.util.Arrays; <ide> import java.util.Set; <add>import...
JavaScript
bsd-3-clause
c692560c9814d4da0f301c739e9f8197973256b7
0
adilyalcin/Keshif
/********************************* keshif library Copyright (c) 2014-2016, University of Maryland All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain...
keshif.js
/********************************* keshif library Copyright (c) 2014-2016, University of Maryland All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain...
Allowing for shorter interval summaries...
keshif.js
Allowing for shorter interval summaries...
<ide><path>eshif.js <ide> <ide> // pixel width settings... <ide> this.height_hist = 1; // Initial width (will be updated later...) <del> this.height_hist_min = 15; // Minimum possible histogram height <add> this.height_hist_min = 10; // Minimum possible histogram height <ide> this.height_hi...
JavaScript
mit
87b33cbec80be37de430fb447980ff339a640881
0
smanongga/smanongga.github.io,smanongga/smanongga.github.io,smanongga/smanongga.github.io
const path = require('path') const express = require('express') const bodyParser = require('body-parser') const hbs = require('express-handlebars') const index = require('./routes/index') const app = express() // Middleware app.engine('hbs', hbs({extname: 'hbs'})) app.set('view engine', 'hbs') app.set('views', pat...
server.js
var path = require('path') var express = require('express') var bodyParser = require('body-parser') var hbs = require('express-handlebars') var index = require('./routes/index') var app = express() // Middleware app.engine('hbs', hbs({extname: 'hbs'})) app.set('view engine', 'hbs') app.set('views', path.join(__di...
Declare express public folder
server.js
Declare express public folder
<ide><path>erver.js <del>var path = require('path') <add>const path = require('path') <ide> <del>var express = require('express') <del>var bodyParser = require('body-parser') <del>var hbs = require('express-handlebars') <add>const express = require('express') <add>const bodyParser = require('body-parser') <add>const h...
Java
lgpl-2.1
f241dd6200f8836f9afe0512b36fc0eed851ebef
0
RockManJoe64/swingx,RockManJoe64/swingx
/* * $Id$ * * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * 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 Founda...
src/java/org/jdesktop/swingx/border/DropShadowBorder.java
/* * $Id$ * * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * 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 Founda...
Making DropShadowBorder serializable.
src/java/org/jdesktop/swingx/border/DropShadowBorder.java
Making DropShadowBorder serializable.
<ide><path>rc/java/org/jdesktop/swingx/border/DropShadowBorder.java <ide> import java.awt.image.BufferedImage; <ide> import java.awt.image.ConvolveOp; <ide> import java.awt.image.Kernel; <add>import java.io.Serializable; <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <ide> * <ide> * @author rbair ...
Java
apache-2.0
0723d5e6c15d994f137aed441379e0674cf245bd
0
folio-org/raml-module-builder,folio-org/raml-module-builder,folio-org/raml-module-builder
package org.folio.rest.persist; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import io.vertx.core.AsyncResult; import io.vertx.core.Context; import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.http.HttpHeaders; import io.vert...
domain-models-runtime/src/main/java/org/folio/rest/persist/PgUtil.java
package org.folio.rest.persist; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import io.vertx.core.AsyncResult; import io.vertx.core.Context; import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.http.HttpHeaders; import io.vert...
Remove extra log stmt
domain-models-runtime/src/main/java/org/folio/rest/persist/PgUtil.java
Remove extra log stmt
<ide><path>omain-models-runtime/src/main/java/org/folio/rest/persist/PgUtil.java <ide> itemString = OBJECT_MAPPER.writeValueAsString(res); <ide> } catch (JsonProcessingException ex) { <ide> logger.error(ex.getMessage(), ex); <del> logger.error(ex.getMessage(), ex); <ide> throw new I...
Java
bsd-3-clause
aa19d96034a08513be13f8967d81d5cb9ae0fecf
0
NCIP/iso21090
package gov.nih.nci.iso21090.grid.dto.transform; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import java.io.StringReader; import java.io.StringWriter; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; ...
code/extensions/src/test/java/gov/nih/nci/iso21090/grid/dto/transform/AbstractTransformerTestBase.java
package gov.nih.nci.iso21090.grid.dto.transform; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import java.io.StringReader; import java.io.StringWriter; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; ...
minor: correct method spelling SVN-Revision: 318
code/extensions/src/test/java/gov/nih/nci/iso21090/grid/dto/transform/AbstractTransformerTestBase.java
minor: correct method spelling
<ide><path>ode/extensions/src/test/java/gov/nih/nci/iso21090/grid/dto/transform/AbstractTransformerTestBase.java <ide> private void testOne(Method make, Method verify) { <ide> testConversion(make, verify); <ide> if (make.getName().startsWith("makeXml")) { <del> testRoudTripXml(make, verif...
JavaScript
mit
b05af84f190e7958fd02b2e69dfa8190424b24cb
0
dmarcelino/sails-redis,camel-chased/sails-redis,balderdashy/sails-redis,jpwilliams/sails-aerospike,aradnom/sails-redis,apowers313/sails-redis
/** * `Transaction` dependencies */ var redis = require('redis'), utils = require('./utils'); /** * Expose `Transaction` */ module.exports = Transaction; /** * A container object for executing redis commands * * @param {Object} config */ function Transaction(config) { this.connection = null; this.d...
lib/transaction.js
/** * `Transaction` dependencies */ var redis = require('redis'), utils = require('./utils'); /** * Expose `Transaction` */ module.exports = Transaction; /** * A container object for executing redis commands * * @param {Object} config */ function Transaction(config) { this.config = config; } /** * ...
expand on transaction object
lib/transaction.js
expand on transaction object
<ide><path>ib/transaction.js <ide> */ <ide> <ide> function Transaction(config) { <del> this.config = config; <add> this.connection = null; <add> this.definitions = {}; <ide> } <ide> <ide> /** <del> * Connect to the redis instance <add> * Overwrite config object with a new config object. <add> * <add> * @param {Ob...
JavaScript
apache-2.0
3dbda674ffdd2d3bcb84137d8e71502aaa5a824a
0
ajnsit/dreamwriter,manesiotise/dreamwriter,makyo/dreamwriter,Softsapiens/dreamwriter,rtfeldman/dreamwriter,manesiotise/dreamwriter,Softsapiens/dreamwriter,jlongster/dreamwriter,makyo/dreamwriter,ajnsit/dreamwriter,jlongster/dreamwriter,Iced-Tea/dreamwriter,Iced-Tea/dreamwriter,rtfeldman/dreamwriter,zztczcx/dreamwriter,...
// Generated by CoffeeScript 1.3.3 (function() { var IdbAdapter, Vault, VaultStore, applyDefaults, debug, defaultOptions, getTransactionMode, root, _ref, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; Vault = (function() { Vault.prototype.stores = {}; function Vau...
vendor/vault-0.3.js
// Generated by CoffeeScript 1.3.3 (function() { var IdbAdapter, Vault, VaultStore, applyDefaults, debug, defaultOptions, getTransactionMode, root, _ref, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; Vault = (function() { Vault.prototype.stores = {}; function Vau...
Hack vault.js to avoid a warning.
vendor/vault-0.3.js
Hack vault.js to avoid a warning.
<ide><path>endor/vault-0.3.js <ide> root.indexedDB = root.indexedDB || root.webkitIndexedDB || root.mozIndexedDB || root.msIndexedDB; <ide> root.IDBTransaction = (_ref1 = root.IDBTransaction) != null ? _ref1 : root.webkitIDBTransaction; <ide> root.IDBKeyRange = (_ref2 = root.IDBKeyRange) != null ? _re...
Java
mpl-2.0
3b97dd848db4f1691ef5b860d43e241b81e4da3e
0
etomica/etomica,etomica/etomica,ajschult/etomica,etomica/etomica,ajschult/etomica,ajschult/etomica
//This class includes a main method to demonstrate its use package etomica.graphics; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JPanel; import javax.swing.JSlider; import javax.swing.JTextField; import j...
etomica/graphics/DeviceSlider.java
//This class includes a main method to demonstrate its use package etomica.graphics; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JPanel; import javax.swing.JSlider; import javax.swing.JTextField; import j...
don't override previously-set unit in setModifier avoid triggering action in setMax/Min
etomica/graphics/DeviceSlider.java
don't override previously-set unit in setModifier avoid triggering action in setMax/Min
<ide><path>tomica/graphics/DeviceSlider.java <ide> public final void setModifier(Modifier m) { <ide> if(m == null) throw new NullPointerException(); <ide> modifier = null; <del> unit = m.getDimension().defaultIOUnit(); <del> slider.setDecimalSliderValue(unit.fromSim(m.getValue())); ...
Java
mit
fcd2fb601ce170e2d9463473d38b0165ac0bcb52
0
markusfisch/ShaderEditor,markusfisch/ShaderEditor
package de.markusfisch.android.shadereditor; import android.content.SharedPreferences; import android.database.Cursor; import android.preference.PreferenceManager; import android.service.wallpaper.WallpaperService; import android.view.MotionEvent; import android.view.SurfaceHolder; public class ShaderWallpaperService...
src/de/markusfisch/android/shadereditor/ShaderWallpaperService.java
package de.markusfisch.android.shadereditor; import android.content.SharedPreferences; import android.database.Cursor; import android.preference.PreferenceManager; import android.service.wallpaper.WallpaperService; import android.view.MotionEvent; import android.view.SurfaceHolder; public class ShaderWallpaperService...
Removed white space
src/de/markusfisch/android/shadereditor/ShaderWallpaperService.java
Removed white space
<ide><path>rc/de/markusfisch/android/shadereditor/ShaderWallpaperService.java <ide> public ShaderWallpaperView() <ide> { <ide> super( ShaderWallpaperService.this ); <del> <ide> } <ide> <ide> @Override
Java
cc0-1.0
18440f0195ec39211bed6e65a5dced679cd2ef30
0
brueesch/paraglider,brueesch/paraglider
src/ch/zhaw/paraglider/physics/test.java
package ch.zhaw.paraglider.physics; import ch.zhaw.paraglider.controller.RunGame; /** * This Class handles the physics and the position of the pilot. In addition it * includes a method which animates the pilot. * * @author Christian Bresch * */ public final class Pilot { /** * Variable that defines the We...
Remove Testclass
src/ch/zhaw/paraglider/physics/test.java
Remove Testclass
<ide><path>rc/ch/zhaw/paraglider/physics/test.java <del>package ch.zhaw.paraglider.physics; <del> <del>import ch.zhaw.paraglider.controller.RunGame; <del> <del>/** <del> * This Class handles the physics and the position of the pilot. In addition it <del> * includes a method which animates the pilot. <del> * <del> * @a...
Java
epl-1.0
c21be2f3a0abeb82ba4cb56756807bedcf7f73f8
0
elexis/elexis-3-core,elexis/elexis-3-core,sazgin/elexis-3-core,elexis/elexis-3-core,elexis/elexis-3-core,sazgin/elexis-3-core,sazgin/elexis-3-core,sazgin/elexis-3-core
/******************************************************************************* * Copyright (c) 2006-2010, G. Weirich and Elexis * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
ch.elexis.core.ui/src/ch/elexis/core/ui/views/BriefAuswahl.java
/******************************************************************************* * Copyright (c) 2006-2010, G. Weirich and Elexis * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
[1386] save 'Brief' access
ch.elexis.core.ui/src/ch/elexis/core/ui/views/BriefAuswahl.java
[1386] save 'Brief' access
<ide><path>h.elexis.core.ui/src/ch/elexis/core/ui/views/BriefAuswahl.java <ide> @Override <ide> public void widgetSelected(SelectionEvent e){ <ide> comparator.setColumn(index); <del> int dir = comparator.getDirection(); <del> tableViewer.getTable().setSortDirection(dir); <add> tableViewer.getTa...
Java
mit
ae2b66e42653af7c6ea4baaaaf9b4732f49a282d
0
jenkinsci/plasticscm-plugin,jenkinsci/plasticscm-plugin
package com.codicesoftware.plugins.hudson.actions; import com.codicesoftware.plugins.hudson.PlasticTool; import com.codicesoftware.plugins.hudson.WorkspaceManager; import com.codicesoftware.plugins.hudson.commands.CommandRunner; import com.codicesoftware.plugins.hudson.commands.GetSelectorSpecCommand; import com.codic...
src/main/java/com/codicesoftware/plugins/hudson/actions/CheckoutAction.java
package com.codicesoftware.plugins.hudson.actions; import com.codicesoftware.plugins.hudson.PlasticTool; import com.codicesoftware.plugins.hudson.WorkspaceManager; import com.codicesoftware.plugins.hudson.model.Workspace; import hudson.FilePath; import org.apache.commons.io.FilenameUtils; import java.io.IOException; ...
Improve the selector type detection Instead of simply checking the selector string, perform a CLI command to determine the selector type. This avoids issues if e.g. the branch name contains the word "changeset" or "label". Signed-off-by: Miguel González <cdfcfe5d815bfd125ca9fefd932ad327cead1719@codicesoftware.com>
src/main/java/com/codicesoftware/plugins/hudson/actions/CheckoutAction.java
Improve the selector type detection
<ide><path>rc/main/java/com/codicesoftware/plugins/hudson/actions/CheckoutAction.java <ide> <ide> import com.codicesoftware.plugins.hudson.PlasticTool; <ide> import com.codicesoftware.plugins.hudson.WorkspaceManager; <add>import com.codicesoftware.plugins.hudson.commands.CommandRunner; <add>import com.codicesoftware.p...
Java
mit
error: pathspec 'app/jsondto/JSONDTORepresentable.java' did not match any file(s) known to git
c7d755b809496cdc3e8c2b4bb3df45723b52d72a
1
jareware/JSON-DTO
package jsondto; /** * Model objects marked with this interface are able to represent themselves as * a JSON-DTO, and vice-versa (that is, able to set their state according to a * given DTO). * * @author Jarno Rantanen <jarno@jrw.fi> */ public interface JSONDTORepresentable<DTO extends JSONDTO> { /** * Copi...
app/jsondto/JSONDTORepresentable.java
Added an interface that marks Models JSON-representable.
app/jsondto/JSONDTORepresentable.java
Added an interface that marks Models JSON-representable.
<ide><path>pp/jsondto/JSONDTORepresentable.java <add>package jsondto; <add> <add>/** <add> * Model objects marked with this interface are able to represent themselves as <add> * a JSON-DTO, and vice-versa (that is, able to set their state according to a <add> * given DTO). <add> * <add> * @author Jarno Rantanen <jarno...
Java
apache-2.0
81f6ec5d5bac83e97af0b2377226d660b349cdaf
0
SerCeMan/intellij-community,orekyuu/intellij-community,apixandru/intellij-community,vladmm/intellij-community,izonder/intellij-community,michaelgallacher/intellij-community,dslomov/intellij-community,vvv1559/intellij-community,blademainer/intellij-community,ahb0327/intellij-community,mglukhikh/intellij-community,pettey...
package org.jetbrains.plugins.gradle.manage; import com.intellij.ide.util.projectWizard.WizardContext; import com.intellij.openapi.module.ModifiableModuleModel; import com.intellij.openapi.module.Module; import com.intellij.openapi.options.ConfigurationException; import com.intellij.openapi.project.Project; import com...
plugins/gradle/src/org/jetbrains/plugins/gradle/manage/GradleProjectImportBuilder.java
package org.jetbrains.plugins.gradle.manage; import com.intellij.ide.util.projectWizard.WizardContext; import com.intellij.openapi.module.ModifiableModuleModel; import com.intellij.openapi.module.Module; import com.intellij.openapi.options.ConfigurationException; import com.intellij.openapi.project.Project; import com...
IDEA-77127 Gradle: Support gradle wrapper on importing Correct gradle project path processing (different behavior of our 'import project' and 'open project' wizards)
plugins/gradle/src/org/jetbrains/plugins/gradle/manage/GradleProjectImportBuilder.java
IDEA-77127 Gradle: Support gradle wrapper on importing
<ide><path>lugins/gradle/src/org/jetbrains/plugins/gradle/manage/GradleProjectImportBuilder.java <ide> myConfigurable.setAlwaysShowLinkedProjectControls(true); <ide> } <ide> myConfigurable.reset(); <del> myConfigurable.setLinkedGradleProjectPath(new File(context.getProjectFileDirectory(), GradleConstan...
Java
apache-2.0
601e69924657fa223f2f6d32356b6901a01cdd29
0
dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am
package i2am.benchmark.storm.systematic; import java.net.InetSocketAddress; import java.util.HashSet; import java.util.Properties; import java.util.Set; import java.util.UUID; import org.apache.storm.Config; import org.apache.storm.StormSubmitter; import org.apache.storm.generated.AlreadyAliveException; im...
i2am-performance-test/benchmark-storm-and-spark/benchmark-storm/src/main/java/i2am/benchmark/storm/systematic/PerformanceTestTopology.java
package i2am.benchmark.storm.systematic; import java.net.InetSocketAddress; import java.util.HashSet; import java.util.Properties; import java.util.Set; import java.util.UUID; import org.apache.storm.Config; import org.apache.storm.StormSubmitter; import org.apache.storm.generated.AlreadyAliveException; im...
108줄 파라미터 수정
i2am-performance-test/benchmark-storm-and-spark/benchmark-storm/src/main/java/i2am/benchmark/storm/systematic/PerformanceTestTopology.java
108줄 파라미터 수정
<ide><path>2am-performance-test/benchmark-storm-and-spark/benchmark-storm/src/main/java/i2am/benchmark/storm/systematic/PerformanceTestTopology.java <ide> <ide> conf.setNumWorkers(5); <ide> <del> StormSubmitter.submitTopology("performance-reservoirsampling-topology", conf, builder.createTopology()); <add> StormSu...
JavaScript
agpl-3.0
1345b2d6dc6bc848c58b8233a573ac0823a93e03
0
ComPlat/chemotion_ELN,ComPlat/chemotion_ELN,ComPlat/chemotion_ELN,ComPlat/chemotion_ELN
import React from 'react'; import {ButtonGroup} from 'react-bootstrap'; import ShareButton from './ShareButton'; import MoveButton from './MoveButton'; import AssignButton from './AssignButton'; import RemoveButton from './RemoveButton'; import DeleteButton from './DeleteButton'; import ExportButton from './ExportButto...
app/assets/javascripts/components/managing_actions/ManagingActions.js
import React from 'react'; import {ButtonGroup} from 'react-bootstrap'; import ShareButton from './ShareButton'; import MoveButton from './MoveButton'; import AssignButton from './AssignButton'; import RemoveButton from './RemoveButton'; import DeleteButton from './DeleteButton'; import ExportButton from './ExportButto...
Disables Import Button for 'All' collection
app/assets/javascripts/components/managing_actions/ManagingActions.js
Disables Import Button for 'All' collection
<ide><path>pp/assets/javascripts/components/managing_actions/ManagingActions.js <ide> <RemoveButton isDisabled={this.isRemoteDisabled()} onClick={() => this.handleButtonClick('remove')}/> <ide> <DeleteButton isDisabled={this.isDeleteButtonDisabled()} onClick={() => this.handleButtonClick('delete')}/...
Java
apache-2.0
30ade388b064b3430151d4d4ba20cafaed400194
0
youdonghai/intellij-community,xfournet/intellij-community,suncycheng/intellij-community,FHannes/intellij-community,youdonghai/intellij-community,apixandru/intellij-community,xfournet/intellij-community,vvv1559/intellij-community,apixandru/intellij-community,da1z/intellij-community,FHannes/intellij-community,xfournet/in...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
java/java-tests/testSrc/com/intellij/projectView/PackagesTreeStructureTest.java
/* * Copyright (c) 2004 JetBrains s.r.o. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * -Redistributions of source code must retain the above copyright * notice, this list of condit...
add a test for abbreviate package names
java/java-tests/testSrc/com/intellij/projectView/PackagesTreeStructureTest.java
add a test for abbreviate package names
<ide><path>ava/java-tests/testSrc/com/intellij/projectView/PackagesTreeStructureTest.java <ide> /* <del> * Copyright (c) 2004 JetBrains s.r.o. All Rights Reserved. <add> * Copyright 2000-2017 JetBrains s.r.o. <ide> * <del> * Redistribution and use in source and binary forms, with or without <del> * modification, are ...
Java
mit
c6f329057c32c26693f4a69d0d0cf28b55582ac0
0
GluuFederation/oxCore
/* * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2018, Gluu */ package org.gluu.persist.couchbase.operation.impl; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util...
persistence-couchbase/src/main/java/org/gluu/persist/couchbase/operation/impl/CouchbaseOperationsServiceImpl.java
/* * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2018, Gluu */ package org.gluu.persist.couchbase.operation.impl; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.Arrays; import java.util...
Fix search when indexed warmed up already
persistence-couchbase/src/main/java/org/gluu/persist/couchbase/operation/impl/CouchbaseOperationsServiceImpl.java
Fix search when indexed warmed up already
<ide><path>ersistence-couchbase/src/main/java/org/gluu/persist/couchbase/operation/impl/CouchbaseOperationsServiceImpl.java <ide> try { <ide> result = searchImpl(bucketMapping, key, useScanConsistency, expression, scope, attributes, orderBy, batchOperationWraper, <ide> returnDataType, start, count, pageSiz...
Java
apache-2.0
ffb9a4f85c03b30b8be94980e1b522d6c41a052b
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.testFramework; import com.intellij.configurationStore.StateStorageManagerKt; import com.intellij.configurationStore.StoreReloadManager; import com.intellij.e...
platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.testFramework; import com.intellij.configurationStore.StateStorageManagerKt; import com.intellij.configurationStore.StoreReloadManager; import com.intellij.e...
RUBY-21118: Add minitest multiple files test GitOrigin-RevId: bdc7e56e8665fc8c2b50ab1ed583960f9c7295b2
platform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java
RUBY-21118: Add minitest multiple files test
<ide><path>latform/testFramework/src/com/intellij/testFramework/PlatformTestUtil.java <ide> if (ignoreOrder) { <ide> final Set<String> actualLines = Set.of(treeStringPresentation.split("\n")); <ide> final Set<String> expectedLines = Set.of(expected.split("\n")); <del> assertEquals("Expected:\n" + e...
Java
apache-2.0
5f53adb741295be83f78d7ca68cea92d880ff464
0
kantega/respiro,kantega/respiro,kantega/respiro
/* * Copyright 2015 Kantega AS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
plugins/core/jdbc/src/main/java/org/kantega/respiro/jdbc/DefaultDataSourceBuilder.java
/* * Copyright 2015 Kantega AS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Added jdbc connection test query for jdts drivers.
plugins/core/jdbc/src/main/java/org/kantega/respiro/jdbc/DefaultDataSourceBuilder.java
Added jdbc connection test query for jdts drivers.
<ide><path>lugins/core/jdbc/src/main/java/org/kantega/respiro/jdbc/DefaultDataSourceBuilder.java <ide> config.setDriverClassName(driverClassname); <ide> <ide> //JDTS does not support connection.isValid() <del> if(driverClassname.toLowerCase().contains("jdts")){ <add> if(dr...
JavaScript
mit
bb53fc53a909e013c73671d51851d901d364c906
0
mhovey/photos,mhovey/photos-api
/* |-------------------------------------------------------------------------- | Dotenv setup to bring in the application config |-------------------------------------------------------------------------- */ require('dotenv').load(); /* |-------------------------------------------------------------------------- | Bas...
server.js
/* |-------------------------------------------------------------------------- | Basic Setup |-------------------------------------------------------------------------- */ var express = require('express'); var mongoose = require('mongoose'); var bodyParser = require('body-parser'); var morgan ...
Load dotenv at the very beginning of the application
server.js
Load dotenv at the very beginning of the application
<ide><path>erver.js <add>/* <add>|-------------------------------------------------------------------------- <add>| Dotenv setup to bring in the application config <add>|-------------------------------------------------------------------------- <add>*/ <add> <add>require('dotenv').load(); <add> <ide> /* <ide> |--------...
Java
unlicense
d96791000abfb20286103830e83d7abfae7fdb21
0
sankark/codelibrary,animesh0353/codelibrary,topkaya/codelibrary,indy256/codelibrary,cksharma/codelibrary,indy256/codelibrary,indy256/codelibrary,topkaya/codelibrary,sankark/codelibrary,animesh0353/codelibrary,topkaya/codelibrary,indy256/codelibrary,topkaya/codelibrary,cksharma/codelibrary,sankark/codelibrary,animesh035...
import java.util.*; /** * @author Andrey Naumenko */ public class ContractionHierarchies { int calculatePriority(List<Integer>[] g, List<Integer>[] rg, int v) { // set of shortcuts that would be added if endNode v would be contracted next. Collection<Shortcut> tmpShortcuts = findShortcuts(g, rg, v); // from ...
java/src/ContractionHierarchies.java
import java.util.*; /** * @author Andrey Naumenko */ public class ContractionHierarchies { int calculatePriority(List<Integer>[] g, List<Integer>[] rg, int v) { // set of shortcuts that would be added if endNode v would be contracted next. Collection<Shortcut> tmpShortcuts = findShortcuts(g, rg, v); // from ...
update
java/src/ContractionHierarchies.java
update
<ide><path>ava/src/ContractionHierarchies.java <ide> return 10 * edgeDifference + 50 * originalEdgesCount + contractedNeighbors; <ide> } <ide> <del> Collection<Shortcut> findShortcuts(List<Integer>[] g, List<Integer>[] rg, int v) { <add> Collection<Shortcut> findShortcuts(int[][] g, int[][] rg, int[][] dist, int v)...
JavaScript
mit
0d3a6cc61924aa7a2a806cb091025fd96b6932ab
0
3ventic/ShortUrl
var http = require('http'); var url = require('url'); var qs = require('querystring'); var sqlite3 = require('sqlite3').verbose(); var config = require('./config.js'); var port = config.port || 8000; console.log("Starting app"); var db = new sqlite3.Database('links.db', sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE, ...
ShortUrl/server.js
var http = require('http'); var url = require('url'); var qs = require('querystring'); var sqlite3 = require('sqlite3').verbose(); var config = require('./config.js'); var port = config.port || 8000; console.log("Starting app"); var db = new sqlite3.Database('links.db', sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE, ...
add html response with js redirect and link
ShortUrl/server.js
add html response with js redirect and link
<ide><path>hortUrl/server.js <ide> else <ide> { <ide> res.writeHead(301, { 'Content-Type': 'text/html', Location: row.destination }); <del> res.end(); <add> res.end('<script type="text/javascript">window.location.href="' + row.destination + '";</scri...
Java
apache-2.0
905dc52ac02c378f4fb8cf002cf6b05007566392
0
wildfly-security/wildfly-elytron,sguilhen/wildfly-elytron,sguilhen/wildfly-elytron,wildfly-security/wildfly-elytron
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
src/main/java/org/wildfly/security/auth/callback/CredentialCallback.java
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
[ELY-374] Update JavaDoc
src/main/java/org/wildfly/security/auth/callback/CredentialCallback.java
[ELY-374] Update JavaDoc
<ide><path>rc/main/java/org/wildfly/security/auth/callback/CredentialCallback.java <ide> import org.wildfly.security.credential.Credential; <ide> <ide> /** <del> * A callback used to acquire credentials, either for outbound or inbound authentication. This callback <del> * is required only if a default credential was ...
Java
apache-2.0
019666ddc71eca7f87807b9d2836d53a7289592d
0
mta452/Tehreer-Android,mta452/Tehreer-Android,mta452/Tehreer-Android
/* * Copyright (C) 2017 Muhammad Tayyab Akram * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
tehreer-android/src/main/java/com/mta/tehreer/layout/Typesetter.java
/* * Copyright (C) 2017 Muhammad Tayyab Akram * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
[lib] Fixed frame height calculation issue in typesetter...
tehreer-android/src/main/java/com/mta/tehreer/layout/Typesetter.java
[lib] Fixed frame height calculation issue in typesetter...
<ide><path>ehreer-android/src/main/java/com/mta/tehreer/layout/Typesetter.java <ide> } <ide> <ide> float frameWidth = frameRect.width(); <del> float frameHeight = frameRect.height(); <add> float frameBottom = frameRect.bottom; <ide> <ide> ArrayList<ComposedLine> frameLines = new ...
Java
apache-2.0
4fa567331ee6c31343ec2801cfa7a9e13962d3dd
0
asedunov/intellij-community,tmpgit/intellij-community,tmpgit/intellij-community,ftomassetti/intellij-community,slisson/intellij-community,allotria/intellij-community,joewalnes/idea-community,slisson/intellij-community,caot/intellij-community,suncycheng/intellij-community,kool79/intellij-community,FHannes/intellij-commu...
/* * Copyright 2005 Sascha Weinreuter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/refactoring/XsltRefactoringSupport.java
/* * Copyright 2005 Sascha Weinreuter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
correctly handling nall actions
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/refactoring/XsltRefactoringSupport.java
correctly handling nall actions
<ide><path>lugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/refactoring/XsltRefactoringSupport.java <ide> final ActionManagerEx amgr = ActionManagerEx.getInstanceEx(); <ide> <ide> final AnAction action = amgr.getAction(actionName); <del> newAction.setHookedAction(action); <add> if...
Java
lgpl-2.1
7bca41af32c6dd6392ca32d1e6ee94be07351b03
0
xwiki/xwiki-commons,xwiki/xwiki-commons
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
xwiki-commons-core/xwiki-commons-extension/src/main/java/org/xwiki/extension/repository/internal/DefaultLocalExtension.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
[misc] Exclude log4j coming with aether (logging implementation to use is distribution choice) Fix code that was using the wrong class (log4j one instead of commons io) git-svn-id: d23d7a6431d93e1bdd218a46658458610974b053@31749 f329d543-caf0-0310-9063-dda96c69346f
xwiki-commons-core/xwiki-commons-extension/src/main/java/org/xwiki/extension/repository/internal/DefaultLocalExtension.java
[misc] Exclude log4j coming with aether (logging implementation to use is distribution choice) Fix code that was using the wrong class (log4j one instead of commons io)
<ide><path>wiki-commons-core/xwiki-commons-extension/src/main/java/org/xwiki/extension/repository/internal/DefaultLocalExtension.java <ide> import java.util.Collections; <ide> import java.util.List; <ide> <del>import org.apache.log4j.lf5.util.StreamUtils; <add>import org.apache.commons.io.IOUtils; <ide> import org.xwi...
Java
mit
382d37f8fa38c1f4ff45cba59322dc880fbd38d7
0
Akhier/Java-DijkstraAlgorithm
/** * "Edge" represents a connection between one point to another including the cost of traversing this connection * @author Akhier Dragonheart * @version 1.0 */ public class Edge { public Integer cost; private static int edgeIdCount = -1; private int edgeId; public int edgeId() { return edgeId; } privat...
Edge.java
/** * @author Akhier Dragonheart * @version 1.0 */ public class Edge { public Integer cost; private static int edgeIdCount = -1; private int edgeId; public int edgeId() { return edgeId; } private Vector2D pointA, pointB; public Vector2D pointA() { return pointA; } public Vector2D pointB() { return ...
Added comments to Edge
Edge.java
Added comments to Edge
<ide><path>dge.java <ide> /** <add> * "Edge" represents a connection between one point to another including the cost of traversing this connection <ide> * @author Akhier Dragonheart <ide> * @version 1.0 <ide> */ <ide> } <ide> <ide> private Vector2D pointA, pointB; <add> /** <add> * The first point this Edge is c...
Java
agpl-3.0
a959c01d18b88db2068c33fdcf915dede6c7e212
0
opencadc/ac,opencadc/ac
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2014. (c) 2014. * Government of Canada ...
projects/cadcAccessControl/src/ca/nrc/cadc/ac/json/UserRequestReader.java
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2014. (c) 2014. * Government of Canada ...
AC2: Code cleanup and comment correction.
projects/cadcAccessControl/src/ca/nrc/cadc/ac/json/UserRequestReader.java
AC2: Code cleanup and comment correction.
<ide><path>rojects/cadcAccessControl/src/ca/nrc/cadc/ac/json/UserRequestReader.java <ide> { <ide> if (json == null) <ide> { <del> throw new IllegalArgumentException("XML must not be null"); <add> throw new IllegalArgumentException("JSON must not be null"); <ide> } <ide>...