lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
apache-2.0
683bea034d936f179bad2bf248d06355dc876021
0
tessel/avr-isp
var tessel = require('tessel'); var Queue = require('sync-queue'); // #define CLOCKSPEED_FUSES SPI_CLOCK_DIV128 // #define CLOCKSPEED_FLASH SPI_CLOCK_DIV8 var CLOCKSPEED_FUSES = 125000 // Arduino's SPI_CLOCK_DIV128, 125Khz , CLOCKSPEED_FLASH = 2000000 // SPI_CLOCK_DIV8, 2Mhz , FUSES = {"lock": 0xFF, "low": 0x...
index.js
var tessel = require('tessel'); var Queue = require('sync-queue'); // #define CLOCKSPEED_FUSES SPI_CLOCK_DIV128 // #define CLOCKSPEED_FLASH SPI_CLOCK_DIV8 var CLOCKSPEED_FUSES = 125000 // Arduino's SPI_CLOCK_DIV128, 125Khz , CLOCKSPEED_FLASH = 2000000 // SPI_CLOCK_DIV8, 2Mhz , FUSES = {"lock": 0xFF, "low": 0x...
readImagePage works when provided .hex as buffer
index.js
readImagePage works when provided .hex as buffer
<ide><path>ndex.js <ide> <ide> // returns position of page read <ide> ISP.prototype.readImagePage = function (hexPos, hexText, pageAddr, pageSize) { <del> var firstline = true; <ide> var len; <ide> var page_idx = 0; <ide> var beginning = hexText; <ide> var hexByte, checksum; <ide> <ide> function nextHex(){...
Java
mpl-2.0
6fdbc123a73c540e15f60f697ed0a71b3aa19025
0
Wurst-Imperium/Wurst-MC-1.11
/* * Copyright 2014 - 2017 | Wurst-Imperium | All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package tk.wurst_client.features.mods; im...
src/tk/wurst_client/features/mods/AutoToolMod.java
/* * Copyright 2014 - 2017 | Wurst-Imperium | All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package tk.wurst_client.features.mods; im...
Add "use swords" setting to AutoToolMod
src/tk/wurst_client/features/mods/AutoToolMod.java
Add "use swords" setting to AutoToolMod
<ide><path>rc/tk/wurst_client/features/mods/AutoToolMod.java <ide> package tk.wurst_client.features.mods; <ide> <ide> import net.minecraft.item.ItemStack; <add>import net.minecraft.item.ItemSword; <ide> import net.minecraft.util.math.BlockPos; <ide> import tk.wurst_client.events.listeners.UpdateListener; <ide> import ...
Java
apache-2.0
error: pathspec 'src/main/java/com/greplin/lucene/search/AnyDocIdCollector.java' did not match any file(s) known to git
47fc7beb5812f3aed130a297831eeb056432a775
1
Cue/greplin-lucene-utils
/* * Copyright 2012 Greplin, Inc. All Rights Reserved. */ package com.greplin.lucene.search; import java.io.IOException; /** * Determines if there were *any* matches to a query, returning the doc id. */ public class AnyDocIdCollector extends UnorderedCollector { /** * Stores the first matched document id. ...
src/main/java/com/greplin/lucene/search/AnyDocIdCollector.java
Collector that returns the first matching doc id
src/main/java/com/greplin/lucene/search/AnyDocIdCollector.java
Collector that returns the first matching doc id
<ide><path>rc/main/java/com/greplin/lucene/search/AnyDocIdCollector.java <add>/* <add> * Copyright 2012 Greplin, Inc. All Rights Reserved. <add> */ <add> <add>package com.greplin.lucene.search; <add> <add>import java.io.IOException; <add> <add>/** <add> * Determines if there were *any* matches to a query, returning the...
Java
mit
0a5d63fa295fa5d37ba187363974752c28ff09b0
0
InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service
package org.innovateuk.ifs.management.competition.setup.applicationsubmission.sectionupdater; import org.innovateuk.ifs.commons.service.ServiceResult; import org.innovateuk.ifs.competition.resource.CompetitionResource; import org.innovateuk.ifs.competition.resource.CompetitionSetupSection; import org.innovateuk.ifs.co...
ifs-web-service/ifs-competition-mgt-service/src/main/java/org/innovateuk/ifs/management/competition/setup/applicationsubmission/sectionupdater/ApplicationSubmissionSectionUpdater.java
package org.innovateuk.ifs.management.competition.setup.applicationsubmission.sectionupdater; import org.innovateuk.ifs.commons.service.ServiceResult; import org.innovateuk.ifs.competition.resource.CompetitionResource; import org.innovateuk.ifs.competition.resource.CompetitionSetupSection; import org.innovateuk.ifs.co...
IFS-13064 - New line added.
ifs-web-service/ifs-competition-mgt-service/src/main/java/org/innovateuk/ifs/management/competition/setup/applicationsubmission/sectionupdater/ApplicationSubmissionSectionUpdater.java
IFS-13064 - New line added.
<ide><path>fs-web-service/ifs-competition-mgt-service/src/main/java/org/innovateuk/ifs/management/competition/setup/applicationsubmission/sectionupdater/ApplicationSubmissionSectionUpdater.java <ide> <ide> @Value("${ifs.assessment.stage.competition.enabled}") <ide> private boolean isAssessmentStageEnabled; <ad...
Java
mit
7cbde55b01337eb134cfa2418a243bd0c8cc1c27
0
heroku/direct-to-heroku-client-java
package com.herokuapp.directto.client; import java.util.*; /** * @author Ryan Brainard */ public final class EventSubscription { public static enum Event { DEPLOY_PRE_VERIFICATION_START, DEPLOY_PRE_VERIFICATION_END, DEPLOY_START, UPLOAD_START, UPLOAD_END, POLL, ...
src/main/java/com/herokuapp/directto/client/EventSubscription.java
package com.herokuapp.directto.client; import java.util.EnumSet; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArraySet; /** * @author Ryan Brainard */ public final class EventSubscription { public static enum Event { D...
remove unneeded thread safety from EventSubscription
src/main/java/com/herokuapp/directto/client/EventSubscription.java
remove unneeded thread safety from EventSubscription
<ide><path>rc/main/java/com/herokuapp/directto/client/EventSubscription.java <ide> package com.herokuapp.directto.client; <ide> <del>import java.util.EnumSet; <del>import java.util.Map; <del>import java.util.Set; <del>import java.util.concurrent.ConcurrentHashMap; <del>import java.util.concurrent.CopyOnWriteArraySet; ...
Java
mit
520b5e825c227df95c41f23956b4e72c8a917ad9
0
mercadopago/px-android,mercadopago/px-android,mercadopago/px-android
package com.mercadopago.android.px.services.util; import android.content.Context; import android.content.res.Configuration; import android.os.Build; import android.os.LocaleList; import android.support.annotation.NonNull; public final class LocaleUtil { private LocaleUtil() { } public static String getL...
px-services/src/main/java/com/mercadopago/android/px/services/util/LocaleUtil.java
package com.mercadopago.android.px.services.util; import android.content.Context; import android.content.res.Configuration; import android.os.Build; import android.os.LocaleList; import android.support.annotation.NonNull; public final class LocaleUtil { private LocaleUtil() { } public static String getL...
refactor locale (#1140)
px-services/src/main/java/com/mercadopago/android/px/services/util/LocaleUtil.java
refactor locale (#1140)
<ide><path>x-services/src/main/java/com/mercadopago/android/px/services/util/LocaleUtil.java <ide> final LocaleList locales = configuration.getLocales(); <ide> if (!locales.isEmpty()) { <ide> return locales.get(0).getLanguage(); <del> } else { <del> retu...
JavaScript
mit
5a010d4a67428a4a35394ab9b4e5c32a98c99e39
0
shexSpec/shex.js,shexSpec/shex.js,shexSpec/shex.js
// shex-simple - Simple ShEx2 validator for HTML. // Copyright 2017 Eric Prud'hommeux // Release under MIT License. const START_SHAPE_LABEL = "START"; const START_SHAPE_INDEX_ENTRY = "- start -"; // specificially not a JSON-LD @id form. const INPUTAREA_TIMEOUT = 250;var DefaultBase = location.origin + location.pathnam...
doc/shex-simple.js
// shex-simple - Simple ShEx2 validator for HTML. // Copyright 2017 Eric Prud'hommeux // Release under MIT License. const START_SHAPE_LABEL = "START"; const START_SHAPE_INDEX_ENTRY = "- start -"; // specificially not a JSON-LD @id form. const INPUTAREA_TIMEOUT = 250;var DefaultBase = location.origin + location.pathnam...
~ Cache.set sets meta.base and this.base
doc/shex-simple.js
~ Cache.set sets meta.base and this.base
<ide><path>oc/shex-simple.js <ide> set: function (text, base) { <ide> _dirty = true; <ide> selection.val(text); <del> this.url = base; <add> this.meta.base = this.url = base; <ide> }, <ide> refresh: function () { <ide> if (!_dirty)
Java
apache-2.0
e62b1bf0ea3a3c5facd16d4013f81d1a82f74375
0
apache/ode,Subasinghe/ode,apache/ode,Subasinghe/ode,Subasinghe/ode,apache/ode,Subasinghe/ode,apache/ode,Subasinghe/ode,apache/ode
/* * 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 ...
jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeCommandsBase.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 ...
whitespaces... git-svn-id: 51ebfee8793609331cc427b513d959ae09aa9655@1056146 13f79535-47bb-0310-9956-ffa450edef68
jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeCommandsBase.java
whitespaces...
<ide><path>bi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeCommandsBase.java <ide> <ide> protected List<TInstanceInfo> getFilteredInstances(long timeoutInSeconds, String filter) <ide> throws Exception { <del> InstanceInfoListDocument instances = invoke(LIST_INSTANCES, <add> ...
Java
apache-2.0
ec3a9230a28afc2ff7b154d6037cce0e3559dacb
0
jonathanedgecombe/mithril
package com.mithrilclient.module; import java.awt.Color; import java.awt.Graphics2D; import java.awt.RenderingHints; import com.mithrilclient.reflection.ReflectionHooks; import com.mithrilclient.resource.Image; import com.mithrilclient.util.Skills; public final class XPTrackerModule extends Module { private final s...
src/main/java/com/mithrilclient/module/XPTrackerModule.java
package com.mithrilclient.module; import java.awt.Color; import java.awt.Graphics2D; import java.awt.RenderingHints; import com.mithrilclient.reflection.ReflectionHooks; import com.mithrilclient.resource.Image; import com.mithrilclient.util.Skills; public final class XPTrackerModule extends Module { private final s...
Tweak xp bar colour.
src/main/java/com/mithrilclient/module/XPTrackerModule.java
Tweak xp bar colour.
<ide><path>rc/main/java/com/mithrilclient/module/XPTrackerModule.java <ide> import com.mithrilclient.util.Skills; <ide> <ide> public final class XPTrackerModule extends Module { <del> private final static Color GREEN = new Color(0, 192, 0); <add> private final static Color GREEN = new Color(0, 127, 0); <ide> <ide> p...
Java
mit
f96fe2a8782c8537b5880f445a2d555bb4269f2e
0
podio/podio-android
/* * Copyright (C) 2014 Copyright Citrix Systems, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy...
sdk/src/main/java/com/podio/sdk/domain/field/MoneyField.java
/* * Copyright (C) 2014 Copyright Citrix Systems, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy...
money field now only supports one value
sdk/src/main/java/com/podio/sdk/domain/field/MoneyField.java
money field now only supports one value
<ide><path>dk/src/main/java/com/podio/sdk/domain/field/MoneyField.java <ide> @Override <ide> public void addValue(Value value) { <ide> if (values != null && !values.contains(value)) { <del> values.add(value); <add> values.clear(); <add> values.add(0, value); <ide> ...
Java
apache-2.0
85894d26372c126ff6222981b4415ce7370b66be
0
blademainer/intellij-community,ol-loginov/intellij-community,pwoodworth/intellij-community,clumsy/intellij-community,fnouama/intellij-community,tmpgit/intellij-community,diorcety/intellij-community,robovm/robovm-studio,ibinti/intellij-community,clumsy/intellij-community,semonte/intellij-community,suncycheng/intellij-co...
package com.jetbrains.python; import com.intellij.openapi.editor.Document; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.*; import com.jetbrains.python.fixtures.PyLightFixtureTestCase; import com.jetbrains.python.psi.*; /** * @author yole */ public class PyMultiFileResolveTest extends PyLight...
python/testSrc/com/jetbrains/python/PyMultiFileResolveTest.java
package com.jetbrains.python; import com.intellij.codeInsight.CodeInsightTestCase; import com.intellij.openapi.editor.Document; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.*; import com.intellij.testFramework.PsiTestUtil; import com.jetbrains.python.psi.*; /** * @author yole */ public class...
convert test to PyLightFixtureTestCase
python/testSrc/com/jetbrains/python/PyMultiFileResolveTest.java
convert test to PyLightFixtureTestCase
<ide><path>ython/testSrc/com/jetbrains/python/PyMultiFileResolveTest.java <ide> package com.jetbrains.python; <ide> <del>import com.intellij.codeInsight.CodeInsightTestCase; <ide> import com.intellij.openapi.editor.Document; <ide> import com.intellij.openapi.vfs.VirtualFile; <ide> import com.intellij.psi.*; <del>impor...
JavaScript
mit
5cfb08048a8d38a86c0a1a7f781fd361cc502e2d
0
23/eingebaut,23/eingebaut,23/eingebaut
var Eingebaut = function(container, displayDevice, swfLocation, callback){ var $ = jQuery; var $this = this; $this.container = $(container); $this.container.css({position:'relative'}); $this.displayDevice = displayDevice||'html5'; $this.swfLocation = swfLocation||'/eingebaut/lib/FlashFallback/EingebautDebug...
eingebaut.js
var Eingebaut = function(container, displayDevice, swfLocation, callback){ var $ = jQuery; var $this = this; $this.container = $(container); $this.container.css({position:'relative'}); $this.displayDevice = displayDevice||'html5'; $this.swfLocation = swfLocation||'/eingebaut/lib/FlashFallback/EingebautDebug...
Add support for hls.js - for now, only in Chrome
eingebaut.js
Add support for hls.js - for now, only in Chrome
<ide><path>ingebaut.js <ide> }; <ide> $this.setSource = function(source, startTime, poster) { <ide> $this.switching = true; <add> $this.hls = null; <ide> if ($this.displayDevice=='html5') { <del> $this.video.prop('src', source); <add> if(/\.m3u8/.test(source) && !$this.video[0].canPlayType("app...
Java
apache-2.0
9108b2b34b0f316ef5db1d5bc54e6e0b94acf02c
0
h2oai/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3
package hex.tree.xgboost; import ml.dmlc.xgboost4j.java.DMatrix; import ml.dmlc.xgboost4j.java.Rabit; import ml.dmlc.xgboost4j.java.XGBoostError; import org.apache.commons.io.FileUtils; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import java.io.File; import java.io.IOExceptio...
h2o-extensions/xgboost/src/test/java/hex/tree/xgboost/DMatrixDemoTest.java
package hex.tree.xgboost; import ml.dmlc.xgboost4j.java.DMatrix; import ml.dmlc.xgboost4j.java.Rabit; import ml.dmlc.xgboost4j.java.XGBoostError; import org.junit.Test; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.assertEquals; public class DMatrixDemoTest ...
Added another demo showing how to use 2D DMatrix API to move any matrix
h2o-extensions/xgboost/src/test/java/hex/tree/xgboost/DMatrixDemoTest.java
Added another demo showing how to use 2D DMatrix API to move any matrix
<ide><path>2o-extensions/xgboost/src/test/java/hex/tree/xgboost/DMatrixDemoTest.java <ide> import ml.dmlc.xgboost4j.java.DMatrix; <ide> import ml.dmlc.xgboost4j.java.Rabit; <ide> import ml.dmlc.xgboost4j.java.XGBoostError; <add>import org.apache.commons.io.FileUtils; <add>import org.junit.Rule; <ide> import org.junit.T...
Java
apache-2.0
f270f955636b890d8fd7176df5981054a400848e
0
battleground/joker
package com.abooc.joker.adapter.recyclerview; import android.content.Context; import com.abooc.joker.adapter.recyclerview.ViewHolder.OnRecyclerItemChildClickListener; import com.abooc.joker.adapter.recyclerview.ViewHolder.OnRecyclerItemClickListener; import java.util.List; /** * @author zhangjunpu * @date 15/7/2...
adapter-recyclerview/src/main/java/com/abooc/joker/adapter/recyclerview/BaseRecyclerAdapter.java
package com.abooc.joker.adapter.recyclerview; import android.content.Context; import com.abooc.joker.adapter.recyclerview.ViewHolder.OnRecyclerItemChildClickListener; import com.abooc.joker.adapter.recyclerview.ViewHolder.OnRecyclerItemClickListener; import java.util.List; /** * @author zhangjunpu * @date 15/7/2...
扩展RecyclerView库方法
adapter-recyclerview/src/main/java/com/abooc/joker/adapter/recyclerview/BaseRecyclerAdapter.java
扩展RecyclerView库方法
<ide><path>dapter-recyclerview/src/main/java/com/abooc/joker/adapter/recyclerview/BaseRecyclerAdapter.java <ide> <ide> public void add(T t) { <ide> getCollection().add(t); <add> notifyDataSetChanged(); <add> } <add> <add> public void add(List<T> list) { <add> getCollection().addAll(list...
Java
apache-2.0
9dbeb2dac24b955a2e1a6d67b4a68f8e5e149bd9
0
joaogl/LeGame-Remake
/* * Copyright 2014 Joao Lourenco * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
src/net/joaolourenco/legame/world/World.java
/* * Copyright 2014 Joao Lourenco * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Solved world not loading after tutorial bug.
src/net/joaolourenco/legame/world/World.java
Solved world not loading after tutorial bug.
<ide><path>rc/net/joaolourenco/legame/world/World.java <ide> public void timerCall(String caller) { <ide> World obj = (World) this.object; <ide> obj.stopLoading = true; <add> Registry.focusGame(); <ide> } <ide> }); <ide>
Java
apache-2.0
6c46a67dd6ddc2f3c8ddda9a311aef96da83d4f3
0
fred84/elasticsearch,gfyoung/elasticsearch,kalimatas/elasticsearch,ThiagoGarciaAlves/elasticsearch,gingerwizard/elasticsearch,wenpos/elasticsearch,nknize/elasticsearch,robin13/elasticsearch,uschindler/elasticsearch,mjason3/elasticsearch,masaruh/elasticsearch,rajanm/elasticsearch,markwalkom/elasticsearch,mjason3/elastic...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
core/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
added comment
core/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java
added comment
<ide><path>ore/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java <ide> } <ide> if ((nestedParsedSource.get(0) instanceof Map) == false && <ide> nestedObjectMapper.parentObjectMapperAreNested(context.mapperService()) == false) { <add> // W...
Java
mit
0886070d62b0b7d2824e70c9fa4717570dd336e6
0
manuelsuter/pro2E
/* * Copyright (c) 2015: Anita Rosenberger, Raphael Frey, Benjamin Mueller, Florian Alber, Manuel Suter * * Authors: Manuel Suter * * */ import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.util.Observable; import javax.swing.JLabel; import javax.swing.JPanel; ...
src/RulesOfThumbPanel.java
/* * Copyright (c) 2015: Anita Rosenberger, Raphael Frey, Benjamin Mueller, Florian Alber, Manuel Suter * * Authors: Manuel Suter * * */ import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.util.Observable; import javax.swing.JLabel; import javax.swing.JPanel; ...
Rosenberg
src/RulesOfThumbPanel.java
Rosenberg
<ide><path>rc/RulesOfThumbPanel.java <ide> setBorder(MyBorderFactory.createMyBorder(" Faustformeln ")); <ide> <ide> makeRulesOfThumbLine("", "<html><i>K<sub>r</sub></html></i>", "<html><i>T<sub>n</sub></i></html>", "<html><i>T<sub>v</sub></html></i>", 0); <del> makeRulesOfThumbLine("Rasenberg", "8.49", "5.72", ...
Java
apache-2.0
0a9c5198da18429192ac937bfaaaf4d8a0618265
0
tassioauad/Capstone-Project,tassioauad/Movie-Check
package com.tassioauad.moviecheck.view.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.GridLayoutManager; import android.support.v7....
app/src/main/java/com/tassioauad/moviecheck/view/activity/ListPopularMoviesActivity.java
package com.tassioauad.moviecheck.view.activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.DefaultItemAnimator; import android.support.v7.widget.GridLayoutManager; import android.support.v7....
refact: Dealing with Scroll on Show More Better dealing with the recyclerview scroll after show more movies.
app/src/main/java/com/tassioauad/moviecheck/view/activity/ListPopularMoviesActivity.java
refact: Dealing with Scroll on Show More Better dealing with the recyclerview scroll after show more movies.
<ide><path>pp/src/main/java/com/tassioauad/moviecheck/view/activity/ListPopularMoviesActivity.java <ide> import com.tassioauad.moviecheck.view.adapter.PopularMovieListAdapter; <ide> <ide> import java.util.ArrayList; <add>import java.util.Arrays; <ide> import java.util.List; <ide> <ide> import javax.inject.Inject; <id...
Java
bsd-3-clause
156f3d5ab28d8d9f1184e7157a491f268129c4e7
0
krishagni/openspecimen,asamgir/openspecimen,krishagni/openspecimen,asamgir/openspecimen,asamgir/openspecimen,krishagni/openspecimen
package com.krishagni.catissueplus.core.administrative.services.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UsernameNotFo...
WEB-INF/src/com/krishagni/catissueplus/core/administrative/services/impl/UserServiceImpl.java
package com.krishagni.catissueplus.core.administrative.services.impl; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UsernameNotFo...
Added comments,the reason for user object clone while deleting user.
WEB-INF/src/com/krishagni/catissueplus/core/administrative/services/impl/UserServiceImpl.java
Added comments,the reason for user object clone while deleting user.
<ide><path>EB-INF/src/com/krishagni/catissueplus/core/administrative/services/impl/UserServiceImpl.java <ide> <ide> AccessCtrlMgr.getInstance().ensureDeleteUserRights(existing); <ide> <add> /* <add> * Appending timestamp to email address, loginName of user while deleting user. <add> * To send request reje...
Java
apache-2.0
afefbc06d7ee55d8e6ea04efd6cc892809f1906f
0
ffino/TeachingKidsProgramming.Source.Java,ffino/TeachingKidsProgramming.Source.Java,ffino/TeachingKidsProgramming.Source.Java,ffino/TeachingKidsProgramming.Source.Java
package org.teachingkidsprogramming.section01forloops; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.teachingextensions.logo.Tortoise; import org.teachingextensions.logo.Turtle; import org.teachingextensions.logo.utils.TortoiseUtils; public class DeepDive01ForLoops { // Step 1...
src/main/java/org/teachingkidsprogramming/section01forloops/DeepDive01ForLoops.java
package org.teachingkidsprogramming.section01forloops; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.teachingextensions.logo.Tortoise; import org.teachingextensions.logo.Turtle; import org.teachingextensions.logo.utils.TortoiseUtils; public class DeepDive01ForLoops { // Step 1...
I finish my work
src/main/java/org/teachingkidsprogramming/section01forloops/DeepDive01ForLoops.java
I finish my work
<ide><path>rc/main/java/org/teachingkidsprogramming/section01forloops/DeepDive01ForLoops.java <ide> public void combiningNumbers() throws Exception <ide> { <ide> int age = 3 + 4; <del> Assert.assertEquals(age, ____); <add> Assert.assertEquals(age, 7); <ide> } <ide> @Test <ide> public void combiningT...
Java
apache-2.0
97bfe08d688ba62d203e70ebe78c359653b02029
0
querydsl/querydsl,attila-kiss-it/querydsl,johnktims/querydsl,attila-kiss-it/querydsl,attila-kiss-it/querydsl,querydsl/querydsl,johnktims/querydsl,lpandzic/querydsl,lpandzic/querydsl,johnktims/querydsl,lpandzic/querydsl,querydsl/querydsl,lpandzic/querydsl,querydsl/querydsl
/* * Copyright 2001-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
querydsl-core/src/main/java/com/querydsl/core/util/BeanMap.java
/* * Copyright 2001-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Replace 'while' and 'for' loop to 'foreach'
querydsl-core/src/main/java/com/querydsl/core/util/BeanMap.java
Replace 'while' and 'for' loop to 'foreach'
<ide><path>uerydsl-core/src/main/java/com/querydsl/core/util/BeanMap.java <ide> // copy only properties that are readable and writable. If its <ide> // not readable, we can't get the value from the old map. If <ide> // its not writable, we can't write a value into the new map. <del...
JavaScript
mpl-2.0
38a59f59c19adfec4122acaa5e217054ec6a9e29
0
danny0838/firefox-scrapbook,danny0838/firefox-scrapbook
var sbContentSaver = { option: {}, documentName: "", item: null, favicon: null, contentDir: null, refURLObj: null, isMainFrame: true, selection: null, treeRes: null, presetData: null, httpTask: {}, downloadRewriteFiles: {}, downloadRewriteMap: {}, file2URL: {}, ...
chrome/content/scrapbook/saver.js
var sbContentSaver = { option: {}, documentName: "", item: null, favicon: null, contentDir: null, refURLObj: null, isMainFrame: true, selection: null, treeRes: null, presetData: null, httpTask: {}, downloadRewriteFiles: {}, downloadRewriteMap: {}, file2URL: {}, ...
capture: trim and skip empty lines for downLinkFilter
chrome/content/scrapbook/saver.js
capture: trim and skip empty lines for downLinkFilter
<ide><path>hrome/content/scrapbook/saver.js <ide> var ret = []; <ide> that.option["downLinkFilter"].split(/[\r\n]/).forEach(function (line) { <ide> if (line.charAt(0) === "#") return; <add> line = line.trim(); <add> if (line === "...
Java
apache-2.0
1b04c5b84ff181c434c2a1bdcd20a2383fb6270b
0
chtyim/cdap,caskdata/cdap,chtyim/cdap,anthcp/cdap,hsaputra/cdap,mpouttuclarke/cdap,anthcp/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,anthcp/cdap,mpouttuclarke/cdap,caskdata/cdap,anthcp/cdap,anthcp/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,hsaputra/cdap,hsaputra/cdap,mpouttuclarke/cdap,hsaputra/cdap,hsaputra/cdap,c...
package com.continuuity.data.operation.executor.remote; import com.continuuity.api.data.*; import com.continuuity.common.conf.CConfiguration; import com.continuuity.common.conf.Constants; import com.continuuity.common.utils.PortDetector; import com.continuuity.common.zookeeper.InMemoryZookeeper; import com.continuuity...
src/test/java/com/continuuity/data/operation/executor/remote/OperationExecutorServiceTest.java
package com.continuuity.data.operation.executor.remote; import com.continuuity.api.data.*; import com.continuuity.common.conf.CConfiguration; import com.continuuity.common.conf.Constants; import com.continuuity.common.utils.PortDetector; import com.continuuity.common.zookeeper.InMemoryZookeeper; import com.continuuity...
ENG-408 More unit tests for remote opex
src/test/java/com/continuuity/data/operation/executor/remote/OperationExecutorServiceTest.java
ENG-408 More unit tests for remote opex
<ide><path>rc/test/java/com/continuuity/data/operation/executor/remote/OperationExecutorServiceTest.java <ide> import java.nio.ByteBuffer; <ide> import java.util.List; <ide> import java.util.Map; <add>import java.util.Random; <ide> <ide> public class OperationExecutorServiceTest { <ide> <ide> // consumer twice. W...
Java
bsd-2-clause
32421634c0b6768137875a508ce652659c4c4055
0
BlazeLoader/TerrainEdit,warriordog/TerrainEdit
package net.acomputerdog.TerrainEdit.undo; import net.acomputerdog.BlazeLoader.api.block.ENotificationType; import net.acomputerdog.TerrainEdit.cuboid.Cuboid; import net.minecraft.src.NBTTagCompound; import net.minecraft.src.TileEntity; import net.minecraft.src.World; /** * A section of a world containing blocks, en...
net/acomputerdog/TerrainEdit/undo/WorldSection.java
package net.acomputerdog.TerrainEdit.undo; import net.acomputerdog.BlazeLoader.api.block.ENotificationType; import net.acomputerdog.TerrainEdit.cuboid.Cuboid; import net.minecraft.src.World; /** * A section of a world containing blocks, entities, and tile entities. */ public class WorldSection { private int x1,...
/undo can now restore some tile entities. Signs work, but inventories are broken.
net/acomputerdog/TerrainEdit/undo/WorldSection.java
/undo can now restore some tile entities. Signs work, but inventories are broken.
<ide><path>et/acomputerdog/TerrainEdit/undo/WorldSection.java <ide> <ide> import net.acomputerdog.BlazeLoader.api.block.ENotificationType; <ide> import net.acomputerdog.TerrainEdit.cuboid.Cuboid; <add>import net.minecraft.src.NBTTagCompound; <add>import net.minecraft.src.TileEntity; <ide> import net.minecraft.src.Worl...
Java
apache-2.0
4d0f2260061124878a8f884fab0148a5b29f942a
0
mirasrael/commons-csv,apache/commons-csv,apache/commons-csv,mirasrael/commons-csv
/* * 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 ...
src/main/java/org/apache/commons/csv/CSVFormat.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 ...
Javadoc.
src/main/java/org/apache/commons/csv/CSVFormat.java
Javadoc.
<ide><path>rc/main/java/org/apache/commons/csv/CSVFormat.java <ide> } <ide> <ide> /** <del> * Outputs the record separator. <add> * Outputs the trailing delimiter (if set) followed by the record separator (if set). <ide> * <ide> * @param out <ide> * where to write
JavaScript
bsd-2-clause
7825e84304a6d86ac99b677ee0d6ec40e9b4d2ba
0
tiliado/nuvola-app-mixcloud
/* * Copyright 2015 Samuel Mansour <nuvola-app-mixcloud@yay.ovh> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of c...
integrate.js
/* * Copyright 2015 Samuel Mansour <nuvola-app-mixcloud@yay.ovh> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of c...
added scope injection for the main player interaction
integrate.js
added scope injection for the main player interaction
<ide><path>ntegrate.js <ide> <ide> "use strict"; <ide> <del>(function(Nuvola) <del>{ <add>(function(Nuvola) { <ide> <ide> // media player component <ide> var player = Nuvola.$object(Nuvola.MediaPlayer); <ide> "player": "div.player-wrapper" <ide> }, <ide> "html": { <add> "wrapper": ["div", { <a...
JavaScript
mit
8951f8cf12df6262c76cf6a550cb6540896c39b0
0
team-oath/uncovery,scottdixon/uncovery,team-oath/uncovery,team-oath/uncovery,scottdixon/uncovery,team-oath/uncovery,scottdixon/uncovery,scottdixon/uncovery
var React = require('react-native'); var Comments = require('../../Comments'); var Footer = require('../Footer'); var styles = require('../../../../styles.js'); var HOST = require('../../../../config.js'); var { View, Text, TouchableOpacity, Image, StyleSheet, } = React; var Message = React.createClass({ getInit...
client/components/Main/Messages/Message/index.js
var React = require('react-native'); var Comments = require('../../Comments'); var Footer = require('../Footer'); var styles = require('../../../../styles.js'); var { View, Text, TouchableOpacity, Image, StyleSheet, } = React; var Message = React.createClass({ getInitialState: function(){ return { numHearts: ...
Thumbnail referencing config HOST
client/components/Main/Messages/Message/index.js
Thumbnail referencing config HOST
<ide><path>lient/components/Main/Messages/Message/index.js <ide> var Comments = require('../../Comments'); <ide> var Footer = require('../Footer'); <ide> var styles = require('../../../../styles.js'); <add>var HOST = require('../../../../config.js'); <ide> <ide> var { View, Text, TouchableOpacity, Image, StyleSheet, ...
JavaScript
cc0-1.0
40838d0b22a0ed6fb305a133a10692cc83af10f8
0
FruitieX/glowing-carnival,FruitieX/glowing-carnival
// "constants" var accel = 2000; var gravity = 800; var maxSpeed = 400; var runSpeed = 800; var jumpSpeed = 500; var stillDelta = 1; // 1 is pretty slow var game = new Phaser.Game('100', '100', Phaser.AUTO, '', { preload: preload, create: create, update: update }); function preload() { game.load.image('bg0',...
js/main.js
// "constants" var accel = 2000; var gravity = 800; var maxSpeed = 400; var runSpeed = 800; var jumpSpeed = 500; var stillDelta = 1; // 1 is pretty slow var game = new Phaser.Game(1024, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); function preload() { game.load.image('bg0', 'a...
scaling to the browser window
js/main.js
scaling to the browser window
<ide><path>s/main.js <ide> <ide> var stillDelta = 1; // 1 is pretty slow <ide> <del>var game = new Phaser.Game(1024, 600, Phaser.AUTO, '', { <add>var game = new Phaser.Game('100', '100', Phaser.AUTO, '', { <ide> preload: preload, <ide> create: create, <ide> update: update <ide> <ide> loadLevel(level1); <ide>...
JavaScript
mit
720a27c2212b6a0299159cb2ba9fccae1a1a9023
0
datokrat/nodejs-odata-server
var metadata = require('./metadata'); var exports = module.exports = {}; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var Query = expor...
queries.js
var metadata = require('./metadata'); var exports = module.exports = {}; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var Query = expor...
Content-type: application/json
queries.js
Content-type: application/json
<ide><path>ueries.js <ide> } <ide> <ide> EntitySetQuery.prototype.sendResults = function(res) { <del> if(!this.result.error) res.end(JSON.stringify(this.result.result, null, 2)); <add> if(!this.result.error) { <add> res.writeHeader(200, {'Content-type': 'application/json' }); <add> res.end(JSON.stringify...
JavaScript
mit
af922add4d7c9aa97f85df5ddf4ffdcfac7909de
0
oyvinht/js-visual-ann,oyvinht/js-visual-ann,oyvinht/js-visual-ann
var VisualANN = (function () { var /** * @param {Object} network - The network to activate. * @param {Object} inputs - An array of activations per input neuron. * @param {Object} - A network with updated neuron activations. */ activate = function (network, inputs) { var newNetwork = mak...
visual-ann.js
var VisualANN = (function () { var /** * @param {Object} network - The network to activate. * @param {Object} inputs - An array of activations per input neuron. * @param {Object} - A network with updated neuron activations. */ activate = function (network, inputs) { var newNetwork = mak...
Drawing synapses.
visual-ann.js
Drawing synapses.
<ide><path>isual-ann.js <ide> * syn.strength; <ide> } <ide> } <del> console.log('' + neuron.name + ' ' + inputSum); <ide> return inputSum; <ide> }, <del> n; <add> n, <add> s, <add> from, <add> findNeuronFromSource = function (source) { <add> for (i in newNetwork.neurons) { <a...
Java
apache-2.0
b3a21527d438aa154046f627b559390e6a9c6907
0
psoreide/bnd,psoreide/bnd,psoreide/bnd
package aQute.bnd.osgi; import static java.nio.charset.StandardCharsets.UTF_8; import java.io.Closeable; import java.io.DataInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URI; import java.nio....
biz.aQute.bndlib/src/aQute/bnd/osgi/Jar.java
package aQute.bnd.osgi; import static java.nio.charset.StandardCharsets.UTF_8; import java.io.Closeable; import java.io.DataInputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URI; import java.nio....
jar: Only update lastModified when actually adding a resource Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
biz.aQute.bndlib/src/aQute/bnd/osgi/Jar.java
jar: Only update lastModified when actually adding a resource
<ide><path>iz.aQute.bndlib/src/aQute/bnd/osgi/Jar.java <ide> return FileVisitResult.SKIP_SUBTREE; <ide> } <ide> } <del> updateModified(attrs.lastModifiedTime() <del> .toMillis(), "Dir change " + dir); <ide> return FileVisitResult.CONTINUE; <ide> } <ide> <ide> <ide> public boolean ...
JavaScript
mit
631af00c73ba60174e1d5410394e5851cd42b2f1
0
lahaxearnaud/cuisine-front
app.controller('article.list', ['$scope', 'Restangular', '$routeParams', '$log', function ($scope, Restangular, $routeParams, $log) { $log = $log.getInstance('article.list'); $scope.currentPage = 1; if($routeParams.page) { $scope.currentPage = $routeParams.page; } $log.debug('Page ' +...
app/js/controllers/article.js
app.controller('article.list', ['$scope', 'Restangular', '$routeParams', '$log', function ($scope, Restangular, $routeParams, $log) { $log = $log.getInstance('article.list'); $scope.currentPage = 1; if($routeParams.page) { $scope.currentPage = $routeParams.page; } $log.debug('Page ' +...
fix logger prefix
app/js/controllers/article.js
fix logger prefix
<ide><path>pp/js/controllers/article.js <ide> app.controller('article.uncategorize', ['$scope', 'Restangular', '$routeParams', '$log', <ide> function ($scope, Restangular, $routeParams, $log) { <ide> <del> $log = $log.getInstance('article.list'); <add> $log = $log.getInstance('article.uncategorize'); <ide> ...
JavaScript
isc
fb0dd9bb7487a7e4df6ae19526822e87cb8c7df0
0
egeozcan/ppipe
/* eslint quotes: "off" */ let assert = require("chai").assert; let ppipe = require("../src/index.js"); function doubleSay(str) { return str + ", " + str; } function capitalize(str) { return str[0].toUpperCase() + str.substring(1); } function delay(fn) { return function() { let args = arguments; return new Pro...
test/test.js
/* eslint quotes: "off" */ let assert = require("chai").assert; let ppipe = require("../src/index.js"); function doubleSay(str) { return str + ", " + str; } function capitalize(str) { return str[0].toUpperCase() + str.substring(1); } function delay(fn) { return function() { let args = arguments; return new Pro...
updates failing test
test/test.js
updates failing test
<ide><path>est/test.js <ide> ppipe(message)({})(doubleSay)(); <ide> } catch (error) { <ide> const expectedErrorMessage = <del> "first parameter to a pipe should be a function"; <add> "first parameter to a pipe should be a function or a single placeholder"; <ide> caught = error.message === expectedError...
JavaScript
mit
81962ef1b871c0823ba543fd8dd268d28b4e9377
0
cheslie-team/cheslie-player,cheslie-team/cheslie-player
var Chess = require('../modules/chess-extended.js').Chess, minmax = require('../modules/minmax.js'); exports.move = function (board) { var depth = 2, score = function (chess) { // chess is a chess.js instance var playingAsColor = chess.turn(); // Is your player playing as white or black? return chess.n...
sample-players/minmaxer.js
var Chess = require('../modules/chess-extended.js').Chess, minmax = require('../modules/minmax.js'); exports.move = function (board) { var depth = 2, score = function (chess) { // chess is a chess.js instance // A number between Number.NEGATIVE_INFINITY and Number.POSITIVE_INFIN...
Make minmaxer more interesting
sample-players/minmaxer.js
Make minmaxer more interesting
<ide><path>ample-players/minmaxer.js <ide> <ide> exports.move = function (board) { <ide> var depth = 2, <del> score = function (chess) { <del> // chess is a chess.js instance <del> // A number between Number.NEGATIVE_INFINITY and Number.POSITIVE_INFINITY <del> return Math.ra...
Java
apache-2.0
5cb08334d6355d84330175d03da29ece6eb43bc2
0
salguarnieri/intellij-community,apixandru/intellij-community,vladmm/intellij-community,orekyuu/intellij-community,ibinti/intellij-community,fnouama/intellij-community,holmes/intellij-community,fnouama/intellij-community,ThiagoGarciaAlves/intellij-community,youdonghai/intellij-community,pwoodworth/intellij-community,ahb...
/* * Copyright 2000-2005 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
util/src/com/intellij/openapi/util/JDOMUtil.java
/* * Copyright 2000-2005 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...
cleanup
util/src/com/intellij/openapi/util/JDOMUtil.java
cleanup
<ide><path>til/src/com/intellij/openapi/util/JDOMUtil.java <ide> if (e1 == null && e2 == null) return true; <ide> if (e1 == null) return false; <ide> <del> if (!attListsEqual(e1.getAttributes(), e2.getAttributes())) { <del> return false; <del> } <del> if (!contentListsEqual(e1.getContent(CONTENT_...
Java
mit
6be01a0035a92f2b4c121cf5f46fbdc69a441e67
0
treeleafj/xMax
package org.treeleafj.xmax.cache; import lombok.Data; import java.util.Date; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; /** * 用于本地缓存数据一定时间,超过一定时间后去获取,则直接删除,便于重新去数据查询 * <p> * Created by leaf on 2017/11/20. */ public class LocalTimeoutCache<K, V> { ...
xMax-common/src/main/java/org/treeleafj/xmax/cache/LocalTimeoutCache.java
package org.treeleafj.xmax.cache; import lombok.Data; import java.util.Date; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; /** * 用于本地缓存数据一定时间,超过一定时间后去获取,则直接删除,便于重新去数据查询 * <p> * Created by leaf on 2017/11/20. */ public class LocalTimeoutCache<K, V> { ...
添加本地缓存数据工具
xMax-common/src/main/java/org/treeleafj/xmax/cache/LocalTimeoutCache.java
添加本地缓存数据工具
<ide><path>Max-common/src/main/java/org/treeleafj/xmax/cache/LocalTimeoutCache.java <ide> return null; <ide> } <ide> <del> long now = System.currentTimeMillis() / 1000; <del> if (now - item.getPutTime().getTime() > timeout) { <add> long now = System.currentTimeMillis(); <add> ...
Java
apache-2.0
80c292def65bea5e6266cfd4eff153010a95cbe6
0
telefonicaid/netphony-network-protocols,telefonicaid/netphony-network-protocols
package tid.pce.pcep.messages; import java.util.LinkedList; import java.util.logging.Logger; import tid.pce.pcep.PCEPProtocolViolationException; import tid.pce.pcep.constructs.StateReport; import tid.pce.pcep.objects.ObjectParameters; import tid.pce.pcep.objects.PCEPObject; /* * A Path Computation LSP State Report...
src/tid/pce/pcep/messages/PCEPReport.java
package tid.pce.pcep.messages; import java.util.LinkedList; import java.util.logging.Logger; import tid.pce.pcep.PCEPProtocolViolationException; import tid.pce.pcep.constructs.StateReport; import tid.pce.pcep.objects.ObjectParameters; import tid.pce.pcep.objects.PCEPObject; /* * A Path Computation LSP State Report...
running ABNO
src/tid/pce/pcep/messages/PCEPReport.java
running ABNO
<ide><path>rc/tid/pce/pcep/messages/PCEPReport.java <ide> @Override <ide> public void encode() throws PCEPProtocolViolationException <ide> { <del> System.out.println("Empezando enconde"); <add> System.out.println("Inicio encode"); <ide> int len = 4; <ide> int index = 0; <ide> <ide> index++; <ide> ...
Java
apache-2.0
d46b749aa744c621b122294a43c081e26cf7ce53
0
opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open
package net.floodlightcontroller.topology; import net.floodlightcontroller.core.web.serializers.DPIDSerializer; import net.floodlightcontroller.core.web.serializers.UShortSerializer; import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.openflow.util.Hex...
src/main/java/net/floodlightcontroller/topology/NodePortTuple.java
package net.floodlightcontroller.topology; import net.floodlightcontroller.core.web.serializers.DPIDSerializer; import net.floodlightcontroller.core.web.serializers.UShortSerializer; import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.openflow.util.Hex...
Add a copy constructor for class NodePortTuple.
src/main/java/net/floodlightcontroller/topology/NodePortTuple.java
Add a copy constructor for class NodePortTuple.
<ide><path>rc/main/java/net/floodlightcontroller/topology/NodePortTuple.java <ide> public class NodePortTuple { <ide> protected long nodeId; // switch DPID <ide> protected short portId; // switch port id <add> <add> /** <add> * A copy constructor for NodePortTuple. <add> * <add> * @param other th...
Java
apache-2.0
62d519ed372f604800bd3225aaf2266d9369bfd5
0
iperdomo/keycloak,stianst/keycloak,mbaluch/keycloak,keycloak/keycloak,wildfly-security-incubator/keycloak,ppolavar/keycloak,jean-merelis/keycloak,cfsnyder/keycloak,dbarentine/keycloak,ahus1/keycloak,hmlnarik/keycloak,jean-merelis/keycloak,raehalme/keycloak,srose/keycloak,hmlnarik/keycloak,girirajsharma/keycloak,raehalm...
package org.keycloak.testsuite.console.events; import org.jboss.arquillian.graphene.page.Page; import org.junit.Before; import org.junit.Test; import org.keycloak.representations.idm.RealmRepresentation; import org.keycloak.testsuite.console.AbstractConsoleTest; import org.keycloak.testsuite.console.page.events.Config...
testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/events/ConfigTest.java
package org.keycloak.testsuite.console.events; import org.jboss.arquillian.graphene.page.Page; import org.junit.Before; import org.junit.Test; import org.keycloak.representations.idm.RealmRepresentation; import org.keycloak.testsuite.console.AbstractConsoleTest; import org.keycloak.testsuite.console.page.events.Config...
fix phantomjs problem with ConfigTest
testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/events/ConfigTest.java
fix phantomjs problem with ConfigTest
<ide><path>estsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/console/events/ConfigTest.java <ide> @Test <ide> public void configLoginEventsTest() { <ide> configPage.form().setSaveEvents(true); <add> configPage.form().addSaveType("REGISTER_NODE"); <add> //after...
Java
apache-2.0
2580ea76a359f0f8b3131999e8cd42c55bd5927b
0
gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * 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-...
atlas-web/src/main/java/ae3/model/AtlasExperiment.java
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * 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-...
Dropping the functionality that doesn't work and cannot work.
atlas-web/src/main/java/ae3/model/AtlasExperiment.java
Dropping the functionality that doesn't work and cannot work.
<ide><path>tlas-web/src/main/java/ae3/model/AtlasExperiment.java <ide> return (date == null ? null : (new SimpleDateFormat("dd-MM-yyyy").format(date))); <ide> } <ide> <del> //to calculate status only <del> private Date lastKnownReleaseDate = null; <del> <add> /** <add> * Not yet implemented, a...
JavaScript
mit
e6f4b043cb324d5fae44aab25ed1a59952bbcd22
0
RanadeepPolavarapu/express,wtony/express,jenia0jenia/express,hl198181/express,Lexine/express,nodejs-camp/booklog-jollen,kawanet/express,coreypnorris/express,Faiz7412/express,saisai/express,grigorkh/express,bercanozcan/express,kubrickology/express,abhi3/express,benshiue/booklog-ben,vinodhalaharvi/express,qitianchan/expr...
/** * Module dependencies. */ var express = require('express'), connect = require('connect'), view = require('express/view'); var create = function(){ var app = express.createServer.apply(express, arguments); app.set('views', __dirname + '/fixtures'); return app; }; module.exports = { 'tes...
test/view.test.js
/** * Module dependencies. */ var express = require('express'), connect = require('connect'), view = require('express/view'); var create = function(){ var app = express.createServer.apply(express, arguments); app.set('views', __dirname + '/fixtures'); return app; }; module.exports = { 'tes...
Added test for absolute view path
test/view.test.js
Added test for absolute view path
<ide><path>est/view.test.js <ide> res.send(err.arguments[0]); <ide> }); <ide> }); <add> app.get('/absolute', function(req, res){ <add> res.render(__dirname + '/fixtures/index.jade', { layout: false }); <add> }); <ide> <ide> assert.response(app, <ide>...
Java
apache-2.0
17555a3fbb0e4ec68dbefc0d54ce54fdd33920df
0
OSEHRA/ISAAC,OSEHRA/ISAAC,OSEHRA/ISAAC
/* * Licensed under the Apache License, Version 2.0 (the "License"); * * You may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * d...
core/model/src/main/java/sh/isaac/model/semantic/DynamicUtilityImpl.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * * You may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * d...
fix a bug with configureConceptAsDynamicSemantic that was causing nested semantics to not have type5 UUIDs
core/model/src/main/java/sh/isaac/model/semantic/DynamicUtilityImpl.java
fix a bug with configureConceptAsDynamicSemantic that was causing nested semantics to not have type5 UUIDs
<ide><path>ore/model/src/main/java/sh/isaac/model/semantic/DynamicUtilityImpl.java <ide> DescriptionBuilder<SemanticChronology, ? extends MutableDescriptionVersion> definitionBuilder = descriptionBuilderService <ide> .getDescriptionBuilder(semanticDescription, conceptNid, TermAux.DEFINITION_DESCRIPTIO...
Java
apache-2.0
5511fe44a77fae7be2a1c83505799be034a32845
0
anton-antonenko/jagger,SokolAndrey/jagger,anton-antonenko/jagger,Nmishin/jagger,Nmishin/jagger,griddynamics/jagger,vladimir-bukhtoyarov/jagger,anton-antonenko/jagger,griddynamics/jagger,SokolAndrey/jagger,vladimir-bukhtoyarov/jagger8,vladimir-bukhtoyarov/jagger,vladimir-bukhtoyarov/jagger,griddynamics/jagger,Nmishin/ja...
/* * Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved * http://www.griddynamics.com * * This library is free software; you can redistribute it and/or modify it under the terms of * the GNU Lesser General Public License as published by the Free Software Foundation; either * versi...
chassis/core/src/main/java/com/griddynamics/jagger/JaggerLauncher.java
/* * Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved * http://www.griddynamics.com * * This library is free software; you can redistribute it and/or modify it under the terms of * the GNU Lesser General Public License as published by the Free Software Foundation; either * versi...
default user properties are also parsed by launcher now
chassis/core/src/main/java/com/griddynamics/jagger/JaggerLauncher.java
default user properties are also parsed by launcher now
<ide><path>hassis/core/src/main/java/com/griddynamics/jagger/JaggerLauncher.java <ide> if (userBootPropertiesLocationsString == null) { <ide> userBootPropertiesLocationsString = environmentProperties.getProperty(USER_ENVIRONMENT_PROPERTIES); <ide> } <del> if(userBootPropertiesLocation...
Java
apache-2.0
5a2052fad3f92e6675ba6362028f5f5851934f01
0
YoshikiHigo/camel,acartapanis/camel,allancth/camel,igarashitm/camel,grgrzybek/camel,jarst/camel,snurmine/camel,manuelh9r/camel,YMartsynkevych/camel,drsquidop/camel,haku/camel,bfitzpat/camel,satishgummadelli/camel,drsquidop/camel,sabre1041/camel,mcollovati/camel,apache/camel,rmarting/camel,lburgazzoli/apache-camel,acart...
/** * 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...
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTestConnectionOnStartupTest.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...
CAMEL-4059: Fixed test on windows git-svn-id: 11f3c9e1d08a13a4be44fe98a6d63a9c00f6ab23@1132659 13f79535-47bb-0310-9956-ffa450edef68
components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTestConnectionOnStartupTest.java
CAMEL-4059: Fixed test on windows
<ide><path>omponents/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTestConnectionOnStartupTest.java <ide> context.start(); <ide> fail("Should have thrown an exception"); <ide> } catch (FailedToCreateConsumerException e) { <del> // expected <ide> assertE...
JavaScript
mit
07011dc9fd8553dd987ba74f3dc1827d1eedd75e
0
cardstack/cardstack,cardstack/cardstack,cardstack/cardstack,cardstack/cardstack,cardstack/cardstack,cardstack/cardstack
import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { visit, click, fillIn, triggerEvent, waitFor } from '@ember/test-helpers'; import { login } from '../helpers/login'; function findTriggerElementWithLabel(labelRegex) { return [...this.element.querySelectorAll('.cs-toolb...
packages/tools/tests/acceptance/tools-test.js
import { module, test } from 'qunit'; import { setupApplicationTest } from 'ember-qunit'; import { visit, click, fillIn, triggerEvent, waitFor } from '@ember/test-helpers'; import { login } from '../helpers/login'; function findTriggerElementWithLabel(labelRegex) { return [...this.element.querySelectorAll('.cs-toolb...
Fix tools test The test broke because of a seed attribute change
packages/tools/tests/acceptance/tools-test.js
Fix tools test
<ide><path>ackages/tools/tests/acceptance/tools-test.js <ide> <ide> let element = findTriggerElementWithLabel.call(this, /Title/); <ide> await click(element); <del> let matching = findInputWithValue.call(this, 'hello world'); <add> let matching = findInputWithValue.call(this, '10 steps to becoming a fear...
Java
apache-2.0
38d5e9e6abfe7b4a877255f57628c40073d5e00a
0
RupamShaw/StudentJPASpring
package org.jagruti.javaweb.dao; import java.util.Date; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Query; import org.jagruti.javaweb.database.EMF; import org.jagruti.javaweb.model.Student; public class StudentJPADA...
src/main/java/org/jagruti/javaweb/dao/StudentJPADAO.java
package org.jagruti.javaweb.dao; import java.util.Date; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Query; import org.jagruti.javaweb.database.EMF; import org.jagruti.javaweb.model.Student; public class StudentJPADA...
change sop cc
src/main/java/org/jagruti/javaweb/dao/StudentJPADAO.java
change sop cc
<ide><path>rc/main/java/org/jagruti/javaweb/dao/StudentJPADAO.java <ide> <ide> public StudentJPADAO() { <ide> // TODO Auto-generated constructor stub <del> System.out.println("StudentJDODAO 666 --Constructor()"); <add> System.out.println("StudentccJDODAO 666 --Constructor()"); <ide> // System.out.println("Cla...
Java
bsd-3-clause
cf6d670b1c8b46f6a62b6bbf094e226e3793f9e9
0
timopulkkinen/BubbleFish,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,chuan9/chromium-crosswalk,ltilve/chromium,Jonekee/chromium.src,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,markYoungH/chromium.src,ltilve/chromium,Fireblend/chromium-crosswalk,Chilledheart/chro...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.content.browser; import android.content.Context; import android.content.res.Configuration; import android.graphics.Canvas; impor...
content/public/android/java/src/org/chromium/content/browser/ContentView.java
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.content.browser; import android.content.Context; import android.content.res.Configuration; import android.graphics.Canvas; impor...
Fix incorrect ContentView onConfigurationChanged change. This corrects a change made to ContentView.super_onConfigurationChanged in http://codereview.chromium.org/10911012/ . Instead of changing super_onConfigurationChanged, the View method onConfigurationChanged should have been overridden. BUG=136691 Review URL: ...
content/public/android/java/src/org/chromium/content/browser/ContentView.java
Fix incorrect ContentView onConfigurationChanged change.
<ide><path>ontent/public/android/java/src/org/chromium/content/browser/ContentView.java <ide> public boolean onTouchEvent(MotionEvent event) { <ide> return mContentViewCore.onTouchEvent(event); <ide> } <add> <add> @Override <add> protected void onConfigurationChanged(Configuration newConfig) { <ad...
Java
agpl-3.0
5e75ac7cb145a06f3d630c483a8a52b9771d53ba
0
JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio
/* * EditSession.java * * Copyright (C) 2020 by RStudio, PBC * * 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. Thi...
src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/ace/EditSession.java
/* * EditSession.java * * Copyright (C) 2020 by RStudio, PBC * * 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. Thi...
handle state arrays in getState() method
src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/ace/EditSession.java
handle state arrays in getState() method
<ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/ace/EditSession.java <ide> }-*/; <ide> <ide> public native final String getState(int row) /*-{ <del> return this.getState(row); <add> <add> var state = this.getState(row); <add> <add> // handle array...
Java
mit
2f546102483ce71ba41b015d192c88a709d46d74
0
fr1kin/ForgeHax,fr1kin/ForgeHax
package com.matt.forgehax.mods; import com.github.lunatrius.core.client.renderer.GeometryMasks; import com.github.lunatrius.core.client.renderer.GeometryTessellator; import com.google.common.collect.*; import com.matt.forgehax.Wrapper; import com.matt.forgehax.asm.ForgeHaxHooks; import com.matt.forgehax.asm.events.*; ...
src/main/java/com/matt/forgehax/mods/Markers.java
package com.matt.forgehax.mods; import com.github.lunatrius.core.client.renderer.GeometryMasks; import com.github.lunatrius.core.client.renderer.GeometryTessellator; import com.google.common.collect.*; import com.matt.forgehax.Wrapper; import com.matt.forgehax.asm.ForgeHaxHooks; import com.matt.forgehax.asm.events.*; ...
added todo for bug to fix later. also added ability to set maximum amount of elements allowed until anti aliasing is disabled for a region
src/main/java/com/matt/forgehax/mods/Markers.java
added todo for bug to fix later. also added ability to set maximum amount of elements allowed until anti aliasing is disabled for a region
<ide><path>rc/main/java/com/matt/forgehax/mods/Markers.java <ide> import com.matt.forgehax.asm.events.listeners.BlockModelRenderListener; <ide> import com.matt.forgehax.asm.events.listeners.Listeners; <ide> import com.matt.forgehax.asm.reflection.FastReflection; <del>import com.matt.forgehax.events.RenderEvent; <ide> i...
Java
apache-2.0
f533b14035ca08bcef68b253090d1d2ade2c2128
0
fine1021/library
package com.yxkang.android.sample; import android.content.Intent; import android.os.Bundle; import android.os.Environment; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Toast; import c...
sample/src/main/java/com/yxkang/android/sample/SupportActivity.java
package com.yxkang.android.sample; import android.content.Intent; import android.os.Bundle; import android.os.Environment; import android.os.Message; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.Toast; import c...
update sample
sample/src/main/java/com/yxkang/android/sample/SupportActivity.java
update sample
<ide><path>ample/src/main/java/com/yxkang/android/sample/SupportActivity.java <ide> StringBuilder builder = new StringBuilder(); <ide> String stringValue; <ide> int intValue; <add> SystemProperties.setDebug(SupportActivity.this); <ide> strin...
Java
epl-1.0
564dcf1ee2a20004dc09502d6726e60fedf5140b
0
jboss-reddeer/reddeer,djelinek/reddeer,djelinek/reddeer,jboss-reddeer/reddeer
package org.jboss.reddeer.swt.test.impl.table; import static org.junit.Assert.assertTrue; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse...
org.jboss.reddeer.swt.test/src/org/jboss/reddeer/swt/test/impl/table/DefaultTableTest.java
package org.jboss.reddeer.swt.test.impl.table; import static org.junit.Assert.assertTrue; import java.util.List; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclip...
SWTBot dependencies removed from DefaultTableTest
org.jboss.reddeer.swt.test/src/org/jboss/reddeer/swt/test/impl/table/DefaultTableTest.java
SWTBot dependencies removed from DefaultTableTest
<ide><path>rg.jboss.reddeer.swt.test/src/org/jboss/reddeer/swt/test/impl/table/DefaultTableTest.java <ide> import org.eclipse.swt.SWT; <ide> import org.eclipse.swt.layout.GridData; <ide> import org.eclipse.swt.layout.GridLayout; <del>import org.eclipse.swt.widgets.Display; <ide> import org.eclipse.swt.widgets.Shell; <i...
Java
agpl-3.0
e5a3265019fd1c98035565bc32a42997c76cb573
0
Skelril/Aurora
/* * Copyright (c) 2014 Wyatt Childers. * * All Rights Reserved */ package com.skelril.aurora.city.engine.area.areas.MirageArena; import com.skelril.aurora.city.engine.area.AreaListener; import com.skelril.aurora.events.apocalypse.GemOfLifeUsageEvent; import com.skelril.aurora.events.custom.item.SpecialAttackEven...
src/main/java/com/skelril/aurora/city/engine/area/areas/MirageArena/MirageArenaListener.java
/* * Copyright (c) 2014 Wyatt Childers. * * All Rights Reserved */ package com.skelril.aurora.city.engine.area.areas.MirageArena; import com.skelril.aurora.city.engine.area.AreaListener; import com.skelril.aurora.events.apocalypse.GemOfLifeUsageEvent; import com.skelril.aurora.events.custom.item.SpecialAttackEven...
Fixed a bug where every inventory in carpe diem was protected
src/main/java/com/skelril/aurora/city/engine/area/areas/MirageArena/MirageArenaListener.java
Fixed a bug where every inventory in carpe diem was protected
<ide><path>rc/main/java/com/skelril/aurora/city/engine/area/areas/MirageArena/MirageArenaListener.java <ide> HashMap<String, PlayerState> playerState = parent.playerState; <ide> <ide> Player player = event.getEntity(); <del> if (!playerState.containsKey(player.getName()) && parent.contains(playe...
Java
epl-1.0
41b5ccb7d7a2fa2605b29658adf371d288663778
0
rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt
/******************************************************************************* * Copyright (c) 2004-2008 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is ava...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/resource/ResourceFileContentProvider.java
/******************************************************************************* * Copyright (c) 2004-2008 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is ava...
- Summary: Library can not be published to empty sub-folder of resource folder - Bugzilla Bug (s) Resolved: 245211 - Description: Modify the Entry Filter logic, and the empty folder can be accepted. - Tests Description: Manual test. - Notes to Build Team: - Notes to Developers: - Notes to QA: - Notes to Document...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/resource/ResourceFileContentProvider.java
- Summary: Library can not be published to empty sub-folder of resource folder
<ide><path>I/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/dialogs/resource/ResourceFileContentProvider.java <ide> if ( showFiles ) <ide> return filter.accept( entity ); <ide> else <del> return false; <add> { <add> if ( entity.isFile( ) ) <add> return ...
Java
apache-2.0
612b421678fd36ae68c53c0d9249703c42a1aeed
0
ewestfal/rice,ewestfal/rice-svn2git-test,shahess/rice,ewestfal/rice-svn2git-test,shahess/rice,smith750/rice,smith750/rice,cniesen/rice,gathreya/rice-kc,geothomasp/kualico-rice-kc,bsmith83/rice-1,geothomasp/kualico-rice-kc,rojlarge/rice-kc,jwillia/kc-rice1,smith750/rice,geothomasp/kualico-rice-kc,cniesen/rice,gathreya/r...
/** * Copyright 2005-2013 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
rice-middleware/impl/src/main/java/org/kuali/rice/kew/messaging/exceptionhandling/ExceptionRoutingServiceImpl.java
/** * Copyright 2005-2013 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
KULRICE-10966 - fixed an issue causing ExceptionRoutingServiceTest to fail
rice-middleware/impl/src/main/java/org/kuali/rice/kew/messaging/exceptionhandling/ExceptionRoutingServiceImpl.java
KULRICE-10966 - fixed an issue causing ExceptionRoutingServiceTest to fail
<ide><path>ice-middleware/impl/src/main/java/org/kuali/rice/kew/messaging/exceptionhandling/ExceptionRoutingServiceImpl.java <ide> roleRouteModule.setNamespace(KRADConstants.KUALI_RICE_WORKFLOW_NAMESPACE); <ide> roleRouteModule.setResponsibilityTemplateName(KewApiConstants.EXCEPTION_ROUTING_RESPONSIBILITY_TEM...
Java
bsd-3-clause
2ca6fd42ec63c2c4e546784b7fb0c26e2e03eafe
0
lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon
/* * $Id$ */ /* Copyright (c) 2000-2015 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
plugins/src/org/lockss/plugin/highwire/elife/ELifeDrupalHttpResponseHandler.java
/* * $Id$ */ /* Copyright (c) 2000-2015 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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...
Change debug level; add comments git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@41215 4f837ed2-42f5-46e7-a7a5-fa17313484d4
plugins/src/org/lockss/plugin/highwire/elife/ELifeDrupalHttpResponseHandler.java
Change debug level; add comments
<ide><path>lugins/src/org/lockss/plugin/highwire/elife/ELifeDrupalHttpResponseHandler.java <ide> public CacheException handleResult(ArchivalUnit au, <ide> String url, <ide> int responseCode) { <del> logger.debug2(url); <add> logger.debug3...
Java
apache-2.0
46e59503ec4b3d8bea4c789f763882ab629750f4
0
jxblum/spring-boot,mdeinum/spring-boot,vpavic/spring-boot,joshiste/spring-boot,eddumelendez/spring-boot,philwebb/spring-boot,royclarkson/spring-boot,shakuzen/spring-boot,mdeinum/spring-boot,aahlenst/spring-boot,rweisleder/spring-boot,lburgazzoli/spring-boot,shakuzen/spring-boot,royclarkson/spring-boot,spring-projects/s...
/* * Copyright 2012-2019 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 ap...
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/JsonConverter.java
/* * Copyright 2012-2018 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 ap...
Use JSONObject.putOpt in JsonConverter Closes gh-15595
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/JsonConverter.java
Use JSONObject.putOpt in JsonConverter
<ide><path>pring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/metadata/JsonConverter.java <ide> /* <del> * Copyright 2012-2018 the original author or authors. <add> * Copyright 2012-2019 the original author or authors. <ide> * <ide> *...
Java
bsd-3-clause
db3e063d5da3303682aa29196e1a8537171f1ac6
0
muloem/xins,muloem/xins,muloem/xins
/* * $Id$ * * Copyright 2003-2007 Orange Nederland Breedband B.V. * See the COPYRIGHT file for redistribution and use restrictions. */ package org.xins.server; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.text.SimpleDateFormat; import java...
src/java-server-framework/org/xins/server/SOAPCallingConvention.java
/* * $Id$ * * Copyright 2003-2007 Orange Nederland Breedband B.V. * See the COPYRIGHT file for redistribution and use restrictions. */ package org.xins.server; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.text.SimpleDateFormat; import java...
Fixed possible NullPointerException when errorCode != null as the function specification should be used only for successful results.
src/java-server-framework/org/xins/server/SOAPCallingConvention.java
Fixed possible NullPointerException when errorCode != null as the function specification should be used only for successful results.
<ide><path>rc/java-server-framework/org/xins/server/SOAPCallingConvention.java <ide> while (outputParameterNames.hasNext()) { <ide> String parameterName = (String) outputParameterNames.next(); <ide> String parameterValue = xinsResult.getParameter(parameterName); <del> try { <del> ...
JavaScript
mit
8623fa65d54b8664cd1d9c7a74d77606ca24d2e5
0
jmcfarlane/Notable,jmcfarlane/Notable,jmcfarlane/Notable,jmcfarlane/Notable
/** * Encapsulate and namespace */ (function() { if ( typeof(NOTABLE) === "undefined") { NOTABLE = {}; }; // Constants var ENCRYPTED = '<ENCRYPTED>'; var RE_ENCRYPTED = new RegExp(/^[^ ]{32,}$/); var RE_DECRYPTED = new RegExp(/^[\000-\177]*$/); /** * Main application */ NOTABLE.Applicati...
notable/static/app.js
/** * Encapsulate and namespace */ (function() { if ( typeof(NOTABLE) === "undefined") { NOTABLE = {}; }; // Constants var ENCRYPTED = '<ENCRYPTED>'; var RE_ENCRYPTED = new RegExp(/[^ ]{32,}$/); var RE_DECRYPTED = new RegExp(/^[\000-\177]*$/); /** * Main application */ NOTABLE.Applicatio...
Make the encrypted regex a bit better
notable/static/app.js
Make the encrypted regex a bit better
<ide><path>otable/static/app.js <ide> <ide> // Constants <ide> var ENCRYPTED = '<ENCRYPTED>'; <del> var RE_ENCRYPTED = new RegExp(/[^ ]{32,}$/); <add> var RE_ENCRYPTED = new RegExp(/^[^ ]{32,}$/); <ide> var RE_DECRYPTED = new RegExp(/^[\000-\177]*$/); <ide> <ide> /**
Java
agpl-3.0
a7e77cb34c59e9a5a9a6a225b9e1bcbe2209ba8c
0
SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart
/* * RESTHeart - the Web API for MongoDB * Copyright (C) SoftInstigate Srl * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option)...
src/main/java/org/restheart/ConfigurationHelper.java
/* * RESTHeart - the Web API for MongoDB * Copyright (C) SoftInstigate Srl * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option)...
fixed NPE if no connection options are specified in conf file https://softinstigate.atlassian.net/browse/RH-150
src/main/java/org/restheart/ConfigurationHelper.java
fixed NPE if no connection options are specified in conf file https://softinstigate.atlassian.net/browse/RH-150
<ide><path>rc/main/java/org/restheart/ConfigurationHelper.java <ide> <ide> Map<String, Object> options = configuration.getConnectionOptions(); <ide> <add> if (options == null) { <add> return; <add> } <add> <ide> UNDERTOW_OPTIONS.stream().forEach(option -> { <ide> ...
JavaScript
mit
f298462282f325d4f579e38fa2211b109d30d78a
0
bitvice/bitvice-osi
// // OSI // // Observer Services Injection // http://www.es6fiddle.net/ibtbbllg/ // // Copyright(c) 2015 Gabriel Balasz <gabi@bitvice.ro> // MIT Licensed // 'use strict'; var OSI = module.exports; // Stores the list of registered services var wmCache = new WeakMap(); // Stores the list of classes that waits for ...
lib/osi.mod.js
// // OSI // // Observer Services Injection // http://www.es6fiddle.net/ibtbbllg/ // // Copyright(c) 2015 Gabriel Balasz <gabi@bitvice.ro> // MIT Licensed // 'use strict'; var OSI = module.exports; // Stores the list of registered services var wmCache = new WeakMap(); // Stores the list of classes that waits for ...
#4 Clear services cache
lib/osi.mod.js
#4 Clear services cache
<ide><path>ib/osi.mod.js <ide> wmDependencies.set(objService, new Set()); <ide> } <ide> <del> wmDependencies . <del> get(objService) . <add> wmDependencies . <add> get(objService) . <ide> add({ <del> resolve:fnResolve, <add> resolve:fnResolve, <ide> ...
Java
apache-2.0
d538e0fc50f0b32d4d56e5e12a3024a0724a2d4f
0
jibaro/jitsi,pplatek/jitsi,tuijldert/jitsi,HelioGuilherme66/jitsi,Metaswitch/jitsi,iant-gmbh/jitsi,martin7890/jitsi,level7systems/jitsi,dkcreinoso/jitsi,jitsi/jitsi,iant-gmbh/jitsi,dkcreinoso/jitsi,pplatek/jitsi,cobratbq/jitsi,bebo/jitsi,pplatek/jitsi,marclaporte/jitsi,tuijldert/jitsi,cobratbq/jitsi,bhatvv/jitsi,labora...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.neomedia.conference; import java.io.*; import java.lang.reflect.*; import java.util.*; import javax.media.*; import java...
src/net/java/sip/communicator/impl/neomedia/conference/AudioMixer.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.neomedia.conference; import java.io.*; import java.lang.reflect.*; import java.util.*; import javax.media.*; import java...
Tunes AudioMixer tracing output will further details to aid debugging.
src/net/java/sip/communicator/impl/neomedia/conference/AudioMixer.java
Tunes AudioMixer tracing output will further details to aid debugging.
<ide><path>rc/net/java/sip/communicator/impl/neomedia/conference/AudioMixer.java <ide> <ide> if (difference > 0) <ide> logger <del> .trace("Added " + difference + " inputStream(s)."); <add> .trace( <add> ...
Java
apache-2.0
4b1a7e3c8ee838d6433b6b0074a9a578fe239349
0
youlookwhat/CloudReader,youlookwhat/CloudReader
package com.example.jingbin.cloudreader.view.webview; import android.Manifest; import android.annotation.SuppressLint; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android....
app/src/main/java/com/example/jingbin/cloudreader/view/webview/WebViewActivity.java
package com.example.jingbin.cloudreader.view.webview; import android.Manifest; import android.annotation.SuppressLint; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.res.Configuration; import android....
update share content
app/src/main/java/com/example/jingbin/cloudreader/view/webview/WebViewActivity.java
update share content
<ide><path>pp/src/main/java/com/example/jingbin/cloudreader/view/webview/WebViewActivity.java <ide> break; <ide> case R.id.actionbar_share: <ide> // 分享到 <del> String shareText = mTitle + " " + webView.getUrl() + " (分享自云阅 " + Constants.DOWNLOAD_URL + ")"; <add> ...
Java
mit
ba40ddeb8ef514bbcd89dec2354603f4757e1870
0
Group-311/group311-client
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.Socket; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.logging.Level; import org.lwjgl.input.Mouse; import java.util.logging.Logger; im...
src/SimpleSlickGame.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.Socket; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.logging.Level; import org.lwjgl.input.Mouse; import java.util.logging.Logger; im...
The very importan line
src/SimpleSlickGame.java
The very importan line
<ide><path>rc/SimpleSlickGame.java <ide> board.arrayOfTrainCards.remove(i); <ide> board.arrayOfTrainCards.add(i,c); <ide> } <add> <ide> for (int i=0; i<30;i++) <ide> { <ide> String temp = br.readLine();
Java
apache-2.0
da8d50f91fed1470c69baa0cbaeeffc4b31a0e8b
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-2017 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 ap...
spring-test/src/main/java/org/springframework/test/context/junit/jupiter/SpringExtension.java
/* * Copyright 2002-2017 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 ap...
Revise SpringExtension based on recent changes in JUnit Jupiter This commit revises the implementation of the SpringExtension to use the getRequired*() methods in the ExtensionContext which are now built into JUnit Jupiter thanks to inspiration from the initial "convenience" methods implemented here.
spring-test/src/main/java/org/springframework/test/context/junit/jupiter/SpringExtension.java
Revise SpringExtension based on recent changes in JUnit Jupiter
<ide><path>pring-test/src/main/java/org/springframework/test/context/junit/jupiter/SpringExtension.java <ide> getTestContextManager(context).afterTestClass(); <ide> } <ide> finally { <del> context.getStore(NAMESPACE).remove(getRequiredTestClass(context)); <add> getStore(context).remove(context.getRequiredTes...
Java
apache-2.0
f46b7317eec0b4b6716091f69343c0b62e7f94b8
0
markmclaren/tomcat-maven-plugin,karthikjaps/Tomcat,bmeriaux/tomcat-maven-plugin,karthikjaps/Tomcat,markmclaren/tomcat-maven-plugin,karthikjaps/Tomcat,apache/tomcat-maven-plugin,bmeriaux/tomcat-maven-plugin,codelibs/tomcat-maven-plugin,markmclaren/tomcat-maven-plugin,apache/tomcat-maven-plugin,apache/tomcat-maven-plugin...
package org.apache.tomcat.maven.common.deployer; /* * 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 Ap...
common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java
package org.apache.tomcat.maven.common.deployer; /* * 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 Ap...
add a transfer progress output in console when uploading war file to say to users hey something happen :-) git-svn-id: 127192e8212bb0c5b19f2c3aa333cc66dfed8a45@1212875 13f79535-47bb-0310-9956-ffa450edef68
common-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java
add a transfer progress output in console when uploading war file to say to users hey something happen :-)
<ide><path>ommon-tomcat-maven-plugin/src/main/java/org/apache/tomcat/maven/common/deployer/TomcatManager.java <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.OutputStream; <add>import java.io.PrintStream; <ide> import java.net.URL; <ide> import java.net.URLEncoder; <ide> <ide> ...
Java
apache-2.0
a6a34b467dd035c3ce6c58f9c1bcf1483bca1f84
0
sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt
// This file is part of JavaSMT, // an API wrapper for a collection of SMT solvers: // https://github.com/sosy-lab/java-smt // // SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.java_smt.solvers.princess; import static scala.collection....
src/org/sosy_lab/java_smt/solvers/princess/PrincessEnvironment.java
// This file is part of JavaSMT, // an API wrapper for a collection of SMT solvers: // https://github.com/sosy-lab/java-smt // // SPDX-FileCopyrightText: 2020 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.java_smt.solvers.princess; import static scala.collection....
fix: add support for Rational type in Princess. We do not yet add support for building queries (see #257 for that), but only add a minimal capacity for getting the type from parsed formulas containing rational symbols.
src/org/sosy_lab/java_smt/solvers/princess/PrincessEnvironment.java
fix: add support for Rational type in Princess.
<ide><path>rc/org/sosy_lab/java_smt/solvers/princess/PrincessEnvironment.java <ide> import ap.terfor.preds.Predicate; <ide> import ap.theories.ExtArray; <ide> import ap.theories.bitvectors.ModuloArithmetic; <add>import ap.theories.rationals.Fractions.FractionSort$; <ide> import ap.types.Sort; <ide> import ap.types.Sort...
Java
mit
error: pathspec 'src/main/java/nl/han/ica/ap/purify/module/java/unusedmethod/UnusedMethodSolver.java' did not match any file(s) known to git
d9e1ddf403b95b51dba73daa96ff2ec6ec75fb42
1
ArjanO/Purify
/** * Copyright (c) 2013 HAN University of Applied Sciences * Arjan Oortgiese * Boyd Hofman * Joëll Portier * Michiel Westerbeek * Tim Waalewijn * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal i...
src/main/java/nl/han/ica/ap/purify/module/java/unusedmethod/UnusedMethodSolver.java
Added deleting an unused method.
src/main/java/nl/han/ica/ap/purify/module/java/unusedmethod/UnusedMethodSolver.java
Added deleting an unused method.
<ide><path>rc/main/java/nl/han/ica/ap/purify/module/java/unusedmethod/UnusedMethodSolver.java <add>/** <add> * Copyright (c) 2013 HAN University of Applied Sciences <add> * Arjan Oortgiese <add> * Boyd Hofman <add> * Joëll Portier <add> * Michiel Westerbeek <add> * Tim Waalewijn <add> * <add> * Permission is hereby gr...
Java
apache-2.0
34c2e299723561b7b855123f18caf64dfffbaf9c
0
glaucio-melo-movile/nevado,keithsjohnson/nevado,glaucio-melo-movile/nevado,Movile/nevado,bitsofinfo/nevado,skyscreamer/nevado,Movile/nevado,keithsjohnson/nevado
package org.skyscreamer.nevado.jms.facilities; import junit.framework.Assert; import org.junit.Test; import org.skyscreamer.nevado.jms.AbstractJMSTest; import org.skyscreamer.nevado.jms.NevadoSession; import org.skyscreamer.nevado.jms.message.NevadoMessage; import org.skyscreamer.nevado.jms.message.NevadoTextMessage; ...
src/test/java/org/skyscreamer/nevado/jms/facilities/SessionTransactionTest.java
package org.skyscreamer.nevado.jms.facilities; import junit.framework.Assert; import org.junit.Test; import org.skyscreamer.nevado.jms.AbstractJMSTest; import org.skyscreamer.nevado.jms.NevadoSession; import org.skyscreamer.nevado.jms.message.NevadoMessage; import org.skyscreamer.nevado.jms.message.NevadoTextMessage; ...
Updated comment
src/test/java/org/skyscreamer/nevado/jms/facilities/SessionTransactionTest.java
Updated comment
<ide><path>rc/test/java/org/skyscreamer/nevado/jms/facilities/SessionTransactionTest.java <ide> session.commit(); <ide> } <ide> <del> // Really nasty edge case, part 1 <del> //@Test - TODO need bulk send to work <add> // Really nasty edge case to test sec 4.4.13, part 1 <add> //@Test - TODO - n...
JavaScript
apache-2.0
24395e323aaaaeced5578751ed99bcafdd7da57a
0
linuxl0ver/rainbow,ptigas/rainbow,metasyn/rainbow,linuxl0ver/rainbow,segmentio/rainbow,ptigas/rainbow,ccampbell/rainbow,HotelsDotCom/rainbow,javipepe/rainbow,jeremykenedy/rainbow,javipepe/rainbow,HotelsDotCom/rainbow,metasyn/rainbow,cybrox/rainbow,HotelsDotCom/rainbow,jeremykenedy/rainbow,greyhwndz/rainbow,metasyn/rain...
/** * C# patterns * * @author Dan Stewart * @version 1.0 * Do not use generic.js with this. */ Rainbow.extend('csharp', [ { // @see http://msdn.microsoft.com/en-us/library/23954zh5.aspx 'name': 'constant', 'pattern': /\b(false|null|true)\b/g }, { // @see http://msdn.microsoft.com/en-us/li...
js/language/csharp.js
/** * C# patterns * * @author Dan Stewart * @version 1.0 * Do not use generic.js with this. */ Rainbow.extend('csharp', [ { // http://msdn.microsoft.com/en-us/library/23954zh5.aspx 'name': 'constant', 'pattern': /\b(false|null|true)\b/g }, { // http://msdn.microsoft.com/en-us/library...
Fix formatting
js/language/csharp.js
Fix formatting
<ide><path>s/language/csharp.js <ide> /** <del>* C# patterns <del>* <del>* @author Dan Stewart <del>* @version 1.0 <del>* Do not use generic.js with this. <del>*/ <add> * C# patterns <add> * <add> * @author Dan Stewart <add> * @version 1.0 <add> * Do not use generic.js with this. <add> */ <ide> Rainbow.extend('csharp',...
Java
apache-2.0
2258b1b4723ae9548a8bc618087280a71aa68798
0
robgil/Aleph2,robgil/Aleph2
/******************************************************************************* * Copyright 2015, The IKANOW Open Source Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
aleph2_data_model/test/com/ikanow/aleph2/data_model/utils/TestCrudUtils.java
/******************************************************************************* * Copyright 2015, The IKANOW Open Source Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
ALEPH-3 #comment Oracle java stricter than eclipse java, so adding some additional type checking
aleph2_data_model/test/com/ikanow/aleph2/data_model/utils/TestCrudUtils.java
ALEPH-3 #comment Oracle java stricter than eclipse java, so adding some additional type checking
<ide><path>leph2_data_model/test/com/ikanow/aleph2/data_model/utils/TestCrudUtils.java <ide> <ide> final String andVsOr = getOperatorName(query_in.getOp()); <ide> <del> final DBObject query_out = Patterns.matchAndReturn(query_in) <del> .when(SingleQueryComponent.class, q -> convertToMongoQuery_single(andVsO...
Java
mit
4096907b397c656f42a1c972c2ced31379920e52
0
Heigvd/Wegas,Heigvd/Wegas,Heigvd/Wegas,Heigvd/Wegas,Heigvd/Wegas
/** * Wegas * http://wegas.albasim.ch * * Copyright (c) 2013-2020 School of Business and Engineering Vaud, Comem, MEI * Licensed under the MIT License */ package ch.albasim.wegas.processor; import ch.albasim.wegas.annotations.CommonView; import ch.albasim.wegas.annotations.JSONSchema; import ch.albasim.wegas.an...
wenerator-maven-plugin/src/main/java/ch/albasim/wegas/processor/SchemaGenerator.java
/** * Wegas * http://wegas.albasim.ch * * Copyright (c) 2013-2020 School of Business and Engineering Vaud, Comem, MEI * Licensed under the MIT License */ package ch.albasim.wegas.processor; import ch.albasim.wegas.annotations.CommonView; import ch.albasim.wegas.annotations.JSONSchema; import ch.albasim.wegas.an...
Allowing to ambiantize WegasEntities again
wenerator-maven-plugin/src/main/java/ch/albasim/wegas/processor/SchemaGenerator.java
Allowing to ambiantize WegasEntities again
<ide><path>enerator-maven-plugin/src/main/java/ch/albasim/wegas/processor/SchemaGenerator.java <ide> sb.append("\n/*\n" <ide> + " * IMergeable\n" <ide> + " */\n" <del> + "export interface IMergeable {\n" <add> + EXPORT_TOSTRIP <add> + " interface IMergeab...
Java
apache-2.0
7dbc717ce675b46bded8ab0fe47f052683bbbe78
0
madurangasiriwardena/product-is,mefarazath/product-is,wso2/product-is,milindaperera/product-is,madurangasiriwardena/product-is,mefarazath/product-is,milindaperera/product-is,milindaperera/product-is,madurangasiriwardena/product-is,wso2/product-is,madurangasiriwardena/product-is,milindaperera/product-is,mefarazath/produ...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
modules/samples/oauth2/custom-grant/src/main/java/org/wso2/sample/identity/oauth2/grant/password/ModifiedAccessTokenPasswordGrant.java
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Fixing API changes in Expire time per SP
modules/samples/oauth2/custom-grant/src/main/java/org/wso2/sample/identity/oauth2/grant/password/ModifiedAccessTokenPasswordGrant.java
Fixing API changes in Expire time per SP
<ide><path>odules/samples/oauth2/custom-grant/src/main/java/org/wso2/sample/identity/oauth2/grant/password/ModifiedAccessTokenPasswordGrant.java <ide> import org.apache.commons.logging.Log; <ide> import org.apache.commons.logging.LogFactory; <ide> import org.wso2.carbon.context.CarbonContext; <add>import org.wso2.carbo...
JavaScript
mit
d12b7c275148556d9e6fc3b78bad7ca22042939a
0
GoodBoyDigital/pixi.js,Cristy94/pixi.js,staff0rd/pixi.js,lucap86/pixi.js,staff0rd/pixi.js,pixijs/pixi.js,out-of-band/pixi.js,lucap86/pixi.js,finscn/pixi.js,ivanpopelyshev/pixi.js,pixijs/pixi.js,ceco-fmedia/pixi.js,Cristy94/pixi.js,ceco-fmedia/pixi.js,themoonrat/pixi.js,englercj/pixi.js,drkibitz/pixi.js,bma73/pixi.js,sf...
var utils = require('../utils'), CONST = require('../const'), EventEmitter = require('eventemitter3'), determineCrossOrigin = require('../utils/determineCrossOrigin'), bitTwiddle = require('bit-twiddle'); /** * A texture stores the information that represents an image. All textures have a base texture...
src/core/textures/BaseTexture.js
var utils = require('../utils'), CONST = require('../const'), EventEmitter = require('eventemitter3'), determineCrossOrigin = require('../utils/determineCrossOrigin'), bitTwiddle = require('bit-twiddle'); /** * A texture stores the information that represents an image. All textures have a base texture...
fixed video issue
src/core/textures/BaseTexture.js
fixed video issue
<ide><path>rc/core/textures/BaseTexture.js <ide> EventEmitter.call(this); <ide> <ide> this.uid = utils.uid(); <del> <add> <ide> this.touched = 0; <ide> <ide> /** <ide> this._glTextures = []; <ide> this._enabled = 0; <ide> this._id = 0; <del> <add> <ide> // if no source passed d...
Java
apache-2.0
23c13be3453d5587dd66e85d25ff42ad8f3754fc
0
dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba
/* * Copyright (c) 2008-2016 Haulmont. * * 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 l...
modules/web/src/com/haulmont/cuba/web/gui/components/WebProgressBar.java
/* * Copyright (c) 2008-2016 Haulmont. * * 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 l...
PL-7345 Fix WebProgressBar setIndeterminate
modules/web/src/com/haulmont/cuba/web/gui/components/WebProgressBar.java
PL-7345 Fix WebProgressBar setIndeterminate
<ide><path>odules/web/src/com/haulmont/cuba/web/gui/components/WebProgressBar.java <ide> * <ide> */ <ide> public class WebProgressBar extends WebAbstractField<com.vaadin.ui.ProgressBar> implements ProgressBar { <del> protected boolean indeterminate; <ide> <ide> public WebProgressBar() { <ide> componen...
Java
apache-2.0
fa593a881cb8f941db9e4c0ce6cbf3ccd8a6e4d8
0
IITDBGroup/gprom,IITDBGroup/gprom,IITDBGroup/gprom,IITDBGroup/gprom,IITDBGroup/gprom,IITDBGroup/gprom
/** * */ package org.gprom.jdbc.jna; import java.sql.Connection; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.gprom.jdb...
src/interfaces/jdbc/java/org/gprom/jdbc/jna/GProMWrapper.java
/** * */ package org.gprom.jdbc.jna; import java.sql.Connection; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.gprom.jdb...
only add ; to java created query if parser is SQL
src/interfaces/jdbc/java/org/gprom/jdbc/jna/GProMWrapper.java
only add ; to java created query if parser is SQL
<ide><path>rc/interfaces/jdbc/java/org/gprom/jdbc/jna/GProMWrapper.java <ide> import org.apache.logging.log4j.Level; <ide> import org.apache.logging.log4j.LogManager; <ide> import org.apache.logging.log4j.Logger; <add>import org.gprom.jdbc.utility.LoggerUtil; <ide> import org.gprom.jdbc.utility.PropertyWrapper; <ide> ...
Java
mit
a7680d25cc98f36ee3a70aaecbe7d6d19de94983
0
braintree/braintree_java,braintree/braintree_java,braintree/braintree_java
package com.braintreegateway; /** * An Enum representing all of the validation errors from the gateway. */ public enum ValidationErrorCode { ADDRESS_CANNOT_BE_BLANK("81801"), ADDRESS_COMPANY_IS_INVALID("91821"), ADDRESS_COMPANY_IS_TOO_LONG("81802"), ADDRESS_COUNTRY_CODE_ALPHA2_IS_NOT_ACCEPTED("91814...
src/main/java/com/braintreegateway/ValidationErrorCode.java
package com.braintreegateway; /** * An Enum representing all of the validation errors from the gateway. */ public enum ValidationErrorCode { ADDRESS_CANNOT_BE_BLANK("81801"), ADDRESS_COMPANY_IS_INVALID("91821"), ADDRESS_COMPANY_IS_TOO_LONG("81802"), ADDRESS_COUNTRY_CODE_ALPHA2_IS_NOT_ACCEPTED("91814...
marketplace #1206 - remove unused error code
src/main/java/com/braintreegateway/ValidationErrorCode.java
marketplace #1206 - remove unused error code
<ide><path>rc/main/java/com/braintreegateway/ValidationErrorCode.java <ide> TRANSACTION_CANNOT_REFUND_UNLESS_SETTLED("91506"), <ide> TRANSACTION_CANNOT_REFUND_WITH_PENDING_MERCHANT_ACCOUNT("91559"), <ide> TRANSACTION_CANNOT_REFUND_WITH_SUSPENDED_MERCHANT_ACCOUNT("91538"), <del> TRANSACTION_CANNOT_RELEASE...
Java
mit
8a256db442063f04e5f2b93aaeed66100c64f5c8
0
GregoirePiat/Polytech-ClientTFTP
/** * Created by GregoirePiat on 19/05/16. */ /* * 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. */ import java.net.*; import java.util.logging.Level; import java.util.logging.Logger; im...
src/Client.java
/** * Created by GregoirePiat on 19/05/16. */ /* * 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. */ import java.net.*; import java.util.logging.Level; import java.util.logging.Logger; im...
REBASE
src/Client.java
REBASE
<ide><path>rc/Client.java <ide> import java.net.DatagramSocket; <ide> import java.net.InetAddress; <ide> <del> <del> <del>public class Client implements Runnable{ <add>public class Client{ <ide> private static final String TFTP_SERVER_IP = "127.0.0.1"; <ide> private static final int TFTP_DEFAULT_PORT = 69; <id...
Java
apache-2.0
e2b21866dd6f9272276d5c3c59ecd0ee27990fe8
0
TypeFox/bridgepoint,cortlandstarrett/bridgepoint,nmohamad/bridgepoint,keithbrown/bridgepoint,travislondon/bridgepoint,perojonsson/bridgepoint,travislondon/bridgepoint,keithbrown/bridgepoint,travislondon/bridgepoint,leviathan747/bridgepoint,jason-rhodes/bridgepoint,nmohamad/bridgepoint,keithbrown/bridgepoint,HebaKhaled/...
//===================================================================== // //File: $RCSfile: RTOMoveTests.java,v $ //Version: $Revision: 1.13 $ //Modified: $Date: 2013/05/10 04:49:52 $ // // NOTE: This file was generated, but is maintained by hand. // Generated by: UnitTestGenerator.pl // Version: ...
src/org.xtuml.bp.core.test/src/org/xtuml/bp/core/test/rtomove/RTOMoveTests.java
//===================================================================== // //File: $RCSfile: RTOMoveTests.java,v $ //Version: $Revision: 1.13 $ //Modified: $Date: 2013/05/10 04:49:52 $ // // NOTE: This file was generated, but is maintained by hand. // Generated by: UnitTestGenerator.pl // Version: ...
job #8587 The RTOMove test suite is a test of cut. I simply commented out some key routines to allow this to pass for now. I added this change to issue 8587 that is tracking the cut tests that must be turned back on when MEM is complete. The changes are in RTOMoveTests.java and they are clearly marked with a comment re...
src/org.xtuml.bp.core.test/src/org/xtuml/bp/core/test/rtomove/RTOMoveTests.java
job #8587 The RTOMove test suite is a test of cut. I simply commented out some key routines to allow this to pass for now. I added this change to issue 8587 that is tracking the cut tests that must be turned back on when MEM is complete. The changes are in RTOMoveTests.java and they are clearly marked with a comment re...
<ide><path>rc/org.xtuml.bp.core.test/src/org/xtuml/bp/core/test/rtomove/RTOMoveTests.java <ide> * Model instance from the row <ide> */ <ide> void AC_BD_Action(NonRootModelElement source, NonRootModelElement target) { <del> cutSuccessful = false; <del> pasteSuccessful = false; <del> if(getMethodName()...
Java
apache-2.0
d544b233c155f321f7d145e413fd854d2fdc32ef
0
dimagi/javarosa,dimagi/javarosa,dimagi/javarosa
package org.javarosa.demo.shell; import java.io.IOException; import java.io.InputStream; import java.util.Date; import java.util.Hashtable; import java.util.Vector; import javax.microedition.midlet.MIDlet; import org.javarosa.activity.splashscreen.SplashScreenActivity; import org.javarosa.communication.ht...
j2merosa/org.javarosa.demo/src/org/javarosa/demo/shell/JavaRosaDemoShell.java
package org.javarosa.demo.shell; import java.io.IOException; import java.io.InputStream; import java.util.Date; import java.util.Hashtable; import java.util.Vector; import javax.microedition.midlet.MIDlet; import org.javarosa.activity.splashscreen.SplashScreenActivity; import org.javarosa.communication.ht...
[r2338] enable rms recovery in demo shell
j2merosa/org.javarosa.demo/src/org/javarosa/demo/shell/JavaRosaDemoShell.java
[r2338] enable rms recovery in demo shell
<ide><path>2merosa/org.javarosa.demo/src/org/javarosa/demo/shell/JavaRosaDemoShell.java <ide> import org.javarosa.formmanager.view.Commands; <ide> import org.javarosa.formmanager.view.chatterbox.widget.ExtendedWidgetsModule; <ide> import org.javarosa.j2me.J2MEModule; <add>import org.javarosa.j2me.util.DumpRMS; <ide> im...
Java
mit
1ad9ce79e8f513af95f255faee85ead421a4fbed
0
OreCruncher/DynamicSurroundings,OreCruncher/DynamicSurroundings
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * 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 restrictio...
src/main/java/org/blockartistry/DynSurround/client/handlers/scanners/BattleScanner.java
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * 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 restrictio...
Adjust criteria for battle flags
src/main/java/org/blockartistry/DynSurround/client/handlers/scanners/BattleScanner.java
Adjust criteria for battle flags
<ide><path>rc/main/java/org/blockartistry/DynSurround/client/handlers/scanners/BattleScanner.java <ide> import org.blockartistry.DynSurround.entity.CapabilityEmojiData; <ide> <ide> import net.minecraft.entity.Entity; <add>import net.minecraft.entity.EntityLiving; <ide> import net.minecraft.entity.boss.EntityDragon; <i...
Java
apache-2.0
4fdc2af199119b3e55524beadc4edab1ad7a3de3
0
mohideen/fcrepo-camel-toolbox,whikloj/fcrepo-camel-toolbox,bseeger/fcrepo-camel-toolbox,fcrepo4-labs/fcrepo-camel-toolbox,awoods/fcrepo-camel-toolbox,fcrepo4-exts/fcrepo-camel-toolbox,yinlinchen/fcrepo-camel-toolbox,fcrepo4-exts/fcrepo-camel-toolbox,daniel-dgi/fcrepo-camel-toolbox,mohideen/fcrepo-camel-toolbox,yinlinch...
/** * Copyright 2015 DuraSpace, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
audit-triplestore/src/main/java/org/fcrepo/camel/audit/triplestore/AuditSparqlProcessor.java
/** * Copyright 2015 DuraSpace, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Import reordered and unwanted imports removed.
audit-triplestore/src/main/java/org/fcrepo/camel/audit/triplestore/AuditSparqlProcessor.java
Import reordered and unwanted imports removed.
<ide><path>udit-triplestore/src/main/java/org/fcrepo/camel/audit/triplestore/AuditSparqlProcessor.java <ide> */ <ide> package org.fcrepo.camel.audit.triplestore; <ide> <add>import static org.fcrepo.camel.RdfNamespaces.RDF; <ide> import static org.fcrepo.camel.RdfNamespaces.REPOSITORY; <del>import static org.fcrepo.ca...
Java
apache-2.0
bbe466a4fedf4f21e2eb66cdc7838c061d2dc828
0
5waynewang/commons-jkit
/** * */ package commons.cache.facade.redis; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.FutureTask; import java.util.concurr...
commons-cache/src/main/java/commons/cache/facade/redis/JedisFacade.java
/** * */ package commons.cache.facade.redis; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.Callable; import java.util.concurrent.FutureTask; import java.util.concurr...
fix bug:数组序列化
commons-cache/src/main/java/commons/cache/facade/redis/JedisFacade.java
fix bug:数组序列化
<ide><path>ommons-cache/src/main/java/commons/cache/facade/redis/JedisFacade.java <ide> try { <ide> final byte[] rawKey = this.serializeKey(key); <ide> <del> final byte[] rawValue = this.serializeValue(values); <add> final byte[][] rawValue = this.serializeValues(values); <ide> <ide> final Long result = r...
Java
mit
c22ef203150df4f797a34d786f5d33f98005894b
0
silklabs/silk,silklabs/silk,silklabs/silk,silklabs/silk,silklabs/silk,silklabs/silk
/** * Copyright (c) 2015-2016 Silk Labs, Inc. * All Rights Reserved. */ package com.silklabs.react.blobs; import android.content.ContentProviderClient; import android.content.ContentResolver; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContext; import com.facebo...
react-native-blobs/android/src/main/java/com/silklabs/react/blobs/BlobModule.java
/** * Copyright (c) 2015-2016 Silk Labs, Inc. * All Rights Reserved. */ package com.silklabs.react.blobs; import android.content.ContentProviderClient; import android.content.ContentResolver; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.bridge.ReactContext; import com.facebo...
Fix new Blob([...]) on Android Apparently you can't iterate over a ReadableArray twice.
react-native-blobs/android/src/main/java/com/silklabs/react/blobs/BlobModule.java
Fix new Blob([...]) on Android
<ide><path>eact-native-blobs/android/src/main/java/com/silklabs/react/blobs/BlobModule.java <ide> import com.facebook.react.bridge.ReadableMap; <ide> <ide> import java.nio.ByteBuffer; <add>import java.util.ArrayList; <ide> <ide> public class BlobModule extends ReactContextBaseJavaModule { <ide> <ide> <ide> @React...
Java
apache-2.0
6f4c6648f3b2de9f1a2807c6d61ff071856eff56
0
robertwb/incubator-beam,apache/beam,robertwb/incubator-beam,chamikaramj/beam,chamikaramj/beam,apache/beam,robertwb/incubator-beam,robertwb/incubator-beam,chamikaramj/beam,apache/beam,chamikaramj/beam,lukecwik/incubator-beam,lukecwik/incubator-beam,lukecwik/incubator-beam,apache/beam,chamikaramj/beam,robertwb/incubator-...
/* * 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 ...
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/JavaUdfLoader.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 ...
Wrap classloader creation in doPrivileged block. I don't think this code will ever actually be invoked by unprivileged code, but this makes spotbugs happy.
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/JavaUdfLoader.java
Wrap classloader creation in doPrivileged block.
<ide><path>dks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/JavaUdfLoader.java <ide> import java.nio.channels.ReadableByteChannel; <ide> import java.nio.channels.WritableByteChannel; <ide> import java.nio.file.ProviderNotFoundException; <add>import java.security.AccessController; <add>impor...
Java
apache-2.0
8a94a0863611f4924f1f7da6223f19e83daadb91
0
Shvid/protostuff,dyu/protostuff,myxyz/protostuff,tsheasha/protostuff,myxyz/protostuff,svn2github/protostuff,protostuff/protostuff,tsheasha/protostuff,svn2github/protostuff,protostuff/protostuff,dyu/protostuff,Shvid/protostuff
//======================================================================== //Copyright 2007-2009 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance wit...
protostuff-api/src/main/java/com/dyuproject/protostuff/ByteString.java
//======================================================================== //Copyright 2007-2009 David Yu dyuproject@gmail.com //------------------------------------------------------------------------ //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance wit...
ByteString sink io utils git-svn-id: 3d5cc44e79dd7516812cdf5c8b2c4439073f5b70@1250 3b38d51a-9144-11de-8ad7-8b2c2f1e2016
protostuff-api/src/main/java/com/dyuproject/protostuff/ByteString.java
ByteString sink io utils
<ide><path>rotostuff-api/src/main/java/com/dyuproject/protostuff/ByteString.java <ide> <ide> import static com.dyuproject.protostuff.StringSerializer.STRING; <ide> <add>import java.io.DataOutput; <add>import java.io.IOException; <add>import java.io.OutputStream; <ide> import java.io.UnsupportedEncodingException; <ide...
Java
mit
2eaaa9f8bc649404355ab0a3bdebc149efeda6bc
0
supagit/SteamGifts,SteamGifts/SteamGifts
package net.mabako.steamgifts.adapters; import android.content.Context; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.LayoutInflater; import android.view.View; import android.v...
app/src/main/java/net/mabako/steamgifts/adapters/CommentAdapter.java
package net.mabako.steamgifts.adapters; import android.content.Context; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import android.text.Html; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayo...
Clickable links in Comments
app/src/main/java/net/mabako/steamgifts/adapters/CommentAdapter.java
Clickable links in Comments
<ide><path>pp/src/main/java/net/mabako/steamgifts/adapters/CommentAdapter.java <ide> import android.support.v4.content.ContextCompat; <ide> import android.support.v7.widget.RecyclerView; <ide> import android.text.Html; <add>import android.text.method.LinkMovementMethod; <ide> import android.view.LayoutInflater; <ide> i...
JavaScript
mit
dade66acb98ca7b4890acaee1a8666c9227c655e
0
TranscendVR/transcend,TranscendVR/transcend
require('dotenv').config(); const http = require('http'); const server = http.createServer(); const express = require('express'); const app = express(); const bodyParser = require('body-parser'); const { resolve } = require('path'); const chalk = require('chalk'); const passport = require('passport'); // Custom Middle...
server/index.js
require('dotenv').config(); const http = require('http'); const server = http.createServer(); const express = require('express'); const app = express(); const bodyParser = require('body-parser'); const { resolve } = require('path'); const chalk = require('chalk'); const passport = require('passport'); // Custom Middle...
feat: Adding color-coded console logs
server/index.js
feat: Adding color-coded console logs
<ide><path>erver/index.js <ide> const forceSSL = function (req, res, next) { <ide> console.log(JSON.stringify(req.headers)); <ide> if (req.headers['x-forwarded-proto'] !== 'https') { <del> console.log('forcing SSL'); <del> return res.redirect(['https://', req.get('Host'), req.url].join('')); <add> const cl...
JavaScript
mit
56b6357a505c459452247d568546cf8f143dcc51
0
johniek/meteor-rock,johniek/meteor-rock
d2e1300c-2fbc-11e5-b64f-64700227155b
helloWorld.js
d2df68f8-2fbc-11e5-b64f-64700227155b
d2e1300c-2fbc-11e5-b64f-64700227155b
helloWorld.js
d2e1300c-2fbc-11e5-b64f-64700227155b
<ide><path>elloWorld.js <del>d2df68f8-2fbc-11e5-b64f-64700227155b <add>d2e1300c-2fbc-11e5-b64f-64700227155b
Java
mit
e6b1e919bacb2e55c2504b14a0686ee380916745
0
zmaster587/AdvancedRocketry,zmaster587/AdvancedRocketry
package zmaster587.advancedRocketry.tile.oxygen; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.AxisAlignedBB; impor...
src/main/java/zmaster587/advancedRocketry/tile/oxygen/TileOxygenCharger.java
package zmaster587.advancedRocketry.tile.oxygen; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.inventory.IInventory; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.AxisAlignedBB; impor...
Address #1205
src/main/java/zmaster587/advancedRocketry/tile/oxygen/TileOxygenCharger.java
Address #1205
<ide><path>rc/main/java/zmaster587/advancedRocketry/tile/oxygen/TileOxygenCharger.java <ide> if(!stack.isEmpty()) { <ide> IFillableArmor fillable = null; <ide> <del> if(stack.getItem() instanceof ItemSpaceArmor) <add> if(stack.getItem() instanceof IFillableArmor) <ide> fillable = (IFillableArmor...
Java
apache-2.0
26be84504e6bbcc8b4b136c2e43885869e942ef9
0
peter-gergely-horvath/kylo,claudiu-stanciu/kylo,claudiu-stanciu/kylo,Teradata/kylo,rashidaligee/kylo,claudiu-stanciu/kylo,rashidaligee/kylo,peter-gergely-horvath/kylo,Teradata/kylo,rashidaligee/kylo,claudiu-stanciu/kylo,peter-gergely-horvath/kylo,claudiu-stanciu/kylo,Teradata/kylo,rashidaligee/kylo,Teradata/kylo,Terada...
package com.thinkbiganalytics.metadata.jobrepo.nifi.provenance; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.thinkbiganalytics.DateTimeUtil; import com.thinkbiganalytics.activemq.co...
services/operational-metadata-service/operational-metadata-integration-service/src/main/java/com/thinkbiganalytics/metadata/jobrepo/nifi/provenance/ProvenanceEventReceiver.java
package com.thinkbiganalytics.metadata.jobrepo.nifi.provenance; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import com.thinkbiganalytics.DateTimeUtil; import com.thinkbiganalytics.activemq.config.ActiveMqConstants; import com.thinkbiganalytics.metadata.api.OperationalMetadataAcce...
PC-576 process only registered feeds
services/operational-metadata-service/operational-metadata-integration-service/src/main/java/com/thinkbiganalytics/metadata/jobrepo/nifi/provenance/ProvenanceEventReceiver.java
PC-576 process only registered feeds
<ide><path>ervices/operational-metadata-service/operational-metadata-integration-service/src/main/java/com/thinkbiganalytics/metadata/jobrepo/nifi/provenance/ProvenanceEventReceiver.java <ide> <ide> import com.google.common.cache.Cache; <ide> import com.google.common.cache.CacheBuilder; <add>import com.google.common.c...
Java
apache-2.0
628fa8c46f70414c6269ef797788f9ba36bf92c9
0
apache/derby,apache/derby,trejkaz/derby,trejkaz/derby,trejkaz/derby,apache/derby,apache/derby
/* Derby - Class org.apache.derbyTesting.functionTests.tests.lang._Suite 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 ...
java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
/* Derby - Class org.apache.derbyTesting.functionTests.tests.lang._Suite 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 ...
Remove code which handles lang tests with target level 1.4. The removed code doesn't do anything currently, and it is not needed since 1.4 is the minimum level supported by Derby. git-svn-id: 2c06e9c5008124d912b69f0b82df29d4867c0ce2@548702 13f79535-47bb-0310-9956-ffa450edef68
java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
Remove code which handles lang tests with target level 1.4. The removed code doesn't do anything currently, and it is not needed since 1.4 is the minimum level supported by Derby.
<ide><path>ava/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java <ide> // file (ie. partially converted). <ide> suite.addTest(LangHarnessJavaTest.suite()); <ide> <del> // Tests that are compiled using 1.4 target need to <del> // be added this way, otherwise creating the s...
Java
apache-2.0
error: pathspec 'xcore-library/xcore/src/main/java/by/istin/android/xcore/widget/XListView.java' did not match any file(s) known to git
0babdf3291ab0f88897b24fd6334c4aa698e772d
1
IstiN/android_xcore
package by.istin.android.xcore.widget; import android.content.Context; import android.util.AttributeSet; import android.widget.ListView; public class XListView extends ListView { public XListView(Context context) { super(context); } public XListView(Context context, AttributeSet attrs) { ...
xcore-library/xcore/src/main/java/by/istin/android/xcore/widget/XListView.java
added xlistview for future
xcore-library/xcore/src/main/java/by/istin/android/xcore/widget/XListView.java
added xlistview for future
<ide><path>core-library/xcore/src/main/java/by/istin/android/xcore/widget/XListView.java <add>package by.istin.android.xcore.widget; <add> <add>import android.content.Context; <add>import android.util.AttributeSet; <add>import android.widget.ListView; <add> <add>public class XListView extends ListView { <add> <add> ...
Java
lgpl-2.1
8397a783175297b9418c504dc1334b67d1aa7aa8
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id: DropBoardView.java,v 1.6 2004/09/15 18:48:09 mdb Exp $ // // Narya library - tools for developing networked games // Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // ...
src/java/com/threerings/puzzle/drop/client/DropBoardView.java
// // $Id: DropBoardView.java,v 1.5 2004/08/29 06:50:47 mdb Exp $ // // Narya library - tools for developing networked games // Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // ...
Provide the board coordinates when creating piece images so that puzzles that care can do the right thing. git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@3119 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/puzzle/drop/client/DropBoardView.java
Provide the board coordinates when creating piece images so that puzzles that care can do the right thing.
<ide><path>rc/java/com/threerings/puzzle/drop/client/DropBoardView.java <ide> // <del>// $Id: DropBoardView.java,v 1.5 2004/08/29 06:50:47 mdb Exp $ <add>// $Id: DropBoardView.java,v 1.6 2004/09/15 18:48:09 mdb Exp $ <ide> // <ide> // Narya library - tools for developing networked games <ide> // Copyright (C) 2002-2004...
Java
apache-2.0
2f6657592725e74305c6683c689ee1ac05fd1fc1
0
helloworldtang/SelectData,helloworldtang/SelectData,helloworldtang/SelectData,helloworldtang/SelectData
package com.global; import org.hibernate.service.spi.ServiceException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dao.DataAccessException; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.http.HttpStatus; import org.springframework.http...
src/main/java/com/global/GlobalHandler.java
package com.global; import org.hibernate.service.spi.ServiceException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dao.DataAccessException; import org.springframework.dao.DataIntegrityViolationException; import org.springframework.http.HttpStatus; import org.springframework.http...
fix bug.copy code need to be careful
src/main/java/com/global/GlobalHandler.java
fix bug.copy code need to be careful
<ide><path>rc/main/java/com/global/GlobalHandler.java <ide> public class GlobalHandler { <ide> private static final Logger LOGGER = LoggerFactory.getLogger(GlobalHandler.class); <ide> <del> <ide> /** <ide> * 500 - Internal Server Error <ide> */ <ide> @ResponseStatus(HttpStatus.INTERNAL_SERVER_ERR...
Java
epl-1.0
4d12004902db6a00ff2c6d125f1b58053d46ca02
0
ifesdjeen/introspect
package introspect; import net.bytebuddy.agent.ByteBuddyAgent; import net.bytebuddy.agent.builder.AgentBuilder; import net.bytebuddy.dynamic.DynamicType; import net.bytebuddy.instrumentation.MethodDelegation; import net.bytebuddy.instrumentation.SuperMethodCall; import net.bytebuddy.instrumentation.type.TypeDescriptio...
src/java/introspect/IntrospectProfilingAgent.java
package introspect; import net.bytebuddy.agent.ByteBuddyAgent; import net.bytebuddy.agent.builder.AgentBuilder; import net.bytebuddy.dynamic.DynamicType; import net.bytebuddy.instrumentation.MethodDelegation; import net.bytebuddy.instrumentation.SuperMethodCall; import net.bytebuddy.instrumentation.type.TypeDescriptio...
Improve output format for transformations
src/java/introspect/IntrospectProfilingAgent.java
Improve output format for transformations
<ide><path>rc/java/introspect/IntrospectProfilingAgent.java <ide> @Override <ide> public DynamicType.Builder<?> transform(DynamicType.Builder<?> builder, <ide> TypeDescription typeDescription) { <del> System.out.printf("Transforming %s...
Java
apache-2.0
f72c619a3afeecb157e69682c7eef6e8a2c98d6b
0
zibhub/GNDMS,zibhub/GNDMS,zibhub/GNDMS,zibhub/GNDMS
package de.zib.gndms.taskflows.publishing.server; import de.zib.gndms.common.model.gorfx.types.TaskFlowInfo; import de.zib.gndms.common.model.gorfx.types.TaskStatistics; import de.zib.gndms.infra.GridConfig; import de.zib.gndms.infra.SettableGridConfig; import de.zib.gndms.kit.config.MandatoryOptionMissingException; ...
taskflows/publishing/server/src/de/zib/gndms/taskflows/publishing/server/PublishingTaskFlowFactory.java
package de.zib.gndms.taskflows.publishing.server; import de.zib.gndms.common.model.gorfx.types.TaskFlowInfo; import de.zib.gndms.common.model.gorfx.types.TaskStatistics; import de.zib.gndms.infra.GridConfig; import de.zib.gndms.infra.SettableGridConfig; import de.zib.gndms.kit.config.MandatoryOptionMissingException; ...
Bugfix: Typo in Publishing Taskflow
taskflows/publishing/server/src/de/zib/gndms/taskflows/publishing/server/PublishingTaskFlowFactory.java
Bugfix: Typo in Publishing Taskflow
<ide><path>askflows/publishing/server/src/de/zib/gndms/taskflows/publishing/server/PublishingTaskFlowFactory.java <ide> <ide> final String name; <ide> if( !config.hasOption( "name" ) ) <del> name = config.getOption( "oidPrefixe" ); <add> name = config.getOption( "o...
Java
apache-2.0
error: pathspec 'android/com/facebook/buck/android/support/exopackage/DelegatingClassLoader.java' did not match any file(s) known to git
f52f0116aea0d356f567c611ee5bae1c2c2bef32
1
JoelMarcey/buck,Addepar/buck,rmaz/buck,Addepar/buck,JoelMarcey/buck,Addepar/buck,ilya-klyuchnikov/buck,romanoid/buck,nguyentruongtho/buck,ilya-klyuchnikov/buck,Addepar/buck,LegNeato/buck,rmaz/buck,brettwooldridge/buck,shs96c/buck,SeleniumHQ/buck,rmaz/buck,LegNeato/buck,LegNeato/buck,clonetwin26/buck,LegNeato/buck,Addep...
/* * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
android/com/facebook/buck/android/support/exopackage/DelegatingClassLoader.java
Add DelegatingClassLoader Summary: Adds a new classloader which will be enabled for exopackage-for-modules builds. This classloader maintains a "delegate" classloader which loads the dexes from the `modular-dex` exopackage dir. The delegate can be `reset(withListOfNewJars)` in order to throw away old class definitions...
android/com/facebook/buck/android/support/exopackage/DelegatingClassLoader.java
Add DelegatingClassLoader
<ide><path>ndroid/com/facebook/buck/android/support/exopackage/DelegatingClassLoader.java <add>/* <add> * Copyright 2017-present Facebook, Inc. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); you may <add> * not use this file except in compliance with the License. You may obtain <add> * ...
Java
apache-2.0
04bdc1da96b543488b7e2303f08478cd85dde561
0
mingzuozhibi/mzzb-server,mingzuozhibi/mzzb-server
package mingzuozhibi.service; import mingzuozhibi.persist.core.AutoLogin; import mingzuozhibi.persist.disc.Disc; import mingzuozhibi.persist.disc.Disc.UpdateType; import mingzuozhibi.persist.disc.Record; import mingzuozhibi.persist.disc.Sakura; import mingzuozhibi.support.Dao; import org.hibernate.criterion.Order; imp...
src/main/java/mingzuozhibi/service/HourlyMission.java
package mingzuozhibi.service; import mingzuozhibi.persist.core.AutoLogin; import mingzuozhibi.persist.disc.Disc; import mingzuozhibi.persist.disc.Disc.UpdateType; import mingzuozhibi.persist.disc.Record; import mingzuozhibi.persist.disc.Sakura; import mingzuozhibi.support.Dao; import org.hibernate.criterion.Order; imp...
feat(record-rank): Check Update Time
src/main/java/mingzuozhibi/service/HourlyMission.java
feat(record-rank): Check Update Time
<ide><path>rc/main/java/mingzuozhibi/service/HourlyMission.java <ide> .add(Restrictions.gt("releaseDate", date.minusDays(7))) <ide> .list(); <ide> <add> LocalDateTime minusDays = LocalDateTime.now().minusDays(1); <add> <add> discsToRecord.removeIf(disc -> {...
Java
apache-2.0
a44d5492920287c56609365a8a74014ccf849c3c
0
brabenetz/xmlunit,xmlunit/xmlunit,xmlunit/xmlunit,brabenetz/xmlunit
/* This file is licensed to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
xmlunit-placeholders/src/main/java/org/xmlunit/placeholder/PlaceholderDifferenceEvaluator.java
/* This file is licensed to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
don't intercept equal comparisons
xmlunit-placeholders/src/main/java/org/xmlunit/placeholder/PlaceholderDifferenceEvaluator.java
don't intercept equal comparisons
<ide><path>mlunit-placeholders/src/main/java/org/xmlunit/placeholder/PlaceholderDifferenceEvaluator.java <ide> } <ide> <ide> public ComparisonResult evaluate(Comparison comparison, ComparisonResult outcome) { <add> if (outcome == ComparisonResult.EQUAL) { <add> return outcome; <add> } ...
Java
apache-2.0
8de2ca15b63b60efdbaed476fcbedb11fe542da6
0
apache/lenya,apache/lenya,apache/lenya,apache/lenya
/* * Copyright 1999-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
src/java/org/apache/lenya/cms/publication/DocumentIdentifier.java
/* * Copyright 1999-2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Implemented DocumentIdentifier.toString() git-svn-id: c334bb69c16d150e1b06e84516f7aa90b3181ca2@378475 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/lenya/cms/publication/DocumentIdentifier.java
Implemented DocumentIdentifier.toString()
<ide><path>rc/java/org/apache/lenya/cms/publication/DocumentIdentifier.java <ide> protected String getKey() { <ide> return this.publication.getId() + ":" + this.area + ":" + this.id + ":" + this.language; <ide> } <add> <add> public String toString() { <add> return getKey(); <add> } <ide...