lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
mit
6bccfd6ac045c301de4086dd1d8938db3e0fdbd7
0
Vizzuality/gfw,Vizzuality/gfw
define([ 'map/helpers/guidetexts', ],function(guidetexts) { var guidetexts = guidetexts; var guides = { default: [ // Intro { selector: "", text: guidetexts.default.intro, options: { position: 'center' } }, // Layers module { s...
app/assets/javascripts/map/helpers/guides.js
define([ 'map/helpers/guidetexts', ],function(guidetexts) { var guidetexts = guidetexts; var guides = { default: [ // Intro { selector: "", text: guidetexts.default.intro, options: { position: 'center' } }, // Layers module { s...
Tour enbles layers if they are not activated
app/assets/javascripts/map/helpers/guides.js
Tour enbles layers if they are not activated
<ide><path>pp/assets/javascripts/map/helpers/guides.js <ide> options: { <ide> position: 'right', <ide> callfront: function() { <del> $('#layersnav-forest-change').addClass('tour-active'); <add> // WOOOWWWWW mega selectors... <add> var $forestChangeDropDown = ...
JavaScript
mit
c1ee52adfb7a3ca3e0042322fcea6e7166d83486
0
at-point/mtl,at-point/mtl,at-point/mtl,at-point/mtl
//=require "materialize/jquery.easing.1.3" //=require "materialize/velocity.min" //=require "materialize/hammer.min" //=require "materialize/jquery.hammer" //=require "materialize/global" //=require "materialize/collapsible" //=require "materialize/dropdown" //=require "materialize/leanModal" //=require "materialize/...
app/assets/javascripts/materialize.js
//=require "materialize/jquery.easing.1.3" //=require "materialize/velocity.min" //=require "materialize/hammer.min" //=require "materialize/jquery.hammer" //=require "materialize/collapsible" //=require "materialize/dropdown" //=require "materialize/leanModal" //=require "materialize/materialbox" //=require "materiali...
included materilizer global
app/assets/javascripts/materialize.js
included materilizer global
<ide><path>pp/assets/javascripts/materialize.js <ide> //=require "materialize/velocity.min" <ide> //=require "materialize/hammer.min" <ide> //=require "materialize/jquery.hammer" <add> <add>//=require "materialize/global" <add> <ide> //=require "materialize/collapsible" <ide> //=require "materialize/dropdown" <ide> //=...
Java
mit
199bbbff7240061a325c3731d2f296da2fd229c0
0
kenzierocks/SpongeCommon,SpongePowered/SpongeCommon,SpongePowered/Sponge,JBYoshi/SpongeCommon,kenzierocks/SpongeCommon,SpongePowered/Sponge,SpongePowered/SpongeCommon,sanman00/SpongeCommon,DDoS/SpongeCommon,DDoS/SpongeCommon,SpongePowered/Sponge,Grinch/SpongeCommon,Grinch/SpongeCommon,JBYoshi/SpongeCommon,sanman00/Spon...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
src/main/java/org/spongepowered/common/mixin/core/entity/player/MixinEntityPlayer.java
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Fix cornercase where EntityPlayer (not MP) may throw double DestructEntityEvents. Signed-off-by: Gabriel Harris-Rouquette <f9869a2c93dad38a06e8fb39147155331a1102ab@me.com>
src/main/java/org/spongepowered/common/mixin/core/entity/player/MixinEntityPlayer.java
Fix cornercase where EntityPlayer (not MP) may throw double DestructEntityEvents.
<ide><path>rc/main/java/org/spongepowered/common/mixin/core/entity/player/MixinEntityPlayer.java <ide> */ <ide> @Overwrite <ide> public void onDeath(DamageSource cause) { <del> if (SpongeCommonEventFactory.callDestructEntityEventDeath((EntityLivingBase)(Object) this, cause) == null) { <del> ...
Java
apache-2.0
35de19a60e6b3c49ceefa83d591c5fb8252fc497
0
perrystreetsoftware/RoundedImageView,net19880504/RoundedImageView,xfshipan/RoundedImageView,msdgwzhy6/RoundedImageView,YlJava110/RoundedImageView,tanweijiu/RoundedImageView,launk/RoundedImageView,jon-adams/RoundedImageView,TobbHuang/RoundedImageView,xzxevil/RoundedImageView,juoni/RoundedImageView,stateofzhao/RoundedIma...
/* Copyright (C) 2013 Make Ramen, LLC */ package com.makeramen.rounded; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.graphics.Paint; impo...
library/src/com/makeramen/rounded/RoundedDrawable.java
/* Copyright (C) 2013 Make Ramen, LLC */ package com.makeramen.rounded; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.graphics.Paint; impo...
i should stop committing broken things to master #6
library/src/com/makeramen/rounded/RoundedDrawable.java
i should stop committing broken things to master #6
<ide><path>ibrary/src/com/makeramen/rounded/RoundedDrawable.java <ide> } <ide> <ide> protected void setScaleType(ScaleType scaleType) { <del> Log.i(TAG, "setScaleType" + scaleType.toString()); <add> if (scaleType == null) { scaleType = ScaleType.FIT_XY; } <ide> if (mScaleType != scaleType) { <ide> mScaleType...
Java
apache-2.0
fecb54ff64f17923bb1944c1cf8d603ac05207ae
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
package org.apache.lucene.index; /** * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
src/java/org/apache/lucene/index/IndexWriter.java
package org.apache.lucene.index; /** * Copyright 2004 The Apache Software Foundation * * 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...
addIndexes(IndexReader[]): Delete segment of non-empty goal index an close its SegmentReader git-svn-id: 4c5078813df38efa56971a28e09a55254294f104@150394 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/lucene/index/IndexWriter.java
addIndexes(IndexReader[]): Delete segment of non-empty goal index an close its SegmentReader
<ide><path>rc/java/org/apache/lucene/index/IndexWriter.java <ide> optimize(); // start with zero or 1 seg <ide> <ide> String mergedName = newSegmentName(); <del> SegmentMerger merger = new SegmentMerger(directory, mergedName, false); <del> <del> if (segmentInfos.size() == 1) // add ...
Java
apache-2.0
bb60080cc699fa63cc04da74441df10abbeef7f4
0
slinstaedt/ddd4j-common-values
package org.ddd4j.collection; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.IdentityHashMap; import java.util.List; import java.util.Map; import java.util.NavigableSet; import java....
src/main/java/org/ddd4j/collection/Cache.java
package org.ddd4j.collection; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashSet; import java.util.IdentityHashMap; import java.util.List; import java.util.Map; import java.util.NavigableSet; import java....
make EvictionStrategy Cache-toplevel
src/main/java/org/ddd4j/collection/Cache.java
make EvictionStrategy Cache-toplevel
<ide><path>rc/main/java/org/ddd4j/collection/Cache.java <ide> import org.ddd4j.collection.Cache.Access.Shared; <ide> import org.ddd4j.collection.Cache.Decorating.Blocking; <ide> import org.ddd4j.collection.Cache.Decorating.Evicting; <del>import org.ddd4j.collection.Cache.Decorating.Evicting.EvictStrategy; <ide> import ...
Java
apache-2.0
dd28ca3713840002c459b3ea1f7a4c6cb08b0e70
0
pepstock-org/Charba,pepstock-org/Charba,pepstock-org/Charba
/** Copyright 2017 Andrea "Stock" Stocchero Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
src/org/pepstock/charba/client/annotation/HasBorderRadius.java
/** Copyright 2017 Andrea "Stock" Stocchero 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...
fixes javadoc typo
src/org/pepstock/charba/client/annotation/HasBorderRadius.java
fixes javadoc typo
<ide><path>rc/org/pepstock/charba/client/annotation/HasBorderRadius.java <ide> import org.pepstock.charba.client.items.Undefined; <ide> <ide> /** <del> * Interface to map the background color options. <add> * Interface to map the border radius options. <ide> * <ide> * @author Andrea "Stock" Stocchero <ide> *
Java
mit
71f7b11d5b6b49d8b88dfd4bf9eb6490a04ceedd
0
thefreshduke/slogo,thefreshduke/slogo,thefreshduke/slogo
package commandParser; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.Enumeration; import java.util.HashMap; imp...
src/commandParser/LanguageFileParser.java
package commandParser; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import backendExceptions.BackendException; import backe...
parser uses resource bundle. still need to fix colon stuff
src/commandParser/LanguageFileParser.java
parser uses resource bundle. still need to fix colon stuff
<ide><path>rc/commandParser/LanguageFileParser.java <ide> import java.io.FileNotFoundException; <ide> import java.io.FileReader; <ide> import java.io.IOException; <add>import java.net.MalformedURLException; <add>import java.net.URL; <add>import java.net.URLClassLoader; <add>import java.util.Enumeration; <ide> import ja...
Java
apache-2.0
91e43a8c5d8ad29e02532ec25baf2d20e404a9c2
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2022, TeamDev. 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 * * Redistribution and use in source...
server/src/test/java/io/spine/server/SubscriptionServiceTest.java
/* * Copyright 2022, TeamDev. 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 * * Redistribution and use in source...
Fix test display name
server/src/test/java/io/spine/server/SubscriptionServiceTest.java
Fix test display name
<ide><path>erver/src/test/java/io/spine/server/SubscriptionServiceTest.java <ide> } <ide> <ide> @Test <del> @DisplayName("allow instance service not types") <add> @DisplayName("allow a service instance serving no types") <ide> void notInitFromEmptyBuilder() { <ide> assertDoesNotThrow( <ide> ...
Java
apache-2.0
bd88fb6252e929f7c8edfdadcc0649ac0af2b1b4
0
hairlun/radix-android
package com.patr.radix.ui.unlock; import java.io.IOException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import org.xutils.common.util.LogUtil; import com.felipecsl.gifimageview.library.GifImageView; import com.patr.radix.LockValidateActivity; import com.patr.radix....
src/com/patr/radix/ui/unlock/UnlockFragment.java
package com.patr.radix.ui.unlock; import java.io.IOException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import org.xutils.common.util.LogUtil; import com.felipecsl.gifimageview.library.GifImageView; import com.patr.radix.LockValidateActivity; import com.patr.radix....
Revert "完善" This reverts commit 04116f4a1fff341fbc43051ea4089eff3f286c10.
src/com/patr/radix/ui/unlock/UnlockFragment.java
Revert "完善"
<ide><path>rc/com/patr/radix/ui/unlock/UnlockFragment.java <ide> if (name.equalsIgnoreCase(lock.getBleName1()) <ide> || name.equalsIgnoreCase(lock.getBleName2())) { <ide> list.add(mDev); <del> if (mBluetoothAdapter != null) {...
Java
mit
error: pathspec 'src/main/java/leetcode/Problem1413.java' did not match any file(s) known to git
91b2e6c8bf6f78d40ebdac4bc1eae2d05a8f35a1
1
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
package leetcode; /** * https://leetcode.com/problems/minimum-value-to-get-positive-step-by-step-sum/ */ public class Problem1413 { public int minStartValue(int[] nums) { // TODO return 0; } public static void main(String[] args) { Problem1413 prob = new Problem1413(); Sy...
src/main/java/leetcode/Problem1413.java
Skeleton for problem 1413
src/main/java/leetcode/Problem1413.java
Skeleton for problem 1413
<ide><path>rc/main/java/leetcode/Problem1413.java <add>package leetcode; <add> <add>/** <add> * https://leetcode.com/problems/minimum-value-to-get-positive-step-by-step-sum/ <add> */ <add>public class Problem1413 { <add> public int minStartValue(int[] nums) { <add> // TODO <add> return 0; <add> } <a...
Java
apache-2.0
b54a29b14a047af329f7bcd60b2f30a3ec0e7da5
0
argonaut-nz/jnbis,kareez/jnbis,ericdsoto/jnbis,mhshams/jnbis,kulgan/jnbis
package org.jnbis; import org.jnbis.record.HighResolutionGrayscaleFingerprint; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.Set; /** * @author <a href="mailto:m.h.shams@gmail.com">M. H. Shamsi</a> * @version 1.0.0 * @since Oct 31, 2007 */ public class Sa...
src/test/java/org/jnbis/SampleTest.java
package org.jnbis; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.Set; /** * @author <a href="mailto:m.h.shams@gmail.com">M. H. Shamsi</a> * @version 1.0.0 * @since Oct 31, 2007 */ public class SampleTest { private NistDecoder nistDecoder; private...
Updated the JUnit test for testing against the sample files.
src/test/java/org/jnbis/SampleTest.java
Updated the JUnit test for testing against the sample files.
<ide><path>rc/test/java/org/jnbis/SampleTest.java <ide> package org.jnbis; <ide> <add>import org.jnbis.record.HighResolutionGrayscaleFingerprint; <ide> import org.junit.Assert; <ide> import org.junit.Before; <ide> import org.junit.Test; <ide> public void nist2jpeg() throws Exception { <ide> DecodedData dec...
Java
mpl-2.0
4c1372631f40f9c9e24d8149a386e62383b63239
0
yonadev/yona-server,yonadev/yona-server,yonadev/yona-server,yonadev/yona-server
/******************************************************************************* * Copyright (c) 2015 Stichting Yona Foundation * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla...
appservice/src/main/java/nu/yona/server/subscriptions/rest/UserController.java
/******************************************************************************* * Copyright (c) 2015 Stichting Yona Foundation * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla...
YD-50 Removed unneccesary else clause
appservice/src/main/java/nu/yona/server/subscriptions/rest/UserController.java
YD-50 Removed unneccesary else clause
<ide><path>ppservice/src/main/java/nu/yona/server/subscriptions/rest/UserController.java <ide> if(getContent().getPrivateData() == null) { <ide> return Collections.emptyMap(); <ide> } <del> else { <del> Set<BuddyDTO> buddies = getContent().getPrivateData().getBuddies(); <del> return Collections.single...
JavaScript
mit
16fc6d98e85c2859e3761fdfb40c9d263a4323cb
0
tjvr/scratchblocks,tjvr/scratchblocks
/* * scratchblocks * http://scratchblocks.github.io/ * * Copyright 2013-2016, Tim Radvan * @license MIT * http://opensource.org/licenses/MIT */ var scratchblocks = function () { 'use strict'; /* utils */ function assert(bool, message) { if (!bool) throw "Assertion failed! " + (message || ""); } ...
src/scratchblocks.js
/* * scratchblocks * http://scratchblocks.github.io/ * * Copyright 2013-2016, Tim Radvan * @license MIT * http://opensource.org/licenses/MIT */ var scratchblocks = function () { 'use strict'; /* utils */ function assert(bool, message) { if (!bool) throw "Assertion failed! " + (message || ""); } ...
Custom colors for inset inputs too Fixes #123
src/scratchblocks.js
Custom colors for inset inputs too
<ide><path>rc/scratchblocks.js <ide> }); <ide> } else if (this.isDarker) { <ide> el = darkRect(w, h, parent.info.category, el); <add> if (parent.info.color) { <add> setProps(el, { <add> fill: parent.info.color, <add> }); <add> } <ide> } <ide> <ide> var result = ...
Java
mit
9d3212dac714265db5d19c9c7c94b8664b3dc1e3
0
ymzong/ccf13,ymzong/ccf13,ymzong/ccf13,ymzong/ccf13
package com.yzong.ccproj4; import java.io.IOException; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapred.FileInputFormat; import org.apache.hadoop.mapred.FileOutputFormat; import org.apache.hadoop.mapred.Fi...
src/com/yzong/ccproj4/InverseIndex.java
package com.yzong.ccproj4; import java.io.IOException; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapred.FileInputFormat; import org.apache.hadoop.mapred.FileOutputFormat; import org.apache.hadoop.mapred.Fi...
Changed InverseIndex to exclude stopper words.
src/com/yzong/ccproj4/InverseIndex.java
Changed InverseIndex to exclude stopper words.
<ide><path>rc/com/yzong/ccproj4/InverseIndex.java <ide> <ide> public class InverseIndex { <ide> <add> // Sorted array of stop words. <ide> static String StopWords[] = new String[] {"a", "a's", "able", "about", "above", "according", <ide> "accordingly", "across", "actually", "after", "afterwards", "again", "a...
Java
bsd-3-clause
6c085e387fca592b528fe5aa493d4ce26c2c6b39
0
yotchang4s/cafebabepy
package org.cafebabepy.runtime.module.types; import org.cafebabepy.annotation.DefineCafeBabePyModule; import org.cafebabepy.runtime.Python; import org.cafebabepy.runtime.module.AbstractCafeBabePyModule; import org.cafebabepy.runtime.module.AbstractCafeBabePyType; /** * Created by yotchang4s on 2017/05/12. */ @Defin...
src/main/java/org/cafebabepy/runtime/module/types/PyTypesModule.java
package org.cafebabepy.runtime.module.types; import org.cafebabepy.annotation.DefineCafeBabePyModule; import org.cafebabepy.runtime.Python; import org.cafebabepy.runtime.module.AbstractCafeBabePyType; /** * Created by yotchang4s on 2017/05/12. */ @DefineCafeBabePyModule(name = "types") public class PyTypesModule ex...
Fix type to module
src/main/java/org/cafebabepy/runtime/module/types/PyTypesModule.java
Fix type to module
<ide><path>rc/main/java/org/cafebabepy/runtime/module/types/PyTypesModule.java <ide> <ide> import org.cafebabepy.annotation.DefineCafeBabePyModule; <ide> import org.cafebabepy.runtime.Python; <add>import org.cafebabepy.runtime.module.AbstractCafeBabePyModule; <ide> import org.cafebabepy.runtime.module.AbstractCafeBabe...
Java
mit
error: pathspec 'yukicoder/292_芸名/Main.java' did not match any file(s) known to git
533708f6a0f8891190abe860dd3e1a12a9976912
1
KoKumagai/exercises,KoKumagai/exercises,KoKumagai/exercises
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); char[] stageName = sc.next().toCharArray(); int masterA = sc.nextInt(); int masterB = sc.nextInt(); for (int i = 0; i < stageName.length; i++) { ...
yukicoder/292_芸名/Main.java
292 : 芸名
yukicoder/292_芸名/Main.java
292 : 芸名
<ide><path>ukicoder/292_芸名/Main.java <add>import java.util.Scanner; <add> <add>public class Main { <add> <add> public static void main(String[] args) { <add> <add> Scanner sc = new Scanner(System.in); <add> <add> char[] stageName = sc.next().toCharArray(); <add> <add> int masterA = sc.nextInt();...
Java
bsd-3-clause
9cd5d3b4438667394ab98895c75b4e1a2f8e76a0
0
CloudCom/nanohttpd,anandsadu/nanohttpd,andreivisan/nanohttpd,harshjv/nanohttpd,eighthave/nanohttpd,McFoggy/nanohttpd,updowndown/nanohttpd,WilliamDo/nanohttpd,ouya/nanohttpd,gushedaoren/nanohttpd,android-ia/platform_external_nanohttpd,dmitrykolesnikovich/nanohttpd,updowndown/nanohttpd,ma5069073/nanohttpd,WilliamDo/nanoh...
package fi.iki.elonen; import java.io.*; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.URLDecoder; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.text.SimpleDateFormat; import java.util.*; /** * A simple, tiny, nicely embeddabl...
core/src/main/java/fi/iki/elonen/NanoHTTPD.java
package fi.iki.elonen; import java.io.*; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; import java.net.URLDecoder; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.text.SimpleDateFormat; import java.util.*; /** * A simple, tiny, nicely embeddabl...
Adding safeClose() methods to cleanup stream/socket closing
core/src/main/java/fi/iki/elonen/NanoHTTPD.java
Adding safeClose() methods to cleanup stream/socket closing
<ide><path>ore/src/main/java/fi/iki/elonen/NanoHTTPD.java <ide> @Override <ide> public void run() { <ide> session.run(); <del> try { <del> finalAccept.close(); <del> ...
Java
mit
242461270a90f6509ed66a2027e6c3356e65b946
0
goose2460/game_author_cs308,thewillchang/VoogaSalad,kevinli194/voogasalad_BitsPlease
package data; import engine.actions.Action; import engine.conditions.Condition; import engine.gameObject.GameObject; import engine.gameObject.components.Component; import engine.level.Level; import engine.physics.Force; import engine.physics.Scalar; import gamePlayer.model.DataWrapper; import java.io.BufferedReader; i...
src/data/DataManager.java
package data; import engine.actions.Action; import engine.conditions.Condition; import engine.gameObject.GameObject; import engine.gameObject.components.Component; import engine.level.Level; import engine.physics.Force; import engine.physics.Scalar; import gamePlayer.model.DataWrapper; import java.io.BufferedReader; i...
Fixing small bug in datamanager
src/data/DataManager.java
Fixing small bug in datamanager
<ide><path>rc/data/DataManager.java <ide> public class DataManager { <ide> <ide> private GsonBuilder gson; <del>// private static final String gameDatapath = "src/data/games/"; <add> private static final String gameDatapath = "src/data/games/"; <ide> // private static final String progressDatapath = "src/data/progre...
Java
apache-2.0
4254987324a444491eb4309fd792ca016dc7415d
0
struts-community-plugins/struts2-jquery,struts-community-plugins/struts2-jquery,struts-community-plugins/struts2-jquery,sdutry/struts2-jquery,sdutry/struts2-jquery,sdutry/struts2-jquery
/* * 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 ...
struts2-jquery-grid-plugin/src/main/java/com/jgeppert/struts2/jquery/grid/components/Grid.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 ...
Remove empty <p> tag
struts2-jquery-grid-plugin/src/main/java/com/jgeppert/struts2/jquery/grid/components/Grid.java
Remove empty <p> tag
<ide><path>truts2-jquery-grid-plugin/src/main/java/com/jgeppert/struts2/jquery/grid/components/Grid.java <ide> <ide> package com.jgeppert.struts2.jquery.grid.components; <ide> <del>import javax.servlet.http.HttpServletRequest; <del>import javax.servlet.http.HttpServletResponse; <del> <add>import com.jgeppert.struts2....
Java
apache-2.0
d7f88ad51083a16cd79cf279068ca25e5d49cadb
0
mglukhikh/intellij-community,slisson/intellij-community,michaelgallacher/intellij-community,pwoodworth/intellij-community,da1z/intellij-community,jagguli/intellij-community,fitermay/intellij-community,nicolargo/intellij-community,MER-GROUP/intellij-community,pwoodworth/intellij-community,allotria/intellij-community,FHa...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/ModulesConfigurator.java
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
language level change may initiate dumb mode
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/ModulesConfigurator.java
language level change may initiate dumb mode
<ide><path>ava/idea-ui/src/com/intellij/openapi/roots/ui/configuration/ModulesConfigurator.java <ide> import com.intellij.openapi.roots.ui.configuration.projectRoot.daemon.ModuleProjectStructureElement; <ide> import com.intellij.openapi.ui.Messages; <ide> import com.intellij.openapi.util.Disposer; <add>import com.intel...
Java
mit
342d6e8c014132f6635c6d4941083eb8eec40e39
0
commercetools/commercetools-payone-integration,commercetools/commercetools-payone-integration
package com.commercetools.pspadapter.payone.transaction; import com.commercetools.pspadapter.payone.domain.ctp.CustomTypeBuilder; import com.commercetools.pspadapter.payone.domain.ctp.PaymentWithCartLike; import com.commercetools.pspadapter.payone.mapping.CustomFieldKeys; import com.google.common.cache.LoadingCache; i...
service/src/main/java/com/commercetools/pspadapter/payone/transaction/IdempotentTransactionExecutor.java
package com.commercetools.pspadapter.payone.transaction; import com.commercetools.pspadapter.payone.domain.ctp.CustomTypeBuilder; import com.commercetools.pspadapter.payone.domain.ctp.PaymentWithCartLike; import com.commercetools.pspadapter.payone.mapping.CustomFieldKeys; import com.google.common.cache.LoadingCache; i...
#175: improve doc
service/src/main/java/com/commercetools/pspadapter/payone/transaction/IdempotentTransactionExecutor.java
#175: improve doc
<ide><path>ervice/src/main/java/com/commercetools/pspadapter/payone/transaction/IdempotentTransactionExecutor.java <ide> * Whether the transaction was executed and nothing else can be done by the executor. <ide> * <ide> * @param paymentWithCartLike payment/cart, which has to be verified <del> * @para...
Java
mit
63727f71fe7c8183c5b3e1bbb1bc988770269375
0
dbsoftcombr/dbssdk
package br.com.dbsoft.util; import java.math.BigDecimal; import java.math.MathContext; import java.math.RoundingMode; import java.text.DecimalFormat; import java.text.ParseException; import java.util.List; import java.util.Locale; import org.apache.commons.math3.distribution.NormalDistribution; import org.apache.comm...
src/main/java/br/com/dbsoft/util/DBSNumber.java
package br.com.dbsoft.util; import java.math.BigDecimal; import java.math.MathContext; import java.math.RoundingMode; import java.text.DecimalFormat; import java.text.ParseException; import java.util.List; import java.util.Locale; import org.apache.commons.math3.distribution.NormalDistribution; import org.apache.comm...
Documentação.
src/main/java/br/com/dbsoft/util/DBSNumber.java
Documentação.
<ide><path>rc/main/java/br/com/dbsoft/util/DBSNumber.java <ide> //------------------------------------------------------------------------------------ <ide> <ide> /** <del> * Logaritmo <add> * Logaritmo Natural <ide> * @param pX Valor que se deseja retornar o Log <ide> * @return Restorna log do pX <ide> */ ...
Java
apache-2.0
0c510eb159fbc7348aa7c9fa8840a309a3e7e92d
0
OpenSextant/Xponents,OpenSextant/Xponents,OpenSextant/Xponents
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software ...
Extraction/src/main/java/org/opensextant/extractors/geo/GazetteerMatcher.java
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software ...
moved TagFilter to other class
Extraction/src/main/java/org/opensextant/extractors/geo/GazetteerMatcher.java
moved TagFilter to other class
<ide><path>xtraction/src/main/java/org/opensextant/extractors/geo/GazetteerMatcher.java <ide> //* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| <ide> //*/ <ide> import java.io.IOException; <del>import java.io.InputStream; <del>import java.io.Reader; <del>import java.io.InputStreamReader;...
JavaScript
mit
39959e5549687d89b3dbb546c1f9d744a865fd3b
0
dekelcohen/babel,amasad/babel,abdulsam/babel,kedromelon/babel,lastjune/babel,DmitrySoshnikov/babel,PolymerLabs/babel,zjmiller/babel,jaredly/babel,maurobringolf/babel,hryniu555/babel,ccschneidr/babel,framewr/babel,megawac/babel,krasimir/babel,jnuine/babel,zorosteven/babel,johnamiahford/babel,hzoo/babel,DmitrySoshnikov/b...
var VISITOR_KEYS = require("./visitor-keys"); var _ = require("lodash"); var traverse = module.exports = function (parent, callbacks, blacklistTypes) { // falsy node if (!parent) return; // array of nodes if (_.isArray(parent)) { _.each(parent, function (node) { traverse(node, callbacks, ...
lib/6to5/traverse/index.js
var VISITOR_KEYS = require("./visitor-keys"); var _ = require("lodash"); var traverse = module.exports = function (parent, callbacks, blacklistTypes) { if (!parent) return; if (_.isArray(parent)) { _.each(parent, function (node) { traverse(node, callbacks, blacklistTypes); }); return;...
more traverse comments
lib/6to5/traverse/index.js
more traverse comments
<ide><path>ib/6to5/traverse/index.js <ide> var _ = require("lodash"); <ide> <ide> var traverse = module.exports = function (parent, callbacks, blacklistTypes) { <add> // falsy node <ide> if (!parent) return; <ide> <add> // array of nodes <ide> if (_.isArray(parent)) { <ide> _.each(parent, functio...
Java
agpl-3.0
ca4fd291f4eef9e2c1d465fd69cad3c1297ec689
0
ProtocolSupport/ProtocolSupport
package protocolsupport.zplatform.impl.spigot.block; import java.lang.reflect.Field; import java.util.function.Consumer; import net.minecraft.server.v1_16_R3.Block; import net.minecraft.server.v1_16_R3.BlockCarpet; import net.minecraft.server.v1_16_R3.BlockIronBars; import net.minecraft.server.v1_16_R3.BlockLadder; i...
src/protocolsupport/zplatform/impl/spigot/block/SpigotBlocksBoundsAdjust.java
package protocolsupport.zplatform.impl.spigot.block; import java.lang.reflect.Field; import java.util.function.Consumer; import net.minecraft.server.v1_16_R3.Block; import net.minecraft.server.v1_16_R3.BlockCarpet; import net.minecraft.server.v1_16_R3.BlockIronBars; import net.minecraft.server.v1_16_R3.BlockLadder; i...
Do not interrupt load on block bounds update failure The protocol translation layer will still work without block bounds changes
src/protocolsupport/zplatform/impl/spigot/block/SpigotBlocksBoundsAdjust.java
Do not interrupt load on block bounds update failure
<ide><path>rc/protocolsupport/zplatform/impl/spigot/block/SpigotBlocksBoundsAdjust.java <ide> import net.minecraft.server.v1_16_R3.Blocks; <ide> import net.minecraft.server.v1_16_R3.VoxelShape; <ide> import net.minecraft.server.v1_16_R3.VoxelShapes; <add>import protocolsupport.ProtocolSupport; <ide> import protocolsupp...
Java
apache-2.0
32e6bcc823be7a9867aefe87f0cef9f0bf47ab7c
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.refactoring.inline; import com.intellij.CommonBundle; import com.intellij.codeInsight.TargetElementUtil; import com.intellij.java.refactoring.JavaRefactorin...
java/java-impl/src/com/intellij/refactoring/inline/InlineMethodHandler.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.refactoring.inline; import com.intellij.CommonBundle; import com.intellij.codeInsight.TargetElementUtil; import com.intellij.java.refactoring.JavaRefactorin...
Fix project leak (_LastInSuiteTest.testProjectLeak) in inline tests `dialog.close` should be called because it disposes `myDisposable` inside This commit fixes project leak in `InlineTestGenerated.NamedFunction.FromFinalJavaToKotlin#testConstructorCall` test Leak stacktrace: ``` Disposer.register() stacktrace: at c...
java/java-impl/src/com/intellij/refactoring/inline/InlineMethodHandler.java
Fix project leak (_LastInSuiteTest.testProjectLeak) in inline tests
<ide><path>ava/java-impl/src/com/intellij/refactoring/inline/InlineMethodHandler.java <ide> } <ide> InlineMethodDialog dialog = new InlineMethodDialog(project, method, reference, editor, allowInlineThisOnly); <ide> if (ApplicationManager.getApplication().isUnitTestMode()) { <del> dialog.doAction(); <de...
Java
apache-2.0
1c136446ac54005dc35e2815ace98cbbe5da3127
0
kef/hieos,kef/hieos,kef/hieos
/* * This code is subject to the HIEOS License, Version 1.0 * * Copyright(c) 2011 Vangent, Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either ...
src/pip/src/com/vangent/hieos/services/pip/serviceimpl/PIP.java
/* * This code is subject to the HIEOS License, Version 1.0 * * Copyright(c) 2011 Vangent, Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either ...
Adjusted how beginTransaction works.
src/pip/src/com/vangent/hieos/services/pip/serviceimpl/PIP.java
Adjusted how beginTransaction works.
<ide><path>rc/pip/src/com/vangent/hieos/services/pip/serviceimpl/PIP.java <ide> package com.vangent.hieos.services.pip.serviceimpl; <ide> <ide> import com.vangent.hieos.services.pip.transactions.PIPRequestHandler; <del>import com.vangent.hieos.xutil.exception.XMLParserException; <ide> import com.vangent.hieos.xutil.se...
Java
apache-2.0
484dee4c4b7b588b983c816e8c994d6dd8f3a3ec
0
sbespalov/strongbox,strongbox/strongbox,strongbox/strongbox,sbespalov/strongbox,sbespalov/strongbox,sbespalov/strongbox,strongbox/strongbox,strongbox/strongbox
package org.carlspring.strongbox.config; import org.carlspring.strongbox.data.CacheName; import com.hazelcast.config.Config; import com.hazelcast.config.EvictionConfig; import com.hazelcast.config.EvictionConfig.MaxSizePolicy; import com.hazelcast.config.EvictionPolicy; import com.hazelcast.config.GroupConfig; import...
strongbox-data-service/src/main/java/org/carlspring/strongbox/config/HazelcastConfiguration.java
package org.carlspring.strongbox.config; import org.carlspring.strongbox.data.CacheName; import com.hazelcast.config.Config; import com.hazelcast.config.EvictionConfig; import com.hazelcast.config.EvictionConfig.MaxSizePolicy; import com.hazelcast.config.EvictionPolicy; import com.hazelcast.config.MapConfig; import c...
Issue 1038: Fix the deprecation warnings in the strongbox-data-service module The issue is caused because the setPassword method in GroupConfig class is deprecated. Replaced the code with the 2-parameter constructor call.
strongbox-data-service/src/main/java/org/carlspring/strongbox/config/HazelcastConfiguration.java
Issue 1038: Fix the deprecation warnings in the strongbox-data-service module
<ide><path>trongbox-data-service/src/main/java/org/carlspring/strongbox/config/HazelcastConfiguration.java <ide> import com.hazelcast.config.EvictionConfig; <ide> import com.hazelcast.config.EvictionConfig.MaxSizePolicy; <ide> import com.hazelcast.config.EvictionPolicy; <add>import com.hazelcast.config.GroupConfig; <id...
Java
apache-2.0
e23740aecdf20d18fcdce46153c087a99bf5b2c3
0
mugglmenzel/presto,mono-plane/presto,pnowojski/presto,smartpcr/presto,jf367/presto,tellproject/presto,tellproject/presto,suyucs/presto,hgschmie/presto,wyukawa/presto,wagnermarkd/presto,wrmsr/presto,sumitkgec/presto,TeradataCenterForHadoop/bootcamp,stewartpark/presto,prestodb/presto,stewartpark/presto,youngwookim/presto...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
presto-hive/src/main/java/com/facebook/presto/hive/HiveClient.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Fix overly broad catch
presto-hive/src/main/java/com/facebook/presto/hive/HiveClient.java
Fix overly broad catch
<ide><path>resto-hive/src/main/java/com/facebook/presto/hive/HiveClient.java <ide> try { <ide> columns.put(tableName, getTableMetadata(tableName).getColumns()); <ide> } <del> catch (RuntimeException e) { <add> catch (TableNotFoundException e) { <add> ...
Java
apache-2.0
9b03a0c62341f79534eeeec61ccbe166d03ac5a6
0
tommycli/libgdx,firefly2442/libgdx,fwolff/libgdx,Gliby/libgdx,jasonwee/libgdx,Zonglin-Li6565/libgdx,shiweihappy/libgdx,kotcrab/libgdx,gdos/libgdx,alex-dorokhov/libgdx,ninoalma/libgdx,katiepino/libgdx,mumer92/libgdx,ricardorigodon/libgdx,Arcnor/libgdx,sjosegarcia/libgdx,del-sol/libgdx,katiepino/libgdx,Senth/libgdx,Mathi...
/* * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at * * http://www.apache.org/...
gdx/src/com/badlogic/gdx/math/Vector2.java
/* * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at * * http://www.apache.org/...
[added] cross product to Vector2
gdx/src/com/badlogic/gdx/math/Vector2.java
[added] cross product to Vector2
<ide><path>dx/src/com/badlogic/gdx/math/Vector2.java <ide> this.y = y; <ide> return this; <ide> } <add> <add> /** <add> * Calculates the 2D cross product between this <add> * and the given vector. <add> * @param v the other vector <add> * @return the cross product <add> */ <add> public float crs(Vector2 v) {...
Java
apache-2.0
4d59b0fa6b9abd6f24243671d41866cf48c8d484
0
apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj
/* * 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 ...
uimaj-core/src/test/java/org/apache/uima/impl/UimaContext_implTest.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 ...
[UIMA-6474] Switch to getDataPathElements() in UimaContext - Simplyify test code using a data path array instead of a list
uimaj-core/src/test/java/org/apache/uima/impl/UimaContext_implTest.java
[UIMA-6474] Switch to getDataPathElements() in UimaContext
<ide><path>imaj-core/src/test/java/org/apache/uima/impl/UimaContext_implTest.java <ide> <ide> package org.apache.uima.impl; <ide> <del>import static java.util.Arrays.asList; <ide> import static org.assertj.core.api.Assertions.assertThat; <ide> import static org.junit.Assert.assertEquals; <ide> import static org.junit...
Java
mit
5b18fa0cb930401702ffcb5da51dbd347afeeb52
0
rejasupotaro/octodroid,rejasupotaro/octodroid
package com.rejasupotaro.octodroid.http; import android.text.TextUtils; import com.google.gson.JsonSyntaxException; import com.google.gson.reflect.TypeToken; import com.rejasupotaro.octodroid.GsonProvider; import com.squareup.okhttp.Headers; import org.json.JSONException; import org.json.JSONObject; import java.io....
library/src/main/java/com/rejasupotaro/octodroid/http/Response.java
package com.rejasupotaro.octodroid.http; import android.text.TextUtils; import com.google.gson.reflect.TypeToken; import com.rejasupotaro.octodroid.GsonProvider; import com.squareup.okhttp.Headers; import org.json.JSONException; import org.json.JSONObject; import java.io.IOException; import rx.Observable; public ...
Kindful error message
library/src/main/java/com/rejasupotaro/octodroid/http/Response.java
Kindful error message
<ide><path>ibrary/src/main/java/com/rejasupotaro/octodroid/http/Response.java <ide> <ide> import android.text.TextUtils; <ide> <add>import com.google.gson.JsonSyntaxException; <ide> import com.google.gson.reflect.TypeToken; <ide> import com.rejasupotaro.octodroid.GsonProvider; <ide> import com.squareup.okhttp.Headers...
JavaScript
mit
253bf900d4c250825597f3dc1fad1a9ee954cd5c
0
KPblCEHblLLl/app-router,KPblCEHblLLl/app-router
// @license Copyright (C) 2015 Erik Ringsmuth - MIT license (function (window, document) { var utilities = {}; var importedURIs = {}; var isIE = 'ActiveXObject' in window; var previousUrl = {}; // <app-router [init="auto|manual"] [mode="auto|hash|pushstate"] [trailingSlash="strict|ignore"] [shadow]></app-rou...
app-router.js
// @license Copyright (C) 2015 Erik Ringsmuth - MIT license !function(t,e){function r(t,r,a){var i=e.createEvent("CustomEvent");return i.initCustomEvent(t,!1,!0,r),a.dispatchEvent(i)}function a(t){var e=t.parseUrl();if(e.hash!==m.hash&&e.path===m.path&&e.search===m.search&&e.isHashPath===m.isHashPath)return void f(e.ha...
feat(mp-profile): сделал рабочей кнопку перехода на профиль фрила
app-router.js
feat(mp-profile): сделал рабочей кнопку перехода на профиль фрила
<ide><path>pp-router.js <ide> // @license Copyright (C) 2015 Erik Ringsmuth - MIT license <del>!function(t,e){function r(t,r,a){var i=e.createEvent("CustomEvent");return i.initCustomEvent(t,!1,!0,r),a.dispatchEvent(i)}function a(t){var e=t.parseUrl();if(e.hash!==m.hash&&e.path===m.path&&e.search===m.search&&e.isHashPat...
JavaScript
mit
60f3170efe459c2f4eaac3e15bbdd7cb21981165
0
sitcomlab/Ethics-app,sitcomlab/Ethics-app,sitcomlab/Ethics-app
var app = angular.module("authenticationService", []); // User service app.factory('$authenticationService', function($http, $log, config) { var authenticated_user; return { init: function(){ return { document_id: "", }; }, get: function(){ ...
public/user-client/js/services/authenticationService.js
var app = angular.module("authenticationService", []); // User service app.factory('$authenticationService', function($http, $log, config) { var authenticated_user; return { init: function(){ return { document_id: "1dd60ea6-5717-4c1d-8182-44c558617a3d", }; ...
Changes
public/user-client/js/services/authenticationService.js
Changes
<ide><path>ublic/user-client/js/services/authenticationService.js <ide> return { <ide> init: function(){ <ide> return { <del> document_id: "1dd60ea6-5717-4c1d-8182-44c558617a3d", <add> document_id: "", <ide> }; <ide> }, <ide> get: functio...
Java
agpl-3.0
bf18a22855144c4c11b4cf7609a473ab61e0afe7
0
jaytaylor/sql-layer,ngaut/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,relateiq/sql-layer,shunwang/sql-layer-1,relateiq/sql-layer,shunwang/sql-layer-1,ngaut/sql-layer,shunwang/sql-layer-1,wfxiang08/sql-layer-1,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql...
/** * Copyright (C) 2009-2013 Akiban Technologies, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
src/main/java/com/akiban/qp/operator/ChainedCursor.java
/** * Copyright (C) 2009-2013 Akiban Technologies, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
Best to call close() to get additional state cleared.
src/main/java/com/akiban/qp/operator/ChainedCursor.java
Best to call close() to get additional state cleared.
<ide><path>rc/main/java/com/akiban/qp/operator/ChainedCursor.java <ide> } <ide> <ide> @Override <del> public void cancelBindings(QueryBindings bindings) { <del> input.cancelBindings(bindings); <add> public void cancelBindings(QueryBindings ancestor) { <add> input.cancelBindings(ancestor); <...
Java
mit
68cdbef22de53ad156be267ef5a2c0b72fdc77ef
0
theworldbright/SoundLocker
package me.soundlocker.soundlocker.tasks; import android.app.Activity; import android.app.AlertDialog; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.AsyncTask; import android.util.Log; import java.io.BufferedInputStream; imp...
app/src/main/java/me/soundlocker/soundlocker/tasks/SongImageDownloader.java
package me.soundlocker.soundlocker.tasks; import android.app.Activity; import android.app.AlertDialog; import android.graphics.drawable.Drawable; import android.os.AsyncTask; import android.util.Log; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.net.URL; impo...
Handle non-loading image file with transparent drawable
app/src/main/java/me/soundlocker/soundlocker/tasks/SongImageDownloader.java
Handle non-loading image file with transparent drawable
<ide><path>pp/src/main/java/me/soundlocker/soundlocker/tasks/SongImageDownloader.java <ide> <ide> import android.app.Activity; <ide> import android.app.AlertDialog; <add>import android.graphics.Color; <add>import android.graphics.drawable.ColorDrawable; <ide> import android.graphics.drawable.Drawable; <ide> import and...
JavaScript
mit
a60b38fa8d7adf9d0558e68e4d77e13d201fd17c
0
chrismayu/fullcalendar-rails
/*! * FullCalendar v2.3.2 Google Calendar Plugin * Docs & License: http://fullcalendar.io/ * (c) 2015 Adam Shaw */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery' ], factory); } else if (typeof exports === 'object') { // Node/CommonJS module.exports = factory(requir...
vendor/assets/javascripts/fullcalendar/gcal.js
/*! * FullCalendar v2.3.1 Google Calendar Plugin * Docs & License: http://fullcalendar.io/ * (c) 2015 Adam Shaw */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery' ], factory); } else if (typeof exports === 'object') { // Node/CommonJS module.exports = factory(requir...
Updated goal to version 2.3.2
vendor/assets/javascripts/fullcalendar/gcal.js
Updated goal to version 2.3.2
<ide><path>endor/assets/javascripts/fullcalendar/gcal.js <ide> /*! <del> * FullCalendar v2.3.1 Google Calendar Plugin <add> * FullCalendar v2.3.2 Google Calendar Plugin <ide> * Docs & License: http://fullcalendar.io/ <ide> * (c) 2015 Adam Shaw <ide> */
Java
apache-2.0
4bcf8125e73a31bade0121c14a54c7bd299a867e
0
apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc
/* * Copyright 1999-2015 dangdang.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
sharding-jdbc-core/src/test/java/io/shardingjdbc/core/constant/DatabaseTypeTest.java
/* * Copyright 1999-2015 dangdang.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
add PostgreSQL test for DatabaseTypeTest
sharding-jdbc-core/src/test/java/io/shardingjdbc/core/constant/DatabaseTypeTest.java
add PostgreSQL test for DatabaseTypeTest
<ide><path>harding-jdbc-core/src/test/java/io/shardingjdbc/core/constant/DatabaseTypeTest.java <ide> assertThat(DatabaseType.valueFrom("MySQL"), is(DatabaseType.MySQL)); <ide> assertThat(DatabaseType.valueFrom("Oracle"), is(DatabaseType.Oracle)); <ide> assertThat(DatabaseType.valueFrom("Microsof...
Java
mpl-2.0
971bace1f5491f4c9613184bee4bc0733cdafcf4
0
ajschult/etomica,ajschult/etomica,etomica/etomica,etomica/etomica,etomica/etomica,ajschult/etomica
/* * Created on May 8, 2006 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package etomica.meam; import etomica.atom.AtomLeaf; import etomica.atom.AtomPair; import etomica.atom.AtomSet; import etomica.phase.Phase; import etomica.potenti...
etomica.apps/etomica/meam/PotentialMEAM.java
/* * Created on May 8, 2006 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package etomica.meam; import etomica.atom.AtomLeaf; import etomica.atom.AtomPair; import etomica.atom.AtomSet; import etomica.phase.Phase; import etomica.potenti...
*** empty log message ***
etomica.apps/etomica/meam/PotentialMEAM.java
*** empty log message ***
<ide><path>tomica.apps/etomica/meam/PotentialMEAM.java <ide> public double energy(AtomSet atoms) { <ide> double rhoi = rhoi(); <ide> double F = p.A * p.Ec * (rhoi/p.Z) * Math.log(rhoi/p.Z); <del> return F + (0.5*Sum.phi); <add> return F + (0.5*sum[PHI]); <ide> } <ide> <ide> /* (non-Javadoc)
Java
mit
604f4efc2eb7511d278a3722887fc4e6d7b166e8
0
auricgoldfinger/Memento-Namedays,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar
package com.alexstyl.specialdates.events.peopleevents; import android.content.ContentValues; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import com.alexstyl.specialdates.ErrorTracker; import com.alexstyl.specialdates.events.database.EventSQLiteOpenHelper; import com.alexstyl.s...
mobile/src/main/java/com/alexstyl/specialdates/events/peopleevents/PeopleEventsPersister.java
package com.alexstyl.specialdates.events.peopleevents; import android.content.ContentValues; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import com.alexstyl.specialdates.ErrorTracker; import com.alexstyl.specialdates.events.database.EventSQLiteOpenHelper; import com.alexstyl.s...
Bail quickly if no values ContentValues are passed
mobile/src/main/java/com/alexstyl/specialdates/events/peopleevents/PeopleEventsPersister.java
Bail quickly if no values ContentValues are passed
<ide><path>obile/src/main/java/com/alexstyl/specialdates/events/peopleevents/PeopleEventsPersister.java <ide> } <ide> <ide> private void insertEventsInTable(ContentValues[] values, String tableName) { <add> if (values.length == 0) { <add> return; <add> } <ide> SQLiteDatabase da...
Java
apache-2.0
0d6a998b9941e15fa4b4d31ef9813aad84abd2ce
0
alvinkwekel/camel,christophd/camel,gautric/camel,kevinearls/camel,akhettar/camel,nicolaferraro/camel,cunningt/camel,nicolaferraro/camel,akhettar/camel,isavin/camel,sverkera/camel,akhettar/camel,jamesnetherton/camel,dmvolod/camel,pax95/camel,zregvart/camel,objectiser/camel,kevinearls/camel,tdiesler/camel,snurmine/camel,...
/** * 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...
camel-core/src/main/java/org/apache/camel/StartupListener.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...
Polish javadoc due user forum issue
camel-core/src/main/java/org/apache/camel/StartupListener.java
Polish javadoc due user forum issue
<ide><path>amel-core/src/main/java/org/apache/camel/StartupListener.java <ide> * is invoked. <ide> * <p/> <ide> * The state of {@link CamelContext} may still be in <tt>starting</tt> when this callback is invoked, this is by design. <del> * The callback is invoked as the last step during all the processes that occur ...
JavaScript
mit
7e51f9b74528eb5d6a930a6ed2f68e09b96491a6
0
prgmrbill/pizza-time,prgmrbill/pizza-time,butterscotchstallion/pizza-time,butterscotchstallion/pizza-time
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var tokenAuth = require('./middleware/tokenAuth'); var exphbs = require('express-handlebars'); var ...
app/app.js
var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var app = express(); // view engine setup app.set('views', path.join(__dirname, 'views')); app.set(...
Redirects all routes to index to support html5Mode
app/app.js
Redirects all routes to index to support html5Mode
<ide><path>pp/app.js <ide> var logger = require('morgan'); <ide> var cookieParser = require('cookie-parser'); <ide> var bodyParser = require('body-parser'); <add>var tokenAuth = require('./middleware/tokenAuth'); <add>var exphbs = require('express-handlebars'); <add>var fs = require('fs'); <ide> var app = express(); <...
Java
apache-2.0
634abbf8a23a64f181076ff4da50cffa2e65372b
0
trivago/triava
/********************************************************************************* * Copyright 2016-present trivago GmbH * * 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:/...
src/main/java/com/trivago/triava/tcache/core/TCacheEntryIterator.java
/********************************************************************************* * Copyright 2016-present trivago GmbH * * 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:/...
SAE-120 Iterator checks Holder validity The Iterator now respects the Holder validity, even if elements get invalid during the iteration. Invalid holders are now roperly skipped.
src/main/java/com/trivago/triava/tcache/core/TCacheEntryIterator.java
SAE-120 Iterator checks Holder validity
<ide><path>rc/main/java/com/trivago/triava/tcache/core/TCacheEntryIterator.java <ide> @Override <ide> public boolean hasNext() <ide> { <del> java.util.Map.Entry<K, AccessTimeObjectHolder<V>> entry = nextInternal(); <add> java.util.Map.Entry<K, AccessTimeObjectHolder<V>> entry = peekNext(); <ide> if (entry == nul...
Java
mit
c1a2a691f0891ac57f76b3b59bfb04415324dc78
0
phenoscape/Phenex,phenoscape/Phenex
package org.phenoscape.bridge; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.UUID; import org.obd.model.Composition...
src/org/phenoscape/bridge/OBDModelBridge.java
package org.phenoscape.bridge; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.UUID; import org.obd.model.Composition...
Added better formatting of error lines
src/org/phenoscape/bridge/OBDModelBridge.java
Added better formatting of error lines
<ide><path>rc/org/phenoscape/bridge/OBDModelBridge.java <ide> } <ide> } <ide> } <del> else{ <del> bw.append("Usable name not specified for taxon with publication name: " + t.getPublicationName() + "\n"); <del> } <ide> } <ide> <ide> // link dataset to characters used in that dataset <ide> ...
JavaScript
mit
64d6f35b9766de85e10005d1807b676cbed815bd
0
ksmaheshkumar/owasp-password-strength-test,garth/owasp-password-strength-test,jloveland/owasp-password-strength-test,nowsecure/owasp-password-strength-test,GladiusK/owasp-password-strength-test
/* globals define */ (function (root, factory) { if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.owaspPasswordStrengthTest = factory(); } }(this, function () { var owasp = {}; // These are configuration setti...
owasp-password-strength-test.js
(function(exports) { // These are configuration settings that will be used when testing password // strength exports.configs = { allowPassphrases : true, maxLength : 128, minLength : 10, minPhraseLength : 20, minOptionalTestsToPass : 4, }; // This m...
Added UMD support * Supports CommonJS * Supports AMD * Supports global variable (window.owaspPasswordStrengthTest)
owasp-password-strength-test.js
Added UMD support
<ide><path>wasp-password-strength-test.js <del>(function(exports) { <add>/* globals define */ <add>(function (root, factory) { if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof exports === 'object') { module.exports = factory(); } else { root.owaspPasswordStrengthTest = factory();...
Java
apache-2.0
2c6bcaad8af4e817e6e4aa8ce83c844e51501721
0
jchleborowicz/bobba-commons
package org.bobba.tools.statest.common.util; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Joiner; import com.google.common.collect.Maps; import org.apache.commons.io.FileUtils; import org.apache.commons.lang3.CharUtils; import o...
bobba-statest/src/main/java/org/bobba/tools/statest/common/util/RestTestGenerator.java
package org.bobba.tools.statest.common.util; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Joiner; import com.google.common.collect.Maps; import org.bobba.tools.tests.common.har.HarDeserializer; import org.bobba.tools.tests.commo...
RestTestGenerator corrections.
bobba-statest/src/main/java/org/bobba/tools/statest/common/util/RestTestGenerator.java
RestTestGenerator corrections.
<ide><path>obba-statest/src/main/java/org/bobba/tools/statest/common/util/RestTestGenerator.java <ide> import com.fasterxml.jackson.databind.ObjectMapper; <ide> import com.google.common.base.Joiner; <ide> import com.google.common.collect.Maps; <add>import org.apache.commons.io.FileUtils; <add>import org.apache.commons....
Java
apache-2.0
474de2554ec3bc67a23d02e78b943f9b7c41e226
0
deweytyl/mhctd-JSON
package edu.grinnell.tranchri.cohnhan.deweytyl.hardtmad; import java.util.Queue; /** * JSONSymbolicConstant Class * * @implements JSONValue * * @author Hannah Cohn * @author Ty Dewey * @author Madeleine Hardt * @author Christine Tran */ public class JSONSymbolicConstant implements JSONValue { ...
src/edu/grinnell/tranchri/cohnhan/deweytyl/hardtmad/JSONSymbolicConstant.java
package edu.grinnell.tranchri.cohnhan.deweytyl.hardtmad; import java.util.Queue; /** * JSONSymbolicConstant Class * * @implements JSONValue * * @author Hannah Cohn * @author Ty Dewey * @author Madeleine Hardt * @author Christine Tran */ public class JSONSymbolicConstant implements JSONValue { ...
Removed unused code
src/edu/grinnell/tranchri/cohnhan/deweytyl/hardtmad/JSONSymbolicConstant.java
Removed unused code
<ide><path>rc/edu/grinnell/tranchri/cohnhan/deweytyl/hardtmad/JSONSymbolicConstant.java <ide> * Given a JSON string return a JSONSymbolicConstant object. <ide> * <ide> * @param str <del> * @return JSONSymbolicConstant <add> * @return JSONSymbolicConstantg <ide> * @throws Exception <ide> * ...
Java
bsd-3-clause
40716457786b89b5bcc682d30d9e8551419e6f60
0
Sabissimo/AssistantEnabler
package com.sabik.assistantenabler; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.os.BaseBundle; import android.os.BatteryManager; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import de.robv.android.xposed.IXpose...
java/com/sabik/assistantenabler/AssistantEnabler.java
package com.sabik.assistantenabler; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.os.BaseBundle; import android.os.BatteryManager; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import de.robv.android.xposed.IXpose...
Updated for Google 6.10, not tested yet
java/com/sabik/assistantenabler/AssistantEnabler.java
Updated for Google 6.10, not tested yet
<ide><path>ava/com/sabik/assistantenabler/AssistantEnabler.java <ide> detectionMethod1 = "ro"; <ide> detectionMethod2 = "rq"; <ide> prefsClassName = ".search.core.preferences.bk"; <add> } else if (versionName.matches("6.10.*")) { <add> assistantClassName = ".assista...
Java
apache-2.0
984c3e9689bd5625328ad2c8aa89f7f601b7ef5a
0
magicdoom/Mycat-Server,ccvcd/Mycat-Server,ccvcd/Mycat-Server,magicdoom/Mycat-Server,magicdoom/Mycat-Server,ccvcd/Mycat-Server,magicdoom/Mycat-Server,ccvcd/Mycat-Server
/* * Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software;Designed and Developed mainly by many Chinese * opensource volunteers. you can redistribute it and/or modify it under the * terms ...
src/main/java/io/mycat/sqlengine/mpp/UnsafeRowGrouper.java
/* * Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software;Designed and Developed mainly by many Chinese * opensource volunteers. you can redistribute it and/or modify it under the * terms ...
修复 max(col) 或者 min(col),col列为数值型时,结果错误.
src/main/java/io/mycat/sqlengine/mpp/UnsafeRowGrouper.java
修复 max(col) 或者 min(col),col列为数值型时,结果错误.
<ide><path>rc/main/java/io/mycat/sqlengine/mpp/UnsafeRowGrouper.java <ide> } <ide> <ide> case MergeCol.MERGE_MAX: { <del> int compare = BytesTools.compareTo(bs, bs2); <add> int compare = ByteUtil.compareNumberByte(bs,bs2); <ide> return (compare > 0) ? bs : bs2; <ide> } <ide> <ide> case MergeCol....
Java
apache-2.0
912f756695cda5eceae6e52639dfa9b2f7b4da7d
0
toddlipcon/cassandra,toddlipcon/cassandra,toddlipcon/cassandra,toddlipcon/cassandra,toddlipcon/cassandra,toddlipcon/cassandra,toddlipcon/cassandra
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
src/com/facebook/infrastructure/service/CassandraImpl.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...
Summary: changing variable name from "peerStorageServer" to "cassandraServer" Issue: None Author: jeff.hammerbacher git-svn-id: aa02f5ac8d6677a017cb8d002969a77cc7228c52@23 fb539927-1251-0410-86c0-f5eed957eeac
src/com/facebook/infrastructure/service/CassandraImpl.java
Summary: changing variable name from "peerStorageServer" to "cassandraServer"
<ide><path>rc/com/facebook/infrastructure/service/CassandraImpl.java <ide> int port = DatabaseDescriptor.getThriftPort(); <ide> try <ide> { <del> CassandraImpl peerStorageServer = new CassandraImpl(); <del> peerStorageServer.start(); <del> Cassandra.Processor processor = new Cassandra.Processo...
JavaScript
mit
2258e26f35ea27c2419a477bf455969826caa29a
0
otakustay/react-diff-view,otakustay/react-diff-view
import {flatMap, last, keyBy} from 'lodash'; import {computeOldLineNumber, computeNewLineNumber} from '../utils'; const applyDiff = (oldSource, hunks) => { const lines = oldSource.split('\n'); const changes = hunks.reduce( (changes, hunk) => changes.concat(hunk.changes), [] ); const [p...
src/tokenize/toTokenTrees.js
import {flatMap, last, keyBy} from 'lodash'; import {computeOldLineNumber, computeNewLineNumber} from '../utils'; const applyDiff = (oldSource, hunks) => { const lines = oldSource.split('\n'); const changes = hunks.reduce( (changes, hunk) => changes.concat(hunk.changes), [] ); const [p...
Fix the issue where tokenize failed to create tokens from source code when highlight is disabled
src/tokenize/toTokenTrees.js
Fix the issue where tokenize failed to create tokens from source code when highlight is disabled
<ide><path>rc/tokenize/toTokenTrees.js <ide> const createRoot = children => ({type: 'root', children: children}); <ide> <ide> export default (hunks, {highlight, refractor, oldSource, language}) => { <del> if (highlight && oldSource) { <add> if (oldSource) { <ide> const newSource = applyDiff(oldSource, hu...
Java
lgpl-2.1
e30a61f4c06830c8edd34f306bc897061e5f1c8d
0
Sanne/hibernate-ogm,Sanne/hibernate-ogm,DavideD/hibernate-ogm,schernolyas/hibernate-ogm,DavideD/hibernate-ogm,hibernate/hibernate-ogm,Sanne/hibernate-ogm,hibernate/hibernate-ogm,schernolyas/hibernate-ogm,Sanne/hibernate-ogm,DavideD/hibernate-ogm,schernolyas/hibernate-ogm,DavideD/hibernate-ogm,hibernate/hibernate-ogm,hi...
/* * Hibernate OGM, Domain model persistence for NoSQL datastores * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.ogm.datastore.mongodb; import static java.lang.Boolea...
mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/MongoDBDialect.java
/* * Hibernate OGM, Domain model persistence for NoSQL datastores * * License: GNU Lesser General Public License (LGPL), version 2.1 or later * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.ogm.datastore.mongodb; import static java.lang.Boolea...
OGM-1290 When avoiding the NPE, keep adding the update to the list of changes to apply to the document
mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/MongoDBDialect.java
OGM-1290 When avoiding the NPE, keep adding the update to the list of changes to apply to the document
<ide><path>ongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/MongoDBDialect.java <ide> } <ide> else { <ide> // The association is updated on an existing document <add> addSetToQuery( updateStatement, collectionRole, toStore ); <add> <ide> Document document = getDocument( association, a...
Java
apache-2.0
6e61f9b5ad9677985e5af15a7738efd007fb27b1
0
kdwink/intellij-community,holmes/intellij-community,clumsy/intellij-community,allotria/intellij-community,dslomov/intellij-community,clumsy/intellij-community,akosyakov/intellij-community,muntasirsyed/intellij-community,slisson/intellij-community,pwoodworth/intellij-community,retomerz/intellij-community,ThiagoGarciaAlv...
package com.intellij.remoteServer.util; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.intell...
plugins/git4idea/remote-servers-git/src/com/intellij/remoteServer/util/CloudGitDeploymentRuntime.java
package com.intellij.remoteServer.util; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.components.ServiceManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.intell...
IDEA-138742 - There is no push (just a commit) on the very first deploy to Heroku
plugins/git4idea/remote-servers-git/src/com/intellij/remoteServer/util/CloudGitDeploymentRuntime.java
IDEA-138742 - There is no push (just a commit) on the very first deploy to Heroku
<ide><path>lugins/git4idea/remote-servers-git/src/com/intellij/remoteServer/util/CloudGitDeploymentRuntime.java <ide> GitRepository repository = findOrCreateRepository(); <ide> addOrResetGitRemote(application, repository); <ide> <del> if (firstDeploy) { <add> final LocalChangeList activeChangeList = myCh...
Java
apache-2.0
de13ec1b19f98e52e45f4789887552882920e693
0
tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2001-2002 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 General Public License as published by the Free Software Foundation; either version 2 of the L...
src/com/ecyrd/jspwiki/TranslatorReader.java
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2001-2002 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 General Public License as published by the Free Software Foundation; either version 2 of the L...
Fixed problem with multiple [[s not working properly. git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@621981 13f79535-47bb-0310-9956-ffa450edef68
src/com/ecyrd/jspwiki/TranslatorReader.java
Fixed problem with multiple [[s not working properly.
<ide><path>rc/com/ecyrd/jspwiki/TranslatorReader.java <ide> return line; <ide> } <ide> <del> /** <del> * Gobbles up all hyperlinks that are encased in square brackets. <del> */ <del> /* <del> OBSOLETE <del> private String setHyperLinksOld( String line ) <del> { <del> int st...
Java
apache-2.0
655e024d8972129e3a0b02b69f7defff7f9a9d71
0
suncycheng/intellij-community,xfournet/intellij-community,signed/intellij-community,semonte/intellij-community,signed/intellij-community,vvv1559/intellij-community,vvv1559/intellij-community,apixandru/intellij-community,FHannes/intellij-community,asedunov/intellij-community,ibinti/intellij-community,signed/intellij-com...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/util/src/com/intellij/openapi/util/Computable.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...
util: (minor) Suppress unchecked cast in NullableCachedComputable
platform/util/src/com/intellij/openapi/util/Computable.java
util: (minor) Suppress unchecked cast in NullableCachedComputable
<ide><path>latform/util/src/com/intellij/openapi/util/Computable.java <ide> final T value = internalCompute(); <ide> myValue = value != null ? value : NULL_VALUE; <ide> } <add> //noinspection unchecked <ide> return myValue != NULL_VALUE ? (T)myValue : null; <ide> } <ide> }
Java
apache-2.0
7db51fa95ad99190bc5705befdddeaab3c74bfbc
0
ol-loginov/intellij-community,semonte/intellij-community,apixandru/intellij-community,MichaelNedzelsky/intellij-community,da1z/intellij-community,supersven/intellij-community,fengbaicanhe/intellij-community,dslomov/intellij-community,retomerz/intellij-community,holmes/intellij-community,fitermay/intellij-community,akos...
/* * Copyright 2000-2008 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...
plugins/Copyright/src/com/maddyhome/idea/copyright/actions/UpdateCopyrightCheckinHandlerFactory.java
/* * User: anna * Date: 08-Dec-2008 */ package com.maddyhome.idea.copyright.actions; import com.intellij.openapi.components.PersistentStateComponent; import com.intellij.openapi.components.RoamingType; import com.intellij.openapi.components.State; import com.intellij.openapi.components.Storage; import com.intellij.ope...
copyright
plugins/Copyright/src/com/maddyhome/idea/copyright/actions/UpdateCopyrightCheckinHandlerFactory.java
copyright
<ide><path>lugins/Copyright/src/com/maddyhome/idea/copyright/actions/UpdateCopyrightCheckinHandlerFactory.java <add>/* <add> * Copyright 2000-2008 JetBrains s.r.o. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <...
JavaScript
mit
447a9234026fa2a58a340e9dc621775b60ce588c
0
supercrabtree/hashbow
var expect = require('chai').expect , hashbow = require('../index.js'); describe('Hashbow', function () { it('should turn a String into a hex value', function () { var results = hashbow('some-kind-of-string', 60, 50); expect(results).to.be.a('string'); expect(results.charAt(0)).to.equal('#'); exp...
tests/test.js
var expect = require('chai').expect , hashbow = require('../index.js'); describe('Hashbow', function () { it('should turn a String into a hex value', function () { var results = hashbow('some-kind-of-string', 60, 50); expect(results).to.be.a('string'); expect(results.charAt(0)).to.equal('#'); exp...
added number and object tests
tests/test.js
added number and object tests
<ide><path>ests/test.js <ide> expect(results).not.to.have.length(5); <ide> expect(results).not.to.have.length(6); <ide> }); <add> <add> it('should turn a Boolean into a hex value', function () { <add> <add> var results = hashbow(true, 100, 50); <add> <add> expect(results).to.be.a('string'); <add> ex...
Java
lgpl-2.1
6a1f8d1f29e676333935df3606ee58f1dcbfc102
0
MenZil/opencms-core,alkacon/opencms-core,victos/opencms-core,gallardo/opencms-core,sbonoc/opencms-core,ggiudetti/opencms-core,alkacon/opencms-core,sbonoc/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,it-tavis/opencms-core,serrapos/opencms-core,MenZil/opencms-core,alkacon/opencms-core,mediaworx/opencms-core,it-...
package com.opencms.file.genericSql; /* * File : $Source: /alkacon/cvs/opencms/src/com/opencms/file/genericSql/Attic/CmsResourceBroker.java,v $ * Date : $Date: 2000/09/01 08:09:38 $ * Version: $Revision: 1.114 $ * * Copyright (C) 2000 The OpenCms Group * * This File is part of OpenCms - * the Open Sourc...
src/com/opencms/file/genericSql/CmsResourceBroker.java
package com.opencms.file.genericSql; /* * File : $Source: /alkacon/cvs/opencms/src/com/opencms/file/genericSql/Attic/CmsResourceBroker.java,v $ * Date : $Date: 2000/08/30 12:54:22 $ * Version: $Revision: 1.113 $ * * Copyright (C) 2000 The OpenCms Group * * This File is part of OpenCms - * the Open Sourc...
Recommit of multisite due to problems commting files to the CVS.
src/com/opencms/file/genericSql/CmsResourceBroker.java
Recommit of multisite due to problems commting files to the CVS.
<ide><path>rc/com/opencms/file/genericSql/CmsResourceBroker.java <ide> <ide> /* <ide> * File : $Source: /alkacon/cvs/opencms/src/com/opencms/file/genericSql/Attic/CmsResourceBroker.java,v $ <del> * Date : $Date: 2000/08/30 12:54:22 $ <del> * Version: $Revision: 1.113 $ <add> * Date : $Date: 2000/09/01 08:09:38 ...
Java
apache-2.0
55ef1639cb8cb9e578068e027a16e1ad77fa060a
0
yahoo/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,merlimat/pulsar,massakam/pulsar,merlimat/pulsar,merlimat/pulsar,yahoo/pulsar,yahoo/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/src/test/java/org/apache/pulsar/client/impl/MultiTopicsReaderTest.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...
[Flaky test] Reduce flakiness in MultiTopicsReaderTest by configuring infinite retention for namespace (#9866)
pulsar-broker/src/test/java/org/apache/pulsar/client/impl/MultiTopicsReaderTest.java
[Flaky test] Reduce flakiness in MultiTopicsReaderTest by configuring infinite retention for namespace (#9866)
<ide><path>ulsar-broker/src/test/java/org/apache/pulsar/client/impl/MultiTopicsReaderTest.java <ide> import org.apache.pulsar.client.api.Schema; <ide> import org.apache.pulsar.common.policies.data.ClusterData; <ide> import org.apache.pulsar.common.policies.data.PersistentTopicInternalStats; <add>import org.apache.pulsa...
Java
lgpl-2.1
21be296d71c46ccdd553dd3fffba6d6b8fed5892
0
xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
xwiki-platform-web/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/line/LinePlugin.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...
XWIKI-3573: Title style removed after hitting return then backspace at the beginning of a line git-svn-id: 04343649e741710b2e0f622af6defd1ac33e5ca5@19384 f329d543-caf0-0310-9063-dda96c69346f
xwiki-platform-web/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/line/LinePlugin.java
XWIKI-3573: Title style removed after hitting return then backspace at the beginning of a line
<ide><path>wiki-platform-web/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/line/LinePlugin.java <ide> import com.xpn.xwiki.wysiwyg.client.Wysiwyg; <ide> import com.xpn.xwiki.wysiwyg.client.plugin.internal.AbstractPlugin; <ide> import com.xpn.xwiki.wysiwyg.client.util.Config; <add>import com.xpn.xwiki.wysiwy...
Java
lgpl-2.1
b49d9a95fb3b1f0c02979a70d4493b434388f47a
0
SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer
/* * Copyright (C) 2018 minliu. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is d...
src/ch/unizh/ini/jaer/projects/minliu/RosbagVOFlow.java
/* * Copyright (C) 2018 minliu. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is d...
Minor change. Test the effect of the twist's different elements on the result.
src/ch/unizh/ini/jaer/projects/minliu/RosbagVOFlow.java
Minor change. Test the effect of the twist's different elements on the result.
<ide><path>rc/ch/unizh/ini/jaer/projects/minliu/RosbagVOFlow.java <ide> DoubleMatrix pose2pixelJaccobi = new DoubleMatrix(new double[][]{ <ide> {fx/Z, 0, -fx*X/Z, -fx*X*Y/(Z*Z), fx + fx*X*X/(Z*Z), -fx*Y/Z}, <ide> {0, fy/Z, -fy*Y/Z, -fy - fx*Y*Y/(Z*Z), fy*X*Y/(Z*Z...
Java
apache-2.0
9f77b88e6151da367f34e6825fe82b063e1eaa95
0
hmcl/storm-apache,kishorvpatil/incubator-storm,hmcl/storm-apache,kishorvpatil/incubator-storm,hmcl/storm-apache,kishorvpatil/incubator-storm,hmcl/storm-apache,kishorvpatil/incubator-storm,hmcl/storm-apache,kishorvpatil/incubator-storm,hmcl/storm-apache,kishorvpatil/incubator-storm,hmcl/storm-apache,kishorvpatil/incubat...
/** * 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 not ...
storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.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 not ...
STORM-3205 Optimization in TuplImpl
storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java
STORM-3205 Optimization in TuplImpl
<ide><path>torm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java <ide> } <ide> <ide> public TupleImpl(GeneralTopologyContext context, List<Object> values, String srcComponent, int taskId, String streamId, MessageId id) { <del> this.values = Collections.unmodifiableList(values); <add> this.val...
Java
mit
07361d711a44ed9196f45ab70b9164491b92ec9e
0
DDoS/SpongeVanilla,kenzierocks/SpongeVanilla,kenzierocks/SpongeVanilla,DDoS/SpongeVanilla,CodeKingdomsTeam/SpongeVanilla,CodeKingdomsTeam/SpongeVanilla
package org.granitemc.granite.api.plugin; import java.lang.reflect.InvocationTargetException; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.List; import java.util.jar.JarEntry; import java.util.jar.JarFile; import org.granitemc.granite.api.GraniteAPI; import org.granitemc.granite.util...
src/main/java/org/granitemc/granite/api/plugin/PluginLoader.java
package org.granitemc.granite.api.plugin; import java.lang.reflect.InvocationTargetException; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.List; import java.util.jar.JarEntry; import java.util.jar.JarFile; import org.granitemc.granite.api.GraniteAPI; import org.granitemc.granite.util...
New changes to the API
src/main/java/org/granitemc/granite/api/plugin/PluginLoader.java
New changes to the API
<ide><path>rc/main/java/org/granitemc/granite/api/plugin/PluginLoader.java <ide> @SuppressWarnings("static-method") <ide> private List<Class<?>> iterateJar(JarFile f) { <ide> List<Class<?>> ret = new ArrayList<Class<?>>(); <add> List<JarEntry> peeked = new ArrayList<JarEntry>(); <add> <ide> ...
Java
mit
dff6f198c8056c380fd478a6ebfb62e9ed9d3a03
0
bentodev/bentolang,bentodev/bentolang
/* Bento * * $Id: AnonymousDefinition.java,v 1.135 2015/07/13 13:10:44 sthippo Exp $ * * Copyright (c) 2002-2015 by bentodev.org * * Use of this code in source or compiled form is subject to the * Bento Poetic License at http://www.bentodev.org/poetic-license.html */ package bento.lang; import java.util.Array...
src/bento/lang/AnonymousDefinition.java
/* Bento * * $Id: AnonymousDefinition.java,v 1.135 2015/07/13 13:10:44 sthippo Exp $ * * Copyright (c) 2002-2015 by bentodev.org * * Use of this code in source or compiled form is subject to the * Bento Poetic License at http://www.bentodev.org/poetic-license.html */ package bento.lang; import java.util.Array...
loop through context entries without unpushing
src/bento/lang/AnonymousDefinition.java
loop through context entries without unpushing
<ide><path>rc/bento/lang/AnonymousDefinition.java <ide> if (entry.def.equalsOrExtends(this)) { <ide> return entry; <ide> } else { <del> int limit = context.size() - 1; <del> int numUnpushes = 0; <del> try { <del> while (numUnpushes < limit) { <...
Java
lgpl-2.1
6065996d80d53e4b05034021b83b8357aa03abda
0
cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl
package org.cytoscape.ding.impl.cyannotator.tasks; import java.util.Arrays; import java.util.List; import java.util.UUID; import org.cytoscape.ding.impl.cyannotator.annotations.DingAnnotation; import org.cytoscape.view.model.CyNetworkViewManager; import org.cytoscape.view.presentation.annotations.Annotation; import o...
ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/tasks/UpdateAnnotationTask.java
package org.cytoscape.ding.impl.cyannotator.tasks; import java.util.Arrays; import java.util.List; import java.util.UUID; import org.cytoscape.ding.impl.cyannotator.annotations.DingAnnotation; import org.cytoscape.view.model.CyNetworkViewManager; import org.cytoscape.view.presentation.annotations.Annotation; import o...
Fixes a ClassCastException when trying to move a GroupAnnotation to another layer (CYTOSCAPE-12972).
ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/tasks/UpdateAnnotationTask.java
Fixes a ClassCastException when trying to move a GroupAnnotation to another layer (CYTOSCAPE-12972).
<ide><path>ing-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/cyannotator/tasks/UpdateAnnotationTask.java <ide> <ide> tm.setStatusMessage("Can't find an annotation with UUID "+uuidOrName); <ide> <add> private void updateAnnotation(TaskMonitor tm, Annotation annotation) { <add> if (annotation i...
Java
apache-2.0
a6b8b29e867b4b85e846c7a61e94ff0ceff7b4d8
0
williamchand/linebotsdk
package com.example.bot.spring; import org.apache.commons.dbcp.BasicDataSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.bind.annotation.RequestMapping; im...
sample-spring-boot-kitchensink/src/main/java/com/example/bot/spring/MainConfig.java
package com.example.bot.spring; import org.apache.commons.dbcp.BasicDataSource; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.bind.annotation.RequestMapping; im...
Add existing file
sample-spring-boot-kitchensink/src/main/java/com/example/bot/spring/MainConfig.java
Add existing file
<ide><path>ample-spring-boot-kitchensink/src/main/java/com/example/bot/spring/MainConfig.java <ide> import javax.sql.DataSource; <ide> import java.net.URI; <ide> import java.net.URISyntaxException; <del>import java.sql.SQLException; <del> <add>import java.sql.*; <add>import java.util.ArrayList; <add>import <ide> <ide...
JavaScript
mit
7576b7c3dab56727101740c7b39b920a94bdae4f
0
mscdex/node-oscar
var net = require('net'), util = require('util'), EventEmitter = require('events').EventEmitter, crypto = require('crypto'); var fnEmpty = function() {}; var debug = fnEmpty, hexy, inspectMutated = false, hexyFormat = { caps: 'upper', format: 'twos', numbering: 'none', groupSpacing: 2 ...
oscar.js
var net = require('net'), util = require('util'), EventEmitter = require('events').EventEmitter, crypto = require('crypto'); var fnEmpty = function() {}; var debug = fnEmpty, hexy, inspectMutated = false, hexyFormat = { caps: 'upper', format: 'twos', numbering: 'none', groupSpacing: 2 ...
Send keep-alive FLAPs on the main connection.
oscar.js
Send keep-alive FLAPs on the main connection.
<ide><path>scar.js <ide> else if (typeof amount !== 'number' || amount <= 0 || amount === true) <ide> throw new Error('Amount must be boolean false or a positive number > 0'); <ide> <del> this._send(this._createFLAP(self._state.connections.main, FLAP_CHANNELS.SNAC, <add> this._send(this._createFLAP(this._state...
Java
apache-2.0
ecec85f3308a3beefd2a8bcb115d4157355bb254
0
JohannesKlug/hbird,JohannesKlug/hbird
package org.hbird.transport.protocols.ccsds.spacepacket; import org.apache.commons.lang.ArrayUtils; import org.hbird.transport.protocols.ccsds.spacepacket.data.CcsdsPacketType; import org.hbird.transport.protocols.ccsds.spacepacket.data.PacketPayload; import org.hbird.transport.protocols.ccsds.spacepacket.exceptions.I...
src/transport/protocols/src/main/java/org/hbird/transport/protocols/ccsds/spacepacket/CcsdsPacketEncoder.java
package org.hbird.transport.protocols.ccsds.spacepacket; import org.apache.commons.lang.ArrayUtils; import org.hbird.transport.protocols.ccsds.spacepacket.data.CcsdsPacketType; import org.hbird.transport.protocols.ccsds.spacepacket.data.PacketPayload; import org.hbird.transport.protocols.ccsds.spacepacket.exceptions.I...
Added default constructor
src/transport/protocols/src/main/java/org/hbird/transport/protocols/ccsds/spacepacket/CcsdsPacketEncoder.java
Added default constructor
<ide><path>rc/transport/protocols/src/main/java/org/hbird/transport/protocols/ccsds/spacepacket/CcsdsPacketEncoder.java <ide> // 16 bits <ide> // packet data length - calculated in the encode() function <ide> <add> public CcsdsPacketEncoder() { <add> this(CcsdsPacketType.TM); <add> } <ide> <ide> public CcsdsPac...
Java
apache-2.0
9e99db01b0b74bef0dcb8bfb5a23291e7570fa19
0
camilojd/elasticsearch,GlenRSmith/elasticsearch,liweinan0423/elasticsearch,gmarz/elasticsearch,MisterAndersen/elasticsearch,JSCooke/elasticsearch,kaneshin/elasticsearch,scorpionvicky/elasticsearch,i-am-Nathan/elasticsearch,elasticdog/elasticsearch,s1monw/elasticsearch,mapr/elasticsearch,LeoYao/elasticsearch,nknize/elas...
package org.elasticsearch.mapper.attachments; /* * 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 ...
src/main/java/org/elasticsearch/mapper/attachments/TikaImpl.java
package org.elasticsearch.mapper.attachments; import java.io.ByteArrayInputStream; /* * 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...
move import under license header
src/main/java/org/elasticsearch/mapper/attachments/TikaImpl.java
move import under license header
<ide><path>rc/main/java/org/elasticsearch/mapper/attachments/TikaImpl.java <ide> package org.elasticsearch.mapper.attachments; <del> <del>import java.io.ByteArrayInputStream; <ide> <ide> /* <ide> * Licensed to Elasticsearch under one or more contributor <ide> * under the License. <ide> */ <ide> <add>import java.io...
Java
apache-2.0
62828f5965c86fd7c68c6c18228c370033c27201
0
pvarry/intra42,pvarry/intra42,pvarry/intra42,pvarry/intra42
package com.paulvarry.intra42.api; import com.google.gson.annotations.SerializedName; import java.util.Date; public class LanguagesUsers { private static final String API_ID = "id"; private static final String API_LANGUAGE_ID = "language_id"; private static final String API_USER_ID = "user_id"; priv...
app/src/main/java/com/paulvarry/intra42/api/LanguagesUsers.java
package com.paulvarry.intra42.api; import com.google.gson.annotations.SerializedName; public class LanguagesUsers { private static final String API_ID = "id"; private static final String API_LANGUAGE_ID = "language_id"; private static final String API_USER_ID = "user_id"; private static final String ...
fix Model LanguagesUsers
app/src/main/java/com/paulvarry/intra42/api/LanguagesUsers.java
fix Model LanguagesUsers
<ide><path>pp/src/main/java/com/paulvarry/intra42/api/LanguagesUsers.java <ide> package com.paulvarry.intra42.api; <ide> <ide> import com.google.gson.annotations.SerializedName; <add> <add>import java.util.Date; <ide> <ide> public class LanguagesUsers { <ide> <ide> @SerializedName(API_POSITION) <ide> public ...
Java
epl-1.0
b44d43fcc09dd2b8e0c444120a894cddd97079f0
0
smeup/asup,smeup/asup,smeup/asup
/** * Copyright (c) 2012, 2016 Sme.UP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * * Contribut...
org.smeup.sys.db.core.base/src/org/smeup/sys/db/core/base/BaseDatabaseManagerImpl.java
/** * Copyright (c) 2012, 2016 Sme.UP and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * * Contribut...
Aggiunto printStacktrace
org.smeup.sys.db.core.base/src/org/smeup/sys/db/core/base/BaseDatabaseManagerImpl.java
Aggiunto printStacktrace
<ide><path>rg.smeup.sys.db.core.base/src/org/smeup/sys/db/core/base/BaseDatabaseManagerImpl.java <ide> <ide> statement = connection.createStatement(true); <ide> statement.execute(command); <add> } catch (Exception e) { <add> e.printStackTrace(); <ide> } finally { <ide> catalogContainer.removeSchema(schem...
Java
apache-2.0
766b6384d07695e2271692c25b3ee46e88e51630
0
wso2/devstudio-tooling-esb,wso2/devstudio-tooling-esb,wso2/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,sohaniwso2/devstudio-tooling-esb,nwnpallewela/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,sohaniwso2/devstudio-tooling-esb,wso2/devstudio-tooling-esb,susinda/devstudio-...
/** */ package org.wso2.developerstudio.datamapper.impl; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject;...
plugins/org.wso2.developerstudio.visualdatamapper/src/org/wso2/developerstudio/datamapper/impl/InNodeImpl.java
/** */ package org.wso2.developerstudio.datamapper.impl; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject;...
Remove node mapping enable condition
plugins/org.wso2.developerstudio.visualdatamapper/src/org/wso2/developerstudio/datamapper/impl/InNodeImpl.java
Remove node mapping enable condition
<ide><path>lugins/org.wso2.developerstudio.visualdatamapper/src/org/wso2/developerstudio/datamapper/impl/InNodeImpl.java <ide> * @generated NOT <ide> */ <ide> public boolean shouldConnect(OutNode sourceEnd) { <del> // Restricting drawing links if element(treenode) is an array or object. <del> if (this.eContaine...
Java
mpl-2.0
937b61d27a7a077eb11a3f53822807f646c3ece3
0
GreenDelta/olca-modules,GreenDelta/olca-modules,GreenDelta/olca-modules
package org.openlca.core.model.descriptors; import org.openlca.core.model.Actor; import org.openlca.core.model.CategorizedEntity; import org.openlca.core.model.Category; import org.openlca.core.model.Currency; import org.openlca.core.model.Flow; import org.openlca.core.model.FlowProperty; import org.openlca.core.model...
olca-core/src/main/java/org/openlca/core/model/descriptors/Descriptors.java
package org.openlca.core.model.descriptors; import org.openlca.core.model.Actor; import org.openlca.core.model.CategorizedEntity; import org.openlca.core.model.Category; import org.openlca.core.model.Currency; import org.openlca.core.model.Flow; import org.openlca.core.model.FlowProperty; import org.openlca.core.model...
Added process type when converting from Process to ProcessDescriptor
olca-core/src/main/java/org/openlca/core/model/descriptors/Descriptors.java
Added process type when converting from Process to ProcessDescriptor
<ide><path>lca-core/src/main/java/org/openlca/core/model/descriptors/Descriptors.java <ide> descriptor.setLocation(process.getLocation().getId()); <ide> if (process.getQuantitativeReference() != null) <ide> descriptor.setQuantitativeReference(process.getQuantitativeReference().getId()); <add> descriptor.setPro...
Java
apache-2.0
1a536567ca032adbd059b11d13fd9e499dc4c520
0
eFaps/eFapsApp-Products
/* * Copyright 2003 - 2010 The eFaps 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
src/main/efaps/ESJP/org/efaps/esjp/products/TreeViewStructurBrowser_Base.java
/* * Copyright 2003 - 2010 The eFaps 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
- the treeview browser for products can now be filtered by product type git-svn-id: ad1b24957653b3c6d328f6795ac3fa359c781d7d@5954 fee104cc-1dfa-8c0f-632d-d3b7e6b59fb0
src/main/efaps/ESJP/org/efaps/esjp/products/TreeViewStructurBrowser_Base.java
- the treeview browser for products can now be filtered by product type
<ide><path>rc/main/efaps/ESJP/org/efaps/esjp/products/TreeViewStructurBrowser_Base.java <ide> <ide> package org.efaps.esjp.products; <ide> <add>import java.util.ArrayList; <ide> import java.util.Collections; <ide> import java.util.Comparator; <ide> import java.util.LinkedHashMap; <add>import java.util.List; <ide> imp...
Java
apache-2.0
16098cdb4acdf3086a02901cdb93816fc48e5442
0
AndyScherzinger/andlytics,TheNephilim88/andlytics,willlunniss/andlytics,willlunniss/andlytics,nelenkov/andlytics,d4rken/andlytics,AndyScherzinger/andlytics,TheNephilim88/andlytics
package com.github.andlyticsproject.console.v2; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpStatus; import org.apache.http.client.CookieStore; import org.apache.http.client.HttpResponseException; import org.apache.http.client.ResponseHandler; import org.ap...
src/com/github/andlyticsproject/console/v2/DevConsoleV2.java
package com.github.andlyticsproject.console.v2; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpStatus; import org.apache.http.client.CookieStore; import org.apache.http.client.HttpResponseException; import org.apache.http.client.ResponseHandler; import org.ap...
use summary data, same as historical
src/com/github/andlyticsproject/console/v2/DevConsoleV2.java
use summary data, same as historical
<ide><path>rc/com/github/andlyticsproject/console/v2/DevConsoleV2.java <ide> <ide> import android.annotation.SuppressLint; <ide> import android.app.Activity; <del>import android.os.Build; <ide> import android.util.Log; <ide> <ide> import com.github.andlyticsproject.console.AuthenticationException; <ide> <ide> Rev...
Java
mit
error: pathspec 'me/shzylo/mansionazazel/entity/mob/Player.java' did not match any file(s) known to git
9b450c7ba9ee5f83928ee382738e872560460252
1
Shzylo/Mansion-of-Azazel
package me.shzylo.mansionazazelvisual.entity.mob; import me.shzylo.mansionazazelvisual.gfx.Screen; import me.shzylo.mansionazazelvisual.gfx.Sprite; import me.shzylo.mansionazazelvisual.input.Keyboard; public class Player extends Mob { private Keyboard input; private Sprite sprite; private int anim = 0; privat...
me/shzylo/mansionazazel/entity/mob/Player.java
Create Player.java
me/shzylo/mansionazazel/entity/mob/Player.java
Create Player.java
<ide><path>e/shzylo/mansionazazel/entity/mob/Player.java <add>package me.shzylo.mansionazazelvisual.entity.mob; <add> <add>import me.shzylo.mansionazazelvisual.gfx.Screen; <add>import me.shzylo.mansionazazelvisual.gfx.Sprite; <add>import me.shzylo.mansionazazelvisual.input.Keyboard; <add> <add>public class Player exten...
Java
bsd-3-clause
5f5678202d4423729ad3efa69496990b8acaa35d
0
chinmaymhatre91/beacon,chinmaymhatre91/beacon,chinmaymhatre91/beacon,chinmaymhatre91/beacon
/** * Copyright 2011, Stanford University. This file is licensed under GPL v2 plus * a special exception, as described in included LICENSE_EXCEPTION.txt. */ package net.beaconcontroller.routing.internal; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; imp...
net.beaconcontroller.routing/src/main/java/net/beaconcontroller/routing/internal/Routing.java
/** * Copyright 2011, Stanford University. This file is licensed under GPL v2 plus * a special exception, as described in included LICENSE_EXCEPTION.txt. */ package net.beaconcontroller.routing.internal; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; imp...
Fixed a direct packet out bug Routing was accidentally sending the first packet in a flow back to the source rather than the dest when using direct packet out mode (which is now the default).
net.beaconcontroller.routing/src/main/java/net/beaconcontroller/routing/internal/Routing.java
Fixed a direct packet out bug
<ide><path>et.beaconcontroller.routing/src/main/java/net/beaconcontroller/routing/internal/Routing.java <ide> */ <ide> if (packetOutDirectly) { <ide> pushRoute(in.getMessageFactory(), match, route, dstDevice, 0xffffffff); <del> pushPacketDirect(in....
Java
apache-2.0
2268bc74128e801ba722ca0e936d957b329b3ba3
0
ceylon/ceylon-spec,jvasileff/ceylon-spec,jvasileff/ceylon-spec,jvasileff/ceylon-spec,ceylon/ceylon-spec,ceylon/ceylon-spec
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
src/com/redhat/ceylon/compiler/typechecker/analyzer/LocalDeclarationVisitor.java
/* * Copyright Red Hat Inc. and/or its affiliates and other contributors * as indicated by the authors tag. All rights reserved. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to the terms and conditions * of the GNU General Public License vers...
Also manage the qualifier for methods and attributes, for https://github.com/ceylon/ceylon-compiler/issues/1978
src/com/redhat/ceylon/compiler/typechecker/analyzer/LocalDeclarationVisitor.java
Also manage the qualifier for methods and attributes, for https://github.com/ceylon/ceylon-compiler/issues/1978
<ide><path>rc/com/redhat/ceylon/compiler/typechecker/analyzer/LocalDeclarationVisitor.java <ide> visitLocalDeclarationModel(that.getDeclarationModel()); <ide> } <ide> <del> private void visitLocalDecl(Tree.ObjectArgument that) { <add> private void visitLocalDecl(Tree.TypedArgument that) { <ide> ...
Java
lgpl-2.1
5ed6d8772e0b3bea4dd0de56f5233630ed852fbe
0
exedio/copernica,exedio/copernica,exedio/copernica
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
lib/src/com/exedio/cope/Database.java
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
remove dropTable git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@2470 e7d4fc99-c606-0410-b9bf-843393a9eab7
lib/src/com/exedio/cope/Database.java
remove dropTable
<ide><path>ib/src/com/exedio/cope/Database.java <ide> } <ide> } <ide> <del> final void dropTable(final String tableName) <del> { <del> final Statement bf = createStatement(); <del> bf.append("drop table "). <del> append(protectName(tableName)); <del> <del> try <del> { <del> //System.out.println("dropTable:"...
Java
apache-2.0
72c2c4415fa8fa6036480eb017aafc601e882ca7
0
wso2-incubator/automatic-anomaly-detection,wso2-incubator/automatic-anomaly-detection,wso2-incubator/automatic-anomaly-detection
/* * Copyright (c) ${date}, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
jvm-monitor-agent/src/samples/applications/GenerateOOM/GenerateOOM.java
/* * Copyright (c) ${date}, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
changed controlling parameters
jvm-monitor-agent/src/samples/applications/GenerateOOM/GenerateOOM.java
changed controlling parameters
<ide><path>vm-monitor-agent/src/samples/applications/GenerateOOM/GenerateOOM.java <ide> public static void main(String[] args) throws Exception { <ide> Thread.sleep(5000); <ide> <del> double x = 1; <add> double x = 1.2; <ide> int y = 10000; <ide> long z = 10000000L; <ide> <id...
Java
agpl-3.0
35c5057591f07cbd0b7f0c65f7e23b70a3130fa5
0
adakitesystems/droplauncher
package droplauncher.util; import adakite.debugging.Debugging; import java.nio.file.Path; import java.util.ArrayList; /** * Class for building objects to pass to process objects such as ProcessBuilder. */ public class CommandBuilder { private Path path; private ArrayList<String> args; public CommandBuilder(...
src/droplauncher/util/CommandBuilder.java
package droplauncher.util; import adakite.debugging.Debugging; import java.nio.file.Path; import java.util.ArrayList; /** * Class for building objects to pass to process objects such as ProcessBuilder. */ public class CommandBuilder { private Path path; private ArrayList<String> args; public CommandBuilder(...
Add method "setArgs" to "CommandBuilder.java"
src/droplauncher/util/CommandBuilder.java
Add method "setArgs" to "CommandBuilder.java"
<ide><path>rc/droplauncher/util/CommandBuilder.java <ide> return args; <ide> } <ide> <add> public void setArgs(String[] args) { <add> this.args.clear(); <add> for (String arg : args) { <add> this.args.add(arg); <add> } <add> } <add> <ide> /** <ide> * Returns a String array of the command and...
Java
apache-2.0
cf048fd282726ad7920acaf9051335f5d0d12bfd
0
Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,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/tomcat/websocket/pojo/TestEncodingDecoding.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...
Add the rather crucial missing i++ in the wait loop git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1515779 13f79535-47bb-0310-9956-ffa450edef68
test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java
Add the rather crucial missing i++ in the wait loop
<ide><path>est/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java <ide> if (Server.isLifeCycleEventCalled(name)) { <ide> break; <ide> } <add> i++; <ide> Thread.sleep(100); <ide> } <ide> Assert.assertTrue(Server.isLifeCycleEventCalled...
Java
agpl-3.0
742168daf6e2c26797bd9cfc836d00309c43bc52
0
Peergos/Peergos,ianopolous/Peergos,Peergos/Peergos,ianopolous/Peergos,Peergos/Peergos,ianopolous/Peergos
package peergos.shared.user.fs; import peergos.shared.util.*; import java.util.concurrent.*; public class BufferedAsyncReader implements AsyncReader { private final AsyncReader source; private final long fileSize; private final byte[] buffer; // bufferStartOffset <= readOffset <= bufferEndOffset at ...
src/peergos/shared/user/fs/BufferedAsyncReader.java
package peergos.shared.user.fs; import peergos.shared.util.*; import java.util.concurrent.*; public class BufferedAsyncReader implements AsyncReader { private final AsyncReader source; private final long fileSize; private final byte[] buffer; // bufferStartOffset <= readOffset <= bufferEndOffset at ...
Add log line
src/peergos/shared/user/fs/BufferedAsyncReader.java
Add log line
<ide><path>rc/peergos/shared/user/fs/BufferedAsyncReader.java <ide> <ide> @Override <ide> public synchronized CompletableFuture<AsyncReader> seek(long offset) { <del> System.out.println("BufferedReader.seek " + offset); <add> System.out.println("BufferedReader.seek " + offset + " on " + toString(...
Java
apache-2.0
b3a32aabe48a40ddf29449de0c09248cb6921703
0
reportportal/commons-dao
/* * Copyright 2019 EPAM Systems * * 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 ...
src/main/java/com/epam/ta/reportportal/dao/TestItemRepository.java
/* * Copyright 2019 EPAM Systems * * 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 ...
Refactoring
src/main/java/com/epam/ta/reportportal/dao/TestItemRepository.java
Refactoring
<ide><path>rc/main/java/com/epam/ta/reportportal/dao/TestItemRepository.java <ide> Optional<TestItem> findByNameAndLaunchWithoutParents(@Param("name") String name, @Param("launchId") Long launchId); <ide> <ide> /** <del> * Checks existence of {@link TestItem} with specified {@code name} and {@code launchId} under {...
JavaScript
artistic-2.0
1e288c56b54174b7ab83d7a5beb3eceef0e17ca3
0
princeofdarkness76/npm,lxe/npm,kemitchell/npm,xalopp/npm,evocateur/npm,DIREKTSPEED-LTD/npm,midniteio/npm,thomblake/npm,xalopp/npm,thomblake/npm,misterbyrne/npm,midniteio/npm,haggholm/npm,yibn2008/npm,princeofdarkness76/npm,evanlucas/npm,yibn2008/npm,haggholm/npm,evanlucas/npm,segrey/npm,misterbyrne/npm,segrey/npm,yodey...
'use strict' var clone = require('lodash.clonedeep') var union = require('lodash.union') var without = require('lodash.without') var validate = require('aproba') var flattenTree = require('./flatten-tree.js') var npm = require('../npm.js') var logicalTree = module.exports = function (tree) { validate('O', arguments)...
lib/install/logical-tree.js
'use strict' var clone = require('lodash.clonedeep') var union = require('lodash.union') var without = require('lodash.without') var validate = require('aproba') var flattenTree = require('./flatten-tree.js') var npm = require('../npm.js') var logicalTree = module.exports = function (tree) { validate('O', arguments)...
When generate a readInstalled type tree, include link information
lib/install/logical-tree.js
When generate a readInstalled type tree, include link information
<ide><path>ib/install/logical-tree.js <ide> var isChildOfTop = !isTopLevel && tree.parent.parent == null <ide> var topHasNoPackageJson = isChildOfTop && tree.parent.package.name === undefined && tree.parent.package.version === undefined && tree.parent.package._id === undefined <ide> pkg.extraneous = !isTopLevel &...
Java
apache-2.0
553b23e2b19fa68c1d057879e9fe92833d08e013
0
lucastheisen/apache-directory-server,drankye/directory-server,apache/directory-server,darranl/directory-server,drankye/directory-server,darranl/directory-server,apache/directory-server,lucastheisen/apache-directory-server
/* * 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")...
protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.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")...
Javadocs and minor refactoring in protocol-changepw handler test. git-svn-id: 90776817adfbd895fc5cfa90f675377e0a62e745@558300 13f79535-47bb-0310-9956-ffa450edef68
protocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java
Javadocs and minor refactoring in protocol-changepw handler test.
<ide><path>rotocol-changepw/src/test/java/org/apache/directory/server/changepw/protocol/ChangepwProtocolHandlerTest.java <ide> private CipherTextHandler cipherTextHandler = new CipherTextHandler(); <ide> <ide> <add> /** <add> * Creates a new instance of ChangepwProtocolHandlerTest. <add> */ <ide> p...
Java
apache-2.0
da1508d46e2660b18c4885863abda425bd2ae3e5
0
bpilania/Comp621Project,bpilania/Comp621Project,bpilania/Comp621Project,bpilania/Comp621Project,bpilania/Comp621Project,bpilania/Comp621Project,bpilania/Comp621Project
package matlab; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; import matlab.ExtractionParser.Terminals; import beaver.Scanner; import beaver.Symbol; public class CommandFormatter { private final List<Symbol> formattedSym...
languages/Matlab/src/matlab/CommandFormatter.java
package matlab; import java.io.IOException; import java.io.StringReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; import matlab.ExtractionParser.Terminals; import beaver.Scanner; import beaver.Symbol; public class CommandFormatter { private final List<Symbol> formattedSym...
Clean-up. git-svn-id: a2312d33856acf09907bc700940b4d7cc158d4b3@375 89b902b4-d83f-0410-b942-89f7a419ffdb
languages/Matlab/src/matlab/CommandFormatter.java
Clean-up.
<ide><path>anguages/Matlab/src/matlab/CommandFormatter.java <ide> case Terminals.PARENTHESIZED: <ide> case Terminals.ASSIGN: <ide> return true; <del> //operator => command iff nothing important follows <add> //oper...
Java
apache-2.0
fda0684887e49476fd0676f8eef70e5a5ab7a5db
0
gbecares/bdt
package com.stratio.cucumber.converter; import cucumber.api.Transformer; public class StreamNameConverter extends Transformer<String> { @Override public String transform(String input) { if (input.equals("//NULL//")) { return null; } else if (input.startsWith("0x")) { int cInt = Integer.parseInt(input.s...
src/main/java/com/stratio/cucumber/converter/StreamNameConverter.java
package com.stratio.cucumber.converter; import cucumber.api.Transformer; public class StreamNameConverter extends Transformer<String> { @Override public String transform(String input) { if (input.equals("//NULL//")) { return null; } else { return input; } } }
String parameters can be passed now as hex chars
src/main/java/com/stratio/cucumber/converter/StreamNameConverter.java
String parameters can be passed now as hex chars
<ide><path>rc/main/java/com/stratio/cucumber/converter/StreamNameConverter.java <ide> <ide> if (input.equals("//NULL//")) { <ide> return null; <add> } else if (input.startsWith("0x")) { <add> <add> int cInt = Integer.parseInt(input.substring(2), 16); <add> char[] cArr = Character.toChars(cInt); <add> re...
Java
lgpl-2.1
156923c283a362a293a2ff791d4114fc8f809d53
0
herculeshssj/catu
/*** Copyright (c) 2010, 2011 Hércules S. S. José Este arquivo é parte do programa CATU. CATU é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença Pública Geral Menor GNU como publicada pela Fundação do Software Livre (FSF); na versão 2.1 d...
src/br/com/hslife/catu/dao/AtendimentoDao.java
/*** Copyright (c) 2010, 2011 Hércules S. S. José Este arquivo é parte do programa CATU. CATU é um software livre; você pode redistribui-lo e/ou modificá-lo dentro dos termos da Licença Pública Geral Menor GNU como publicada pela Fundação do Software Livre (FSF); na versão 2.1 da Lice...
Teste de commit em rede fechada.
src/br/com/hslife/catu/dao/AtendimentoDao.java
Teste de commit em rede fechada.
<ide><path>rc/br/com/hslife/catu/dao/AtendimentoDao.java <ide> return (List) search("Atendimento", campo, (String)valor); <ide> } <ide> <del> public List listarTodos(int item) { <add> @SuppressWarnings("rawtypes") <add> public List listarTodos(int item) { <ide> List lista = null; <ide> ...
Java
apache-2.0
a195c2b97c4416f8c43634290d73211346a01ab0
0
midhunhk/ae-apps-library
/* * Copyright 2015 Midhun Harikumar * * 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 ...
library/AeAppsLibrary/src/com/ae/apps/common/activities/ToolBarBaseActivity.java
/* * Copyright 2015 Midhun Harikumar * * 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...
Added minor validations
library/AeAppsLibrary/src/com/ae/apps/common/activities/ToolBarBaseActivity.java
Added minor validations
<ide><path>ibrary/AeAppsLibrary/src/com/ae/apps/common/activities/ToolBarBaseActivity.java <ide> <ide> // Find the toolbar and set it as action bar <ide> mToolbar = (Toolbar) findViewById(getToolbarResourceId()); <del> setSupportActionBar(mToolbar); <add> if (null != mToolbar) { <add> setSupportActionBar(mTool...
Java
bsd-3-clause
304a65cbf77dab5cb2955b6e38f6522f13dca911
0
NCIP/c3pr,NCIP/c3pr,NCIP/c3pr
package edu.duke.cabig.c3pr.web; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.logging.L...
codebase/projects/web/src/edu/duke/cabig/c3pr/web/CreateParticipantController.java
package edu.duke.cabig.c3pr.web; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.pr...
added ContactMechanisms
codebase/projects/web/src/edu/duke/cabig/c3pr/web/CreateParticipantController.java
added ContactMechanisms
<ide><path>odebase/projects/web/src/edu/duke/cabig/c3pr/web/CreateParticipantController.java <ide> import javax.servlet.http.HttpServletRequest; <ide> import javax.servlet.http.HttpServletResponse; <ide> <add>import org.apache.commons.logging.Log; <add>import org.apache.commons.logging.LogFactory; <ide> import org.spr...
JavaScript
bsd-3-clause
67974aa77bbb6f261fe127848907b60d2ec5d275
0
PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs
/** * @license * Copyright (c) 2017 Google Inc. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polymer.github.io...
runtime/arc.js
/** * @license * Copyright (c) 2017 Google Inc. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * Code distributed by Google as part of this project is also * subject to an additional IP rights grant found at * http://polymer.github.io...
Add lastSeenVersion map to arc.
runtime/arc.js
Add lastSeenVersion map to arc.
<ide><path>untime/arc.js <ide> <ide> // All the views, mapped by view ID <ide> this._viewsById = new Map(); <del> <add> // .. and mapped by Type <ide> this._viewsByType = new Map(); <add> <add> // information about last-seen-versions of views <add> this._lastSeenVersion = new Map(); <add> <ide> ...
Java
mit
a8195074232503cce7cc155d32743f4831387cbb
0
GluuFederation/oxTrust,GluuFederation/oxTrust,GluuFederation/oxTrust,GluuFederation/oxTrust,madumlao/oxTrust,GluuFederation/oxTrust,madumlao/oxTrust,madumlao/oxTrust,madumlao/oxTrust,madumlao/oxTrust
scim/src/main/java/org/gluu/oxtrust/ws/rs/scim2/ResourceEntityProvider.java
package org.gluu.oxtrust.ws.rs.scim2; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codehaus.jackson.map.ObjectMapper; import org.gluu.oxtrust.model.scim2.Constants; import org.gluu.oxtrust.model.scim2.user.UserResource; import javax.ws.rs.Consumes; import javax.ws.rs....
Remove unnecessary RS provider
scim/src/main/java/org/gluu/oxtrust/ws/rs/scim2/ResourceEntityProvider.java
Remove unnecessary RS provider
<ide><path>cim/src/main/java/org/gluu/oxtrust/ws/rs/scim2/ResourceEntityProvider.java <del>package org.gluu.oxtrust.ws.rs.scim2; <del> <del>import org.apache.logging.log4j.LogManager; <del>import org.apache.logging.log4j.Logger; <del>import org.codehaus.jackson.map.ObjectMapper; <del>import org.gluu.oxtrust.model.scim2...
Java
apache-2.0
8308681f2583c82187a4f560b5b55218a90eb60d
0
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
src/main/java/com/facebook/components/ComponentLifecycle.java
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
Lines authored by lrocha This commit forms part of the blame-preserving initial commit suite.
src/main/java/com/facebook/components/ComponentLifecycle.java
Lines authored by lrocha
<ide><path>rc/main/java/com/facebook/components/ComponentLifecycle.java <ide> <ide> void unmount(ComponentContext c, Object mountedContent, Component<?> component) { <ide> onUnmount(c, mountedContent, component); <add> } <add>
Java
apache-2.0
fa9794a1db328b0f63f331339fce308e06dfbe09
0
bmahe/xmemcached,springning/xmemcached,mbrukman/xmemcached,XHidamariSketchX/xmemcached,fengshao0907/xmemcached,bmahe/xmemcached,killme2008/xmemcached,springning/xmemcached,XHidamariSketchX/xmemcached,fengshao0907/xmemcached,mbrukman/xmemcached,killme2008/xmemcached
package net.rubyeye.xmemcached; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; impor...
src/net/rubyeye/xmemcached/MemcachedHandler.java
package net.rubyeye.xmemcached; import java.io.IOException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import net.rubyeye.xmemcached.command.Command; import net.spy.memcached.transcoders.Cached...
减小try catch范围
src/net/rubyeye/xmemcached/MemcachedHandler.java
减小try catch范围
<ide><path>rc/net/rubyeye/xmemcached/MemcachedHandler.java <ide> import java.util.HashMap; <ide> import java.util.List; <ide> import java.util.Map; <add>import java.util.concurrent.ExecutorService; <add>import java.util.concurrent.Executors; <ide> <ide> import org.apache.commons.logging.Log; <ide> import org.apache.co...
Java
mit
a28f631a990aae5032edfadc3f5d462825168873
0
nrg12/VOOGASalad,ankitkayastha/VOOGASalad
package structures; import XML.XMLEditor; import exceptions.ParameterParseException; import exceptions.ResourceFailedException; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.scene.input.KeyCode; import structures.data.*; import structures.data.actions.logic.Close; imp...
src/structures/TestGameObject.java
package structures; import XML.XMLEditor; import exceptions.ParameterParseException; import exceptions.ResourceFailedException; import javafx.collections.FXCollections; import javafx.collections.ObservableList; import javafx.scene.input.KeyCode; import structures.data.*; import structures.data.actions.library.*; impor...
Actually deleted all errors
src/structures/TestGameObject.java
Actually deleted all errors
<ide><path>rc/structures/TestGameObject.java <ide> import javafx.collections.ObservableList; <ide> import javafx.scene.input.KeyCode; <ide> import structures.data.*; <del>import structures.data.actions.library.*; <ide> import structures.data.actions.logic.Close; <ide> import structures.data.actions.logic.Else; <ide> im...
JavaScript
mit
a5cdb633a09de18e1ac1ac6558cca312337a66a4
0
celic/Beaconator,celic/Beaconator
/* Beaconator js */ $(document).ready(function(){ $option_area = $('#options_list'); $new_options = $('#new_options'); $add_option = $('#add_option'); $beaconize = $('#beaconize'); $reset = $('#reset'); $results = $('#results'); $about = $('#about'); $about_content = $('#about-content'); var num_options = 2; ...
beaconator.js
/* Beaconator js */ $(document).ready(function(){ $option_area = $('#options_list'); $new_options = $('#new_options'); $add_option = $('#add_option'); $beaconize = $('#beaconize'); $reset = $('#reset'); $results = $('#results'); $about = $('#about'); $about_content = $('#about-content'); var num_options = 2; ...
Adds hex conversion to JS
beaconator.js
Adds hex conversion to JS
<ide><path>eaconator.js <ide> var beacons_used = 0; <ide> var random_string = ""; <ide> var beacon_string = ""; <add> var beacon_value = 0; <ide> <ide> // Hide results on page load <ide> $results.hide(); <ide> // Parse 8 hex chars from string <ide> beacon_string = random_string.substring(beacons_used*8, (...
Java
mit
159ecdfa83388cb61105b95011c6f5469af559de
0
ctlab/sgmwcs-solver,ctlab/sgmwcs-solver,ctlab/gmwcs-solver
package ru.ifmo.ctddev.gmwcs.solver; import ilog.concert.IloException; import ilog.concert.IloNumVar; import ilog.cplex.IloCplex; import org.jgrapht.UndirectedGraph; import ru.ifmo.ctddev.gmwcs.graph.Edge; import ru.ifmo.ctddev.gmwcs.graph.Node; import java.util.*; import static ru.ifmo.ctddev.gmwcs.solver.RLTSolver...
src/main/java/ru/ifmo/ctddev/gmwcs/solver/Separator.java
package ru.ifmo.ctddev.gmwcs.solver; import ilog.concert.IloException; import ilog.concert.IloNumVar; import ilog.cplex.IloCplex; import org.jgrapht.UndirectedGraph; import ru.ifmo.ctddev.gmwcs.graph.Edge; import ru.ifmo.ctddev.gmwcs.graph.Node; import java.util.*; import static ru.ifmo.ctddev.gmwcs.solver.RLTSolver...
[fix] Ensured thread-safety of UserCutCallback.add()
src/main/java/ru/ifmo/ctddev/gmwcs/solver/Separator.java
[fix] Ensured thread-safety of UserCutCallback.add()
<ide><path>rc/main/java/ru/ifmo/ctddev/gmwcs/solver/Separator.java <ide> private List<CutGenerator> generatorList; <ide> private Map<Node, IloNumVar> y; <ide> private Map<Edge, IloNumVar> w; <del> private IloCplex cplex; <add> private final IloCplex cplex; <ide> private int waited; <ide> priva...
Java
apache-2.0
3383dad4354571258d2955970d8b21c1f9b0b919
0
markhobson/hamcrest-submatcher
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distrib...
src/test/java/org/hobsoft/hamcrest/submatcher/test/Person.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distrib...
Reduced test class down to an interface
src/test/java/org/hobsoft/hamcrest/submatcher/test/Person.java
Reduced test class down to an interface
<ide><path>rc/test/java/org/hobsoft/hamcrest/submatcher/test/Person.java <ide> /** <ide> * Simple type for unit tests. <ide> */ <del>public class Person <add>public interface Person <ide> { <ide> // ---------------------------------------------------------------------------------------------------------------- <ide>...