lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
mit
b38cc868c25aeb17467c46a1cf57ca40021d9db5
0
TheBrianiac/OtisArena
package me.otisdiver.otisarena; import org.bukkit.Bukkit; import org.bukkit.plugin.java.JavaPlugin; import me.otisdiver.otisarena.event.JoinQuit; import me.otisdiver.otisarena.event.GameDeath; import me.otisdiver.otisarena.event.LobbyGuard; import me.otisdiver.otisarena.event.StartingCanceller; import me.otisdiver.ot...
src/main/java/me/otisdiver/otisarena/OtisArena.java
package me.otisdiver.otisarena; import org.bukkit.Bukkit; import org.bukkit.plugin.java.JavaPlugin; import me.otisdiver.otisarena.event.JoinQuit; import me.otisdiver.otisarena.event.GameDeath; import me.otisdiver.otisarena.event.LobbyGuard; import me.otisdiver.otisarena.event.StartingCanceller; import me.otisdiver.ot...
clean up JoinQuit registration no longer need to save the listener in OtisArena, see 35a130756ccf1b91dce15ec673bf2493cc4f9f3a
src/main/java/me/otisdiver/otisarena/OtisArena.java
clean up JoinQuit registration no longer need to save the listener in OtisArena, see 35a130756ccf1b91dce15ec673bf2493cc4f9f3a
<ide><path>rc/main/java/me/otisdiver/otisarena/OtisArena.java <ide> public class OtisArena extends JavaPlugin { <ide> <ide> private Game game; <del> private JoinQuit joinQuit; <ide> <ide> public void onEnable() { <ide> <ide> ConfigUtils.initiate(this); <ide> <ide> ...
JavaScript
mit
d4711bd19f4757bd3f1ac88455b1d1e998eb3bb6
0
iMarck/radiotime-tools,iMarck/radiotime-tools,tunein/radiotime-tools,tunein/radiotime-tools
/** * radiotime.js -- API, helper functions and objects * * @author alex * @author Jeremy Dunck <jeremy@radiotime.com> * * */ var RadioTime = { _baseUrls: { "stable": "opml.radiotime.com/", "beta": "dev.radiotime.com/opml/", "dev": "localhost:55084/opml/" }, init: function(partnerId, containerId, pat...
clients/js/src/js/radiotime.js
/** * radiotime.js -- API, helper functions and objects * * @author alex * @author Jeremy Dunck <jeremy@radiotime.com> * * */ var RadioTime = { _baseUrls: { "stable": "opml.radiotime.com/", "beta": "dev.radiotime.com/opml/", "dev": "localhost:55084/opml/" }, init: function(partnerId, containerId, pat...
Added HTML5 audio support (for iPad only for now).
clients/js/src/js/radiotime.js
Added HTML5 audio support (for iPad only for now).
<ide><path>lients/js/src/js/radiotime.js <ide> this._play(this._url); <ide> }, <ide> isSupported: function() { <del> return true; <del> return ( //hack to add iphone support via quicktime by skipping flash <del> //FIXME: make player detection not need this. :-) <del> typeof RadioTime.player._player !=...
Java
mit
e2fb7fad37d85035e45c1126718b9f4918b733af
0
mwcaisse/AndroidFT,mwcaisse/AndroidFT,mwcaisse/AndroidFT
/** * */ package com.ricex.aft.servlet.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web....
aft-servlet/src/main/java/com/ricex/aft/servlet/controller/FileController.java
/** * */ package com.ricex.aft.servlet.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web....
Actualy saved the FileController this time
aft-servlet/src/main/java/com/ricex/aft/servlet/controller/FileController.java
Actualy saved the FileController this time
<ide><path>ft-servlet/src/main/java/com/ricex/aft/servlet/controller/FileController.java <ide> return fileManager.getFile(fileId); <ide> } <ide> <del> /** Retrieves the name of the file with the given id <del> * <del> * @param fileId The id of the file to fetch <del> * @return The name of the file <del> */ <d...
JavaScript
agpl-3.0
ef3eebfd3e46276aa58d722e4e8986946872439c
0
IljaN/core,michaelletzgus/nextcloud-server,IljaN/core,jbicha/server,sharidas/core,whitekiba/server,pmattern/server,pollopolea/core,lrytz/core,sharidas/core,sharidas/core,nextcloud/server,andreas-p/nextcloud-server,whitekiba/server,bluelml/core,xx621998xx/server,cernbox/core,pmattern/server,bluelml/core,whitekiba/server...
FileList={ useUndo:true, update:function(fileListHtml) { $('#fileList').empty().html(fileListHtml); }, addFile:function(name,size,lastModified,loading){ var img=(loading)?OC.imagePath('core', 'loading.gif'):OC.imagePath('core', 'filetypes/file.png'); var html='<tr data-type="file" data-size="'+size+'">'; if...
apps/files/js/filelist.js
FileList={ useUndo:true, update:function(fileListHtml) { $('#fileList').empty().html(fileListHtml); }, addFile:function(name,size,lastModified,loading){ var img=(loading)?OC.imagePath('core', 'loading.gif'):OC.imagePath('core', 'filetypes/file.png'); var html='<tr data-type="file" data-size="'+size+'">'; if...
Fix deletion for browser that do not support onBeforeUnload, fixes oc-1534.
apps/files/js/filelist.js
Fix deletion for browser that do not support onBeforeUnload, fixes oc-1534.
<ide><path>pps/files/js/filelist.js <ide> } <ide> }); <ide> } <del> <add> <ide> } <ide> tr.attr('data-file', newname); <ide> var path = td.children('a.name').attr('href'); <ide> FileList.replaceCanceled = false; <ide> FileList.replaceOldName = oldName; <ide> FileList.replaceNewName = n...
Java
bsd-2-clause
7936497ec994d4136a8da1ffd281c9c743964edf
0
TehSAUCE/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,biovoxxel/imagej
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2012 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
ui/swing/ui-base/src/main/java/imagej/ui/swing/SwingOverlayManager.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2012 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
clean up imports and improve documentation
ui/swing/ui-base/src/main/java/imagej/ui/swing/SwingOverlayManager.java
clean up imports and improve documentation
<ide><path>i/swing/ui-base/src/main/java/imagej/ui/swing/SwingOverlayManager.java <ide> import javax.swing.JScrollPane; <ide> import javax.swing.event.ListSelectionEvent; <ide> import javax.swing.event.ListSelectionListener; <del> <del>import net.imglib2.RandomAccess; <del>import net.imglib2.display.ARGBScreenImage; <d...
Java
apache-2.0
8985436cf406b2af15ebfe03462875cc641573e2
0
mosaic-cloud/mosaic-java-platform,mosaic-cloud/mosaic-java-platform
/* * #%L * mosaic-tools-threading * %% * Copyright (C) 2010 - 2012 Institute e-Austria Timisoara (Romania) * %% * 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.ap...
tools-threading/src/main/java/eu/mosaic_cloud/tools/threading/tools/Threading.java
/* * #%L * mosaic-tools-threading * %% * Copyright (C) 2010 - 2012 Institute e-Austria Timisoara (Romania) * %% * 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.ap...
Add support for current thread context class-loader manipulation
tools-threading/src/main/java/eu/mosaic_cloud/tools/threading/tools/Threading.java
Add support for current thread context class-loader manipulation
<ide><path>ools-threading/src/main/java/eu/mosaic_cloud/tools/threading/tools/Threading.java <ide> import java.lang.ref.ReferenceQueue; <ide> import java.util.concurrent.BlockingQueue; <ide> import java.util.concurrent.BrokenBarrierException; <add>import java.util.concurrent.Callable; <ide> import java.util.concurrent....
Java
apache-2.0
2a6dab5eea12176dce3f7a1bdfc67de1f05e36ad
0
saki4510t/libcommon,saki4510t/libcommon
package com.serenegiant.glutils; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2022 saki t_saki@serenegiant.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 Licen...
common/src/main/java/com/serenegiant/glutils/SurfaceReader.java
package com.serenegiant.glutils; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2022 saki t_saki@serenegiant.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 Licen...
初回のREQUEST_RECREATE_MASTER_SURFACE要求時のみSemaphoreをreleaseするように変更
common/src/main/java/com/serenegiant/glutils/SurfaceReader.java
初回のREQUEST_RECREATE_MASTER_SURFACE要求時のみSemaphoreをreleaseするように変更
<ide><path>ommon/src/main/java/com/serenegiant/glutils/SurfaceReader.java <ide> throws TaskBreak { <ide> if (DEBUG) Log.v(TAG, "processRequest:"); <ide> final Object result = handleRequest(request, arg1, arg2, obj); <del> if (request == REQUEST_RECREATE_MASTER_SURFACE) { <add> if ((request == REQUES...
Java
mit
24059ff0a7e12e30126060b78b7725a6e67ccfba
0
darkwrat/2016-02-IOTA,Ustimov/2016-02-IOTA
package su.iota.backend.frontend; import co.paralleluniverse.actors.behaviors.ProxyServerActor; import co.paralleluniverse.fibers.SuspendExecution; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.apache.http.HttpResponse;...
src/test/java/su/iota/backend/frontend/FunctionalTest.java
package su.iota.backend.frontend; import co.paralleluniverse.actors.behaviors.ProxyServerActor; import co.paralleluniverse.fibers.SuspendExecution; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.apache.http.HttpResponse;...
Repeated Sign Up, User Profile, Profile Not Existent User test cases
src/test/java/su/iota/backend/frontend/FunctionalTest.java
Repeated Sign Up, User Profile, Profile Not Existent User test cases
<ide><path>rc/test/java/su/iota/backend/frontend/FunctionalTest.java <ide> import org.apache.http.client.methods.HttpPut; <ide> import org.apache.http.entity.ByteArrayEntity; <ide> import org.apache.http.impl.client.HttpClients; <add>import org.eclipse.jetty.server.Authentication; <ide> import org.eclipse.jetty.server....
Java
apache-2.0
45653690a32a6ca1aff8006a89ccabc66d9093ed
0
jmptrader/Strata,OpenGamma/Strata,nssales/Strata,ChinaQuants/Strata
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.platform.finance.swap; import org.joda.convert.FromString; import org.joda.convert.ToString; import com.google.common.base.CaseFormat; import com.opengamma.co...
modules/finance/src/main/java/com/opengamma/platform/finance/swap/CompoundingMethod.java
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.platform.finance.swap; import org.joda.convert.FromString; import org.joda.convert.ToString; import com.google.common.base.CaseFormat; import com.opengamma.co...
PLT-533 Swap domain model Fixup definition of compounding
modules/finance/src/main/java/com/opengamma/platform/finance/swap/CompoundingMethod.java
PLT-533 Swap domain model
<ide><path>odules/finance/src/main/java/com/opengamma/platform/finance/swap/CompoundingMethod.java <ide> /** <ide> * Flat compounding applies. <ide> * <p> <del> * Compounding is based on the total of the observed rate and the spread in the <del> * first period, but only the observed rate in subsequent perio...
Java
lgpl-2.1
b0ca4d37797304509914577f55478461062a8643
0
liujed/polyglot-eclipse,liujed/polyglot-eclipse,liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,xcv58/polyglot,blue-systems-group/project.maybe.polyglot,xcv58/polyglot,xcv58/polyglot,xcv58/polyglot,liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,blue-systems-group/project.maybe.polyg...
package polyglot.ext.jl.ast; import polyglot.ast.*; import polyglot.types.*; import polyglot.util.*; import polyglot.visit.*; import polyglot.frontend.*; import polyglot.main.Report; import java.util.*; /** * A <code>ClassDecl</code> is the definition of a class, abstract class, * or interface. It may be a public o...
src/polyglot/ast/ClassDecl_c.java
package polyglot.ext.jl.ast; import polyglot.ast.*; import polyglot.types.*; import polyglot.util.*; import polyglot.visit.*; import polyglot.frontend.*; import polyglot.main.Report; import java.util.*; /** * A <code>ClassDecl</code> is the definition of a class, abstract class, * or interface. It may be a public o...
Modified the disambiguation of the supertype, so that if we are compiling the Object class (generally java.lang.Object) we do not automatically set the supertype to TypeSystem.Object(), but instead set it to null. This allows extensions to write source code for java.lang.Object, and compile it correctly.
src/polyglot/ast/ClassDecl_c.java
Modified the disambiguation of the supertype, so that if we are compiling the Object class (generally java.lang.Object) we do not automatically set the supertype to TypeSystem.Object(), but instead set it to null. This allows extensions to write source code for java.lang.Object, and compile it correctly.
<ide><path>rc/polyglot/ast/ClassDecl_c.java <ide> return ar; <ide> } <ide> <add> protected void disambiguateSuperType(AmbiguityRemover ar) throws SemanticException { <add> TypeSystem ts = ar.typeSystem(); <add> <add> if (this.superClass != null) { <add> Type t = this.superClass....
Java
mit
fc98528b554789827a1c099aa8b3557ef89b52f3
0
jtechapps/FloppyThreeD,jtechapps/FloppyThreeD,jtechapps/FloppyThreeD
package com.jtechapps.FloppyThreeD.Screens; import java.util.Iterator; import java.util.Random; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.Screen; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx...
core/src/com/jtechapps/FloppyThreeD/Screens/ClassicGameScreen.java
package com.jtechapps.FloppyThreeD.Screens; import java.util.Iterator; import java.util.Random; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.InputProcessor; import com.badlogic.gdx.Screen; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx...
Players can no longer go over top of pipes
core/src/com/jtechapps/FloppyThreeD/Screens/ClassicGameScreen.java
Players can no longer go over top of pipes
<ide><path>ore/src/com/jtechapps/FloppyThreeD/Screens/ClassicGameScreen.java <ide> if(collision){ <ide> playerdie(); <ide> } <add> Vector3 playertmppos = new Vector3(); <add> playerinstance.transform.getTranslation(playertmppos); <add> if(playertmppos.y >= 90){ <add> playerdie(); <add> } <ide> } ...
Java
apache-2.0
c3755f15546cbd56935882bb6a179df3a2914f83
0
lukeorland/joshua,fhieber/incubator-joshua,gwenniger/joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,lukeorland/joshua,thammegowda/incubator-joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,thammegowda/incubator-joshua,kpu/joshua,gwenniger/joshua,thammegowda/incubator-joshua,thammegowda/incubat...
/* This file is part of the Joshua Machine Translation System. * * Joshua 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...
src/joshua/decoder/ff/PhraseModelFF.java
/* This file is part of the Joshua Machine Translation System. * * Joshua 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...
add debug info git-svn-id: 113d22c177a5f4646d60eedc1d71f196641d30ff@313 0ae5e6b2-d358-4f09-a895-f82f13dd62a4
src/joshua/decoder/ff/PhraseModelFF.java
add debug info
<ide><path>rc/joshua/decoder/ff/PhraseModelFF.java <ide> if (this.columnIndex < rule.feat_scores.length) { <ide> return rule.feat_scores[this.columnIndex]; <ide> } else { <del> System.out.println("In PhraseModelFF: columnIndex is not right, model columnIndex: " + columnIndex + "; max colum in rule: rule.fe...
Java
apache-2.0
0f1fc65bd595b55e81639f96378c532820e0b441
0
a1vanov/ignite,psadusumilli/ignite,endian675/ignite,dlnufox/ignite,amirakhmedov/ignite,ntikhonov/ignite,dmagda/incubator-ignite,kromulan/ignite,NSAmelchev/ignite,a1vanov/ignite,ilantukh/ignite,pperalta/ignite,ryanzz/ignite,arijitt/incubator-ignite,alexzaitzev/ignite,afinka77/ignite,ilantukh/ignite,kidaa/incubator-ignit...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.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 ...
# sprint-2 fixed test
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.java
# sprint-2 fixed test
<ide><path>odules/core/src/test/java/org/apache/ignite/internal/processors/cache/integration/IgniteCacheStoreSessionWriteBehindAbstractTest.java <ide> ccfg0.setWriteThrough(true); <ide> ccfg0.setWriteBehindBatchSize(10); <ide> ccfg0.setWriteBehindFlushSize(10); <del> ccfg0.setWriteBehindF...
Java
agpl-3.0
fe65b09ea27d3f2b131d243ab70e6a670eee1c43
0
acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2007 INRIA/University of Nice-Sophia Antipolis * Contact: proactive@objectweb.org * * This lib...
src/Core/org/objectweb/proactive/core/util/log/ProActiveLogger.java
/* * ################################################################ * * ProActive: The Java(TM) library for Parallel, Distributed, * Concurrent computing with Security and Mobility * * Copyright (C) 1997-2007 INRIA/University of Nice-Sophia Antipolis * Contact: proactive@objectweb.org * * This lib...
fix text typo git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@7862 28e8926c-6b08-0410-baaa-805c5e19b8d6
src/Core/org/objectweb/proactive/core/util/log/ProActiveLogger.java
fix text typo
<ide><path>rc/Core/org/objectweb/proactive/core/util/log/ProActiveLogger.java <ide> /** <ide> * @author Arnaud Contes <ide> * <del> * This class stores all logger used in proactive. It provides an easy way <add> * This class stores all logger used in ProActive. It provides an easy way <ide> * to create and to ret...
Java
mit
aa44e923fef64dd0a39480bd8e08ebe47bf5f7d8
0
napstr/SqlSauce
/* * MIT License * * Copyright (c) 2017 Dennis Neufeld * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, m...
sqlsauce-core/src/main/java/space/npstr/sqlsauce/DatabaseConnection.java
/* * MIT License * * Copyright (c) 2017 Dennis Neufeld * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, m...
Add tunnel force reconnect
sqlsauce-core/src/main/java/space/npstr/sqlsauce/DatabaseConnection.java
Add tunnel force reconnect
<ide><path>qlsauce-core/src/main/java/space/npstr/sqlsauce/DatabaseConnection.java <ide> <ide> private static final Logger log = LoggerFactory.getLogger(DatabaseConnection.class); <ide> private static final String TEST_QUERY = "SELECT 1;"; <add> private static final long DEFAULT_FORCE_RECONNECT_TUNNEL_AFTER...
Java
apache-2.0
75d816a3e8a401f0bb66c9e12681e91162dbdd07
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project * * Copyright (c) 2005 Columbia University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
src/impl/edu/columbia/gemma/loader/loaderutils/BasicLineParser.java
/* * The Gemma project * * Copyright (c) 2005 Columbia University * * 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 ...
close stream after parse
src/impl/edu/columbia/gemma/loader/loaderutils/BasicLineParser.java
close stream after parse
<ide><path>rc/impl/edu/columbia/gemma/loader/loaderutils/BasicLineParser.java <ide> } <ide> FileInputStream stream = new FileInputStream( file ); <ide> parse( stream ); <add> stream.close(); <ide> } <ide> <ide> /*
Java
apache-2.0
69fcff1a8f809133ff441157d46f1688a77c0974
0
openfoodfacts/OpenFoodFacts-androidApp
package openfoodfacts.github.scrachx.openfood.models; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * @author herau */ public class NutrientLevelsTest { priva...
app/src/test/java/openfoodfacts/github/scrachx/openfood/models/NutrientLevelsTest.java
package openfoodfacts.github.scrachx.openfood.models; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * @author herau */ public class NutrientLevelsTest { priva...
Fix for NutrientLevelTest
app/src/test/java/openfoodfacts/github/scrachx/openfood/models/NutrientLevelsTest.java
Fix for NutrientLevelTest
<ide><path>pp/src/test/java/openfoodfacts/github/scrachx/openfood/models/NutrientLevelsTest.java <ide> */ <ide> public class NutrientLevelsTest { <ide> <del> private NutrientLevels nutrientLevels = new NutrientLevels(); <add> private NutrientLevels nutrientLevels; <ide> <ide> @Before <ide> public void ...
Java
apache-2.0
670a28b3439d75e90810d54236a1fe10dc2afac8
0
yncxcw/PreemptYARN-2.7.1,yncxcw/PreemptYARN-2.7.1,yncxcw/PreemptYARN-2.7.1,yncxcw/PreemptYARN-2.7.1,yncxcw/PreemptYARN-2.7.1,yncxcw/PreemptYARN-2.7.1,yncxcw/PreemptYARN-2.7.1,yncxcw/PreemptYARN-2.7.1
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/ProportionalCapacityPreemptionPolicy.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...
final debug 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/ProportionalCapacityPreemptionPolicy.java
final debug 2
<ide><path>adoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/ProportionalCapacityPreemptionPolicy.java <ide> // with the total capacity for this set of queues <ide> Resource unassigned = Resources.clo...
Java
apache-2.0
2ed08904c5b61c99b81685916d048a7e1fac342b
0
ErnestOrt/Trampoline,ErnestOrt/Trampoline,ErnestOrt/Trampoline
package org.ernest.applications.trampoline.entities; public class Microservice { private String id; private String name; private String pomLocation; private String gitLocation; private String defaultPort; private String actuatorPrefix; private String vmArguments; private BuildTools buildTool; private Float v...
trampoline/src/main/java/org/ernest/applications/trampoline/entities/Microservice.java
package org.ernest.applications.trampoline.entities; public class Microservice { private String id; private String name; private String pomLocation; private String gitLocation; private String defaultPort; private String actuatorPrefix; private String vmArguments; private BuildTools buildTool; private Float v...
Added regex to strip '/' from actuator prefix in setter
trampoline/src/main/java/org/ernest/applications/trampoline/entities/Microservice.java
Added regex to strip '/' from actuator prefix in setter
<ide><path>rampoline/src/main/java/org/ernest/applications/trampoline/entities/Microservice.java <ide> this.vmArguments = vmArguments; <ide> } <ide> public void setActuatorPrefix(String actuatorPrefix) { <del> this.actuatorPrefix = actuatorPrefix; <add> this.actuatorPrefix = actuatorPrefix.replaceFirst("^/",""); ...
Java
apache-2.0
b8c08db871220b561ed67f851824dd953aba62e6
0
google/ground-android,google/ground-android,google/ground-android
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
gnd/src/main/java/com/google/android/gnd/ui/BottomSheetChromeBehavior.java
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Remove debug log statement. Change-Id: I2851823a3db985553e47e635e241e10549ca4ed5
gnd/src/main/java/com/google/android/gnd/ui/BottomSheetChromeBehavior.java
Remove debug log statement.
<ide><path>nd/src/main/java/com/google/android/gnd/ui/BottomSheetChromeBehavior.java <ide> import android.content.Context; <ide> import android.support.design.widget.CoordinatorLayout; <ide> import android.util.AttributeSet; <del>import android.util.Log; <ide> import android.view.View; <ide> import android.view.ViewGro...
Java
epl-1.0
8170de81a99e4f02ca29c8048bfa0fc45ccc39f4
0
debrief/debrief,theanuradha/debrief,pecko/debrief,alastrina123/debrief,theanuradha/debrief,theanuradha/debrief,alastrina123/debrief,alastrina123/debrief,debrief/debrief,debrief/debrief,pecko/debrief,theanuradha/debrief,theanuradha/debrief,pecko/debrief,debrief/debrief,theanuradha/debrief,pecko/debrief,alastrina123/debr...
package org.mwc.cmap.gt2plot.views; import java.util.Random; import org.eclipse.jface.action.Action; import org.eclipse.jface.action.IMenuManager; import org.eclipse.jface.action.IToolBarManager; import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import...
trunk/org.mwc.cmap.gt2Plot/src/org/mwc/cmap/gt2plot/views/SampleView.java
package org.mwc.cmap.gt2plot.views; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.part.*; import org.eclipse.jface.viewers.*; import org.eclipse.swt.graphics.Image; import org.eclipse.jface.action.*; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.ui.*; import org.eclipse.swt.widg...
reduce to minimum functionality git-svn-id: d2601f1668e3cd2de409f5c059006a6eeada0abf@3349 cb33b658-6c9e-41a7-9690-cba343611204
trunk/org.mwc.cmap.gt2Plot/src/org/mwc/cmap/gt2plot/views/SampleView.java
reduce to minimum functionality
<ide><path>runk/org.mwc.cmap.gt2Plot/src/org/mwc/cmap/gt2plot/views/SampleView.java <ide> package org.mwc.cmap.gt2plot.views; <ide> <ide> <add>import java.util.Random; <add> <add>import org.eclipse.jface.action.Action; <add>import org.eclipse.jface.action.IMenuManager; <add>import org.eclipse.jface.action.IToolBarMan...
JavaScript
agpl-3.0
cb6facff49430a5adcb7e2482562c69d33cae84f
0
bram1253/testgame,bram1253/testgame
// === Variables === \\ var objects = new Array(); var platformID = 0; // The ID of the next platform var platformObjects = document.getElementById("platformObjects"); var keysDown = { arrow_left: false, arrow_right: false, arrow_up: false, arrow_down: false, spacebar: false, ...
site/onload.js
// === Variables === \\ var objects = new Array(); var platformID = 0; // The ID of the next platform var platformObjects = document.getElementById("platformObjects"); var keysDown = { arrow_left: false, arrow_right: false, arrow_up: false, arrow_down: false, spacebar: false, ...
Prepared for adding collision detection & fixed gravity not respecting game speed.
site/onload.js
Prepared for adding collision detection & fixed gravity not respecting game speed.
<ide><path>ite/onload.js <ide> <ide> platformObjects.innerHTML = platformObjects.innerHTML + insertCode + "\n"; <ide> HTMLObj = document.getElementById(platformName); <del> <add> <add> objects[platformID] = this; // Add the object in the objects array, each platformID should be unique an...
Java
lgpl-2.1
bcbafeffa96ee7f61239aee11a031a94bdb82f2e
0
viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ch.unizh.ini.jaer.projects.davis.calibration; import static org.bytedeco.javacpp.opencv_core.CV_32FC2; import static org.byted...
src/ch/unizh/ini/jaer/projects/davis/calibration/SingleCameraCalibration.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ch.unizh.ini.jaer.projects.davis.calibration; import static org.bytedeco.javacpp.opencv_core.CV_32FC2; import static org.byted...
added option to SingleCameraCalibration to hide the status text, for publication images git-svn-id: fe6b3b33f0410f5f719dcd9e0c58b92353e7a5d3@8600 b7f4320f-462c-0410-a916-d9f35bb82d52
src/ch/unizh/ini/jaer/projects/davis/calibration/SingleCameraCalibration.java
added option to SingleCameraCalibration to hide the status text, for publication images
<ide><path>rc/ch/unizh/ini/jaer/projects/davis/calibration/SingleCameraCalibration.java <ide> private boolean showUndistortedFrames = getBoolean("showUndistortedFrames", false); <ide> private boolean undistortDVSevents = getBoolean("undistortDVSevents", false); <ide> private boolean takeImageOnTimestampRese...
Java
agpl-3.0
40ad0e36f5a53de5c6b137e7c22b0b2318c767eb
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
a80959b6-2e60-11e5-9284-b827eb9e62be
hello.java
a803df18-2e60-11e5-9284-b827eb9e62be
a80959b6-2e60-11e5-9284-b827eb9e62be
hello.java
a80959b6-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>a803df18-2e60-11e5-9284-b827eb9e62be <add>a80959b6-2e60-11e5-9284-b827eb9e62be
Java
apache-2.0
51bc78d2f5c6258d6bd5e04aa9e5edb89e16e584
0
paulcwarren/spring-content,paulcwarren/spring-content,paulcwarren/spring-content
package org.springframework.content.solr; import org.springframework.content.commons.utils.ReflectionService; import org.aopalliance.intercept.MethodInvocation; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrServerException; import...
spring-content-solr/src/main/java/org/springframework/content/solr/SolrSearchImpl.java
package org.springframework.content.solr; import org.springframework.content.commons.utils.ReflectionService; import org.aopalliance.intercept.MethodInvocation; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrServerException; import...
Fix field array limit issue
spring-content-solr/src/main/java/org/springframework/content/solr/SolrSearchImpl.java
Fix field array limit issue
<ide><path>pring-content-solr/src/main/java/org/springframework/content/solr/SolrSearchImpl.java <ide> <ide> /* package */ List<Object> getIds(NamedList response) { <ide> List<Object> ids = new ArrayList<>(); <del> for (int i = 1; i < response.size(); i++) { <add> for (int i = 0; i < response...
JavaScript
mit
0af8a6c6eb627e2a04dd01ee3dc0f861ac036bb7
0
IGZjonasdacruz/igz-enterprise-geoshare,IGZjonasdacruz/igz-enterprise-geoshare,IGZjonasdacruz/igz-enterprise-geoshare,IGZjonasdacruz/igz-enterprise-geoshare
var MongoClient = require('mongodb').MongoClient, config = require('../util/config').DB, check = require('validator').check, logger = require('../util/logger')(__filename); function DaoBase (options) { this.collectionName = options.collectionName; } DaoBase.prototype.collection = function (callback) { ...
src/server/lib/dao/dao_base.js
var MongoClient = require('mongodb').MongoClient, config = require('../util/config').DB, check = require('validator').check; function DaoBase (options) { this.collectionName = options.collectionName; } DaoBase.prototype.collection = function (callback) { var self = this; MongoClient.connect(config.CON...
Added logger to DaoBase
src/server/lib/dao/dao_base.js
Added logger to DaoBase
<ide><path>rc/server/lib/dao/dao_base.js <ide> <ide> var MongoClient = require('mongodb').MongoClient, <ide> config = require('../util/config').DB, <del> check = require('validator').check; <add> check = require('validator').check, <add> logger = require('../util/logger')(__filename); <ide> <ide> functio...
JavaScript
mit
49d4d33f44720e5ceb8b2fb6d813d881bf7c3b0d
0
radicaled/whatskdpselectpaying,radicaled/whatskdpselectpaying
window.addEventListener('unhandledrejection', event => { console.error(event.reason); }); function numberWithCommas(x) { if (!x) return; return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } const database = fetch('/kenpc.json') .then(function(response) { return response.json() }).catch(funct...
src/app.js
window.addEventListener('unhandledrejection', event => { console.error(event.reason); }); function numberWithCommas(x) { if (!x) return; return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } const database = fetch('/kenpc.json') .then(function(response) { return response.json() }).catch(funct...
only render chart when props data comes in.
src/app.js
only render chart when props data comes in.
<ide><path>rc/app.js <ide> }), <ide> ready() { <ide> google.charts.load('current', {'packages':['corechart']}); <del> google.charts.setOnLoadCallback(this.drawChart.bind(this)); <add> }, <add> watch: { <add> 'database': function(val, oldVal) { <add> if (val) { <add> google.charts.setOnLoadCa...
Java
apache-2.0
19d28078faa18e28e8e0af815385a2e4865bbd0a
0
shils/groovy,eginez/incubator-groovy,ChanJLee/incubator-groovy,avafanasiev/groovy,rlovtangen/groovy-core,nobeans/incubator-groovy,adjohnson916/groovy-core,armsargis/groovy,rlovtangen/groovy-core,rlovtangen/groovy-core,ebourg/groovy-core,aim-for-better/incubator-groovy,guangying945/incubator-groovy,russel/groovy,ebourg/...
/* * Copyright 2003-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
src/main/groovy/util/IndentPrinter.java
/* * Copyright 2003-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
tweak javadoc git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@21455 a5544e8c-8a19-0410-ba12-f9af4593a198
src/main/groovy/util/IndentPrinter.java
tweak javadoc
<ide><path>rc/main/groovy/util/IndentPrinter.java <ide> import java.io.Writer; <ide> <ide> /** <del> * <p>A helper class for printing indented text. This can be used stand-alone or, more commonly, from Builders. </p> <add> * <p>A helper class for printing indented text. This can be used stand-alone or, more commonly, ...
Java
apache-2.0
6c8ecfa45027a1a35b1dc2de2ade02e4fda3ee12
0
data-integrations/database-delta-plugins
/* * Copyright © 2020 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
mysql-delta-plugins/src/main/java/io/cdap/delta/mysql/MySqlRecordConsumer.java
/* * Copyright © 2020 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Handle RENAME_TABLE and ALTER_TABLE together.
mysql-delta-plugins/src/main/java/io/cdap/delta/mysql/MySqlRecordConsumer.java
Handle RENAME_TABLE and ALTER_TABLE together.
<ide><path>ysql-delta-plugins/src/main/java/io/cdap/delta/mysql/MySqlRecordConsumer.java <ide> .setOffset(recordOffset) <ide> .setSnapshot(isSnapshot); <ide> // since current ddl blacklist implementation is bind with table level, we will only do the dll blacklist <del> // chec...
JavaScript
apache-2.0
71fc0fe56509af20318cb5ad86c1b72e45efbf08
0
mwaylabs/uikit,mwaylabs/uikit,mwaylabs/uikit
'use strict'; angular.module('mwModal', []) /** * * @ngdoc object * @name mwModal.Modal * @description The Modal service is used to manage Bootstrap modals. * @example * <doc:example> * <doc:source> * <script> * function Controller($scope, Modal) { * var modal = Modal.create({ * ...
mwModal.js
'use strict'; angular.module('mwModal', []) /** * * @ngdoc object * @name mwModal.Modal * @description The Modal service is used to manage Bootstrap modals. * @example * <doc:example> * <doc:source> * <script> * function Controller($scope, Modal) { * var modal = Modal.create({ * ...
prevents routing when modal is opened. Waits until it is closed and navigates then to the next url
mwModal.js
prevents routing when modal is opened. Waits until it is closed and navigates then to the next url
<ide><path>wModal.js <ide> * </doc:source> <ide> * </doc:example> <ide> */ <del> .service('Modal', function ($rootScope, $templateCache, $document, $compile, $controller, $q, $http) { <del> <del> var body = $document.find('body').eq(0); <del> <del> var Modal = function(modalOptions){ <del> <del> ...
Java
apache-2.0
a2c380f9447022b388744fbcef453e25441b7529
0
zerodengxinchao/ovirt-engine,eayun/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-en...
package org.ovirt.engine.core.bll.snapshots; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.ovirt.engine.core.bll.ImagesHandler; import org.ovirt.engine.core.bll.VmHa...
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java
package org.ovirt.engine.core.bll.snapshots; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.ovirt.engine.core.bll.ImagesHandler; import org.ovirt.engine.core.bll.VmHa...
core: Add Cinder disks to snapshot OVF. Add also Cinder disks to a list of disks which are initialized with empty storage domain id while adding a snapshot, so Cinder disks will also get updated with the accurate Storage Domain id in case of a move operation. Change-Id: Icaf67979493885ef2f53ac27afd8383942d242ca Bug-U...
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java
core: Add Cinder disks to snapshot OVF.
<ide><path>ackend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/SnapshotsManager.java <ide> <ide> if (disks == null) { <ide> disks = ImagesHandler.filterImageDisks(getDiskDao().getAllForVm(vm.getId()), false, true, true); <add> disks.addAll(ImagesHandler.getCinder...
Java
apache-2.0
637d107d1b3d4952883333f27b101226c95e21ef
0
apache/commons-digester,apache/commons-digester,callMeDimit/commons-digester,mohanaraosv/commons-digester,callMeDimit/commons-digester,mohanaraosv/commons-digester,mohanaraosv/commons-digester,apache/commons-digester,callMeDimit/commons-digester
package org.apache.commons.digester3.xmlrules; /* * 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 Apac...
core/src/main/java/org/apache/commons/digester3/xmlrules/FromXmlRulesModule.java
package org.apache.commons.digester3.xmlrules; /* * 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 Apac...
no needs to store system ids to a ThreadLocal, modules not invoked in lazy-loading way anymore git-svn-id: 871f264856ddff118359d15337bbbf32ea57c748@1301817 13f79535-47bb-0310-9956-ffa450edef68
core/src/main/java/org/apache/commons/digester3/xmlrules/FromXmlRulesModule.java
no needs to store system ids to a ThreadLocal, modules not invoked in lazy-loading way anymore
<ide><path>ore/src/main/java/org/apache/commons/digester3/xmlrules/FromXmlRulesModule.java <ide> <ide> private final URL xmlRulesDtdUrl = FromXmlRulesModule.class.getResource( DIGESTER_DTD_PATH ); <ide> <del> private final ThreadLocal<Set<String>> systemIds = new ThreadLocal<Set<String>>(); <add> private fi...
Java
epl-1.0
f46a94753f050e21a6977b3a780a3df318621d8b
0
blizzy78/egit,SmithAndr/egit,paulvi/egit,paulvi/egit,collaborative-modeling/egit,collaborative-modeling/egit,SmithAndr/egit,wdliu/egit,wdliu/egit
/******************************************************************************* * Copyright (C) 2007, Dave Watson <dwatson@mimvista.com> * Copyright (C) 2007, Robin Rosenberg <me@lathund.dewire.com.dewire.com> * Copyright (C) 2007, Robin Rosenberg <me@lathund.dewire.com> * Copyright (C) 2008, Robin Rosenberg <robi...
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java
/******************************************************************************* * Copyright (C) 2007, Dave Watson <dwatson@mimvista.com> * Copyright (C) 2007, Robin Rosenberg <me@lathund.dewire.com.dewire.com> * Copyright (C) 2007, Robin Rosenberg <me@lathund.dewire.com> * Copyright (C) 2008, Robin Rosenberg <robi...
Use ResourceUtil for finding IFile for compare in commit dialog ResourceUtil correctly handles the case where the resource is not shared by the Git team provider. Bug: 42182 Change-Id: I3c19ef170161b6084dbf7a12943b6b9ac5bb6310 Signed-off-by: Robin Stocker <474ee9ee179b0ecf0bc27408079a0b15eda4c99d@nibor.org>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java
Use ResourceUtil for finding IFile for compare in commit dialog
<ide><path>rg.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/dialogs/CommitDialog.java <ide> *******************************************************************************/ <ide> package org.eclipse.egit.ui.internal.dialogs; <ide> <del>import java.io.File; <ide> import java.io.IOException; <del>import java.net.URI...
Java
epl-1.0
5eacce0cc44bfbc21b9da223f439e72bb7352aeb
0
Fiser12/Redes-Invernadero
package servidor.view; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import java.awt.GridBagLayout; import java.awt.GridLayout; import javax.swing.JButton; import javax.swing.JTextPane; import javax.sw...
src/servidor/view/ventanaServidor.java
package servidor.view; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; import java.awt.GridBagLayout; import java.awt.GridLayout; import javax.swing.JButton; import javax.swing.JTextPane; public class ...
Ventana Servidor sin tablas
src/servidor/view/ventanaServidor.java
Ventana Servidor sin tablas
<ide><path>rc/servidor/view/ventanaServidor.java <ide> import java.awt.GridLayout; <ide> import javax.swing.JButton; <ide> import javax.swing.JTextPane; <add>import javax.swing.JLabel; <add>import java.awt.FlowLayout; <add>import java.awt.CardLayout; <add>import javax.swing.SwingConstants; <add>import javax.swing.Group...
Java
apache-2.0
385222ef2c197074a229a05ffd6fcb1497f94b7f
0
wschaeferB/autopsy,millmanorama/autopsy,millmanorama/autopsy,millmanorama/autopsy,wschaeferB/autopsy,esaunders/autopsy,wschaeferB/autopsy,rcordovano/autopsy,esaunders/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,millmanorama/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,rcordovano/a...
/* * Autopsy Forensic Browser * * Copyright 2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java
/* * Autopsy Forensic Browser * * Copyright 2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
must convert to lower since thats what the normalizer does
Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java
must convert to lower since thats what the normalizer does
<ide><path>ore/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java <ide> <ide> String dataSourceName = objectIdToDataSourceMap.get(objectId); <ide> <del> if (name.equals(name) && dataSourceName.equals(dataSource)) { <add> if (name.toLowerCase().equa...
Java
agpl-3.0
dfc2c8c69e0657aa875ba1063a39a5403dcefbae
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
cef6530e-2e5f-11e5-9284-b827eb9e62be
hello.java
cedca6e8-2e5f-11e5-9284-b827eb9e62be
cef6530e-2e5f-11e5-9284-b827eb9e62be
hello.java
cef6530e-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>cedca6e8-2e5f-11e5-9284-b827eb9e62be <add>cef6530e-2e5f-11e5-9284-b827eb9e62be
JavaScript
mit
31bd68da5a7d2432cdbd78d20ca86d29b2153888
0
kabam-archived/kabam-plugin-my-profile
var fs = require('fs'); exports.routes = function(mwc){ mwc.app.get('/auth/myProfile',function(request,response){ if(request.user){ if (request.is('json')) { response.json(request.user) } else { var parameters = { 'title': 'Edit your profile', 'useGoog...
index.js
var fs = require('fs'); exports.routes = function(mwc){ mwc.app.get('/auth/myProfile',function(request,response){ if(request.user){ if (request.is('json')) { response.json(request.user) } else { response.render('my',{title:'Edit your profile'}); } } else { r...
[feature] - providers integration
index.js
[feature] - providers integration
<ide><path>ndex.js <ide> if (request.is('json')) { <ide> response.json(request.user) <ide> } else { <del> response.render('my',{title:'Edit your profile'}); <add> var parameters = { <add> 'title': 'Edit your profile', <add> 'useGoogle': true, <add> ...
Java
apache-2.0
c2c022591f3ccff2214972fae060973d8734405b
0
CMPUT301W14T07/Team7Project,CMPUT301W14T07/Team7Project
/**a * @author Michael Raypold */ package ca.ualberta.team7project.test; import java.util.Date; import ca.ualberta.team7project.MainActivity; import android.content.Context; import android.location.Location; import android.location.LocationManager; import android.test.ActivityInstrumentationTestCase2; public class...
Team7ProjectTest/src/ca/ualberta/team7project/test/useCaseValidation.java
/**a * @author Michael Raypold * */ package ca.ualberta.team7project.test; import ca.ualberta.team7project.MainActivity; import android.content.Context; import android.location.Location; import android.location.LocationManager; import android.test.ActivityInstrumentationTestCase2; public class useCaseValidation e...
More test cases
Team7ProjectTest/src/ca/ualberta/team7project/test/useCaseValidation.java
More test cases
<ide><path>eam7ProjectTest/src/ca/ualberta/team7project/test/useCaseValidation.java <ide> /**a <ide> * @author Michael Raypold <del> * <ide> */ <ide> package ca.ualberta.team7project.test; <add> <add>import java.util.Date; <ide> <ide> import ca.ualberta.team7project.MainActivity; <ide> import android.content.Contex...
Java
mit
a72d1d7071c866f673d889b9ded366f61acbba81
0
Innovimax-SARL/mix-them
package innovimax.mixthem.operation; import innovimax.mixthem.MixException; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.io.DefaultByteWriter; import innovimax.mixthem.io.IByteOutput; import innovimax.mixthem.io.IMultiChannelByteInput; import inn...
src/main/java/innovimax/mixthem/operation/AbstractByteOperation.java
package innovimax.mixthem.operation; import innovimax.mixthem.MixException; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.arguments.ParamValue; import innovimax.mixthem.io.DefaultByteWriter; import innovimax.mixthem.io.IByteOutput; import innovimax.mixthem.io.IMultiChannelByteInput; import inn...
Update AbstractByteOperation.java
src/main/java/innovimax/mixthem/operation/AbstractByteOperation.java
Update AbstractByteOperation.java
<ide><path>rc/main/java/innovimax/mixthem/operation/AbstractByteOperation.java <ide> final IByteOutput writer = new DefaultByteWriter(output); <ide> final ByteResult result = new ByteResult(); <ide> while (reader.hasByte()) { <del> final byte[] bytes = reader.nextBytes(); <del> process(by...
Java
apache-2.0
efb15ea27ab66d477001ffc742fa9d75685df91a
0
FasterXML/jackson-databind,FasterXML/jackson-databind
package com.fasterxml.jackson.databind.deser.std; import java.io.IOException; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.annotation.JacksonStdImpl; import com.fasterxml.jackson.databind.deser...
src/main/java/com/fasterxml/jackson/databind/deser/std/EnumDeserializer.java
package com.fasterxml.jackson.databind.deser.std; import java.io.IOException; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.annotation.JacksonStdImpl; import com.fasterxml.jackson.databind.deser...
Minor improvement to handling wrt #2823, less confusing exception message
src/main/java/com/fasterxml/jackson/databind/deser/std/EnumDeserializer.java
Minor improvement to handling wrt #2823, less confusing exception message
<ide><path>rc/main/java/com/fasterxml/jackson/databind/deser/std/EnumDeserializer.java <ide> JsonToken curr = p.currentToken(); <ide> <ide> // Usually should just get string value: <del> if (curr == JsonToken.VALUE_STRING || curr == JsonToken.FIELD_NAME) { <add> // 04-Sep-2020, tatu: for ...
Java
lgpl-2.1
a0c8507763a6fb06fb50eb94c8d4690c1fc7bef6
0
janissl/languagetool,jimregan/languagetool,janissl/languagetool,janissl/languagetool,janissl/languagetool,janissl/languagetool,languagetool-org/languagetool,meg0man/languagetool,lopescan/languagetool,meg0man/languagetool,jimregan/languagetool,languagetool-org/languagetool,lopescan/languagetool,languagetool-org/language...
/* LanguageTool, a natural language style checker * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de) * * 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....
languagetool-language-modules/fr/src/main/java/org/languagetool/rules/fr/QuestionWhitespaceRule.java
/* LanguageTool, a natural language style checker * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de) * * 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....
[fr] accept also "espace fine insécable" (U+202f)
languagetool-language-modules/fr/src/main/java/org/languagetool/rules/fr/QuestionWhitespaceRule.java
[fr] accept also "espace fine insécable" (U+202f)
<ide><path>anguagetool-language-modules/fr/src/main/java/org/languagetool/rules/fr/QuestionWhitespaceRule.java <ide> String prevToken = ""; <ide> for (int i = 1; i < tokens.length; i++) { <ide> final String token = tokens[i].getToken(); <del> final boolean isWhiteBefore = tokens[i].isWhitespaceBefore...
Java
apache-2.0
b525fcf85d41d46d68d48dc374696995c5f883c7
0
gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom
/* * Copyright 2017 Crown Copyright * * 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...
stroom-app/src/main/java/stroom/resources/query/v1/SqlStatisticsQueryResource.java
/* * Copyright 2017 Crown Copyright * * 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...
Add more logging to SqlStatisticsQueryResource
stroom-app/src/main/java/stroom/resources/query/v1/SqlStatisticsQueryResource.java
Add more logging to SqlStatisticsQueryResource
<ide><path>troom-app/src/main/java/stroom/resources/query/v1/SqlStatisticsQueryResource.java <ide> @Path(QueryResource.DATA_SOURCE_ENDPOINT) <ide> @Timed <ide> public DataSource getDataSource(final DocRef docRef) { <add> <add> if (LOGGER.isDebugEnabled()) { <add> String json = JsonUtil.wri...
JavaScript
mit
3f837967d7e5f4c380587524fd78aca6ca7a81d2
0
siimple/siimple-icons,siimple/siimple-icons
let fs = require("fs"); let path = require("path"); process.nextTick(function () { //Global configuration let iconsFolder = "./svg/"; let iconsFile = "./icons.json"; let unicodeStart = 57344; //Read the icons folder return fs.readdir(iconsFolder, function (error, files) { if (error) { ...
scripts/init.js
let fs = require("fs"); let path = require("path"); //Global configuration let iconsFolder = "./svg/"; let iconsFile = "./icons.json"; let unicodeStart = 57344; //Read the icons folder fs.readdir(iconsFolder, function (error, files) { if (error) { throw error; } let icons = []; let iconUnicode...
Minor changes
scripts/init.js
Minor changes
<ide><path>cripts/init.js <ide> let fs = require("fs"); <ide> let path = require("path"); <ide> <del>//Global configuration <del>let iconsFolder = "./svg/"; <del>let iconsFile = "./icons.json"; <del>let unicodeStart = 57344; <del> <del>//Read the icons folder <del>fs.readdir(iconsFolder, function (error, files) { <del...
Java
mit
4363bc7929d2bb9c68bf6cb924c6b7958ca2bada
0
opengl-8080/Samples,opengl-8080/Samples,opengl-8080/Samples,opengl-8080/Samples,opengl-8080/Samples
package sample.javafx.property; import javafx.beans.binding.DoubleBinding; import javafx.beans.property.DoubleProperty; import javafx.beans.property.SimpleDoubleProperty; public class Main { public static void main(String[] args) { DoubleProperty a = new SimpleDoubleProperty(1.0); DoubleP...
java/javafx/src/main/java/sample/javafx/property/Main.java
package sample.javafx.property; import javafx.beans.property.SimpleDoubleProperty; public class Main { public static void main(String[] args) { SimpleDoubleProperty a = new SimpleDoubleProperty(); a.addListener(System.out::println); a.set(1.0); a.set(2....
JavaFX Hello Binding
java/javafx/src/main/java/sample/javafx/property/Main.java
JavaFX Hello Binding
<ide><path>ava/javafx/src/main/java/sample/javafx/property/Main.java <ide> package sample.javafx.property; <ide> <add>import javafx.beans.binding.DoubleBinding; <add>import javafx.beans.property.DoubleProperty; <ide> import javafx.beans.property.SimpleDoubleProperty; <ide> <ide> public class Main { <ide> public s...
Java
apache-2.0
6758af468337bd76391771fe6e121a5aa0c9fc15
0
operasoftware/operaprestodriver,operasoftware/operaprestodriver,operasoftware/operaprestodriver
package com.opera.core.systems.scope.internal; public class OperaFlags { //compile flags //enable checks, disabled in internal use to allow clicking on disabled elements, etc.. public static final boolean ENABLE_CHECKS = false; }
src/com/opera/core/systems/scope/internal/OperaFlags.java
package com.opera.core.systems.scope.internal; public class OperaFlags { //compile flags //enable checks, disabled in internal use to allow clicking on disabled elements, etc.. public static final boolean ENABLE_CHECKS = false; //enable active window to be of type dialog, not allowed in interactive test (not c...
We no longer need the dialog flag
src/com/opera/core/systems/scope/internal/OperaFlags.java
We no longer need the dialog flag
<ide><path>rc/com/opera/core/systems/scope/internal/OperaFlags.java <ide> //enable checks, disabled in internal use to allow clicking on disabled elements, etc.. <ide> public static final boolean ENABLE_CHECKS = false; <ide> <del> //enable active window to be of type dialog, not allowed in interactive test (not cro...
Java
bsd-3-clause
0a36bcb0c7693943c890d8d79ca8d37eaa550741
0
nachoorme/cartodb-java-client
src/test/java/com/cartodb/Secret.java
package com.cartodb; public class Secret { public static final String user = "gkudos"; public static final String password = "azsxdcfvgbhn"; public static final String CONSUMER_KEY = "1MZDTC5p067g09j39D0Cye4bpAMDl99wbQ25GUU4"; public static final String CONSUMER_SECRET = "ZurIAGiECgCfgfliG225vPXsLK0D6EUqbWqXz24...
Delete Secret.java
src/test/java/com/cartodb/Secret.java
Delete Secret.java
<ide><path>rc/test/java/com/cartodb/Secret.java <del>package com.cartodb; <del> <del> <del>public class Secret { <del> <del> public static final String user = "gkudos"; <del> public static final String password = "azsxdcfvgbhn"; <del> public static final String CONSUMER_KEY = "1MZDTC5p067g09j39D0Cye4bpAMDl99wbQ25GUU4"...
JavaScript
mit
a0469694001ac681d97ae483b93a7ea91982e12f
0
sstur/node-restify,BryanDonovan/node-restify,ferhatsb/node-restify,heiparta/node-restify,meleslilijing/node-restify,thisandagain/node-restify,kusor/node-restify,rafael-custodio/node-restify,noseglid/node-restify,gwicke/node-restify,davepacheco/node-restify,rborn/node-restify,type/node-restify,chaordic/node-restify,roge...
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved. var assert = require('assert'); var crypto = require('crypto'); var http = require('http'); var https = require('https'); var path = require('path'); var querystring = require('querystring'); var url = require('url'); var formidable = require('form...
lib/server.js
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved. var assert = require('assert'); var crypto = require('crypto'); var http = require('http'); var https = require('https'); var path = require('path'); var querystring = require('querystring'); var url = require('url'); var formidable = require('form...
modified _parseRequest to only take content handlers from _config.contentHandlers, ie. removed built in ones from this file
lib/server.js
modified _parseRequest to only take content handlers from _config.contentHandlers, ie. removed built in ones from this file
<ide><path>ib/server.js <ide> <ide> var bParams; <ide> try { <del> if (contentType === 'application/x-www-form-urlencoded') { <del> bParams = querystring.parse(request.body) || {}; <del> } else if (contentType === 'application/json') { <del> bParams = JSON.parse(...
Java
mit
1f0f5663706d4194947698f68dd7aec7cd872553
0
hpe-idol/java-powerpoint-report,hpautonomy/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/java-powerpoint-report,hpe-idol/find,hpe-idol/find,hpe-idol/find,hpautonomy/find
package com.autonomy.abc.find; import com.autonomy.abc.config.HostedTestBase; import com.autonomy.abc.config.TestConfig; import com.autonomy.abc.framework.KnownBug; import com.autonomy.abc.framework.RelatedTo; import com.autonomy.abc.selenium.application.HSODFind; import com.autonomy.abc.selenium.control.Session; impo...
integration-tests-hosted/src/test/java/com/autonomy/abc/find/FindITCase.java
package com.autonomy.abc.find; import com.autonomy.abc.config.HostedTestBase; import com.autonomy.abc.config.TestConfig; import com.autonomy.abc.framework.KnownBug; import com.autonomy.abc.framework.RelatedTo; import com.autonomy.abc.selenium.application.HSODFind; import com.autonomy.abc.selenium.control.Session; impo...
Review update to testNoResults - now ensures only one error message
integration-tests-hosted/src/test/java/com/autonomy/abc/find/FindITCase.java
Review update to testNoResults - now ensures only one error message
<ide><path>ntegration-tests-hosted/src/test/java/com/autonomy/abc/find/FindITCase.java <ide> import org.openqa.selenium.support.ui.WebDriverWait; <ide> <ide> import java.util.*; <add>import java.util.regex.Pattern; <ide> <ide> import static com.autonomy.abc.framework.ABCAssert.assertThat; <ide> import static com.auto...
Java
apache-2.0
3b7fa1eb4ea436115d5d60b1d71ca39768b0a456
0
billho/symphony,billho/symphony,billho/symphony
/* * Symphony - A modern community (forum/BBS/SNS/blog) platform written in Java. * Copyright (C) 2012-2018, b3log.org & hacpai.com * * 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,...
src/main/java/org/b3log/symphony/event/ArticleAddNotifier.java
/* * Symphony - A modern community (forum/BBS/SNS/blog) platform written in Java. * Copyright (C) 2012-2018, b3log.org & hacpai.com * * 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,...
:lock: 修复同城使用匿名漏洞
src/main/java/org/b3log/symphony/event/ArticleAddNotifier.java
:lock: 修复同城使用匿名漏洞
<ide><path>rc/main/java/org/b3log/symphony/event/ArticleAddNotifier.java <ide> * Sends article add related notifications. <ide> * <ide> * @author <a href="http://88250.b3log.org">Liang Ding</a> <del> * @version 1.3.4.15, Jun 6, 2018 <add> * @version 1.3.4.16, Aug 6, 2018 <ide> * @since 0.2.0 <ide> */ <ide> @Named ...
Java
apache-2.0
a0bf7d4c38536740bd267d2e24f229e1955b2ffb
0
serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,Sargul/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreSequence.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
#5156 PG: sequence DDL gen fix Former-commit-id: b563a1de21e7203e893f5b37fe29f579e7d68bce
plugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreSequence.java
#5156 PG: sequence DDL gen fix
<ide><path>lugins/org.jkiss.dbeaver.ext.postgresql/src/org/jkiss/dbeaver/ext/postgresql/model/PostgreSequence.java <ide> if (info.getLastValue() != null && info.getLastValue().longValue() > 0) { <ide> sql.append("\n\tSTART ").append(info.getLastValue()); <ide> } <del> sql.append("\n\tCACHE ...
Java
bsd-3-clause
8042182efc71e48c0e7e04a7a9a7399bf8f02b5e
0
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
/* * Copyright (c) 2017, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
core/src/main/java/org/hisp/dhis/android/core/trackedentity/TrackedEntityTypeHandler.java
/* * Copyright (c) 2017, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
[ANDROSDK-434] Unify TETHandler
core/src/main/java/org/hisp/dhis/android/core/trackedentity/TrackedEntityTypeHandler.java
[ANDROSDK-434] Unify TETHandler
<ide><path>ore/src/main/java/org/hisp/dhis/android/core/trackedentity/TrackedEntityTypeHandler.java <ide> */ <ide> package org.hisp.dhis.android.core.trackedentity; <ide> <add>import org.hisp.dhis.android.core.arch.handlers.IdentifiableSyncHandlerImpl; <add>import org.hisp.dhis.android.core.arch.handlers.SyncHandler;...
Java
mit
108918b8999771a743a5625aab6544a0b267172a
0
ValentinMinder/wasadigi-Teaching-HEIGVD-RES,ValentinMinder/wasadigi-Teaching-HEIGVD-RES
package ch.heigvd.res.http.test; import ch.heigvd.res.http.HttpServer; import ch.heigvd.res.http.interfaces.IHttpServer; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.logging.Level; import java.util.logging.Logger; im...
labs/06-HttpImplementation/HttpLibraryTest/test/ch/heigvd/res/http/test/ConcurrentHttpServerTest.java
package ch.heigvd.res.http.test; import ch.heigvd.res.http.HttpServer; import ch.heigvd.res.http.interfaces.IHttpServer; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.logging.Level; import java.util.logging.Logger; im...
Fixed wrong assertion (https://github.com/wasadigi/Teaching-HEIGVD-RES/issues/4)
labs/06-HttpImplementation/HttpLibraryTest/test/ch/heigvd/res/http/test/ConcurrentHttpServerTest.java
Fixed wrong assertion (https://github.com/wasadigi/Teaching-HEIGVD-RES/issues/4)
<ide><path>abs/06-HttpImplementation/HttpLibraryTest/test/ch/heigvd/res/http/test/ConcurrentHttpServerTest.java <ide> long serverStartTime = Long.parseLong(firstLine.split(" ")[1]); <ide> long serverEndTime = Long.parseLong(lastLine.split(" ")[1]); <ide> long serverDuration = serverEndTime - serverStartT...
Java
apache-2.0
c78e91e07d4e306b91868a9bdee6d7e8e1e5349a
0
asedunov/intellij-community,fitermay/intellij-community,fitermay/intellij-community,allotria/intellij-community,allotria/intellij-community,michaelgallacher/intellij-community,suncycheng/intellij-community,xfournet/intellij-community,asedunov/intellij-community,suncycheng/intellij-community,FHannes/intellij-community,m...
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
lst: refresh only after the last of enclosed WriteActions We don't use afterWriteActionFinished because we want to update inside same WriteLock section.
platform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java
lst: refresh only after the last of enclosed WriteActions
<ide><path>latform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java <ide> } <ide> <ide> private class MyApplicationListener extends ApplicationAdapter { <add> private int myWriteActionDepth = 0; <add> <add> @Override <add> public void writeActionStarted(@NotNull Object action) { <add> ...
Java
mit
error: pathspec 'javafx/tools/src/main/java/org/diirt/javafx/tools/HistogramGraphApp.java' did not match any file(s) known to git
e6766d5d70f88bb379746905839d183c9814aa6f
1
ControlSystemStudio/diirt,ControlSystemStudio/diirt,diirt/diirt,ControlSystemStudio/diirt,diirt/diirt,berryma4/diirt,diirt/diirt,berryma4/diirt,berryma4/diirt,diirt/diirt,berryma4/diirt,ControlSystemStudio/diirt
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.diirt.javafx.tools; import javafx.scene.input.MouseEvent; import javafx.stage.Stage; import static org.diirt.datasource.fo...
javafx/tools/src/main/java/org/diirt/javafx/tools/HistogramGraphApp.java
Finish HistogramGraphApp
javafx/tools/src/main/java/org/diirt/javafx/tools/HistogramGraphApp.java
Finish HistogramGraphApp
<ide><path>avafx/tools/src/main/java/org/diirt/javafx/tools/HistogramGraphApp.java <add>/* <add> * To change this license header, choose License Headers in Project Properties. <add> * To change this template file, choose Tools | Templates <add> * and open the template in the editor. <add> */ <add>package org.diirt.java...
Java
apache-2.0
a7641c31bd3dc00888d35f77f0e72382d060e3ad
0
DAA233/EasyEcard,SunGoodBoy/EasyEcard
package com.duang.easyecard.Activities; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValue...
src/com/duang/easyecard/Activities/SigninActivity.java
package com.duang.easyecard.Activities; import java.util.ArrayList; import java.util.List; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; import com.duang.easyecard.R; import com.d...
Add RememberPassword function to SigninActivity.
src/com/duang/easyecard/Activities/SigninActivity.java
Add RememberPassword function to SigninActivity.
<ide><path>rc/com/duang/easyecard/Activities/SigninActivity.java <ide> package com.duang.easyecard.Activities; <ide> <ide> import java.util.ArrayList; <add>import java.util.HashMap; <ide> import java.util.List; <add>import java.util.Map; <ide> <ide> import org.apache.http.NameValuePair; <ide> import org.apache.http.c...
Java
mit
59ee9a254399ffba755cbc10574a36299369a545
0
NyaaCat/PlayTimeTracker
package cat.nyaa.playtimetracker; import cat.nyaa.nyaacore.utils.InventoryUtils; import cat.nyaa.nyaacore.utils.ItemStackUtils; import cat.nyaa.playtimetracker.Utils.TaskUtils; import cat.nyaa.playtimetracker.Utils.TimeUtils; import cat.nyaa.playtimetracker.config.PTTConfiguration; import cat.nyaa.playtimetracker.conf...
src/main/java/cat/nyaa/playtimetracker/PlayerMissionManager.java
package cat.nyaa.playtimetracker; import cat.nyaa.nyaacore.utils.InventoryUtils; import cat.nyaa.nyaacore.utils.ItemStackUtils; import cat.nyaa.playtimetracker.Utils.TaskUtils; import cat.nyaa.playtimetracker.Utils.TimeUtils; import cat.nyaa.playtimetracker.config.PTTConfiguration; import cat.nyaa.playtimetracker.conf...
mission reward message
src/main/java/cat/nyaa/playtimetracker/PlayerMissionManager.java
mission reward message
<ide><path>rc/main/java/cat/nyaa/playtimetracker/PlayerMissionManager.java <ide> import org.jetbrains.annotations.Nullable; <ide> <ide> import java.math.BigDecimal; <del>import java.util.ArrayList; <del>import java.util.List; <del>import java.util.Map; <del>import java.util.UUID; <add>import java.util.*; <ide> import ...
Java
mit
cf56d532e57dca045ac5703f0e8d26df989fd5af
0
disconsented/MPC
/*The MIT License (MIT) Copyright (c) 2015 Disconsented, James Kerr Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
src/main/java/com/disconsented/monolithicPackChecker/Logging.java
/*The MIT License (MIT) Copyright (c) 2015 Disconsented, James Kerr Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
Formatting adjustment
src/main/java/com/disconsented/monolithicPackChecker/Logging.java
Formatting adjustment
<ide><path>rc/main/java/com/disconsented/monolithicPackChecker/Logging.java <ide> public static void info(Object info) { <ide> logger.info(info); <ide> } <del> <add> <ide> public static void error(Object error) { <ide> logger.error(error); <ide> } <ide> } <ide> <ide> public stati...
Java
apache-2.0
674d102c1860664722d861cd07e6d62e729b7062
0
realityforge/arez,realityforge/arez,realityforge/arez
package arez; import javax.annotation.Nonnull; /** * Flags that can be passed when creating observers that determine the configuration of the observer. * The class also contains constants and methods used to extract runtime state from Observers. */ public final class Flags { /** * Flag indicating that the Obs...
core/src/main/java/arez/Flags.java
package arez; import javax.annotation.Nonnull; /** * Flags that can be passed when creating observers that determine the configuration of the observer. * The class also contains constants and methods used to extract runtime state from Observers. */ public final class Flags { /** * Flag indicating that the Obs...
Improve documentation for some flags and make a few flags package access
core/src/main/java/arez/Flags.java
Improve documentation for some flags and make a few flags package access
<ide><path>ore/src/main/java/arez/Flags.java <ide> */ <ide> private static final int RUN_TYPE_MASK = RUN_NOW | RUN_LATER; <ide> /** <del> * The runtime will keep the observer reacting to dependencies until disposed. This should not be <del> * specified if {@link #DEACTIVATE_ON_UNOBSERVE} is specified. This i...
Java
apache-2.0
f435ce4d1984a5a60b3b03f50083484533326e2d
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-2018 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.codeInsight.template.impl; import com.intellij.codeInsight.CodeInsightBundle; import com.intellij.codeInsight.template.EverywhereContextType; import com.int...
platform/lang-impl/src/com/intellij/codeInsight/template/impl/LiveTemplateSettingsEditor.java
// Copyright 2000-2018 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.codeInsight.template.impl; import com.intellij.codeInsight.CodeInsightBundle; import com.intellij.codeInsight.template.EverywhereContextType; import com.int...
IDEA-194876 When removing "Other" from "B" live template context, it's reset to "None"
platform/lang-impl/src/com/intellij/codeInsight/template/impl/LiveTemplateSettingsEditor.java
IDEA-194876 When removing "Other" from "B" live template context, it's reset to "None"
<ide><path>latform/lang-impl/src/com/intellij/codeInsight/template/impl/LiveTemplateSettingsEditor.java <ide> protected void onNodeStateChanged(CheckedTreeNode node) { <ide> final TemplateContextType type = (TemplateContextType)((Pair)node.getUserObject()).first; <ide> if (type != null) { <del> ...
Java
apache-2.0
d14c2b678eee103da2161998fdac53b795eb0c09
0
hawkular/hawkular-metrics,hawkular/hawkular-metrics,burmanm/hawkular-metrics,burmanm/hawkular-metrics,burmanm/hawkular-metrics,hawkular/hawkular-metrics,burmanm/hawkular-metrics,hawkular/hawkular-metrics
/* * Copyright 2014-2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://w...
core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
/* * Copyright 2014-2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://w...
[HWKMETRICS-702] Add IF EXISTS to the drop table
core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java
[HWKMETRICS-702] Add IF EXISTS to the drop table
<ide><path>ore/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/DataAccessImpl.java <ide> @Override <ide> public Observable<ResultSet> dropTempTable(long timestamp) { <ide> String fullTableName = getTempTableName(timestamp); <del> String dropCQL = String.format("DROP TABLE %s"...
Java
apache-2.0
23b12148ff5edc112fa21ae676341c606e99b1e5
0
bitsofproof/supernode,joansmith/supernode
/* * Copyright 2012 Tamas Blummer tamas@bitsofproof.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
src/main/java/com/bitsofproof/supernode/core/P2P.java
/* * Copyright 2012 Tamas Blummer tamas@bitsofproof.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
unsolicited set incorrectly
src/main/java/com/bitsofproof/supernode/core/P2P.java
unsolicited set incorrectly
<ide><path>rc/main/java/com/bitsofproof/supernode/core/P2P.java <ide> connectSlot.acquireUninterruptibly (); <ide> <ide> final Peer peer = createPeer (address, true); <del> peer.unsolicited = true; <add> peer.unsolicited = false; <ide> peer.connect (); <ide> scheduler.schedule (...
JavaScript
apache-2.0
1815ee7a9e8ae7737c303303a0c595cb5d92966d
0
junbon/binary-static-www2,tfoertsch/binary-static,junbon/binary-static-www2,tfoertsch/binary-static
var LiveChartConfig = function(params) { params = params || {}; this.renderTo = params['renderTo'] || 'live_chart_div'; this.renderHeight = params['renderHeight'] || 450; this.shift = typeof params['shift'] !== 'undefined' ? params['shift'] : 1; this.with_trades = typeof params['with_trades'] !== 'u...
src/javascript/binary/livechart/config.js
var LiveChartConfig = function(params) { params = params || {}; this.renderTo = params['renderTo'] || 'live_chart_div'; this.renderHeight = params['renderHeight'] || 450; this.shift = typeof params['shift'] !== 'undefined' ? params['shift'] : 1; this.with_trades = typeof params['with_trades'] !== 'u...
change default of livechart
src/javascript/binary/livechart/config.js
change default of livechart
<ide><path>rc/javascript/binary/livechart/config.js <ide> this.resolution = this.best_resolution(this.from, this.to); <ide> } <ide> } else { <del> symbol = markets.by_symbol(params['symbol']) || markets.by_symbol(LocalStore.get('live_chart.symbol')) || markets.by_symbol('R...
Java
apache-2.0
61bc8f5bbe1a77b96bbcf8bf4d03c5aff4579c68
0
Plonk42/mytracks
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
MyTracks/src/com/google/android/apps/mytracks/io/sync/SyncAdapter.java
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Bug fix, do not cache folder id across sync requests to handle the case of switching account
MyTracks/src/com/google/android/apps/mytracks/io/sync/SyncAdapter.java
Bug fix, do not cache folder id across sync requests to handle the case of switching account
<ide><path>yTracks/src/com/google/android/apps/mytracks/io/sync/SyncAdapter.java <ide> private Drive drive; <ide> private String driveAccountName; // the account name associated with the drive <ide> private String folderId; <del> <add> <ide> public SyncAdapter(Context context) { <ide> super(context, true)...
Java
apache-2.0
354f6bffe4a365acd394cd248c67e826c37a691e
0
panossot/xnio,xnio/xnio,kabir/xnio,stuartwdouglas/xnio,panossot/xnio,xnio/xnio,dmlloyd/xnio,kabir/xnio,fl4via/xnio,fl4via/xnio
/* * JBoss, Home of Professional Open Source * * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
api/src/main/java/org/xnio/Option.java
/* * JBoss, Home of Professional Open Source * * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lic...
More ways to build option sets
api/src/main/java/org/xnio/Option.java
More ways to build option sets
<ide><path>pi/src/main/java/org/xnio/Option.java <ide> } <ide> <ide> /** <add> * Add options to this set. <add> * <add> * @param option1 the first option to add <add> * @param option2 the second option to add <add> * @return this builder <add> */ <add> ...
Java
mit
error: pathspec 'project/KaryoTyper/src/MedialAxis/RegressionLib.java' did not match any file(s) known to git
e852cd0005dbba72728482037837a0c3e71a911b
1
reatkin2/karyotyper
/** * */ package MedialAxis; import java.awt.Color; import java.awt.Point; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.util.ArrayList; import javax.imageio.ImageIO; import org.apache.commons.math3.analysis.DifferentiableUnivariateFunction; import org.apache.co...
project/KaryoTyper/src/MedialAxis/RegressionLib.java
Working simple polynomial regression.
project/KaryoTyper/src/MedialAxis/RegressionLib.java
Working simple polynomial regression.
<ide><path>roject/KaryoTyper/src/MedialAxis/RegressionLib.java <add>/** <add> * <add> */ <add>package MedialAxis; <add> <add>import java.awt.Color; <add>import java.awt.Point; <add>import java.awt.image.BufferedImage; <add>import java.io.File; <add>import java.io.IOException; <add>import java.util.ArrayList; <add> <ad...
Java
apache-2.0
db0a4db0510392331298f7179193ef6c2b4b6053
0
apache/wicket,dashorst/wicket,zwsong/wicket,Servoy/wicket,klopfdreh/wicket,AlienQueen/wicket,klopfdreh/wicket,Servoy/wicket,aldaris/wicket,dashorst/wicket,topicusonderwijs/wicket,selckin/wicket,apache/wicket,bitstorm/wicket,bitstorm/wicket,apache/wicket,klopfdreh/wicket,freiheit-com/wicket,klopfdreh/wicket,zwsong/wicke...
/* * $Id$ $Revision: * 1.20 $ $Date$ * * ============================================================================== * 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...
wicket-examples/src/java/wicket/examples/forminput/FormInput.java
/* * $Id$ $Revision: * 1.20 $ $Date$ * * ============================================================================== * 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...
avoid NPE git-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@459438 13f79535-47bb-0310-9956-ffa450edef68
wicket-examples/src/java/wicket/examples/forminput/FormInput.java
avoid NPE
<ide><path>icket-examples/src/java/wicket/examples/forminput/FormInput.java <ide> */ <ide> public void setLocale(Locale locale) <ide> { <del> getSession().setLocale(locale); <add> if (locale != null) <add> { <add> getSession().setLocale(locale); <add> } <ide> } <ide> <ide> /**
Java
apache-2.0
e7d66b58ea3a21bdcb27dd00f02a97b510a08543
0
xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,semonte/intellij-community,ThiagoGarciaAlves/intellij-community,apixandru/intellij-community,suncycheng/intellij-community,da1z/intellij-community,semonte/intellij-community,apixandru/intellij-community,vvv1559/intellij-community,signed/intellij-community...
/* * Copyright 2000-2015 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...
plugins/testng/src/com/theoryinpractice/testng/inspection/TestNGDataProviderInspection.java
/* * Copyright 2000-2015 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...
testng: accept non-static data provider methods in foreign classes since 6.9.13 (IDEA-171367)
plugins/testng/src/com/theoryinpractice/testng/inspection/TestNGDataProviderInspection.java
testng: accept non-static data provider methods in foreign classes since 6.9.13 (IDEA-171367)
<ide><path>lugins/testng/src/com/theoryinpractice/testng/inspection/TestNGDataProviderInspection.java <ide> import com.intellij.ide.fileTemplates.FileTemplate; <ide> import com.intellij.ide.fileTemplates.FileTemplateDescriptor; <ide> import com.intellij.ide.fileTemplates.FileTemplateManager; <add>import com.intellij.op...
Java
apache-2.0
ab313005132783be84fe65942ea2ce24652a6a29
0
himanshug/druid,erikdubbelboer/druid,leventov/druid,zhaown/druid,friedhardware/druid,milimetric/druid,kevintvh/druid,du00cs/druid,amikey/druid,lcp0578/druid,amikey/druid,Kleagleguo/druid,du00cs/druid,calliope7/druid,druid-io/druid,qix/druid,zhaown/druid,authbox-lib/druid,767326791/druid,rasahner/druid,michaelschiff/dru...
/* * Druid - a distributed column store. * Copyright (C) 2012, 2013 Metamarkets Group Inc. * * 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 License, or (at you...
server/src/main/java/io/druid/server/coordinator/DruidCoordinator.java
/* * Druid - a distributed column store. * Copyright (C) 2012, 2013 Metamarkets Group Inc. * * 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 License, or (at you...
remove duplicate code
server/src/main/java/io/druid/server/coordinator/DruidCoordinator.java
remove duplicate code
<ide><path>erver/src/main/java/io/druid/server/coordinator/DruidCoordinator.java <ide> { <ide> Set<DataSegment> availableSegments = Sets.newTreeSet(Comparators.inverse(DataSegment.bucketMonthComparator())); <ide> <del> Iterable<DataSegment> dataSegments = Iterables.concat( <del> Iterables.transform( <d...
Java
apache-2.0
11d7e5d640cbf8b0e8035f196cf355740411e3c2
0
intouchfollowup/dbmaintain,intouchfollowup/dbmaintain
/* * Copyright DbMaintain.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
dbmaintain/src/main/java/org/dbmaintain/database/impl/PostgreSqlDatabase.java
/* * Copyright DbMaintain.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
DBM-117 - Error dropping partitioned table in Postgres during re-create
dbmaintain/src/main/java/org/dbmaintain/database/impl/PostgreSqlDatabase.java
DBM-117 - Error dropping partitioned table in Postgres during re-create
<ide><path>bmaintain/src/main/java/org/dbmaintain/database/impl/PostgreSqlDatabase.java <ide> getSQLHandler().execute("drop trigger " + triggerName + " cascade", getDataSource()); <ide> } <ide> <add> /** <add> * Removes the table with the given name from the given schema. <add> * Note: the table name is ...
Java
apache-2.0
error: pathspec 'src/test/java/com/google/code/morphia/callbacks/TestMultipleCallbackMethods.java' did not match any file(s) known to git
26b03f096a7b1ce9a53f0d26f4a1f04f2db7a665
1
crazycode/morphia
package com.google.code.morphia.callbacks; import junit.framework.Assert; import org.bson.types.ObjectId; import org.junit.Test; import com.google.code.morphia.TestBase; import com.google.code.morphia.annotations.Id; import com.google.code.morphia.annotations.PrePersist; public class TestMultipleCallback...
src/test/java/com/google/code/morphia/callbacks/TestMultipleCallbackMethods.java
git-svn-id: http://morphia.googlecode.com/svn/trunk/morphia@597 7223e496-fac8-11de-aa3c-59de0406b4f5
src/test/java/com/google/code/morphia/callbacks/TestMultipleCallbackMethods.java
<ide><path>rc/test/java/com/google/code/morphia/callbacks/TestMultipleCallbackMethods.java <add>package com.google.code.morphia.callbacks; <add> <add>import junit.framework.Assert; <add> <add>import org.bson.types.ObjectId; <add>import org.junit.Test; <add> <add>import com.google.code.morphia.TestBase; <add>import com....
Java
apache-2.0
1af465fa7e326b2957fbc79c0cffd36b555a87fe
0
NativeScript/android-runtime,NativeScript/android-runtime,NativeScript/android-runtime,NativeScript/android-runtime,NativeScript/android-runtime,NativeScript/android-runtime,NativeScript/android-runtime
package com.tns; public class NativeScriptActivity extends android.app.Activity { private final int objectId; public NativeScriptActivity() { com.tns.Platform.initInstance(this); objectId = com.tns.Platform.getorCreateJavaObjectID(this); } public void addContentView(android.view.View param_0, android.view...
src/src/com/tns/NativeScriptActivity.java
package com.tns; public class NativeScriptActivity extends android.app.Activity { private final int objectId; public NativeScriptActivity() { com.tns.Platform.initInstance(this); objectId = com.tns.Platform.getorCreateJavaObjectID(this); } public void addContentView(android.view.View param_0, android.view....
fixed nativescript activity so it passes every method return type
src/src/com/tns/NativeScriptActivity.java
fixed nativescript activity so it passes every method return type
<ide><path>rc/src/com/tns/NativeScriptActivity.java <ide> com.tns.Platform.initInstance(this); <ide> objectId = com.tns.Platform.getorCreateJavaObjectID(this); <ide> } <del> <add> <ide> public void addContentView(android.view.View param_0, android.view.ViewGroup.LayoutParams param_1) <ide> { <ide> if (__ho0) ...
Java
apache-2.0
error: pathspec 'MyTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java' did not match any file(s) known to git
90afc1e2212bfaabe6a3580f6d31acd7b4a5eb31
1
Plonk42/mytracks
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
MyTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java
Polar parser
MyTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java
Polar parser
<ide><path>yTracks/src/com/google/android/apps/mytracks/services/sensors/PolarSensorManager.java <add>/* <add> * Copyright 2011 Google Inc. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); you may not <add> * use this file except in compliance with the License. You may obtain a copy of <a...
Java
mit
e9409e56b43b7fd2c6aa71c02954cf9c93771856
0
SysLord/slide-gen
package de.syslord.boxmodel; import java.awt.Color; import java.io.ByteArrayInputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Stream; import de.syslord.boxmodel.renderer.RenderType; import de.syslord.boxmodel.renderer.RenderableBoxI...
slideLayoutRenderer/src/main/java/de/syslord/boxmodel/LayoutableBox.java
package de.syslord.boxmodel; import java.awt.Color; import java.io.ByteArrayInputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Stream; import de.syslord.boxmodel.renderer.RenderType; import de.syslord.boxmodel.renderer.RenderableBoxI...
convenience method setFloat
slideLayoutRenderer/src/main/java/de/syslord/boxmodel/LayoutableBox.java
convenience method setFloat
<ide><path>lideLayoutRenderer/src/main/java/de/syslord/boxmodel/LayoutableBox.java <ide> this.styleIdentifier = styleIdentifier; <ide> } <ide> <add> public void setFloat() { <add> setProp(PositionProperty.FLOAT_UP); <add> setProp(PositionProperty.FLOAT_DOWN); <add> } <add> <ide> }
Java
mit
a6bfa09eee65091c29002b924996374c9f0a8d2d
0
c-sung/dust-density-,c-sung/dust-density-,c-sung/dust-density-
package tw.kewang.testserver.api; import com.google.gson.Gson; import javax.ws.rs.*; import javax.ws.rs.core.Response; import java.util.ArrayList; import java.util.List; @Path("data") public class DataApi { private static volatile List<Member> members = new ArrayList<>(); private final Gson gson = new Gson()...
src/main/java/tw/kewang/testserver/api/DataApi.java
package tw.kewang.testserver.api; import com.google.gson.Gson; import javax.ws.rs.*; import javax.ws.rs.core.Response; import java.util.ArrayList; import java.util.List; @Path("data") public class DataApi { private static volatile List<Member> members = new ArrayList<>(); private final Gson gson = new Gson()...
change OK to JSON
src/main/java/tw/kewang/testserver/api/DataApi.java
change OK to JSON
<ide><path>rc/main/java/tw/kewang/testserver/api/DataApi.java <ide> private static volatile List<Member> members = new ArrayList<>(); <ide> private final Gson gson = new Gson(); <ide> private final Answer noResult = new Answer("not found"); <del> <add> private final Answer yesResult = new Answer("OK"); <...
Java
apache-2.0
50867a77a68874db2f4119cd680d8ef2c4d2eb5c
0
JetBrains/jetpad-mapper,timzam/jetpad-mapper
/* * Copyright 2012-2016 JetBrains s.r.o * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
util/base/src/test/java/jetbrains/jetpad/base/AsyncsTest.java
/* * Copyright 2012-2016 JetBrains s.r.o * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
add tests for Asyncs.isFailed()
util/base/src/test/java/jetbrains/jetpad/base/AsyncsTest.java
add tests for Asyncs.isFailed()
<ide><path>til/base/src/test/java/jetbrains/jetpad/base/AsyncsTest.java <ide> assertFalse(Asyncs.isSucceeded(async)); <ide> } <ide> <add> @Test <add> public void failedTrue() { <add> assertTrue(Asyncs.isFailed(Asyncs.failure(new RuntimeException()))); <add> } <add> <add> @Test <add> public void failedFal...
JavaScript
agpl-3.0
43bda7289b17da03d4b8bd43961389649bb5f666
0
utunga/Tradeify,utunga/Tradeify
 function TradeifyWidget(offers_selector, current_tags_selector) { var offers; var offers_render_fn; var current_tags; var offers_uri; var map; /* google.maps.Map.prototype.markers = new Array(); google.maps.Map.prototype.getMarkers = function() { return this.markers ...
twademe/osocial/widget_support.js
 function TradeifyWidget(offers_selector, current_tags_selector) { var offers; var offers_render_fn; var current_tags; var offers_uri; var map; /* google.maps.Map.prototype.markers = new Array(); google.maps.Map.prototype.getMarkers = function() { return this.markers ...
tryed to centre map zoom on markers 3
twademe/osocial/widget_support.js
tryed to centre map zoom on markers 3
<ide><path>wademe/osocial/widget_support.js <ide> createPopup(map, marker); <ide> }); <ide> }); <del> var latlngbounds = new GLatLngBounds(); <add> var latlngbounds = new google.maps.LatLng(); <ide> for (var i = 0; i < latlng.length; i++) { <ide> lat...
Java
apache-2.0
c608a089787456e607709f3baef7a3c1622f7bf5
0
east119/zxing,Peter32/zxing,wirthandrel/zxing,DONIKAN/zxing,Solvoj/zxing,0111001101111010/zxing,RatanPaul/zxing,kyosho81/zxing,wanjingyan001/zxing,JerryChin/zxing,qianchenglenger/zxing,zootsuitbrian/zxing,ForeverLucky/zxing,tanelihuuskonen/zxing,peterdocter/zxing,zootsuitbrian/zxing,sunil1989/zxing,OnecloudVideo/zxing,...
/* * Copyright (C) 2010 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
android/src/com/google/zxing/client/android/BeepManager.java
/* * Copyright (C) 2010 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Issue 1680 Finish / clean up media player in rare case the media server dies git-svn-id: b10e9e05a96f28f96949e4aa4212c55f640c8f96@2799 59b500cc-1b3d-0410-9834-0bbf25fbcc57
android/src/com/google/zxing/client/android/BeepManager.java
Issue 1680 Finish / clean up media player in rare case the media server dies
<ide><path>ndroid/src/com/google/zxing/client/android/BeepManager.java <ide> /** <ide> * Manages beeps and vibrations for {@link CaptureActivity}. <ide> */ <del>final class BeepManager { <add>final class BeepManager implements MediaPlayer.OnCompletionListener, MediaPlayer.OnErrorListener { <ide> <ide> private stat...
Java
apache-2.0
8b1cfe62ce02c00c3f305dc55c3543a579cf99c8
0
wildfly-security/wildfly-elytron,wildfly-security/wildfly-elytron
/* * JBoss, Home of Professional Open Source. * Copyright 2016 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
src/main/java/org/wildfly/security/http/impl/SpnegoAuthenticationMechanism.java
/* * JBoss, Home of Professional Open Source. * Copyright 2016 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
[ELY-1373] SPNEGO should not send base challenge on failed authorization
src/main/java/org/wildfly/security/http/impl/SpnegoAuthenticationMechanism.java
[ELY-1373] SPNEGO should not send base challenge on failed authorization
<ide><path>rc/main/java/org/wildfly/security/http/impl/SpnegoAuthenticationMechanism.java <ide> return; <ide> } <ide> <del> if (gssContext.isEstablished()) { <add> if (gssContext.isEstablished()) { // no more tokens are needed from the peer <ide> final ...
Java
bsd-2-clause
73f172495a37700f68855595f2137c37e3783144
0
sechel/jtem-halfedge,sechel/jtem-halfedge
/** This file is part of a jTEM project. All jTEM projects are licensed under the FreeBSD license or 2-clause BSD license (see http://www.opensource.org/licenses/bsd-license.php). Copyright (c) 2006-2010, Technische Universität Berlin, jTEM All rights reserved. Redistribution and use in source and binary forms, wit...
src/de/jtem/halfedge/util/HalfEdgeUtils.java
/** This file is part of a jTEM project. All jTEM projects are licensed under the FreeBSD license or 2-clause BSD license (see http://www.opensource.org/licenses/bsd-license.php). Copyright (c) 2006-2010, Technische Universität Berlin, jTEM All rights reserved. Redistribution and use in source and binary forms, wit...
add findEdgesBetweenFaces method to the utilities git-svn-id: 03edb61ddfd7a116a155cc4ee4a25ffdd5f61cac@1660 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
src/de/jtem/halfedge/util/HalfEdgeUtils.java
add findEdgesBetweenFaces method to the utilities
<ide><path>rc/de/jtem/halfedge/util/HalfEdgeUtils.java <ide> return null; <ide> } <ide> <add> /** <add> * Finds all edges with given left and right faces. <add> * <p> <add> * Uses {@link #boundaryEdges(Face)}, so the preconditions explained there apply. <add> * @param <E> the edge type <add> * @param <F> the f...
Java
agpl-3.0
6f0a02c0166715226146720318014906506e4127
0
sfloresm/rstudio,JanMarvin/rstudio,edrogers/rstudio,pssguy/rstudio,vbelakov/rstudio,suribes/rstudio,githubfun/rstudio,JanMarvin/rstudio,thklaus/rstudio,suribes/rstudio,brsimioni/rstudio,JanMarvin/rstudio,vbelakov/rstudio,jar1karp/rstudio,jrnold/rstudio,jar1karp/rstudio,jzhu8803/rstudio,tbarrongh/rstudio,maligulzar/Rstu...
/* * Packages.java * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. Th...
src/gwt/src/org/rstudio/studio/client/workbench/views/packages/Packages.java
/* * Packages.java * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. Th...
delay subscribing to the deferreed init completed event in packages pane
src/gwt/src/org/rstudio/studio/client/workbench/views/packages/Packages.java
delay subscribing to the deferreed init completed event in packages pane
<ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/packages/Packages.java <ide> import com.google.gwt.core.client.JsArray; <ide> import com.google.gwt.event.shared.HandlerRegistration; <ide> import com.google.gwt.user.client.Command; <add>import com.google.gwt.user.client.Timer; <ide> import com.google.inj...
JavaScript
mit
c40b4ed045fc3377212cb54e2b4f9ff4786ac079
0
bieg/independerchat,bieg/independerchat
'use strict'; const _ = require('lodash'); const Script = require('smooch-bot').Script; const scriptRules = require('./script.json'); var myDate = new Date(); var groet = ''; /* hour is before noon */ if ( myDate.getHours() < 8 ) { groet = "Goeiemorgen ��. Bedankt voor je bezoek maar op dit moment is Independer...
script.js
'use strict'; const _ = require('lodash'); const Script = require('smooch-bot').Script; const scriptRules = require('./script.json'); var myDate = new Date(); var groet = ''; /* hour is before noon */ if ( myDate.getHours() < 8 ) { groet = "Goeiemorgen ��. Bedankt voor je bezoek maar op dit moment is Independer...
efq elf
script.js
efq
<ide><path>cript.js <ide> const Name = message.text.trim().toUpperCase(); <ide> return bot.setProp('Name', Name) <ide> .then(() => bot.say('Hoi ${Name}. �� Ik heb nog wat vragen voor je om verder te kunnen.')) <del> .then(() => bot.say('komt ie')); <add> ...
Java
apache-2.0
1479e9e049444ca8714d4f31269e66ac06c9e709
0
taehwandev/BlogExample,taehwandev/BlogExample,taehwandev/Android-BlogExample
package tech.thdev.webviewjavascriptinterface.view.main; import android.support.test.InstrumentationRegistry; import android.support.test.espresso.action.ViewActions; import android.support.test.espresso.intent.rule.IntentsTestRule; import android.support.test.espresso.web.webdriver.DriverAtoms; import android.support...
WebViewJavascriptInterafce/src/androidTest/java/tech/thdev/webviewjavascriptinterface/view/main/MainFragmentTest.java
package tech.thdev.webviewjavascriptinterface.view.main; import android.support.test.InstrumentationRegistry; import android.support.test.espresso.action.ViewActions; import android.support.test.espresso.intent.rule.IntentsTestRule; import android.support.test.espresso.web.webdriver.DriverAtoms; import android.support...
WebView Javascript example. - update WebView UnitTest
WebViewJavascriptInterafce/src/androidTest/java/tech/thdev/webviewjavascriptinterface/view/main/MainFragmentTest.java
WebView Javascript example. - update WebView UnitTest
<ide><path>ebViewJavascriptInterafce/src/androidTest/java/tech/thdev/webviewjavascriptinterface/view/main/MainFragmentTest.java <ide> import static android.support.test.espresso.web.assertion.WebViewAssertions.webContent; <ide> import static android.support.test.espresso.web.assertion.WebViewAssertions.webMatches; <ide...
JavaScript
mit
e689c26b17ab398643f54daee728d1ead4bb0824
0
adrian-castravete/amber,amber-smalltalk/amber,amber-smalltalk/amber,adrian-castravete/amber,matthias-springer/amber-athens,matthias-springer/amber-athens,adrian-castravete/amber,amber-smalltalk/amber,matthias-springer/amber-athens
/* ==================================================================== | | Amber Smalltalk | http://amber-lang.net | ====================================================================== ====================================================================== | | Copyright (c) 2010-2011 ...
js/boot.js
/* ==================================================================== | | Amber Smalltalk | http://amber-lang.net | ====================================================================== ====================================================================== | | Copyright (c) 2010-2011 ...
fillBlock() takes the args and locals as arguments
js/boot.js
fillBlock() takes the args and locals as arguments
<ide><path>s/boot.js <ide> this.lookupClass = lookupClass; <ide> }; <ide> <del>SmalltalkMethodContext.prototype.fillBlock = function() { <add>SmalltalkMethodContext.prototype.fillBlock = function(args, locals) { <ide> this.receiver = null; <ide> this.selector = null; <del> this.args = []; <...
JavaScript
bsd-2-clause
978b0036828d68816381b1060444c7fbbd6a30bd
0
mozilla/sweet.js,sweet-js/sweet-core,mozilla/sweet.js,sweet-js/sweet.js,sweet-js/sweet.js
#lang "../macros/stxcase.js"; /* Copyright (C) 2012 Tim Disney <tim@disnet.me> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this l...
src/expander.js
#lang "../macros/stxcase.js"; /* Copyright (C) 2012 Tim Disney <tim@disnet.me> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this l...
moving module collection into expandTermTree
src/expander.js
moving module collection into expandTermTree
<ide><path>rc/expander.js <ide> // @ let ExpanderContext = {} <ide> // { <ide> // filename: Str, <del> // requireModule: Str, <ide> // env: {}, <ide> // defscope: {}, <ide> // paramscope: {}, <ide> <ide> dataclass ModuleTerm () ...
Java
mit
24a4075c8a37a4704fcc0f46515b3fcd49d7d816
0
frie321984/eClipHistory
package org.schertel.friederike.ecliphistory.view; import java.util.Observable; import java.util.Observer; import org.eclipse.e4.ui.di.Focus; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.ecl...
org.schertel.friederike.ecliphistory.application/src/org/schertel/friederike/ecliphistory/view/EClipHistoryViewPart.java
package org.schertel.friederike.ecliphistory.view; import org.eclipse.e4.ui.di.Focus; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widget...
Änderungen an der History werden automatisch im View aktualisiert.
org.schertel.friederike.ecliphistory.application/src/org/schertel/friederike/ecliphistory/view/EClipHistoryViewPart.java
Änderungen an der History werden automatisch im View aktualisiert.
<ide><path>rg.schertel.friederike.ecliphistory.application/src/org/schertel/friederike/ecliphistory/view/EClipHistoryViewPart.java <ide> package org.schertel.friederike.ecliphistory.view; <add> <add>import java.util.Observable; <add>import java.util.Observer; <ide> <ide> import org.eclipse.e4.ui.di.Focus; <ide> import...
Java
apache-2.0
2f6ad7e045dce28aab94ef1e10581600621a24d8
0
WolfgangFahl/Mediawiki-Japi,WolfgangFahl/Mediawiki-Japi
/** * * This file is part of the https://github.com/WolfgangFahl/Mediawiki-Japi open source project * * Copyright 2015-2017 BITPlan GmbH https://github.com/BITPlan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * You may...
src/main/java/com/bitplan/mediawiki/japi/Mediawiki.java
/** * * This file is part of the https://github.com/WolfgangFahl/Mediawiki-Japi open source project * * Copyright 2015-2017 BITPlan GmbH https://github.com/BITPlan * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * You may...
adds error handling for invalid xml responses
src/main/java/com/bitplan/mediawiki/japi/Mediawiki.java
adds error handling for invalid xml responses
<ide><path>rc/main/java/com/bitplan/mediawiki/japi/Mediawiki.java <ide> String xmlDebug = text.replace(">", ">\n"); <ide> LOGGER.log(Level.INFO, xmlDebug); <ide> } <del> api = fromXML(text); <add> if (text.startsWith("<?xml version")) <add> api = fromXML(text); <add> else { <...
Java
apache-2.0
58aac142d4f32d64aeda05834dc86115c2b3124a
0
apache/geronimo-devtools
/* * 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 ...
plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.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 ...
GERONIMODEVTOOLS-565 NullPointerException on opening openejb-jar.xml git-svn-id: 7b63602214189898ed4bdcfe832e41633e363f7d@810840 13f79535-47bb-0310-9956-ffa450edef68
plugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java
GERONIMODEVTOOLS-565 NullPointerException on opening openejb-jar.xml
<ide><path>lugins/org.apache.geronimo.st.ui/src/main/java/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java <ide> IProject project = ((IFileEditorInput) input).getFile().getProject(); <ide> try { <ide> IFacetedProject fp = ProjectFacetsManager.create(project); <add> if (fp == null) retu...
Java
apache-2.0
e4428b03c8ea77e8beca3a3a90823a67ce1f1a89
0
brother-eshop/dubbox,RoyZeng/dubbo,izerui/dubbo,dangdangdotcom/dubbox,lxq1008/dubbo,lxq1008/dubbo,grayaaa/dubbo,MX2015/dubbo,TonyLeee/dubbo,TonyLeee/dubbo,fzbook/dubboEvent,dangdangdotcom/dubbox,AllenRay/dubbo-ex,rogerchina/dubbo,MX2015/dubbo,cailin186/dubbox,maczam/dubbox,rabbitcount/dubbo,sunxiang0918/dubbo,wthuan/du...
/* * Copyright 1999-2011 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
dubbo-common/src/test/java/com/alibaba/dubbo/common/utils/PojoUtilsTest.java
/* * Copyright 1999-2011 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
修改错误的testcase git-svn-id: 3d0e7b608a819e97e591a7b753bfd1a27aaeb5ee@1520 1a56cb94-b969-4eaa-88fa-be21384802f2
dubbo-common/src/test/java/com/alibaba/dubbo/common/utils/PojoUtilsTest.java
修改错误的testcase
<ide><path>ubbo-common/src/test/java/com/alibaba/dubbo/common/utils/PojoUtilsTest.java <ide> import java.util.List; <ide> import java.util.Map; <ide> <del>import org.junit.Ignore; <ide> import org.junit.Test; <ide> <ide> import com.alibaba.dubbo.common.model.Person;
Java
mit
419d837a7499b8c02cb8f46f02b40b9365f2bbec
0
Juancard/parallel-and-distributed-IR,Juancard/parallel-and-distributed-IR,Juancard/parallel-and-distributed-IR
package Model; import java.io.DataInputStream; import java.util.ArrayList; import java.util.HashMap; public class Query{ private final static java.util.logging.Logger LOGGER = java.util.logging.Logger.getLogger(java.util.logging.Logger.GLOBAL_LOGGER_NAME); private HashMap<Integer, Integer> termsFreq; pri...
IR_server/java_src/Model/Query.java
package Model; import java.io.DataInputStream; import java.util.HashMap; public class Query{ private HashMap<Integer, Integer> termsFreq; private IRNormalizer normalizer; private HashMap<String, Integer> vocabulary; public Query(HashMap<Integer, Integer> termsFreq){ this.termsFreq = termsFre...
ir server: on evaluation: show discarded tokens of query
IR_server/java_src/Model/Query.java
ir server: on evaluation: show discarded tokens of query
<ide><path>R_server/java_src/Model/Query.java <ide> package Model; <ide> <ide> import java.io.DataInputStream; <add>import java.util.ArrayList; <ide> import java.util.HashMap; <ide> <ide> public class Query{ <add> private final static java.util.logging.Logger LOGGER = java.util.logging.Logger.getLogger(java.util.l...
Java
apache-2.0
3c3d162159f75bf143e795db581154ea608ab0b6
0
millmanorama/autopsy,rcordovano/autopsy,APriestman/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,esaunders/autopsy,APriestman/autopsy,esaunders/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,rcordovano/autopsy,wschaeferB/autopsy,rcordovano/autopsy,millmanorama/autopsy,esaunders/auto...
/* * Central Repository * * Copyright 2015-2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/DataContentViewerOtherCases.java
/* * Central Repository * * Copyright 2015-2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www...
Cleanup correlation case function.
Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/DataContentViewerOtherCases.java
Cleanup correlation case function.
<ide><path>ore/src/org/sleuthkit/autopsy/centralrepository/contentviewer/DataContentViewerOtherCases.java <ide> for (AbstractFile fileMatch : matches) { <ide> if (this.file.equals(fileMatch)) { <ide> continue; // If this is the file the user clicked on <del> ...
Java
mit
eb7ac1d080b2a881a0bed1c89f3adb93196b3f6e
0
tlaplus/tlaplus,lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus
/******************************************************************************* * Copyright (c) 2019 Microsoft Research. All rights reserved. * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
tlatools/src/tlc2/value/IValue.java
/******************************************************************************* * Copyright (c) 2019 Microsoft Research. All rights reserved. * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "S...
Let IValue implement Comparable interface since it already comes with compareTo(Object). [Refactor][TLC]
tlatools/src/tlc2/value/IValue.java
Let IValue implement Comparable interface since it already comes with compareTo(Object).
<ide><path>latools/src/tlc2/value/IValue.java <ide> import tla2sany.semantic.SemanticNode; <ide> import tlc2.tool.coverage.CostModel; <ide> <del>public interface IValue { <add>public interface IValue extends Comparable<Object> { <ide> <ide> /* This method compares this with val. */ <ide> int compareTo(Object val);
Java
mit
4c6ed07d3763c766be1076b5eeaa9d126a34177d
0
daniel-beck/jenkins,olivergondza/jenkins,batmat/jenkins,tangkun75/jenkins,recena/jenkins,wuwen5/jenkins,gitaccountforprashant/gittest,godfath3r/jenkins,christ66/jenkins,olivergondza/jenkins,azweb76/jenkins,olivergondza/jenkins,azweb76/jenkins,wuwen5/jenkins,escoem/jenkins,Vlatombe/jenkins,Jimilian/jenkins,stephenc/jenk...
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, * Red Hat, Inc., Seiji Sogabe, Stephen Connolly, Thomas J. Black, Tom Huybrechts, CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documen...
core/src/main/java/hudson/model/Computer.java
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, * Red Hat, Inc., Seiji Sogabe, Stephen Connolly, Thomas J. Black, Tom Huybrechts, CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documen...
add GuardedBy("hudson.model.Queue.lock") to setNumExecutors
core/src/main/java/hudson/model/Computer.java
add GuardedBy("hudson.model.Queue.lock") to setNumExecutors
<ide><path>ore/src/main/java/hudson/model/Computer.java <ide> * <ide> * @param number of executors <ide> */ <add> @GuardedBy("hudson.model.Queue.lock") <ide> private void setNumExecutors(int n) { <ide> this.numExecutors = n; <ide> final int diff = executors.size()-n;
JavaScript
mit
bbc656208ca1f007268b2786ae766822ad8f5e22
0
Crimx/crx-saladict,Crimx/crx-saladict
/** * Wraps chrome extension apis */ export const storage = { sync: { get: storageGet('sync'), set: storageSet('sync') }, local: { get: storageGet('local'), set: storageSet('local') }, listen: storageListen, addListener: storageListen, on: storageListen } /** * Wraps in-app runtime.se...
src/helpers/chrome-api.js
/** * Wraps chrome extension apis */ export const storage = { sync: { get: storageGet('sync'), set: storageSet('sync') }, local: { get: storageGet('local'), set: storageSet('local') }, listen: storageListen, addListener: storageListen, on: storageListen } /** * Wraps in-app runtime.se...
Fixed keys is optional
src/helpers/chrome-api.js
Fixed keys is optional
<ide><path>rc/helpers/chrome-api.js <ide> * @see https://developer.chrome.com/extensions/storage#type-StorageArea <ide> */ <ide> return function get (keys, cb) { <del> if (typeof cb === 'function') { <add> if (typeof keys === 'function') { <add> cb = keys <add> return chrome.storage[storageArea]...
Java
apache-2.0
25c64e86ea19d2f1821271430bdc5cb292ff9811
0
RuthRainbow/anemone
package group7.anemone.Genetics; import group7.anemone.Agent; import group7.anemone.MNetwork.MFactory; import group7.anemone.MNetwork.MNeuronParams; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import ...
src/main/java/group7/anemone/Genetics/God.java
package group7.anemone.Genetics; import group7.anemone.Agent; import group7.anemone.MNetwork.MFactory; import group7.anemone.MNetwork.MNeuronParams; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import ...
if sort itno species thread too slow, still sort into species...
src/main/java/group7/anemone/Genetics/God.java
if sort itno species thread too slow, still sort into species...
<ide><path>rc/main/java/group7/anemone/Genetics/God.java <ide> public double c1 = 0.45f; //weighting of excess genes <ide> public double c2 = 0.5f; //weighting of disjoint genes <ide> public double c3 = 0.5f; //weighting of weight differences <add> <ide> // Threshold for max distance between species member and repr...
Java
apache-2.0
b46a77447b5ecb304bb049e7c3052cdf721dff6d
0
btkelly/gandalf,btkelly/gandalf
/** * Copyright 2016 Bryan Kelly * * 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 ...
gandalf/src/main/java/io/github/btkelly/gandalf/holders/DialogStringsHolder.java
/** * Copyright 2016 Bryan Kelly * * 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 ...
Remove useless calls to setters in DialogStringsHolder's constructor
gandalf/src/main/java/io/github/btkelly/gandalf/holders/DialogStringsHolder.java
Remove useless calls to setters in DialogStringsHolder's constructor
<ide><path>andalf/src/main/java/io/github/btkelly/gandalf/holders/DialogStringsHolder.java <ide> <ide> public DialogStringsHolder(Context context) { <ide> this.context = context; <del> setUpdateAvailableTitle(R.string.update_available_title); <del> setUpdateRequiredTitle(R.string.update_requi...
Java
bsd-3-clause
e703e7f2641bad2ff4abc21837d5ca885df43122
0
Axway/VersionOne.Integration.Jenkins,versionone/VersionOne.Integration.Jenkins,versionone/VersionOne.Integration.Jenkins,Axway/VersionOne.Integration.Jenkins,Axway/VersionOne.Integration.Jenkins
package com.versionone.hudson; import com.gargoylesoftware.htmlunit.ElementNotFoundException; import com.gargoylesoftware.htmlunit.html.HtmlPage; import hudson.model.Descriptor; import hudson.model.FreeStyleBuild; import hudson.model.FreeStyleProject; import hudson.tasks.Publisher; import hudson.tasks.Shell; ...
src/test/java/com/versionone/hudson/AppTest.java
package com.versionone.hudson; import com.gargoylesoftware.htmlunit.ElementNotFoundException; import com.gargoylesoftware.htmlunit.html.HtmlPage; import hudson.model.Descriptor; import hudson.model.FreeStyleBuild; import hudson.model.FreeStyleProject; import hudson.tasks.Publisher; import hudson.tasks.Shell; ...
commented test git-svn-id: 88f7df0341149fb5a53df8bd0fa6fd6589aa8338@42310 542498e7-56f8-f544-a0f2-a85913ac812a
src/test/java/com/versionone/hudson/AppTest.java
commented test
<ide><path>rc/test/java/com/versionone/hudson/AppTest.java <ide> import hudson.util.DescribableList; <ide> import org.apache.commons.io.FileUtils; <ide> import org.jvnet.hudson.test.HudsonTestCase; <del> <add>/* <ide> public class AppTest extends HudsonTestCase { <ide> <ide> /* //TODO review and fix it <ide> * @...
Java
apache-2.0
1daf8102cdceb1d97f16db7d328c2702a385ed7c
0
gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom
package stroom.event.logging.impl; import stroom.activity.api.CurrentActivity; import stroom.event.logging.api.ObjectInfoProvider; import stroom.event.logging.api.ObjectType; import stroom.event.logging.api.StroomEventLoggingService; import stroom.security.api.SecurityContext; import stroom.security.mock.MockSecurityC...
stroom-event-logging/stroom-event-logging-impl/src/test/java/stroom/event/logging/impl/TestStroomEventLoggingServiceImpl.java
package stroom.event.logging.impl; import stroom.activity.api.CurrentActivity; import stroom.event.logging.api.ObjectInfoProvider; import stroom.event.logging.api.ObjectType; import stroom.event.logging.api.StroomEventLoggingService; import stroom.security.api.SecurityContext; import stroom.security.mock.MockSecurityC...
Fix compilation error
stroom-event-logging/stroom-event-logging-impl/src/test/java/stroom/event/logging/impl/TestStroomEventLoggingServiceImpl.java
Fix compilation error
<ide><path>troom-event-logging/stroom-event-logging-impl/src/test/java/stroom/event/logging/impl/TestStroomEventLoggingServiceImpl.java <ide> objectInfoProviderMap.put(new ObjectType(TestObj.class), () -> new TestObjInfoProvider()); <ide> <ide> stroomEventLoggingService = new StroomEventLoggingServiceI...
Java
apache-2.0
dca1ed05bfccce69814fdb59b095d734d1c82de0
0
kongweihan/helix,dasahcc/helix,dasahcc/helix,apache/helix,kongweihan/helix,apache/helix,dasahcc/helix,apache/helix,apache/helix,dasahcc/helix,lei-xia/helix,apache/helix,apache/helix,lei-xia/helix,lei-xia/helix,lei-xia/helix,dasahcc/helix,kongweihan/helix,lei-xia/helix,lei-xia/helix,dasahcc/helix
package org.apache.helix.monitoring.mbeans; /* * 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 ...
helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterStatusMonitor.java
package org.apache.helix.monitoring.mbeans; /* * 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 ...
Fix NPE when first time call WorkflowRebalancer
helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterStatusMonitor.java
Fix NPE when first time call WorkflowRebalancer
<ide><path>elix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterStatusMonitor.java <ide> } <ide> <ide> private void updateJobGauges(JobConfig jobConfig, TaskState current) { <add> // When first time for WorkflowRebalancer call, jobconfig may not ready. <add> // Thus only check it for gauge. <add...
Java
mit
20fc21b3efd70418c477216f440a2fed4d2eb455
0
jugglinmike/es6draft,anba/es6draft,jugglinmike/es6draft,anba/es6draft,jugglinmike/es6draft,jugglinmike/es6draft,anba/es6draft
/** * Copyright (c) 2012-2013 André Bargull * Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms. * * <https://github.com/anba/es6draft> */ package com.github.anba.es6draft.runtime.objects.intl; import static com.github.anba.es6draft.runtime.AbstractOperations.*; import static com.git...
src/main/java/com/github/anba/es6draft/runtime/objects/intl/IntlAbstractOperations.java
/** * Copyright (c) 2012-2013 André Bargull * Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms. * * <https://github.com/anba/es6draft> */ package com.github.anba.es6draft.runtime.objects.intl; import static com.github.anba.es6draft.runtime.AbstractOperations.*; import static com.git...
add workaround for https://bugs.ecmascript.org/show_bug.cgi?id=2081
src/main/java/com/github/anba/es6draft/runtime/objects/intl/IntlAbstractOperations.java
add workaround for https://bugs.ecmascript.org/show_bug.cgi?id=2081
<ide><path>rc/main/java/com/github/anba/es6draft/runtime/objects/intl/IntlAbstractOperations.java <ide> nu, <ide> // DateTimeFormat <ide> ca, /* nu */ <add> ; <add> <add> private static ExtensionKey forName(String name, int index) { <add> assert index + 2 <= name.length(...
Java
agpl-3.0
5178097e5adb6b2cca648e5a31bb7329630f4630
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
4dc7df70-2e62-11e5-9284-b827eb9e62be
hello.java
4dc27116-2e62-11e5-9284-b827eb9e62be
4dc7df70-2e62-11e5-9284-b827eb9e62be
hello.java
4dc7df70-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>4dc27116-2e62-11e5-9284-b827eb9e62be <add>4dc7df70-2e62-11e5-9284-b827eb9e62be