lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
mit
cf76106d2ad95618308df33756d04026d4546831
0
kevinsamyn/sportmonks-soccer
package com.sportmonks.data.entity; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxm...
src/main/java/com/sportmonks/data/entity/Season.java
package com.sportmonks.data.entity; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxm...
Ajout des rounds et stages dans seasons
src/main/java/com/sportmonks/data/entity/Season.java
Ajout des rounds et stages dans seasons
<ide><path>rc/main/java/com/sportmonks/data/entity/Season.java <ide> import com.sportmonks.data.structure.Fixtures; <ide> import com.sportmonks.data.structure.Leagues; <ide> import com.sportmonks.data.structure.Results; <add>import com.sportmonks.data.structure.Rounds; <ide> import com.sportmonks.data.structure.SeasonR...
Java
lgpl-2.1
ac32175a054708b047a885bfc774208fe941a0bd
0
adamretter/exist,windauer/exist,wshager/exist,eXist-db/exist,joewiz/exist,wshager/exist,ljo/exist,ambs/exist,dizzzz/exist,olvidalo/exist,ljo/exist,adamretter/exist,RemiKoutcherawy/exist,ambs/exist,opax/exist,joewiz/exist,hungerburg/exist,wolfgangmm/exist,adamretter/exist,lcahlander/exist,ljo/exist,joewiz/exist,hungerbu...
package org.expath.exist; import org.apache.commons.io.output.ByteArrayOutputStream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.exist.dom.persistent.BinaryDocument; import org.exist.dom.QName; import org.exist.dom.persistent.DocumentImpl; import org.exist.dom.memtree...
extensions/expath/src/org/expath/exist/ZipFileFunctions.java
package org.expath.exist; import org.apache.commons.io.output.ByteArrayOutputStream; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.exist.dom.persistent.BinaryDocument; import org.exist.dom.QName; import org.exist.dom.persistent.DocumentImpl; import org.exist.dom.memtree...
[bugfix] Must release the READ_LOCK if the document is an XML document Closes https://github.com/eXist-db/exist/issues/1411
extensions/expath/src/org/expath/exist/ZipFileFunctions.java
[bugfix] Must release the READ_LOCK if the document is an XML document Closes https://github.com/eXist-db/exist/issues/1411
<ide><path>xtensions/expath/src/org/expath/exist/ZipFileFunctions.java <ide> public ZipInputStream getStream() throws IOException, PermissionDeniedException { <ide> <ide> if (binaryDoc == null) { <del> binaryDoc = getDoc(); <add> binaryDoc = getBinaryDoc(); <ide> ...
Java
mit
4411ab46454e007c7532fa5a194b2b53ba87f23a
0
ev3dev-lang-java/ev3dev-lang-java,jabrena/ev3dev-lang-java
package ev3dev.robotics.tts; import ev3dev.utils.Shell; import org.slf4j.Logger; /** * Espeak wrapper */ public class Espeak { private static final Logger log = org.slf4j.LoggerFactory.getLogger(Espeak.class); private static final String ESPEAK = "espeak"; private final static String CMD_APLAY ="aplay"; publ...
src/main/java/ev3dev/robotics/tts/Espeak.java
package ev3dev.robotics.tts; import ev3dev.utils.Shell; import org.slf4j.Logger; /** * Espeak wrapper */ public class Espeak { private static final Logger log = org.slf4j.LoggerFactory.getLogger(Espeak.class); private static final String ESPEAK = "espeak"; private final static String CMD_APLAY ="aplay"; p...
Adding initial values and some validation
src/main/java/ev3dev/robotics/tts/Espeak.java
Adding initial values and some validation
<ide><path>rc/main/java/ev3dev/robotics/tts/Espeak.java <ide> private static final String ESPEAK = "espeak"; <ide> private final static String CMD_APLAY ="aplay"; <ide> <del> private String voice = null; <add> public static final String VOICE_ENGLISH = "en"; <add> public static final String VOICE_SPANISH = "es"; ...
Java
apache-2.0
0104be00d828d366213f4ec0b6e82fedec91d702
0
dasahcc/helix,jzmq/helix,kongweihan/helix,AyolaJayamaha/helix,kongweihan/helix,brandtg/helix,AyolaJayamaha/helix,lei-xia/helix,hdatas/helix,apache/helix,lei-xia/helix,Teino1978-Corp/Teino1978-Corp-helix,hdatas/helix,OopsOutOfMemory/helix,AyolaJayamaha/helix,apache/helix,jzmq/helix,fx19880617/helix,dasahcc/helix,hdatas/...
package com.linkedin.helix.healthcheck; import java.util.Random; import java.util.Timer; import org.apache.log4j.Logger; import com.linkedin.helix.ConfigAccessor; import com.linkedin.helix.ConfigScope; import com.linkedin.helix.ConfigScopeBuilder; import com.linkedin.helix.HelixManager; import com.linkedin.helix.Hel...
helix-core/src/main/java/com/linkedin/helix/healthcheck/HealthAggregationTask.java
package com.linkedin.helix.healthcheck; import java.util.Random; import java.util.Timer; import org.apache.log4j.Logger; import com.linkedin.helix.HelixManager; import com.linkedin.helix.HelixTimerTask; import com.linkedin.helix.controller.pipeline.Pipeline; import com.linkedin.helix.controller.stages.ClusterEvent; ...
disable health check timer by default
helix-core/src/main/java/com/linkedin/helix/healthcheck/HealthAggregationTask.java
disable health check timer by default
<ide><path>elix-core/src/main/java/com/linkedin/helix/healthcheck/HealthAggregationTask.java <ide> <ide> import org.apache.log4j.Logger; <ide> <add>import com.linkedin.helix.ConfigAccessor; <add>import com.linkedin.helix.ConfigScope; <add>import com.linkedin.helix.ConfigScopeBuilder; <ide> import com.linkedin.helix.H...
Java
apache-2.0
2da3344c82a95bac81a84c627541b2c89c0772ce
0
daniellemayne/dasein-cloud-vsphere,mariapavlova/dasein-cloud-vsphere-1,maksimov/dasein-cloud-vsphere,unwin/dasein-cloud-vsphere,oldpatricka/dasein-cloud-vsphere-1,dasein-cloud/dasein-cloud-vsphere,daniellemayne/dasein-cloud-vsphere_old,oldpatricka/dasein-cloud-vsphere,greese/dasein-cloud-vsphere
/** * Copyright (C) 2010-2012 enStratus Networks 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://...
src/main/java/org/dasein/cloud/vsphere/compute/Vm.java
/** * Copyright (C) 2010-2012 enStratus Networks 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://...
Prevent terminate from trying to stop non running servers
src/main/java/org/dasein/cloud/vsphere/compute/Vm.java
Prevent terminate from trying to stop non running servers
<ide><path>rc/main/java/org/dasein/cloud/vsphere/compute/Vm.java <ide> com.vmware.vim25.mo.VirtualMachine vm = getVirtualMachine(service, serverId); <ide> <ide> if( vm != null ) { <del> Task task = vm.powerOffVM_Task(); <del> String status = task.waitForTask(); <de...
Java
epl-1.0
600b3e5fc6998b598f7d621f4c3851a90c761e11
0
sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1
/************************************************************************************* * Copyright (c) 2004 Actuate Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardTemplateChoicePage.java
/************************************************************************************* * Copyright (c) 2004 Actuate Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
- SCR(s) Resolved:77313 - Description: Repalce picture of templates. - Regression ( Yes/No ):no - Code Owner: WangQS - Code Reviewers: ZhiqianQiang,Dazhen Gao - Tests: manual - Test Automated (Yes/No, if “No? then explain why):no gui feature - Branches Involved: head - Case Entries Resolved: - Notes to Develop...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardTemplateChoicePage.java
- SCR(s) Resolved:77313
<ide><path>I/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/wizards/WizardTemplateChoicePage.java <ide> data = new GridData( GridData.FILL_VERTICAL | GridData.FILL_HORIZONTAL ); <ide> data.grabExcessHorizontalSpace = true; <ide> data.grabExcessVerticalSpace = true; <add> dat...
Java
mit
8cbe734ff0fff64f63199b89a9413885ee989b24
0
Erigitic/TotalEconomy,MarkL4YG/TotalEconomy
package com.erigitic.jobs; import com.erigitic.config.AccountManager; import com.erigitic.main.TotalEconomy; import ninja.leaping.configurate.ConfigurationNode; import ninja.leaping.configurate.commented.CommentedConfigurationNode; import ninja.leaping.configurate.hocon.HoconConfigurationLoader; import ninja.leaping.c...
src/com/erigitic/jobs/TEJobs.java
package com.erigitic.jobs; import com.erigitic.config.AccountManager; import com.erigitic.main.TotalEconomy; import ninja.leaping.configurate.ConfigurationNode; import ninja.leaping.configurate.commented.CommentedConfigurationNode; import ninja.leaping.configurate.hocon.HoconConfigurationLoader; import ninja.leaping.c...
Updated to latest Sponge API changes
src/com/erigitic/jobs/TEJobs.java
Updated to latest Sponge API changes
<ide><path>rc/com/erigitic/jobs/TEJobs.java <ide> import org.spongepowered.api.block.BlockType; <ide> import org.spongepowered.api.block.BlockTypes; <ide> import org.spongepowered.api.data.DataContainer; <del>import org.spongepowered.api.data.DataManipulator; <ide> import org.spongepowered.api.data.DataQuery; <del>impo...
Java
mit
7fa1e237d9e1e41fbdcd42f069df7c658f523bc7
0
iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller...
/* * Copyright (c) 2010, The Broad Institute * * 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, modify, me...
public/java/test/org/broadinstitute/sting/gatk/walkers/variantutils/CombineVariantsIntegrationTest.java
/* * Copyright (c) 2010, The Broad Institute * * 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, modify, me...
Forgot to git stash pop new MD5's for CombineVariants integration test
public/java/test/org/broadinstitute/sting/gatk/walkers/variantutils/CombineVariantsIntegrationTest.java
Forgot to git stash pop new MD5's for CombineVariants integration test
<ide><path>ublic/java/test/org/broadinstitute/sting/gatk/walkers/variantutils/CombineVariantsIntegrationTest.java <ide> <ide> @Test public void combineTrioCalls() { combine2("CEU.trio.2010_03.genotypes.vcf.gz", "YRI.trio.2010_03.genotypes.vcf.gz", "", "1d5a021387a8a86554db45a29f66140f"); } // official project VCF ...
Java
apache-2.0
737139556233dcd1c1c809a815a10d4cbd05b7cf
0
cobratbq/jitsi,bebo/jitsi,pplatek/jitsi,Metaswitch/jitsi,level7systems/jitsi,jitsi/jitsi,bhatvv/jitsi,level7systems/jitsi,laborautonomo/jitsi,HelioGuilherme66/jitsi,gpolitis/jitsi,mckayclarey/jitsi,mckayclarey/jitsi,cobratbq/jitsi,martin7890/jitsi,martin7890/jitsi,procandi/jitsi,marclaporte/jitsi,tuijldert/jitsi,cobrat...
/* * 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.protocol.icq; import net.java.sip.communicator.service.protocol.*; import net.kano.joustsim.oscar.oscar.service.ssi.*; im...
src/net/java/sip/communicator/impl/protocol/icq/ServerStoredContactListIcqImpl.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.protocol.icq; import net.java.sip.communicator.service.protocol.*; import net.kano.joustsim.oscar.oscar.service.ssi.*; im...
Handled case of VolatileContat being added to the contact list
src/net/java/sip/communicator/impl/protocol/icq/ServerStoredContactListIcqImpl.java
Handled case of VolatileContat being added to the contact list
<ide><path>rc/net/java/sip/communicator/impl/protocol/icq/ServerStoredContactListIcqImpl.java <ide> } <ide> <ide> /** <add> * Make the parent persistent presence operation set dispatch a subscription <add> * moved event. <add> * @param oldParentGroup the group where the source contact was located <...
Java
bsd-2-clause
6993269e1184bf1c50c5adfd33404546e7acf50b
0
chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio
/* * Copyright (c) 2003-2004, jMonkeyEngine - Mojo Monkey Coding * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, t...
src/com/jme/image/BitmapHeader.java
/* * Copyright (c) 2003-2004, jMonkeyEngine - Mojo Monkey Coding * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, t...
added a fix for uncompressed bitmaps that may not specify image size. (fix courtesy MikeT of forums) git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@2011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
src/com/jme/image/BitmapHeader.java
added a fix for uncompressed bitmaps that may not specify image size. (fix courtesy MikeT of forums)
<ide><path>rc/com/jme/image/BitmapHeader.java <ide> * <code>BitmapHeader</code> defines header information about a bitmap (BMP) image <ide> * file format. <ide> * @author Mark Powell <del> * @version $Id: BitmapHeader.java,v 1.10 2004-07-29 19:29:45 cep21 Exp $ <add> * @version $Id: BitmapHeader.java,v 1.11 2005-01-...
Java
agpl-3.0
ab7c6ecd613fda071fc1e556517c2541526a8fa1
0
denkbar/step,denkbar/step,denkbar/step,denkbar/step,denkbar/step
package step.core.accessors; import java.util.Arrays; import java.util.HashSet; import java.util.Map; import java.util.TreeMap; import java.util.concurrent.TimeUnit; import org.bson.Document; import org.jongo.Jongo; import org.jongo.marshall.jackson.JacksonMapper; import com.fasterxml.jackson.datatype.js...
core/src/main/java/step/core/accessors/AbstractAccessor.java
package step.core.accessors; import java.util.Arrays; import java.util.HashSet; import java.util.Map; import java.util.TreeMap; import java.util.concurrent.TimeUnit; import org.bson.Document; import org.jongo.Jongo; import org.jongo.marshall.jackson.JacksonMapper; import com.fasterxml.jackson.datatype.js...
Fixing compound index bug (order depending on TreeMap impl -> wrong)
core/src/main/java/step/core/accessors/AbstractAccessor.java
Fixing compound index bug (order depending on TreeMap impl -> wrong)
<ide><path>ore/src/main/java/step/core/accessors/AbstractAccessor.java <ide> <ide> public static void createOrUpdateCompoundIndex(MongoCollection<Document> collection, String... attribute) { <ide> Document index = getIndex(collection, attribute); <del> <add> <ide> if(index==null) { <del> Map<String, Object> c...
Java
apache-2.0
d6b21b1b540a094a06879646774d62c7b0bd1dfd
0
shantanusharma/closure-compiler,tdelmas/closure-compiler,Yannic/closure-compiler,shantanusharma/closure-compiler,mprobst/closure-compiler,vobruba-martin/closure-compiler,shantanusharma/closure-compiler,tiobe/closure-compiler,tiobe/closure-compiler,monetate/closure-compiler,nawawi/closure-compiler,tdelmas/closure-compil...
/* * Copyright 2008 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
src/com/google/javascript/jscomp/debugger/common/CompilationParam.java
/* * Copyright 2008 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Fix CollapseProperties checkbox in the debugger. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=178834242
src/com/google/javascript/jscomp/debugger/common/CompilationParam.java
Fix CollapseProperties checkbox in the debugger.
<ide><path>rc/com/google/javascript/jscomp/debugger/common/CompilationParam.java <ide> COLLAPSE_PROPERTIES(ParamGroup.TYPE_CHECKING_OPTIMIZATION) { <ide> @Override <ide> public void apply(CompilerOptions options, boolean value) { <del> options.setCollapsePropertiesLevel(PropertyCollapseLevel.ALL); <add> ...
JavaScript
mit
4285c6282f70bfe4ab6cb7fbdf79e8d441936fe3
0
toto/re-data,opendatacity/re-data,opendatacity/re-data,toto/re-data
/* get node modules */ var fs = require('fs'); var path = require('path'); /* get npm modules */ var scrapyard = require('scrapyard'); var moment = require('moment'); var ent = require('ent'); var cheerio = require('cheerio'); var sanitizeHtml = require('sanitize-html'); var parseCSV = require('csv-parse'); var async ...
scraper/camp15/scraper.js
/* get node modules */ var fs = require('fs'); var path = require('path'); /* get npm modules */ var scrapyard = require('scrapyard'); var moment = require('moment'); var ent = require('ent'); var cheerio = require('cheerio'); var sanitizeHtml = require('sanitize-html'); var parseCSV = require('csv-parse'); var async ...
add new locations
scraper/camp15/scraper.js
add new locations
<ide><path>craper/camp15/scraper.js <ide> // N ∈ [1;5], L ∈ {native, translated}, Q ∈ {hd, sd, slides}. <ide> <ide> var sortOrderOfLocations = [ <add> "camp15-project-2501", <add> "camp15-simulacron-3", <ide> "camp15-a", <ide> "camp15-b", <ide> "camp15-hackcenter-1",
Java
apache-2.0
60e202424c8803d0dab91e41269da9292147dbd5
0
bozimmerman/CoffeeMud,Tycheo/coffeemud,Tycheo/coffeemud,Tycheo/coffeemud,oriontribunal/CoffeeMud,oriontribunal/CoffeeMud,oriontribunal/CoffeeMud,MaxRau/CoffeeMud,sfunk1x/CoffeeMud,MaxRau/CoffeeMud,bozimmerman/CoffeeMud,sfunk1x/CoffeeMud,MaxRau/CoffeeMud,bozimmerman/CoffeeMud,sfunk1x/CoffeeMud,Tycheo/coffeemud,MaxRau/Co...
package com.planet_ink.miniweb.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.util.Date; import java.util.Iterator; import java.util.LinkedList; import com.planet_ink.miniweb.interfaces.DataBuffers; /* Copyright 2...
com/planet_ink/miniweb/util/MWDataBuffers.java
package com.planet_ink.miniweb.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; import java.util.Date; import java.util.Iterator; import java.util.LinkedList; import com.planet_ink.miniweb.interfaces.DataBuffers; /* Copyright 2...
git-svn-id: svn://192.168.1.10/public/CoffeeMud@10244 0d6f1817-ed0e-0410-87c9-987e46238f29
com/planet_ink/miniweb/util/MWDataBuffers.java
<ide><path>om/planet_ink/miniweb/util/MWDataBuffers.java <ide> private byte[] buffer=null; <ide> private int length=0; <ide> private long lastModifiedTime=0; <add> //TODO: Remove/Comment out this stuff after the leak is found. <ide> private volatile StackTraceElement[] lastStackTrace=new Sta...
Java
bsd-3-clause
7edd5c76b456b4e6368ec00eb865f56d84b6140f
0
Speiger/Nuclear-Control,Adaptivity/Nuclear-Control,Ghostlyr/Nuclear-Control
package shedar.mods.ic2.nuclearcontrol.crossmod.appeng; import shedar.mods.ic2.nuclearcontrol.IC2NuclearControl; import appeng.tile.networking.TileCableBus; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Mate...
src/main/java/shedar/mods/ic2/nuclearcontrol/crossmod/appeng/BlockNetworkLink.java
package shedar.mods.ic2.nuclearcontrol.crossmod.appeng; import shedar.mods.ic2.nuclearcontrol.IC2NuclearControl; import appeng.tile.networking.TileCableBus; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Mate...
Did this on a phone, not sure if it compiles.
src/main/java/shedar/mods/ic2/nuclearcontrol/crossmod/appeng/BlockNetworkLink.java
Did this on a phone, not sure if it compiles.
<ide><path>rc/main/java/shedar/mods/ic2/nuclearcontrol/crossmod/appeng/BlockNetworkLink.java <ide> public BlockNetworkLink() { <ide> super(Material.iron); <ide> this.setBlockName("NetworkLink"); <add> this.setBlockHardness(1.0F); <ide> this.setCreativeTab(IC2NuclearControl.tabIC2NC); ...
JavaScript
mit
9507d6b69cffb036a9bb45dd762963bd6474df75
0
Mathigon/fermat.js
// ============================================================================= // Fermat.js | Geometry // (c) Mathigon // ============================================================================= import { total, square, clamp, flatten, toLinkedList, tabulate } from '@mathigon/core'; import { nearlyEquals, isBe...
src/geometry.js
// ============================================================================= // Fermat.js | Geometry // (c) Mathigon // ============================================================================= import { total, square, clamp, flatten, toLinkedList, tabulate } from '@mathigon/core'; import { nearlyEquals, isBe...
New lineCircleIntersection() and simpleIntersection() functions for Geometry
src/geometry.js
New lineCircleIntersection() and simpleIntersection() functions for Geometry
<ide><path>rc/geometry.js <ide> return [new Point(px, py), new Point(qx, qy)] <ide> } <ide> <del>function lineCircleIntersection(_l, _c) { <del> // TODO <del> return []; <add>// From http://mathworld.wolfram.com/Circle-LineIntersection.html <add>function lineCircleIntersection(l, c) { <add> const dx = l.p2.x - l....
Java
bsd-3-clause
9cb9e249392d5b800b36ff55737f09694295de8e
0
Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo,Caleydo/caleydo
/******************************************************************************* * Caleydo - visualization for molecular biology - http://caleydo.org * * Copyright(C) 2005, 2012 Graz University of Technology, Marc Streit, Alexander * Lex, Christian Partl, Johannes Kepler University Linz </p> * * This program is...
org.caleydo.view.dvi/src/org/caleydo/view/dvi/node/TableBasedDataNode.java
/******************************************************************************* * Caleydo - visualization for molecular biology - http://caleydo.org * * Copyright(C) 2005, 2012 Graz University of Technology, Marc Streit, Alexander * Lex, Christian Partl, Johannes Kepler University Linz </p> * * This program is...
Fixed Ticked #745 git-svn-id: 149221363d454b9399d51e0b24a857a738336ca8@4915 1f7349ae-fd9f-0d40-aeb8-9798e6c0fce3
org.caleydo.view.dvi/src/org/caleydo/view/dvi/node/TableBasedDataNode.java
Fixed Ticked #745
<ide><path>rg.caleydo.view.dvi/src/org/caleydo/view/dvi/node/TableBasedDataNode.java <ide> DATA_GRAPH_NODE_PENETRATING_PICKING_TYPE, id); <ide> toggleDataContainerButtonRenderer.setZCoordinate(1); <ide> toggleDataContainerButtonLayout.setRenderer(toggleDataContainerButtonRenderer); <del> titleRow.append(spacin...
Java
apache-2.0
30c86811c037ffa9adec44ed6015d442752348c8
0
stleary/JSON-Java-unit-test
package org.json.junit; import static org.junit.Assert.*; import java.util.*; import org.json.*; public class Util { /** * Compares two json arrays for equality * @param jsonArray created by the code to be tested * @param expectedJsonArray created specifically for comparing */ ...
Util.java
package org.json.junit; import static org.junit.Assert.*; import java.util.*; import org.json.*; public class Util { /** * Compares two json arrays for equality * @param jsonArray created by the code to be tested * @param expectedJsonArray created specifically for comparing */ ...
improved object comparison
Util.java
improved object comparison
<ide><path>til.java <ide> compareActualVsExpectedJsonArrays( <ide> jsonArray, expectedJsonArray); <ide> } else { <add> /** <add> * Certain helper classes (e.g. XML) may create Long instead of <add> * Integer for small int values. As long as both...
Java
epl-1.0
caf0259625f6e757cab8ca7af4fc9cb496e9f878
0
sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt
/******************************************************************************* * Copyright (c) 2006, 2007, 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...
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/GroupSortingDialog.java
/******************************************************************************* * Copyright (c) 2006, 2007, 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...
- Summary: When Group and sorting dialogue is opened, the actions in Chart dialogue is still enabled on behalf of ZhangShuai(#35551) - Bugzilla Bug (s) Resolved: - Description: reason: GroupSorting dialog is not modal style solution: Change GroupSorting dialog to modal style - Tests Description: Manual Test - Notes...
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/GroupSortingDialog.java
- Summary: When Group and sorting dialogue is opened, the actions in Chart dialogue is still enabled on behalf of ZhangShuai(#35551)
<ide><path>hart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/GroupSortingDialog.java <ide> SeriesDefinition sd ) <ide> { <ide> super( shell ); <del> setShellStyle( SWT.CLOSE | SWT.TITLE | SWT.RESIZE ); <add> setShellStyle( getShellStyle( ) | SWT.RESIZE ); <ide> this.wizardC...
Java
apache-2.0
d4bd1bf122aed27a604e553e5ff0587ff6d8e19a
0
theangrydev/business-flows
package io.github.theangrydev.businessflows; import java.util.Optional; import java.util.function.Function; import java.util.function.Supplier; import static java.lang.String.format; public abstract class BusinessFlow<Sad, Happy, Bias> { final Sad sad; final Happy happy; final Exception technicalFailure...
src/main/java/io/github/theangrydev/businessflows/BusinessFlow.java
package io.github.theangrydev.businessflows; import java.util.Optional; import java.util.function.Function; import java.util.function.Supplier; import static java.lang.String.format; abstract class BusinessFlow<Sad, Happy, Actual> { final Sad sad; final Happy happy; final Exception technicalFailure; ...
Rename Actual to Bias in BusinessFlow.java
src/main/java/io/github/theangrydev/businessflows/BusinessFlow.java
Rename Actual to Bias in BusinessFlow.java
<ide><path>rc/main/java/io/github/theangrydev/businessflows/BusinessFlow.java <ide> <ide> import static java.lang.String.format; <ide> <del>abstract class BusinessFlow<Sad, Happy, Actual> { <add>public abstract class BusinessFlow<Sad, Happy, Bias> { <ide> <ide> final Sad sad; <ide> final Happy happy; <ide> ...
Java
apache-2.0
0c368ecb48c8a776e75c1d7a697f1a5063904c7c
0
tweise/incubator-apex-core,andyperlitch/incubator-apex-core,vrozov/apex-core,tushargosavi/apex-core,chinmaykolhatkar/incubator-apex-core,tweise/apex-core,tweise/incubator-apex-core,tweise/apex-core,mt0803/incubator-apex-core,tweise/incubator-apex-core,simplifi-it/otterx,sandeshh/incubator-apex-core,brightchen/apex-core...
/* * Copyright (c) 2012 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.engine; import com.malhartech.api.ActivationListener; import com.malhartech.api.Operator; import com.malhartech.api.Operator.OutputPort; import com.malhartech.api.Operator.Port; import com.malhartech.api.Sink; import com.malhart...
engine/src/main/java/com/malhartech/engine/Node.java
/* * Copyright (c) 2012 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.engine; import com.malhartech.api.ActivationListener; import com.malhartech.api.Operator; import com.malhartech.api.Operator.OutputPort; import com.malhartech.api.Operator.Port; import com.malhartech.api.Sink; import com.malhart...
don't throw exception in placeholders for now
engine/src/main/java/com/malhartech/engine/Node.java
don't throw exception in placeholders for now
<ide><path>ngine/src/main/java/com/malhartech/engine/Node.java <ide> <ide> public void addSinks(HashMap<String, RecorderSink> sinkMap) <ide> { <del> throw new UnsupportedOperationException("Not yet implemented"); <add> //throw new UnsupportedOperationException("Not yet implemented"); <ide> } <ide> <ide> ...
Java
apache-2.0
caa29fa52cf33442b34c9212aff50a83b9e0fe13
0
ykrasik/jaci
/* * Copyright (C) 2014 Yevgeny Krasik * * 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 ...
jerminal-core/src/main/java/com/github/ykrasik/jerminal/api/annotation/DynamicStringParam.java
/* * Copyright (C) 2014 Yevgeny Krasik * * 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 ...
JavaDoc fix
jerminal-core/src/main/java/com/github/ykrasik/jerminal/api/annotation/DynamicStringParam.java
JavaDoc fix
<ide><path>erminal-core/src/main/java/com/github/ykrasik/jerminal/api/annotation/DynamicStringParam.java <ide> String defaultValue() default ""; <ide> <ide> /** <del> * @return The name of a method that takes no args and returns a {@link com.google.common.base.Supplier} of {@link java.util.List} <del> ...
Java
apache-2.0
291244d264e9e59f917127eafad74ff9c0a52898
0
cscorley/solr-only-mirror,cscorley/solr-only-mirror,cscorley/solr-only-mirror
/** * 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/java/org/apache/solr/search/SolrIndexSearcher.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...
SOLR-1900: make getDocSet honor deleted docs git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@943994 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/solr/search/SolrIndexSearcher.java
SOLR-1900: make getDocSet honor deleted docs
<ide><path>rc/java/org/apache/solr/search/SolrIndexSearcher.java <ide> import org.apache.lucene.search.*; <ide> import org.apache.lucene.store.Directory; <ide> import org.apache.lucene.store.FSDirectory; <add>import org.apache.lucene.util.Bits; <ide> import org.apache.lucene.util.BytesRef; <ide> import org.apache.solr....
Java
mit
058cef5198ef411fad358bd7b0480a7ea4cddfb2
0
NyaaCat/RPGitems-reloaded
package think.rpgitems.power.impl; import org.bukkit.*; import org.bukkit.block.Block; import org.bukkit.entity.Entity; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity.EntityDamageEvent; import org.bukkit.e...
src/main/java/think/rpgitems/power/impl/PowerBeam.java
package think.rpgitems.power.impl; import org.bukkit.*; import org.bukkit.block.Block; import org.bukkit.entity.Entity; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.event.entity.EntityDamageByEntityEvent; import org.bukkit.event.entity.EntityDamageEvent; import org.bukkit.e...
add author & support information for Power Beam
src/main/java/think/rpgitems/power/impl/PowerBeam.java
add author & support information for Power Beam
<ide><path>rc/main/java/think/rpgitems/power/impl/PowerBeam.java <ide> import static think.rpgitems.Events.*; <ide> import static think.rpgitems.power.Utils.checkCooldown; <ide> <add>/** <add> * @Author ReinWD <add> * @email ReinWDD@gmail.com <add> * Wrote & Maintained by ReinWD <add> * if you have any issue, please s...
JavaScript
mit
5196cfcf07702d3098637483fc694b9199a23c1e
0
elliotlaster/papert,elliotlaster/papert,elliotlaster/papert
// $Id$ function Logo () { this.turtle = null; this.setTurtle = function(turtle) { this.turtle = turtle; } var d = new Date() this.seed = d.getTime()/1000; this.functions = new SymbolTable(); this.values = new SymbolTable(); this.t = new Tokenizer(); this.p =...
logo.js
// $Id$ function Logo () { this.turtle = null; this.setTurtle = function(turtle) { this.turtle = turtle; } var d = new Date() this.seed = d.getTime()/1000; this.functions = new SymbolTable(); this.values = new SymbolTable(); this.t = new Tokenizer(); this.p =...
adding runparsing
logo.js
adding runparsing
<ide><path>ogo.js <ide> } else if (this.functions.get(code.data) != null) { // a user defined function <ide> <ide> var f = this.functions.get(code.data); <add> <add> if (f.code == null) { // time for some runparsing <add> //alert("runparsing "+code.data); <add>...
Java
mit
432bfde617427304771bc7fac137aaf3a1b48494
0
intuit/karate,intuit/karate,intuit/karate,intuit/karate
/* * The MIT License * * Copyright 2019 Intuit 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, modi...
karate-core/src/main/java/com/intuit/karate/debug/DapServerHandler.java
/* * The MIT License * * Copyright 2019 Intuit 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, modi...
sort debug variables alphabetically
karate-core/src/main/java/com/intuit/karate/debug/DapServerHandler.java
sort debug variables alphabetically
<ide><path>arate-core/src/main/java/com/intuit/karate/debug/DapServerHandler.java <ide> list.add(map); <ide> } <ide> }); <add> Collections.sort(list, (a, b) -> ((String) a.get("name")).compareTo((String) b.get("name"))); <ide> return list; <ide> } <ide>
Java
agpl-3.0
b2cc66c4a88d2d175649b087ed083c8ebcf6cb19
0
splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceeng...
package com.splicemachine.constants; import com.google.common.collect.Lists; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.util.Bytes; import ja...
structured_constants/src/main/java/com/splicemachine/constants/SpliceConstants.java
package com.splicemachine.constants; import com.google.common.collect.Lists; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.util.Bytes; import ja...
adding ipcThread reference
structured_constants/src/main/java/com/splicemachine/constants/SpliceConstants.java
adding ipcThread reference
<ide><path>tructured_constants/src/main/java/com/splicemachine/constants/SpliceConstants.java <ide> static { <ide> setParameters(); <ide> } <add> <add> public static int ipcThreads; <ide> <ide> public static List<String> zookeeperPaths = Lists.newArrayList(zkSpliceTaskPath,zkSpliceJobPath,zkSpliceConglomeratePa...
Java
epl-1.0
1f8b0e2160a345829692f8401fdba3192255155e
0
gnodet/wikitext
/******************************************************************************* * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
/******************************************************************************* * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
NEW - bug 165359: fix UI nits https://bugs.eclipse.org/bugs/show_bug.cgi?id=165359
org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java
NEW - bug 165359: fix UI nits https://bugs.eclipse.org/bugs/show_bug.cgi?id=165359
<ide><path>rg.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractRepositoryTaskEditor.java <ide> createNewCommentLayout(editorComposite); <ide> Composite bottomComposite = toolkit.createComposite(editorComposite); <ide> bottomComposite.setLayout(new GridLayout(2, false)); <del> GridDataFactory...
Java
apache-2.0
bbd26fa59dcddb7113bfda25abcfcc481635280e
0
frank-rahn/microservices,frank-rahn/microservices,frank-rahn/microservices
securities-management/server-web/src/main/java/de/rahn/finances/server/web/SecuritiesFilter.java
/* * Copyright 2011-2016 Frank W. Rahn and the project 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 ...
Überflüssige Klasse gelöscht
securities-management/server-web/src/main/java/de/rahn/finances/server/web/SecuritiesFilter.java
Überflüssige Klasse gelöscht
<ide><path>ecurities-management/server-web/src/main/java/de/rahn/finances/server/web/SecuritiesFilter.java <del>/* <del> * Copyright 2011-2016 Frank W. Rahn and the project authors. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance wit...
JavaScript
mit
baecc3f33edb19e0c99759a0b490cb9f52e4b98f
0
kilbot/IDBWrapper,kilbot/IDBWrapper
describe('IDBWrapper', function(){ describe('delete databases', function(){ var store; before(function(done){ store = new IDBStore({ storeName: 'spec-store-simple' }, done); }); it('should delete the newly created database', function(done){ store.deleteDatabase(function(re...
test/idbwrapper_spec.js
describe('IDBWrapper', function(){ describe('delete databases', function(){ var store; before(function(done){ store = new IDBStore({ storeName: 'spec-store-simple' }, done); }); it('should delete the newly created database', function(done){ store.deleteDatabase(function(re...
update tests
test/idbwrapper_spec.js
update tests
<ide><path>est/idbwrapper_spec.js <ide> <ide> }); <ide> <del> it('should clear records on version change', function(done){ <add> it('should trigger onVersionChange method on version change', function(done){ <ide> <ide> var onSuccess = function(){ <ide> store.count( function(count){
Java
apache-2.0
77f8668aa2847f9bc15c161d976556d56fae938b
0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
package org.commcare.preferences; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.EditTextPreference; import android.preference.PreferenceManager; import org.commcare.CommCareApp; import org.commcare.CommCareApplication; import org.commcare.activities.SessionAwarePreferen...
app/src/org/commcare/preferences/DeveloperPreferences.java
package org.commcare.preferences; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.EditTextPreference; import android.preference.PreferenceManager; import org.commcare.CommCareApp; import org.commcare.CommCareApplication; import org.commcare.activities.SessionAwarePreferen...
Rename method
app/src/org/commcare/preferences/DeveloperPreferences.java
Rename method
<ide><path>pp/src/org/commcare/preferences/DeveloperPreferences.java <ide> private void setSessionEditText() { <ide> EditTextPreference savedSessionEditTextPreference = <ide> (EditTextPreference)findPreference(EDIT_SAVE_SESSION); <del> savedSessionEditTextPreference.setText(getSession...
Java
apache-2.0
d5e02a97eff022302a508d553f41adb77d6cb3ca
0
dain/presto,Praveen2112/presto,losipiuk/presto,electrum/presto,ebyhr/presto,smartnews/presto,dain/presto,losipiuk/presto,smartnews/presto,losipiuk/presto,smartnews/presto,ebyhr/presto,losipiuk/presto,11xor6/presto,dain/presto,electrum/presto,electrum/presto,11xor6/presto,dain/presto,electrum/presto,smartnews/presto,11x...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
presto-parser/src/main/java/io/prestosql/sql/tree/Identifier.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Tighten allowed characters for non-delimited identifiers Identifiers with characters such as @ or : are not being treated as delimited identifiers, which causes issues when the planner creates synthetic identifiers as part of the plan IR expressions. When the IR expressions are serialized, they are not being properly ...
presto-parser/src/main/java/io/prestosql/sql/tree/Identifier.java
Tighten allowed characters for non-delimited identifiers
<ide><path>resto-parser/src/main/java/io/prestosql/sql/tree/Identifier.java <ide> public class Identifier <ide> extends Expression <ide> { <del> private static final Pattern NAME_PATTERN = Pattern.compile("[a-zA-Z_]([a-zA-Z0-9_:@])*"); <add> private static final Pattern NAME_PATTERN = Pattern.compile("[a-...
Java
lgpl-2.1
dcfb75ab05136ece99f653a34fdc14d562d1adcf
0
kihira/PlayerRugs
package uk.kihira.playerrugs.client; import com.mojang.authlib.GameProfile; import net.minecraft.client.entity.AbstractClientPlayer; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.render...
src/main/java/uk/kihira/playerrugs/client/PlayerRugTESR.java
package uk.kihira.playerrugs.client; import com.mojang.authlib.GameProfile; import net.minecraft.client.entity.AbstractClientPlayer; import net.minecraft.client.renderer.OpenGlHelper; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.render...
Fix right arm standing texture
src/main/java/uk/kihira/playerrugs/client/PlayerRugTESR.java
Fix right arm standing texture
<ide><path>rc/main/java/uk/kihira/playerrugs/client/PlayerRugTESR.java <ide> GL11.glTranslatef(0f, 7f/16f, -1f/16f); <ide> } <ide> <del> // Left Arm <ide> float xOffset = 4f/16f-0.5f; <ide> float zOffset = 5f/16f-0.5f; <ide> float thickness = 1f/16f; <ide> flo...
JavaScript
mit
3f582578348877208efc7dfe77be57036abe3a17
0
Hoops021/Tron-LightCycleRacing,Hoops021/Tron-LightCycleRacing,Hoops021/Tron-LightCycleRacing
/** * @author Troy Ferrell & Yang Su */ function Pen(scene, path, rotations) { if (path.length === 0 || rotations.length === 0) { console.log("ERROR IN PATH SIZE FOR PEN IN INTRO"); return; } this.scene = scene; // Pen Parameter Intialization this.isDone = false; ...
js/Intro/Pen.js
/** * @author Troy Ferrell & Yang Su */ function Pen(scene, path, rotations) { if (path.length === 0 || rotations.length === 0) { console.log("ERROR IN PATH SIZE FOR PEN IN INTRO"); return; } this.scene = scene; // Pen Parameter Intialization this.isDone = false; ...
Test to rmeove deprecated THREE.Vertex
js/Intro/Pen.js
Test to rmeove deprecated THREE.Vertex
<ide><path>s/Intro/Pen.js <ide> // Create & add new line segment <ide> newVec3 = this.penMesh.position.clone(); <ide> lineGeo = new THREE.Geometry(); <del> lineGeo.vertices.push(new THREE.Vertex(this.lastVec3)); <del> lineGeo.vertices.push(new THREE.Vertex(newVec3)); <add> /...
Java
agpl-3.0
cbae813000dfd5a236ec201607a5d1a6083d8b01
0
OnyxDevTools/onyx-database-parent,OnyxDevTools/onyx-database-parent
package com.onyx.endpoint; /** * Created by tosborn1 on 12/31/15. */ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.type.CollectionType; import com.onyx.exception.EntityClassNotFoundException; import com.onyx.exception.EntityException; import com.onyx.helpers.PartitionHelp...
onyx-remote-database/src/com/onyx/endpoint/WebPersistenceEndpoint.java
package com.onyx.endpoint; /** * Created by tosborn1 on 12/31/15. */ import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.type.CollectionType; import com.onyx.exception.EntityClassNotFoundException; import com.onyx.exception.EntityException; import com.onyx.helpers.PartitionHelp...
Fix unit tests for WebPersistenceManager exceptions
onyx-remote-database/src/com/onyx/endpoint/WebPersistenceEndpoint.java
Fix unit tests for WebPersistenceManager exceptions
<ide><path>nyx-remote-database/src/com/onyx/endpoint/WebPersistenceEndpoint.java <ide> public IManagedEntity save(EntityRequestBody request) throws EntityException, ClassNotFoundException { <ide> final Class clazz = Class.forName(request.getType()); <ide> IManagedEntity entity = (IManagedEntity)obje...
JavaScript
bsd-3-clause
eabff714616f0b49a647bc30623dbbe13050a5ce
0
LLK/scratch-vm,LLK/scratch-vm,LLK/scratch-vm
const ArgumentType = require('../../extension-support/argument-type'); const BlockType = require('../../extension-support/block-type'); const Cast = require('../../util/cast'); const formatMessage = require('format-message'); const color = require('../../util/color'); const BLE = require('../../io/ble'); const Base64Ut...
src/extensions/scratch3_boost/index.js
const ArgumentType = require('../../extension-support/argument-type'); const BlockType = require('../../extension-support/block-type'); const Cast = require('../../util/cast'); const formatMessage = require('format-message'); const color = require('../../util/color'); const BLE = require('../../io/ble'); const Base64Ut...
Changing some variable names regarding duration and rotation blocks for clarity.
src/extensions/scratch3_boost/index.js
Changing some variable names regarding duration and rotation blocks for clarity.
<ide><path>rc/extensions/scratch3_boost/index.js <ide> * @type {Object} <ide> * @private <ide> */ <del> this._pendingTimeoutId = null; <del> <del> /** <del> * The starting time for the pending timeout. <add> this._pendingDurationTimeoutId = null; <add> <add> ...
Java
apache-2.0
1336c30eb29bceaefa56fdf73ee3badbcb81b477
0
folio-org/raml-module-builder,folio-org/raml-module-builder,folio-org/raml-module-builder
package org.folio.rest.persist; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Level; import org.apache.log4j.LogManager; import org.folio.rest.tools.utils.VertxUtils; import org.junit.After; import org.junit.AfterClass; imp...
domain-models-runtime/src/test/java/org/folio/rest/persist/PostgresClientIT.java
package org.folio.rest.persist; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Level; import org.apache.log4j.LogManager; import org.folio.rest.tools.utils.VertxUtils; import org.junit.After; import org.junit.AfterClass; imp...
fix GRANT
domain-models-runtime/src/test/java/org/folio/rest/persist/PostgresClientIT.java
fix GRANT
<ide><path>omain-models-runtime/src/test/java/org/folio/rest/persist/PostgresClientIT.java <ide> private void createSchema(TestContext context, String tenant) { <ide> String schema = PostgresClient.convertToPsqlStandard(tenant); <ide> executeIgnore(context, "CREATE ROLE " + schema + " PASSWORD '" + tenant + "...
JavaScript
mit
af5d6a1060d7caccf4fa7ddb2c2e1f636aaeb94d
0
jelhub/scimgateway
// ================================================================================= // File: plugin-forwardinc.js // // Author: Jarle Elshaug // // Purpose: SOAP Webservice user-provisioning for endpoint "Forwardinc" // // Prereq: Forwardinc webservice is up and running // Forwardinc comes with CA IM SDK...
lib/plugin-forwardinc.js
// ================================================================================= // File: plugin-forwardinc.js // // Author: Jarle Elshaug // // Purpose: SOAP Webservice user-provisioning for endpoint "Forwardinc" // // Prereq: Forwardinc webservice is up and running // Forwardinc comes with CA IM SDK...
convertedScim not needed
lib/plugin-forwardinc.js
convertedScim not needed
<ide><path>ib/plugin-forwardinc.js <ide> identifier: id <ide> } <ide> <del> let userObj = await scimgateway.getUser(baseEntity, getObj, '') <add> const userObj = await scimgateway.getUser(baseEntity, getObj, '') <ide> <ide> const notValid = scimgateway.notValidAttributes(attrObj, validScimAttr) <i...
JavaScript
mit
c0dea9b57cadff2b767b29e67bf96faff4d97f4c
0
active-expressions/active-expressions-benchmark-results,active-expressions/active-expressions-benchmark-results
import './lodash.js'; import { uuid } from './utils.js'; var labels = true; // show the text labels beside individual boxplots? const TICKING_NAME = 'Convention', INTERPRETATION_NAME = 'Interpretation', REWRITING_NAME = 'Compilation'; // show labels checkbox const showLabelsId = 'showLabels'; (() => { let contain...
index.js
import './lodash.js'; import { uuid } from './utils.js'; var labels = true; // show the text labels beside individual boxplots? const TICKING_NAME = 'Convention', INTERPRETATION_NAME = 'Interpretation', REWRITING_NAME = 'Compilation'; // show labels checkbox const showLabelsId = 'showLabels'; (() => { let contain...
show name in config
index.js
show name in config
<ide><path>ndex.js <ide> <ide> const files = evt.dataTransfer.files; <ide> if (files && files.length > 0) { <del> Array.from(files).forEach(async file => { <add> const textPromises = Array.from(files).map(async file => { <ide> const dataURL = await readBlobAsDataURL(file); <ide> const blob = await fetch(data...
JavaScript
apache-2.0
72c4e2bdb2f469f257c9399d54d7ab9eb77f498e
0
mpi2/PhenotypeArchive,mpi2/PhenotypeArchive,mpi2/PhenotypeArchive
/** * Copyright © 2011-2013 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-2.0 * * Unless...
WebContent/resources/js/searchAndFacet/mpFacetWidget.js
/** * Copyright © 2011-2013 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-2.0 * * Unless...
Adding new file to Git
WebContent/resources/js/searchAndFacet/mpFacetWidget.js
Adding new file to Git
<ide><path>ebContent/resources/js/searchAndFacet/mpFacetWidget.js <ide> var self = this; <ide> <ide> self._initFacet(); <del> $.fn.openFacet(self.options.data.core); <del> console.log('done mp facet') <add> $.fn.openFacet(self.options.data.core); <ide> }, <ide> <ide> _initFacet: f...
JavaScript
mit
5012b0a46c4bfec77085c0744d9db8a0dcaf7215
0
PatidarWeb/bigpipe,tonybo2006/bigpipe,PatidarWeb/bigpipe,bigpipe/bigpipe,tonybo2006/bigpipe,bigpipe/bigpipe
'use strict'; var crypto = require('crypto') , fs = require('fs'); /** * The librarian manages all the assets that we have inside our pagelets. It's * able to identify the most commonly included libraries and compiles them in * a single core file. * * All non-common assets are also compiled and saved to disk s...
librarian.js
'use strict'; var crypto = require('crypto') , fs = require('fs'); /** * The librarian manages all the assets that we have inside our pagelets. It's * able to identify the most commonly included libraries and compiles them in * a single core file. * * All non-common assets are also compiled and saved to disk s...
[fix] Correctly mark duplicate pagelets.
librarian.js
[fix] Correctly mark duplicate pagelets.
<ide><path>ibrarian.js <ide> name: proto.name, // Name of the pagelet. <ide> css: proto.css, // Location of the CSS. <ide> js: proto.view, // Location of the JS. <del> id: Page.id // Id of the page. ...
Java
agpl-3.0
a220e406eac3f11cb16543fec5e89271273a0a4e
0
JuliaSoboleva/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary
package wb.receipts.workers; import co.smartreceipts.android.purchases.Subscription; import co.smartreceipts.android.purchases.SubscriptionWallet; import co.smartreceipts.android.workers.AdManager; import co.smartreceipts.android.workers.WorkerManager; import wb.receipts.R; import android.app.Activity; import android...
SmartReceiptsFree/src/main/java/wb/receipts/workers/SRFreeAdManager.java
package wb.receipts.workers; import co.smartreceipts.android.purchases.Subscription; import co.smartreceipts.android.purchases.SubscriptionWallet; import co.smartreceipts.android.workers.AdManager; import co.smartreceipts.android.workers.WorkerManager; import wb.receipts.R; import android.app.Activity; import android...
Added more runtime checks to hide ads after purchases
SmartReceiptsFree/src/main/java/wb/receipts/workers/SRFreeAdManager.java
Added more runtime checks to hide ads after purchases
<ide><path>martReceiptsFree/src/main/java/wb/receipts/workers/SRFreeAdManager.java <ide> final AdView adView = (AdView) activity.findViewById(R.id.adView); <ide> mAdViewReference = new WeakReference<>(adView); <ide> if (adView != null) { <del> if (!activity.getSharedPreferences(AD_PRE...
Java
mit
af1ec70423dcce94c1da3f9050536a1b5c056793
0
ysjian/moco,jasonchaffee/moco,ForrestAlfred/moco,ForrestAlfred/moco,cgourlay/moco,ruiruiguo/moco,cgourlay/moco,ruiruiguo/moco,sandyway/moco,yonglehou/moco,ForrestVV/moco,LiuShulong/moco,zhigang1992/moco,ysjian/moco,zhigang1992/moco,sandyway/moco,dreamhead/moco,jasonchaffee/moco,yonglehou/moco,LiuShulong/moco,ForrestVV/...
package com.github.dreamhead.moco.parser.model; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.github.dreamhead.moco.mount.MountPredicate; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import java.util.List; import static com.github.dreamhead.moco.MocoMount.ex...
moco-runner/src/main/java/com/github/dreamhead/moco/parser/model/MountSetting.java
package com.github.dreamhead.moco.parser.model; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.github.dreamhead.moco.mount.MountPredicate; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import java.util.List; import static com.github.dreamhead.moco.MocoMount.ex...
added missing includes and excludes in mount toString
moco-runner/src/main/java/com/github/dreamhead/moco/parser/model/MountSetting.java
added missing includes and excludes in mount toString
<ide><path>oco-runner/src/main/java/com/github/dreamhead/moco/parser/model/MountSetting.java <ide> return MoreObjects.toStringHelper(this).omitNullValues() <ide> .add("dir", dir) <ide> .add("uri", uri) <add> .add("includes", includes.isEmpty() ? null : includes) <a...
JavaScript
mit
28bfd243e9c70cc5210f397183bc0e11bc1f7921
0
wdch-nseeley/wadachi-fighter,wdch-nseeley/wadachi-fighter
/* jshint node: true */ module.exports = function(environment) { var ENV = { modulePrefix: 'wadachi-fighter', environment: environment, baseURL: '/', locationType: 'auto', contentSecurityPolicyHeader: 'Content-Security-Policy', contentSecurityPolicy: { 'default-src': "'none'", 'sc...
config/environment.js
/* jshint node: true */ module.exports = function(environment) { var ENV = { modulePrefix: 'wadachi-fighter', environment: environment, baseURL: '/', locationType: 'auto', contentSecurityPolicyHeader: 'Content-Security-Policy', contentSecurityPolicy: { 'default-src': "'none'", 'sc...
Google+でサイン構成設定を作成しましました
config/environment.js
Google+でサイン構成設定を作成しましました
<ide><path>onfig/environment.js <ide> 'script-src': "'self' www.google-analytics.com apis.google.com connect.facebook.net", <ide> 'font-src': "'self' fonts.gstatic.com data: connect.facebook.net", <ide> 'connect-src': "'self' api.github.com", <del> 'img-src': "'self' www.google-analytics.com avat...
JavaScript
mit
154b6e0c00ba81772cfd30095ee12a04ede02bce
0
kyroskoh/lets_code_javascript,halcwb/lets_code_javascript,halcwb/lets_code_javascript,kyroskoh/lets_code_javascript,kyroskoh/lets_code_javascript,halcwb/lets_code_javascript
// Copyright (c) 2013 Titanium I.T. LLC. All rights reserved. See LICENSE.TXT for details. /*globals require:true */ (function() { "use strict"; var cachedModules = {}; for (var modulePath in window.__karma__.CJSModules) { require(modulePath, modulePath); }; function require(requiringFile, dependency) { de...
build/karma_commonjs_bridge.js
// Copyright (c) 2013 Titanium I.T. LLC. All rights reserved. See LICENSE.TXT for details. /*globals require:true */ (function() { "use strict"; var cachedModules = {}; for (var modulePath in window.__karma__.CJSModules) { require(modulePath, modulePath); }; function require(basepath, dependency) { var dep...
Fixed bug in CommonJS bridge where wrong basepath was passed through
build/karma_commonjs_bridge.js
Fixed bug in CommonJS bridge where wrong basepath was passed through
<ide><path>uild/karma_commonjs_bridge.js <ide> require(modulePath, modulePath); <ide> }; <ide> <del> function require(basepath, dependency) { <del> var dependencyPath = normalizePath(basepath, dependency); <add> function require(requiringFile, dependency) { <add> dependency = normalizePath(requiringFile, dependen...
Java
lgpl-2.1
d0b0b262047703ee237c0ecc5411bdd3730e2de3
0
zxlooong/libbluray,Azzuro/libbluray,UIKit0/libbluray,Distrotech/libbluray,vlc-mirror/libbluray,mwgoldsmith/bluray,mwgoldsmith/bluray,ace20022/libbluray,Azzuro/libbluray,UIKit0/libbluray,ace20022/libbluray,tourettes/libbluray,mwgoldsmith/bluray,EdwardNewK/libbluray,tourettes/libbluray,tourettes/libbluray,pingflood/libbl...
/* * This file is part of libbluray * Copyright (C) 2010 William Hahne * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) a...
src/libbluray/bdj/java/org/havi/ui/HScene.java
/* * This file is part of libbluray * Copyright (C) 2010 William Hahne * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) a...
Made HScene Java 4 and Java 6 compatible
src/libbluray/bdj/java/org/havi/ui/HScene.java
Made HScene Java 4 and Java 6 compatible
<ide><path>rc/libbluray/bdj/java/org/havi/ui/HScene.java <ide> } <ide> <ide> public boolean isDoubleBuffered() { <del> return true;// not implemented <add> return false; <ide> } <ide> <ide> public boolean isOpaque() { <del> return false;// not implemented <add> return false...
Java
apache-2.0
1ff3bca6907e34003120eae3ffd3a71d02c29fc7
0
infinum/Android-prince-of-versions
package co.infinum.princeofversions.helpers.parsers; import com.github.zafarkhaja.semver.Version; import org.json.JSONException; import org.json.JSONObject; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import co.infinum.princeofversions.common.VersionContext; import co.infinum.princeof...
prince-of-versions/src/main/java/co/infinum/princeofversions/helpers/parsers/JsonVersionConfigParser.java
package co.infinum.princeofversions.helpers.parsers; import com.github.zafarkhaja.semver.Version; import org.json.JSONException; import org.json.JSONObject; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import co.infinum.princeofversions.common.VersionContext; import co.infinum.princeof...
Replace zeros with DEFAULT_MIN_SDK_VALUE
prince-of-versions/src/main/java/co/infinum/princeofversions/helpers/parsers/JsonVersionConfigParser.java
Replace zeros with DEFAULT_MIN_SDK_VALUE
<ide><path>rince-of-versions/src/main/java/co/infinum/princeofversions/helpers/parsers/JsonVersionConfigParser.java <ide> } <ide> } <ide> } <del> return 0; <add> return VersionContext.UpdateContext.DEFAULT_MIN_SDK_VALUE; <ide> } <ide> <ide> private int extractN...
Java
mit
error: pathspec 'animated-webp/src/main/java/com/facebook/animated/webpdrawable/WebpAnimationBackend.java' did not match any file(s) known to git
62ef3554db211ef2f7f3355914bfd40d15c0fc64
1
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
/* * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com....
animated-webp/src/main/java/com/facebook/animated/webpdrawable/WebpAnimationBackend.java
Add animation backend to draw webp frames Reviewed By: oprisnik Differential Revision: D16191306 fbshipit-source-id: 55c00c1e63275fad43c03ea4744821b38bd91bd1
animated-webp/src/main/java/com/facebook/animated/webpdrawable/WebpAnimationBackend.java
Add animation backend to draw webp frames
<ide><path>nimated-webp/src/main/java/com/facebook/animated/webpdrawable/WebpAnimationBackend.java <add>/* <add> * Copyright (c) 2017-present, Facebook, Inc. <add> * All rights reserved. <add> * <add> * This source code is licensed under the BSD-style license found in the <add> * LICENSE file in the root directory of t...
Java
mit
bb62ac21df93fc43de4798fa28ebcba0c83dd26f
0
CS2103AUG2016-F11-C1/main,CS2103AUG2016-F11-C1/main
package seedu.todo.models; import java.io.IOException; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import ...
src/main/java/seedu/todo/models/TodoListDB.java
package seedu.todo.models; import java.io.IOException; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import ...
Remove from TodoListDB
src/main/java/seedu/todo/models/TodoListDB.java
Remove from TodoListDB
<ide><path>rc/main/java/seedu/todo/models/TodoListDB.java <ide> } <ide> <ide> /** <del> * Destroys all Task in the DB and persists the commit. <del> * <del> * @return true if the save was successful, false otherwise <del> * @@author Tiong YaoCong A0139922Y <del> */ <del> public void...
Java
mit
5a4eb38729d18175004093eed7bfb967aa39ff9a
0
LonamiWebs/Stringlate,LonamiWebs/Stringlate,LonamiWebs/Stringlate
package io.github.lonamiwebs.stringlate.classes.git; import net.gsantner.opoc.util.NetworkUtils; import org.eclipse.jgit.util.StringUtils; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.InvalidObjectException; import java.util.AbstractMap; import java.util.Arrays...
src/core/src/main/java/io/github/lonamiwebs/stringlate/classes/git/GitHub.java
package io.github.lonamiwebs.stringlate.classes.git; import net.gsantner.opoc.util.NetworkUtils; import org.eclipse.jgit.util.StringUtils; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.InvalidObjectException; import java.util.AbstractMap; import java.util.Arrays...
Remove .git suffix when building GitHub urls (#192)
src/core/src/main/java/io/github/lonamiwebs/stringlate/classes/git/GitHub.java
Remove .git suffix when building GitHub urls (#192)
<ide><path>rc/core/src/main/java/io/github/lonamiwebs/stringlate/classes/git/GitHub.java <ide> } <ide> <ide> public static String buildGitHubUrl(String owner, String repository) { <del> return GitWrapper.getGitUri(String.format(GITHUB_REPO_URL_TEMPLATE, owner, repository)); <add> return String.fo...
JavaScript
mit
7e05c19f6d844a5c87025b47aa51cfc1ba12f73c
0
Srossmanreich/phase-0,Srossmanreich/phase-0,Srossmanreich/phase-0
//9.2.1 -- Grocery List redux! //Ruby code below: // # Die Class 2: Arbitrary Symbols // # I worked on this challenge [by myself]. // # I spent [#] hours on this challenge. // # Pseudocode // # Input: the sides of your die listed as strings or integers in an array // # Output: a new Die class with my chosen side...
week-9/review.js
//9.2.1 -- Grocery List //PSEUDOCODE // 1) Create an empty grocery list // 2) Create an add item function that adds an item and a // quantity to your list // 3) Create a delete item function that deletes an item from // your list // 4) Create an update item function that changes the quantity // for an existing item /...
Add updated JS - ruby activity
week-9/review.js
Add updated JS - ruby activity
<ide><path>eek-9/review.js <add> <add>//9.2.1 -- Grocery List redux! <add> <add>//Ruby code below: <add> <add>// # Die Class 2: Arbitrary Symbols <add> <add> <add>// # I worked on this challenge [by myself]. <add>// # I spent [#] hours on this challenge. <add> <add>// # Pseudocode <add> <add>// # Input: the sides of yo...
Java
apache-2.0
2949acb1ba047950464f2008d2bea67eacb9bc23
0
lukecwik/incubator-beam,rangadi/beam,apache/beam,tgroh/beam,charlesccychen/beam,robertwb/incubator-beam,charlesccychen/incubator-beam,markflyhigh/incubator-beam,tgroh/beam,lukecwik/incubator-beam,charlesccychen/incubator-beam,robertwb/incubator-beam,charlesccychen/beam,robertwb/incubator-beam,RyanSkraba/beam,rangadi/in...
/* * 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 ...
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/QueryablePipeline.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 ...
fixup! Add a multi-stage fuser
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/QueryablePipeline.java
fixup! Add a multi-stage fuser
<ide><path>unners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/QueryablePipeline.java <ide> import static com.google.common.base.Preconditions.checkState; <ide> <ide> import com.google.common.annotations.VisibleForTesting; <del>import com.google.common.cache.CacheBuilder; <del>i...
Java
mpl-2.0
96402eeb530c4ed4fc1c42e04deb6f984480b7c4
0
hhdevelopment/ocelot,ocelotds/ocelot,hhdevelopment/ocelot,ocelotds/ocelot,hhdevelopment/ocelot,ocelotds/ocelot,ocelotds/ocelot,hhdevelopment/ocelot,ocelotds/ocelot
/* 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 org.ocelotds.security; import org.ocelotds.spi.security.SecurityContext; import org.ocelotds.spi.sec...
ocelot-web/src/main/java/org/ocelotds/security/SecurityServices.java
/* 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 org.ocelotds.security; import org.ocelotds.spi.security.SecurityContext; import org.ocelotds.spi.sec...
add info log
ocelot-web/src/main/java/org/ocelotds/security/SecurityServices.java
add info log
<ide><path>celot-web/src/main/java/org/ocelotds/security/SecurityServices.java <ide> } <ide> } <ide> if (!found) { <del> logger.info("No ContainerSubjectServices implementation found in classpath for current server. Implement it or contact ocelot team leader for implements it."); <add> logger.info("Container...
JavaScript
apache-2.0
90b21989db5ab1fbe6ce2e3de3e847bdab3729a3
0
cogolabs/cyto,cogolabs/cyto
/* @flow */ /** * index.js * Written by: Connor Taylor * Sets up a commander program using all of the commands available in this * directory */ import cli from 'commander'; import init from './init'; import create from './create'; import gen from './gen'; import packageJson from '../../package.json'; cli .ver...
src/cli/index.js
/* @flow */ /** * index.js * Written by: Connor Taylor * Sets up a commander program using all of the commands available in this * directory */ import cli from 'commander'; import init from './init'; import create from './create'; import gen from './gen'; cli .version(''); const commands = [ init, create,...
add version to cyto cli
src/cli/index.js
add version to cyto cli
<ide><path>rc/cli/index.js <ide> import create from './create'; <ide> import gen from './gen'; <ide> <add>import packageJson from '../../package.json'; <add> <ide> cli <del> .version(''); <add> .version(packageJson.version); <ide> <ide> const commands = [ <ide> init,
Java
bsd-3-clause
fabab50e72a3dab11760e7f83beeef01ad6da41e
0
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
/* * Copyright (c) 2017, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
core/src/main/java/org/hisp/dhis/android/core/indicator/IndicatorType.java
/* * Copyright (c) 2017, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
[ANDROSDK-394] Delete url field
core/src/main/java/org/hisp/dhis/android/core/indicator/IndicatorType.java
[ANDROSDK-394] Delete url field
<ide><path>ore/src/main/java/org/hisp/dhis/android/core/indicator/IndicatorType.java <ide> @JsonProperty() <ide> public abstract Integer factor(); <ide> <del> @Nullable <del> @JsonProperty() <del> abstract String url(); <del> <ide> public static Builder builder() { <ide> return new $$AutoV...
Java
apache-2.0
4f7c0e4363a0f83d9d10b909635ed0421b0e70ea
0
hambroperks/j2objc,hambroperks/j2objc,Sellegit/j2objc,Sellegit/j2objc,Sellegit/j2objc,hambroperks/j2objc,Sellegit/j2objc,hambroperks/j2objc,hambroperks/j2objc,hambroperks/j2objc,hambroperks/j2objc,Sellegit/j2objc
/* * 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 * distributed u...
translator/src/test/java/com/google/devtools/j2objc/TranslationProcessorTest.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 * distributed u...
Adds a build closure test for when there is a duplicate of an input file on the sourcepath. Change on 2015/02/25 by kstanger <kstanger@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=87162492
translator/src/test/java/com/google/devtools/j2objc/TranslationProcessorTest.java
Adds a build closure test for when there is a duplicate of an input file on the sourcepath. Change on 2015/02/25 by kstanger <kstanger@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=87162492
<ide><path>ranslator/src/test/java/com/google/devtools/j2objc/TranslationProcessorTest.java <ide> assertErrorCount(0); <ide> assertWarningCount(0); <ide> } <add> <add> public void testDuplicateSourceFileOnSourcepath() throws IOException { <add> Options.setBuildClosure(true); <add> Options.appendSourceP...
JavaScript
apache-2.0
3de87e66d9e987660c794dfa804e39286e24775f
0
spacejam/marathon,IanSaunders/marathon,guenter/marathon,guenter/marathon,gsantovena/marathon,rtward/marathon,natemurthy/marathon,sledigabel/marathon,meln1k/marathon,janisz/marathon,quamilek/marathon,airbnb/marathon,guenter/marathon,natemurthy/marathon,Caerostris/marathon,c089/marathon,ss75710541/marathon,lelezi/maratho...
define([ "models/AppVersion", "models/SortableCollection" ], function(AppVersion, SortableCollection) { return SortableCollection.extend({ model: AppVersion, initialize: function(models, options) { this.options = options; this.setComparator("getVersion"); this.sort(); }, parse:...
src/main/resources/assets/js/models/AppVersionCollection.js
define([ "Backbone", "models/AppVersion", "models/SortableCollection" ], function(Backbone, AppVersion, SortableCollection) { return SortableCollection.extend({ model: AppVersion, initialize: function(models, options) { this.options = options; this.setComparator("getVersion"); this.so...
Remove unused “Backbone” import
src/main/resources/assets/js/models/AppVersionCollection.js
Remove unused “Backbone” import
<ide><path>rc/main/resources/assets/js/models/AppVersionCollection.js <ide> define([ <del> "Backbone", <ide> "models/AppVersion", <ide> "models/SortableCollection" <del>], function(Backbone, AppVersion, SortableCollection) { <add>], function(AppVersion, SortableCollection) { <ide> return SortableCollection.exten...
Java
apache-2.0
6d27047cc195cc2b28b3e1336ef6e0cf2fa6b178
0
helyho/Voovan,helyho/Voovan,helyho/Voovan
package org.voovan.tools.collection; import org.rocksdb.*; import org.voovan.tools.TByte; import org.voovan.tools.TFile; import org.voovan.tools.Varint; import org.voovan.tools.exception.ParseException; import org.voovan.tools.exception.RocksMapException; import org.voovan.tools.log.Logger; import org.voovan.tools.seri...
Common/src/main/java/org/voovan/tools/collection/RocksMap.java
package org.voovan.tools.collection; import org.rocksdb.*; import org.voovan.tools.TByte; import org.voovan.tools.TFile; import org.voovan.tools.Varint; import org.voovan.tools.exception.ParseException; import org.voovan.tools.exception.RocksMapException; import org.voovan.tools.log.Logger; import org.voovan.tools.seri...
add: 优化
Common/src/main/java/org/voovan/tools/collection/RocksMap.java
add: 优化
<ide><path>ommon/src/main/java/org/voovan/tools/collection/RocksMap.java <ide> this.dbOptions.useDirectIoForFlushAndCompaction(); <ide> <ide> this.dbOptions.setWalDir(DEFAULT_WAL_PATH +this.dbname); <del> <ide> <ide> TFile.mkdir(DEFAULT_DB_PATH + this.dbname + "/"); <ide> TFile.mkdir(t...
Java
agpl-3.0
3f212f81256b7f7185e31629eb1209daf8e0de00
0
deepstupid/sphinx5
/** * [[[copyright]]] */ package edu.cmu.sphinx.util; import java.util.List; import java.util.Iterator; import java.util.LinkedList; import java.util.StringTokenizer; import java.text.DecimalFormat; /** * Compares a reference result strings to actual result strings * and keeps track of statistics with regard to ...
edu/cmu/sphinx/util/ResultAnalyzer.java
/** * [[[copyright]]] */ package edu.cmu.sphinx.util; import java.util.List; import java.util.Iterator; import java.util.LinkedList; import java.util.StringTokenizer; import java.text.DecimalFormat; /** * Compares a reference result strings to actual result strings * and keeps track of statistics with regard to ...
Modified the ResultAnalyzer.showResults() method to show results like: Accuracy: %100.0 Errors: 0 (Rec: 0 Ins: 0 Del: 0) Words: 47 Matches: 47 Sentences: 47 Matches: 47 SentenceAcc: %100.0 git-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@490 94700074-3cef-4d97-a70e-9c8c206c02f5
edu/cmu/sphinx/util/ResultAnalyzer.java
Modified the ResultAnalyzer.showResults() method to show results like:
<ide><path>du/cmu/sphinx/util/ResultAnalyzer.java <ide> " (Rec: " + recognitionErrors + <ide> " Ins: " + insertionErrors + <ide> " Del: " + deletionErrors + ")"); <del> System.out.print(" Sentences: " + numSentences <del> + " Words: " + numRefWords + " Matches: " + <del> ...
Java
epl-1.0
e0086e549bbe9f31c33016a7dc15855650ffd35f
0
jtrfp/terminal-recall,jtrfp/terminal-recall,jtrfp/terminal-recall
/******************************************************************************* * This file is part of TERMINAL RECALL * Copyright (c) 2012-2014 Chuck Ritola * Part of the jTRFP.org project * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public Li...
src/main/java/org/jtrfp/trcl/tools/Util.java
/******************************************************************************* * This file is part of TERMINAL RECALL * Copyright (c) 2012-2014 Chuck Ritola * Part of the jTRFP.org project * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public Li...
Add bidi to/from adapter extraction methods to Util.
src/main/java/org/jtrfp/trcl/tools/Util.java
Add bidi to/from adapter extraction methods to Util.
<ide><path>rc/main/java/org/jtrfp/trcl/tools/Util.java <ide> import java.util.ListIterator; <ide> <ide> import org.jtrfp.trcl.coll.Repopulatable; <add> <add>import com.ochafik.util.listenable.Pair; <ide> <ide> public class Util { <ide> public static final Color [] DEFAULT_PALETTE = new Color []{ <ide> dest.addAll...
Java
mit
error: pathspec 'src/utility/ObjectSaver.java' did not match any file(s) known to git
cd1cba5f2f1d2bc3b5149d0b74969d366bed3a8b
1
pomeryt/AutoPerson
package utility; import java.io.FileOutputStream; import java.io.ObjectOutputStream; import java.io.Serializable; /** * This class is used to save an object as a binary file. * @author Rin * @version 1.0.0 */ public class ObjectSaver { /** * The path should include a file name with extension. * @param path t...
src/utility/ObjectSaver.java
initial ObjectSaver
src/utility/ObjectSaver.java
initial ObjectSaver
<ide><path>rc/utility/ObjectSaver.java <add>package utility; <add> <add>import java.io.FileOutputStream; <add>import java.io.ObjectOutputStream; <add>import java.io.Serializable; <add> <add>/** <add> * This class is used to save an object as a binary file. <add> * @author Rin <add> * @version 1.0.0 <add> */ <add>public...
Java
apache-2.0
2e5a99f65e49096d0198dcdd3e631eba0f123679
0
codebeautiful/xenqtt,codebeautiful/xenqtt,TwoGuysFromKabul/xenqtt,TwoGuysFromKabul/xenqtt,TwoGuysFromKabul/xenqtt,codebeautiful/xenqtt
/** Copyright 2013 James McClure Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
src/test/java/net/sf/xenqtt/message/ChannelManagerImplTest.java
/** Copyright 2013 James McClure 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...
fixed a unit test
src/test/java/net/sf/xenqtt/message/ChannelManagerImplTest.java
fixed a unit test
<ide><path>rc/test/java/net/sf/xenqtt/message/ChannelManagerImplTest.java <ide> manager.close(clientChannel); <ide> clientHandler.assertChannelClosedCount(1); <ide> clientHandler.assertLastChannelClosedCause((Throwable) null); <del> brokerHandler.assertChannelClosedCount(0); <ide> <ide> manager.close(brokerCh...
Java
apache-2.0
ff7c749c7062dbeb7d06975a809d04dd2b54e43e
0
maddin2016/elasticsearch,kalimatas/elasticsearch,masaruh/elasticsearch,brandonkearby/elasticsearch,GlenRSmith/elasticsearch,gfyoung/elasticsearch,shreejay/elasticsearch,shreejay/elasticsearch,Stacey-Gammon/elasticsearch,masaruh/elasticsearch,robin13/elasticsearch,fred84/elasticsearch,wangtuo/elasticsearch,robin13/elast...
/* * 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...
qa/full-cluster-restart/src/test/java/org/elasticsearch/upgrades/FullClusterRestartIT.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
test: Added a full cluster restart test for index shrinking Relates to #24939
qa/full-cluster-restart/src/test/java/org/elasticsearch/upgrades/FullClusterRestartIT.java
test: Added a full cluster restart test for index shrinking
<ide><path>a/full-cluster-restart/src/test/java/org/elasticsearch/upgrades/FullClusterRestartIT.java <ide> <ide> } <ide> <add> public void testShrink() throws IOException { <add> String shrunkenIndex = index + "_shrunk"; <add> int numDocs; <add> if (runningAgainstOldCluster) { <add> ...
Java
agpl-3.0
9ebf46e920c9b6017e26c95aa251c84e7dcf6485
0
denkbar/step,denkbar/step,denkbar/step,denkbar/step,denkbar/step
/******************************************************************************* * (C) Copyright 2016 Jerome Comte and Dorian Cransac * * This file is part of STEP * * STEP is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published ...
core/src/main/java/step/core/deployment/AdminServices.java
/******************************************************************************* * (C) Copyright 2016 Jerome Comte and Dorian Cransac * * This file is part of STEP * * STEP is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published ...
Fixing password initialization issue
core/src/main/java/step/core/deployment/AdminServices.java
Fixing password initialization issue
<ide><path>ore/src/main/java/step/core/deployment/AdminServices.java <ide> <ide> import step.core.access.Preferences; <ide> import step.core.access.User; <add>import step.core.access.UserAccessor; <ide> import step.core.controller.ControllerSettingAccessor; <ide> import step.core.controller.ControllerSetting; <ide> <...
Java
apache-2.0
321eaafe93070d28fd4023c46265e9e978fe9e31
0
akaita/apps-android-commons,misaochan/apps-android-commons,maskaravivek/apps-android-commons,RSBat/apps-android-commons,domdomegg/apps-android-commons,RSBat/apps-android-commons,psh/apps-android-commons,maskaravivek/apps-android-commons,psh/apps-android-commons,whym/apps-android-commons,neslihanturan/apps-android-commo...
package fr.free.nrw.commons.contributions; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; impor...
commons/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsListFragment.java
package fr.free.nrw.commons.contributions; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; impor...
Remove waiting message if last sync timestamp exists
commons/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsListFragment.java
Remove waiting message if last sync timestamp exists
<ide><path>ommons/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsListFragment.java <ide> <ide> public class ContributionsListFragment extends Fragment { <ide> <del> <del> <ide> public interface SourceRefresher { <ide> void refreshSource(); <ide> } <ide> <ide> SharedPreferenc...
JavaScript
mit
119857e60c1ce88b51e8b93bb98014fc1940c3df
0
zynga/core,zynga/core,sebastian-software/core,zynga/core,sebastian-software/core,sebastian-software/core
/* ================================================================================================== Core - JavaScript Foundation Copyright 2010-2012 Sebastian Werner -------------------------------------------------------------------------------------------------- Based on the work of: Hogan.JS by Twitter, In...
src/template/Compiler.js
/* ================================================================================================== Core - JavaScript Foundation Copyright 2010-2012 Sebastian Werner -------------------------------------------------------------------------------------------------- Based on the work of: Hogan.JS by Twitter, In...
Formatting
src/template/Compiler.js
Formatting
<ide><path>rc/template/Compiler.js <ide> '<': 6, '=': 7, '_v': 8, '{': 9, '&': 10 <ide> }; <ide> <del> function cleanTripleStache(token) { <add> function cleanTripleStache(token) <add> { <ide> if (token.n.substr(token.n.length - 1) === '}') { <ide> token.n = token.n.substring(0, token.n.length - 1); <i...
Java
apache-2.0
2804b1a45c9846864f8a83e09b6742aa0935b42a
0
jsmadja/project-wall,jsmadja/project-wall
/** * Copyright (C) 2010 Julien SMADJA <julien dot smadja at gmail dot com> - Arnaud LEMAIRE <alemaire at norad dot fr> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
src/main/java/com/jsmadja/wall/projectwall/service/HudsonService.java
/** * Copyright (C) 2010 Julien SMADJA <julien dot smadja at gmail dot com> - Arnaud LEMAIRE <alemaire at norad dot fr> * * 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...
null protection
src/main/java/com/jsmadja/wall/projectwall/service/HudsonService.java
null protection
<ide><path>rc/main/java/com/jsmadja/wall/projectwall/service/HudsonService.java <ide> <ide> private boolean isSuccessful(HudsonMavenMavenModuleSetBuild job) { <ide> ElementNSImpl element = (ElementNSImpl) job.getResult(); <add> <add> if (element == null) <add> return false; <add> <ide> ...
Java
bsd-3-clause
error: pathspec 'caAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/dao/query/ajax/AjaxableDomainObjectQuery.java' did not match any file(s) known to git
e826c32e70403ea1484206391e3a5db658bf4a3b
1
NCIP/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers
package gov.nih.nci.cabig.caaers.dao.query.ajax; import java.util.List; public class AjaxableDomainObjectQuery extends AbstractAjaxableDomainObjectQuery { public AjaxableDomainObjectQuery(String queryString) { super(queryString); } public void setParameterList(String name , List values){ setParameter(nam...
caAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/dao/query/ajax/AjaxableDomainObjectQuery.java
CAAERS-3879 SVN-Revision: 12495
caAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/dao/query/ajax/AjaxableDomainObjectQuery.java
CAAERS-3879
<ide><path>aAERS/software/core/src/main/java/gov/nih/nci/cabig/caaers/dao/query/ajax/AjaxableDomainObjectQuery.java <add>package gov.nih.nci.cabig.caaers.dao.query.ajax; <add> <add>import java.util.List; <add> <add>public class AjaxableDomainObjectQuery extends AbstractAjaxableDomainObjectQuery { <add> <add> public Aja...
Java
apache-2.0
918b337328f608bf609f30a469392646a715976f
0
GwtMaterialDesign/gwt-material-table,GwtMaterialDesign/gwt-material-table,GwtMaterialDesign/gwt-material-table
package gwt.material.design.client.data.infinite; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * 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 * * ...
src/main/java/gwt/material/design/client/data/infinite/InfiniteDataView.java
package gwt.material.design.client.data.infinite; /* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2016 GwtMaterialDesign * %% * 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 * * ...
Rename onScrollY to onVerticalScroll.
src/main/java/gwt/material/design/client/data/infinite/InfiniteDataView.java
Rename onScrollY to onVerticalScroll.
<ide><path>rc/main/java/gwt/material/design/client/data/infinite/InfiniteDataView.java <ide> }); <ide> <ide> // Setup the scroll event handlers <del> JQueryExtension.$(tableBody).scrollY(id, (e, scroll) -> onScrollY()); <add> JQueryExtension.$(tableBody).scrollY(id, (e, scroll) -> onVer...
Java
apache-2.0
c780668e66ec856dd7c47cb1bec1ad336ffe1a3b
0
nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni
package edu.brandeis.cs.steele.wn.browser; import javax.swing.event.*; import javax.swing.*; import javax.swing.text.*; import java.util.*; import java.util.List; import java.util.concurrent.*; import edu.brandeis.cs.steele.util.*; /** * Built for easy extension: * <ul> * <li> implements ListModel -- built to disp...
src/main/java/edu/brandeis/cs/steele/wn/browser/ConcurrentSearchListModel.java
package edu.brandeis.cs.steele.wn.browser; import javax.swing.event.*; import javax.swing.*; import javax.swing.text.*; import java.util.*; import java.util.List; import java.util.concurrent.*; import edu.brandeis.cs.steele.util.*; /** * Built for easy extension: * <ul> * <li> implements ListModel -- built to disp...
minor git-svn-id: 0f0e769425a95b277772daee6ac27d370147d87f@373 158bccb4-7c0b-4fb3-968f-7c40bf2d9062
src/main/java/edu/brandeis/cs/steele/wn/browser/ConcurrentSearchListModel.java
minor
<ide><path>rc/main/java/edu/brandeis/cs/steele/wn/browser/ConcurrentSearchListModel.java <ide> try { <ide> doRun(); <ide> } catch(Throwable t) { <add> //FIXME bad form - should log <ide> t.printStackTrace(); <ide> } <ide> } <ide> } <ide> }); <ide> if (lastTask ...
Java
apache-2.0
e222e97559da2ecff640f961c061ac769fc70cb2
0
g1144146/SDS
package sds.assemble; import sds.ClassFile; import sds.classfile.ConstantPool; import sds.classfile.Fields; import sds.classfile.Methods; import sds.classfile.attributes.AttributeInfo; import sds.classfile.attributes.BootstrapMethods; import sds.classfile.attributes.EnclosingMethod; import sds.classfile.attributes.Inn...
src/main/java/sds/assemble/ClassContent.java
package sds.assemble; import sds.ClassFile; import sds.classfile.ConstantPool; import sds.classfile.Fields; import sds.classfile.Methods; import sds.classfile.attributes.AttributeInfo; import sds.classfile.attributes.BootstrapMethods; import sds.classfile.attributes.EnclosingMethod; import sds.classfile.attributes.Inn...
fix #27.
src/main/java/sds/assemble/ClassContent.java
fix #27.
<ide><path>rc/main/java/sds/assemble/ClassContent.java <ide> public void investigateAttribute(AttributeInfo info, ConstantPool pool) { <ide> switch(info.getType()) { <ide> case BootstrapMethods: <del>// BootstrapMethods bsm = (BootstrapMethods)info; <del>// this.bootstrapMethods = new String[bsm.getBSM().le...
Java
apache-2.0
a8bc01c99a08e7994c5f6f42afb2e2ba3e17ac42
0
shapesecurity/shift-java,shapesecurity/shift-java,shapesecurity/shift-java
/** * Copyright 2018 Shape Security, Inc. <p> Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the License. You may obtain a * copy of the License at <p> http://www.apache.org/licenses/LICENSE-2.0 <p> Unless required by * applicable law or agreed ...
src/main/java/com/shapesecurity/shift/es2017/parser/PatternAcceptor.java
/** * Copyright 2018 Shape Security, Inc. <p> Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the License. You may obtain a * copy of the License at <p> http://www.apache.org/licenses/LICENSE-2.0 <p> Unless required by * applicable law or agreed ...
cleanup
src/main/java/com/shapesecurity/shift/es2017/parser/PatternAcceptor.java
cleanup
<ide><path>rc/main/java/com/shapesecurity/shift/es2017/parser/PatternAcceptor.java <ide> private static final String[] octalDigits = new String[]{"0", "1", "2", "3", "4", "5", "6", "7"}; <ide> private static final String[] hexDigits = new String[]{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c",...
Java
bsd-2-clause
37608d1e6451491ec27d5b5dede2117baeedb54b
0
runelite/runelite,runelite/runelite,runelite/runelite
/* * Copyright (c) 2018, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * li...
runelite-client/src/main/java/net/runelite/client/plugins/gpu/GpuPlugin.java
/* * Copyright (c) 2018, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * li...
gpu: improve model visible check This method checks if the model is on screen by projecting points at the model extremes to screen and seeing if they are in the viewport bounds. When doing this, it offsets the model height for the top of the viewport check, but does not offset the bottom of the model for the bottom v...
runelite-client/src/main/java/net/runelite/client/plugins/gpu/GpuPlugin.java
gpu: improve model visible check
<ide><path>unelite-client/src/main/java/net/runelite/client/plugins/gpu/GpuPlugin.java <ide> /** <ide> * Check is a model is visible and should be drawn. <ide> */ <del> private boolean isVisible(Model model, int orientation, int pitchSin, int pitchCos, int yawSin, int yawCos, int _x, int _y, int _z, long hash) <de...
Java
apache-2.0
77c77fa809b8317fbd2159214cbd798553d31560
0
rmarting/camel,pkletsko/camel,onders86/camel,tlehoux/camel,lburgazzoli/camel,tlehoux/camel,davidkarlsen/camel,allancth/camel,yuruki/camel,onders86/camel,nikhilvibhav/camel,NickCis/camel,curso007/camel,nicolaferraro/camel,anton-k11/camel,acartapanis/camel,zregvart/camel,jamesnetherton/camel,christophd/camel,gautric/came...
/** * 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-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultCompositeApiClient.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-10957 Log a warning if the response canno... ...t be unmarshalled in Composite API Adds a logging of WARN level in case of exceptions while unmarshalling responses from Composite API
components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultCompositeApiClient.java
CAMEL-10957 Log a warning if the response canno...
<ide><path>omponents/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultCompositeApiClient.java <ide> import org.eclipse.jetty.http.HttpHeader; <ide> import org.eclipse.jetty.http.HttpMethod; <ide> import org.eclipse.jetty.util.StringUtil; <add>import ...
Java
mpl-2.0
93f5616b4ac3e4a7fb9b77f60f956944c16c31e9
0
eea/eionet.webq,eea/eionet.webq,eea/eionet.webq,eea/eionet.webq
/* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS * IS...
src/test/java/eionet/webq/web/controller/FileUploadControllerTest.java
/* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS * IS...
remove redundant argument.
src/test/java/eionet/webq/web/controller/FileUploadControllerTest.java
remove redundant argument.
<ide><path>rc/test/java/eionet/webq/web/controller/FileUploadControllerTest.java <ide> @Test <ide> public void downloadReturnsUploadedXmlFile() throws Exception { <ide> <del> UploadedXmlFile uploadedXmlFile = uploadFileAndTakeFirstUploadedFile(createMockMultipartFile("file.xml")); <add> UploadedX...
Java
mit
9e0447535da6bc8c89c6ed6f9ee1e35689782d69
0
DDoS/Sponge,DDoS/SpongeForge,SpongePowered/SpongeForge,SpongePowered/SpongeForge,kenzierocks/Sponge,kenzierocks/SpongeForge,kenzierocks/Sponge,DDoS/SpongeForge,kenzierocks/SpongeForge,DDoS/Sponge
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
src/main/java/org/spongepowered/mod/plugin/SpongeModPluginContainer.java
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Add support for SidedProxy in hybrid plugins. For plugins who rely on Forge + Sponge, you can now decorate SidedProxy to load code on certain platforms (Client/Server/Either). Signed-off-by: Chris Sanders <becb1b07b5e7418402924748493938777e4ce438@outlook.com>
src/main/java/org/spongepowered/mod/plugin/SpongeModPluginContainer.java
Add support for SidedProxy in hybrid plugins.
<ide><path>rc/main/java/org/spongepowered/mod/plugin/SpongeModPluginContainer.java <ide> */ <ide> package org.spongepowered.mod.plugin; <ide> <del>import com.google.common.base.Throwables; <del>import com.google.common.collect.ArrayListMultimap; <ide> import com.google.common.collect.Lists; <ide> import com.google.co...
Java
apache-2.0
3bca2cdc6ec4b9f6f6a30fd75945ac11974022e2
0
zhur198/java_pft_new
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import ru.stqa.pft.addressbook.model.Groups; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import static org.hamcrest....
addressbook-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupCreationTests.java
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; import ru.stqa.pft.addressbook.model.Groups; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; public class GroupCreationTests extends TestBas...
Added Data Provider for Group Creation Tests
addressbook-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupCreationTests.java
Added Data Provider for Group Creation Tests
<ide><path>ddressbook-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupCreationTests.java <ide> package ru.stqa.pft.addressbook.tests; <ide> <add>import org.testng.annotations.DataProvider; <ide> import org.testng.annotations.Test; <ide> import ru.stqa.pft.addressbook.model.GroupData; <ide> import ru.stqa.pft.ad...
Java
apache-2.0
a4de7e150abcc8ad68ebe77858325ebe58478cb6
0
BlackSourceLabs/BlackNectar-Service,BlackSourceLabs/BlackNectar-Service
/* * Copyright 2016 BlackWholeLabs. * * 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...
src/main/java/tech/blackhole/blacknectar/service/api/SQLBlackNectarService.java
/* * Copyright 2016 BlackWholeLabs. * * 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...
Updates SQL queries
src/main/java/tech/blackhole/blacknectar/service/api/SQLBlackNectarService.java
Updates SQL queries
<ide><path>rc/main/java/tech/blackhole/blacknectar/service/api/SQLBlackNectarService.java <ide> <ide> private String createSQLToInsertStore() <ide> { <del> return "INSERT INTO stores(store_name, latitude, longitude, address, address_line_two, city, state, county, zip, local_zip)\n" + <add> return...
Java
apache-2.0
error: pathspec 'project/src/main/java/com/google/sps/servlets/TrendingServlet.java' did not match any file(s) known to git
904789ce906c25ef770dd94dc73e36ff440377a2
1
googleinterns/sgonks,googleinterns/sgonks,googleinterns/sgonks,googleinterns/sgonks
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
project/src/main/java/com/google/sps/servlets/TrendingServlet.java
Add servlet to deliver today's trending searches
project/src/main/java/com/google/sps/servlets/TrendingServlet.java
Add servlet to deliver today's trending searches
<ide><path>roject/src/main/java/com/google/sps/servlets/TrendingServlet.java <add>// Copyright 2021 Google LLC <add>// <add>// Licensed under the Apache License, Version 2.0 (the "License"); <add>// you may not use this file except in compliance with the License. <add>// You may obtain a copy of the License at <add>// ...
Java
apache-2.0
3d0bf4cbef8934d03e0f33a66b4ef0fb2c8e423a
0
chtyim/cdap,hsaputra/cdap,anthcp/cdap,chtyim/cdap,hsaputra/cdap,mpouttuclarke/cdap,caskdata/cdap,hsaputra/cdap,chtyim/cdap,caskdata/cdap,anthcp/cdap,mpouttuclarke/cdap,anthcp/cdap,chtyim/cdap,caskdata/cdap,caskdata/cdap,anthcp/cdap,caskdata/cdap,caskdata/cdap,anthcp/cdap,chtyim/cdap,hsaputra/cdap,mpouttuclarke/cdap,mpo...
/* * Copyright 2012-2013 Continuuity,Inc. All Rights Reserved. */ package com.continuuity.gateway.v2.handlers.v2; import com.continuuity.common.discovery.RandomEndpointStrategy; import com.continuuity.common.http.core.HandlerContext; import com.continuuity.common.http.core.HttpResponder; import com.continuuity.gatew...
gateway/src/main/java/com/continuuity/gateway/v2/handlers/v2/WorkflowHandler.java
/* * Copyright 2012-2013 Continuuity,Inc. All Rights Reserved. */ package com.continuuity.gateway.v2.handlers.v2; import com.continuuity.common.discovery.RandomEndpointStrategy; import com.continuuity.common.http.core.HandlerContext; import com.continuuity.common.http.core.HttpResponder; import com.continuuity.gatew...
Change REST API.
gateway/src/main/java/com/continuuity/gateway/v2/handlers/v2/WorkflowHandler.java
Change REST API.
<ide><path>ateway/src/main/java/com/continuuity/gateway/v2/handlers/v2/WorkflowHandler.java <ide> } <ide> <ide> @GET <del> @Path("/apps/{app-id}/workflows/{workflow-name}/currentAction") <add> @Path("/apps/{app-id}/workflows/{workflow-name}/current") <ide> public void workflowStatus(HttpRequest request, final ...
Java
apache-2.0
674022d4014a668f9ff3f2f7837b716667ff6e30
0
vpavic/spring-boot,spring-projects/spring-boot,wilkinsona/spring-boot,wilkinsona/spring-boot,michael-simons/spring-boot,chrylis/spring-boot,chrylis/spring-boot,spring-projects/spring-boot,chrylis/spring-boot,aahlenst/spring-boot,htynkn/spring-boot,aahlenst/spring-boot,mdeinum/spring-boot,chrylis/spring-boot,aahlenst/sp...
/* * Copyright 2012-2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java
/* * Copyright 2012-2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Revert "Don't close nested jars or wrapper when parent is closed" This reverts commit 360eb027befd51012614f5938fb9cdc9f557a577.
spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java
Revert "Don't close nested jars or wrapper when parent is closed"
<ide><path>pring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarFile.java <ide> import java.net.URLStreamHandler; <ide> import java.net.URLStreamHandlerFactory; <ide> import java.security.Permission; <add>import java.util.ArrayList; <add>import java.util.Collectio...
Java
apache-2.0
951df405ea2e0a4ec64e6317db013d749bffbe7a
0
ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,jeorme/OG-Platform,McLeodMoores/starling,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,McLeodMoores/starling,DevStreet/FinanceAnalytics,McLeodMoores/starling,codeaudit/OG-P...
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.credit.schedulegeneration; import org.threeten.bp.ZonedDateTime; import com.opengamma.analytics.financial.credit.StubType; import com.ope...
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/credit/schedulegeneration/GenerateCreditDefaultSwapPremiumLegSchedule.java
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.credit.schedulegeneration; import org.threeten.bp.ZonedDateTime; import com.opengamma.analytics.financial.credit.StubType; import com.ope...
Remove debug printout
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/credit/schedulegeneration/GenerateCreditDefaultSwapPremiumLegSchedule.java
Remove debug printout
<ide><path>rojects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/credit/schedulegeneration/GenerateCreditDefaultSwapPremiumLegSchedule.java <ide> // payDate <ide> tempBDACashflowSchedule[i][3] = nextDateAdj; <ide> <del> System.out.println(i + "\t" + tempBDACashflowSchedule[i][1] + "\t" ...
Java
mit
2bb26d37eb5c42c884a40e2ed12b465f7c30f5a4
0
NyaaCat/bloodmoon
package cat.nyaa.autobloodmoon.api; import org.bukkit.Location; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; import org.bukkit.plugin.Plugin; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import j...
src/main/java/cat/nyaa/autobloodmoon/api/InfernalMobsAPI.java
package cat.nyaa.autobloodmoon.api; import org.bukkit.Location; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; import org.bukkit.plugin.Plugin; import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; impor...
add support for infernalmobs 5.1.25
src/main/java/cat/nyaa/autobloodmoon/api/InfernalMobsAPI.java
add support for infernalmobs 5.1.25
<ide><path>rc/main/java/cat/nyaa/autobloodmoon/api/InfernalMobsAPI.java <ide> import org.bukkit.entity.EntityType; <ide> import org.bukkit.plugin.Plugin; <ide> <del>import java.lang.reflect.Field; <ide> import java.lang.reflect.InvocationTargetException; <ide> import java.lang.reflect.Method; <ide> import java.util.Ar...
Java
apache-2.0
a1d4ce6273212f52ff5d770ee99ab5c56808a80f
0
apache/commons-compress,apache/commons-compress,apache/commons-compress
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.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 ...
COMPRESS-404: Fallback to old file api calls if new ones fail Extend documentation of file api constructors about ignored exceptions Add missing @since tags
src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
COMPRESS-404: Fallback to old file api calls if new ones fail
<ide><path>rc/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java <ide> * name will end in a slash if the {@code file} represents a <ide> * directory.</p> <ide> * <add> * <p>Note: Since 1.21 this internally uses the same code as the <add> * TarArchiveEntry constructors with a...
Java
agpl-3.0
error: pathspec 'src/test/java/de/fau/osr/core/vcs/base/CommitTest.java' did not match any file(s) known to git
64cd89e9162d933d0fb0a439d48ecc6c9819820a
1
AMOSTeam3/amos-ss15-proj3,yadimon/amos-ss15-proj3,AMOSTeam3/amos-ss15-proj3,uv48uson/amos-ss15-proj3,AMOSTeam3/amos-ss15-proj3,uv48uson/amos-ss15-proj3,AMOSTeam3/amos-ss15-proj3,uv48uson/amos-ss15-proj3,yadimon/amos-ss15-proj3,yadimon/amos-ss15-proj3,yadimon/amos-ss15-proj3,uv48uson/amos-ss15-proj3
package de.fau.osr.core.vcs.base; import org.junit.Test; import static org.junit.Assert.*; /** * Created by Rajab Kaoneka on 18.05.2015. */ public class CommitTest { @Test public void CommitConstructor_idField_Test(){ Commit commitToTest = new Commit("new_id", null, null, null); assertEqua...
src/test/java/de/fau/osr/core/vcs/base/CommitTest.java
Test for Commit, testing ID initialization
src/test/java/de/fau/osr/core/vcs/base/CommitTest.java
Test for Commit, testing ID initialization
<ide><path>rc/test/java/de/fau/osr/core/vcs/base/CommitTest.java <add>package de.fau.osr.core.vcs.base; <add> <add>import org.junit.Test; <add> <add>import static org.junit.Assert.*; <add> <add>/** <add> * Created by Rajab Kaoneka on 18.05.2015. <add> */ <add>public class CommitTest { <add> <add> @Test <add> publ...
Java
apache-2.0
a193d8c05946a7aea4acacbc2c42414de19d5cf3
0
wcm-io-devops/maven-eclipse-plugin,wcm-io-devops/maven-eclipse-plugin,wcm-io-devops/maven-eclipse-plugin
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
src/main/java/org/apache/maven/plugin/eclipse/MakeArtifactsMojo.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 ...
[MECLIPSE-267] Set default false for resolveVersionRanges property to keep the same behavior as previous versions git-svn-id: 6038db50b076e48c7926ed71fd94f8e91be2fbc9@545353 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/maven/plugin/eclipse/MakeArtifactsMojo.java
[MECLIPSE-267] Set default false for resolveVersionRanges property to keep the same behavior as previous versions
<ide><path>rc/main/java/org/apache/maven/plugin/eclipse/MakeArtifactsMojo.java <ide> * Resolve version ranges in generated pom dependencies to versions of the other plugins being <ide> * converted <ide> * <del> * @parameter expression="${resolveVersionRanges}" default-value="true" <add> * @param...
Java
apache-2.0
42d22ae0db3da5120787cac71905df135d8ed244
0
nhs-ciao/ciao-cda-builder
/* 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 distributed und...
src/main/java/uk/nhs/ciao/cda/builder/json/JsonTransferOfCareFields.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 distributed und...
Added encounterType to normalization methods (converting empty objects to null)
src/main/java/uk/nhs/ciao/cda/builder/json/JsonTransferOfCareFields.java
Added encounterType to normalization methods (converting empty objects to null)
<ide><path>rc/main/java/uk/nhs/ciao/cda/builder/json/JsonTransferOfCareFields.java <ide> setEncounterToTime(emptyToNull(getEncounterToTime())); <ide> setEncounterLocationType(emptyToNull(getEncounterLocationType())); <ide> setEncounterLocationAddress(emptyToNull(getEncounterLocationAddress())); <add> setEncounte...
Java
apache-2.0
b05eeedf5a164be4b097e8f9ebabd6758a17e6eb
0
vipshop/Saturn,vipshop/Saturn,vipshop/Saturn,vipshop/Saturn,vipshop/Saturn
package com.vip.saturn.job.sharding.service; import com.vip.saturn.job.sharding.TreeCacheThreadFactory; import com.vip.saturn.job.sharding.entity.ShardingTreeCache; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.recipes.cache.TreeCache; import org.apache.curator.framework.rec...
saturn-job-sharding/src/main/java/com/vip/saturn/job/sharding/service/ShardingTreeCacheService.java
package com.vip.saturn.job.sharding.service; import com.vip.saturn.job.sharding.TreeCacheThreadFactory; import com.vip.saturn.job.sharding.entity.ShardingTreeCache; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.recipes.cache.TreeCache; import org.apache.curator.framework.rec...
#36 refactor code.
saturn-job-sharding/src/main/java/com/vip/saturn/job/sharding/service/ShardingTreeCacheService.java
#36 refactor code.
<ide><path>aturn-job-sharding/src/main/java/com/vip/saturn/job/sharding/service/ShardingTreeCacheService.java <ide> shardingTreeCache.removeTreeCache(path, depth); <ide> } <ide> <del> public ExecutorService newSingleThreadExecutor() { <del> return Executors.newSingleThreadExecutor(new TreeCacheTh...
Java
apache-2.0
4f20a59378144dda80d2b9fa733c03877b1b7603
0
wso2/balana,wso2/balana,wso2/balana
/* * Copyright (c) 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/...
modules/balana-core/src/main/java/org/wso2/balana/cond/xacml3/XACML3HigherOrderFunction.java
/* * Copyright (c) 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/...
Fix comment
modules/balana-core/src/main/java/org/wso2/balana/cond/xacml3/XACML3HigherOrderFunction.java
Fix comment
<ide><path>odules/balana-core/src/main/java/org/wso2/balana/cond/xacml3/XACML3HigherOrderFunction.java <ide> import java.util.HashMap; <ide> import java.util.Iterator; <ide> import java.util.List; <add>import java.util.Map; <ide> import java.util.Set; <ide> <ide> /** <ide> private static final int ID_ANY_OF_ANY = ...
Java
bsd-2-clause
ff6658f0e970c09c4404e23868bda7c1939d2976
0
runelite/runelite,runelite/runelite,runelite/runelite,l2-/runelite,Sethtroll/runelite,l2-/runelite,Sethtroll/runelite
/* * Copyright (c) 2018 Abex * Copyright (c) 2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copy...
runelite-api/src/main/java/net/runelite/api/coords/WorldPoint.java
/* * Copyright (c) 2018 Abex * Copyright (c) 2017, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copy...
api: use region size constant in getRegionOffset
runelite-api/src/main/java/net/runelite/api/coords/WorldPoint.java
api: use region size constant in getRegionOffset
<ide><path>unelite-api/src/main/java/net/runelite/api/coords/WorldPoint.java <ide> import lombok.Value; <ide> import net.runelite.api.Client; <ide> import static net.runelite.api.Constants.CHUNK_SIZE; <add>import static net.runelite.api.Constants.REGION_SIZE; <ide> import net.runelite.api.Perspective; <ide> <ide> /** ...
Java
apache-2.0
3c15e83ad68d5c569e0cd28f03b7f93d62a13260
0
Syquel/BushyTail
/* * Copyright 2016, Frederik Boster * * 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...
src/main/java/de/syquel/bushytail/factory/OlingoMetadataFactory.java
/* * Copyright 2016, Frederik Boster * * 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...
Enhance error handling in OlingoMetadataFactory.
src/main/java/de/syquel/bushytail/factory/OlingoMetadataFactory.java
Enhance error handling in OlingoMetadataFactory.
<ide><path>rc/main/java/de/syquel/bushytail/factory/OlingoMetadataFactory.java <ide> * <ide> * @param typeField The field of a JPA {@link Entity}. <ide> * @return The determined name of the partner-property. <del> * @throws OlingoMetadataFactoryException if JPA information are incomplete. <add> *...
Java
agpl-3.0
20330e0a96e9cc696effa5930288861d288102aa
0
papparazzo/moba-server,papparazzo/moba-appServer
/* * Project: moba-server * * Copyright (C) 2016 Stefan Paproth <pappi-@gmx.de> * * 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 (a...
src/messagehandler/Layouts.java
/* * Project: moba-server * * Copyright (C) 2016 Stefan Paproth <pappi-@gmx.de> * * 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 (a...
unneeded formatter removed
src/messagehandler/Layouts.java
unneeded formatter removed
<ide><path>rc/messagehandler/Layouts.java <ide> protected Date getCreationDate(long id) throws SQLException { <ide> String q = "SELECT `CreationDate` FROM `TrackLayouts` WHERE `Id` = ?;"; <ide> Connection con = database.getConnection(); <del> SimpleDateFormat formatter = new SimpleDateFormat(...
Java
apache-2.0
e97bb0ed50c11e72fe2c371b5ad94a12d98ab5a6
0
asedunov/intellij-community,ol-loginov/intellij-community,samthor/intellij-community,signed/intellij-community,akosyakov/intellij-community,ryano144/intellij-community,ahb0327/intellij-community,FHannes/intellij-community,ol-loginov/intellij-community,idea4bsd/idea4bsd,hurricup/intellij-community,alphafoobar/intellij-c...
// This class is a runtime engine for parsers generated by Grammar-Kit. // Do not modify or refactor without complete investigation and/or review. package com.intellij.lang.parser; import com.intellij.lang.*; import com.intellij.lang.impl.PsiBuilderAdapter; import com.intellij.lang.impl.PsiBuilderImpl; import com.inte...
platform/lang-impl/src/com/intellij/lang/parser/GeneratedParserUtilBase.java
// This class is a runtime engine for parsers generated by Grammar-Kit. // Do not modify or refactor without complete investigation and/or review. package com.intellij.lang.parser; import com.intellij.lang.*; import com.intellij.lang.impl.PsiBuilderAdapter; import com.intellij.lang.impl.PsiBuilderImpl; import com.inte...
move more logic to GPUB
platform/lang-impl/src/com/intellij/lang/parser/GeneratedParserUtilBase.java
move more logic to GPUB
<ide><path>latform/lang-impl/src/com/intellij/lang/parser/GeneratedParserUtilBase.java <ide> import com.intellij.psi.tree.IElementType; <ide> import com.intellij.psi.tree.TokenSet; <ide> import com.intellij.util.Function; <add>import com.intellij.util.PairProcessor; <ide> import com.intellij.util.containers.LimitedPool...
Java
apache-2.0
2249a10ee6ee8a09da4422783a6fc248f493c412
0
apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev
/* * 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 ...
webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.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 ...
Load javascript only once. git-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@788705 13f79535-47bb-0310-9956-ffa450edef68
webconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java
Load javascript only once.
<ide><path>ebconsole/src/main/java/org/apache/felix/webconsole/internal/core/BundlesServlet.java <ide> final PrintWriter pw = response.getWriter(); <ide> <ide> final String appRoot = ( String ) request.getAttribute( OsgiManager.ATTR_APP_ROOT ); <del> Util.script(pw, appRoot, "bundles.js"); <ide>...
JavaScript
mit
af416d647757a5d1937b9fdc25958a91cf224169
0
oortcloud/meteorite,riiiiizzzzzohmmmmm/meteorite,aldeed/meteorite,riiiiizzzzzohmmmmm/meteorite,oortcloud/meteorite,riiiiizzzzzohmmmmm/meteorite,aldeed/meteorite,aldeed/meteorite,riiiiizzzzzohmmmmm/meteorite,oortcloud/meteorite
var mrt = require('./helpers'); var path = require('path'); var fs = require('fs'); var assert = require('assert'); ///// IMPORTANT NOTE! // All real `install` tests are done on `run` because `install` is just a subset of `run` but `run` gives us simpler ways to verify behavior. describe('invoking `mrt install`', fun...
spec/acceptance/install_spec.js
var mrt = require('./helpers'); var path = require('path'); var fs = require('fs'); var assert = require('assert'); ///// IMPORTANT NOTE! // All real `install` tests are done on `run` because `install` is just a subset of `run` but `run` gives us simpler ways to verify behavior. describe('invoking `mrt install`', fun...
fix sys uninstall spec
spec/acceptance/install_spec.js
fix sys uninstall spec
<ide><path>pec/acceptance/install_spec.js <ide> }); <ide> <ide> describe("invoking `mrt uninstall --system`", function(done) { <add> <add> beforeEach(function(done) { <add> mrt.cleanup(done); <add> }); <add> <ide> it("should delete everything in ~/.meteorite", function(done) { <ide> <ide> var installDi...
Java
agpl-3.0
fdf4e7cab8e40cd9339067e1c3ab64ba8051d3ce
0
opensourceBIM/BIMserver,opensourceBIM/BIMserver,opensourceBIM/BIMserver
package org.bimserver.database.actions; /****************************************************************************** * Copyright (C) 2009-2018 BIMserver.org * * 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...
BimServer/src/org/bimserver/database/actions/StreamingCheckinDatabaseAction.java
package org.bimserver.database.actions; /****************************************************************************** * Copyright (C) 2009-2018 BIMserver.org * * 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...
Also commit
BimServer/src/org/bimserver/database/actions/StreamingCheckinDatabaseAction.java
Also commit
<ide><path>imServer/src/org/bimserver/database/actions/StreamingCheckinDatabaseAction.java <ide> Project project = tmpSession.get(poid, OldQuery.getDefault()); <ide> project.setCheckinInProgress(0); <ide> tmpSession.store(project); <add> tmpSession.commit(); <ide> } catch (BimserverDatabaseE...
Java
apache-2.0
e4e56ba49aa3b1c13ecb5f00a44d3c4f3a878d12
0
dimagi/commcare-core,dimagi/commcare-core,dimagi/commcare,dimagi/commcare,dimagi/commcare-core,dimagi/commcare
/* * Copyright (C) 2009 JavaRosa * * 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 ...
core/src/org/javarosa/core/model/instance/TreeReference.java
/* * Copyright (C) 2009 JavaRosa * * 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 ...
re-introduced shallow copies in TreeReference to fix bug where predicate changes mutated original references.
core/src/org/javarosa/core/model/instance/TreeReference.java
re-introduced shallow copies in TreeReference to fix bug where predicate changes mutated original references.
<ide><path>ore/src/org/javarosa/core/model/instance/TreeReference.java <ide> newRef.setRefLevel(this.refLevel); <ide> <ide> for (TreeReferenceLevel l : data) { <del> newRef.add(l); <add> newRef.add(l.shallowCopy()); <ide> } <ide> <ide> //TODO: No more == null chec...
Java
apache-2.0
c565546c5d5da7b7b87dfd086d0f7360ffb1fd4c
0
apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev
/* * 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 ...
scr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.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 ...
FELIX-3700: fixed a bug where target filters specified in component metadata may be ignored when configuration is loaded from config admin. Refactored the code because since FELIX-3726, the target filters are always updated from Unsatisfied.activate method: now, getProperties is returning the target filters specified ...
scr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java
FELIX-3700: fixed a bug where target filters specified in component metadata may be ignored when configuration is loaded from config admin. Refactored the code because since FELIX-3726, the target filters are always updated from Unsatisfied.activate method: now, getProperties is returning the target filters specified ...
<ide><path>cr/src/main/java/org/apache/felix/scr/impl/manager/ComponentFactoryImpl.java <ide> private volatile Dictionary m_configuration; <ide> <ide> /** <del> * Flag telling if our component factory is configured. <add> * Flag telling if our component factory is configured from config admin. <ide...
JavaScript
bsd-3-clause
ffacfbf6fc6a8ee9ef768104e92e40317266dae2
0
blueroot/spree_designer_dashboard,netkodo/spree_designer_dashboard,netkodo/spree_designer_dashboard,netkodo/spree_designer_dashboard,blueroot/spree_designer_dashboard,blueroot/spree_designer_dashboard
function initializeProductSearchForm() { /* attach a submit handler to the form */ $("#product_search_form").submit(function (event) { /* stop form from submitting normally */ event.preventDefault(); $('#products-preloader').show() $('#select-products-box').html('') /* g...
app/assets/javascripts/spree/frontend/spree_designer_dashboard.js
function initializeProductSearchForm() { /* attach a submit handler to the form */ $("#product_search_form").submit(function (event) { /* stop form from submitting normally */ event.preventDefault(); $('#products-preloader').show() $('#select-products-box').html('') /* g...
- fix
app/assets/javascripts/spree/frontend/spree_designer_dashboard.js
- fix
<ide><path>pp/assets/javascripts/spree/frontend/spree_designer_dashboard.js <ide> <ide> <ide> function buildImageLayer(canvas, bp, url, slug, id, active, hash_id) { <del> fabric.Image.fromURL(url, function (oImg) { <add> obj = fabric.Image.fromURL(url, function (oImg) { <ide> oImg.scale(1).set({ <ide> ...
Java
agpl-3.0
f4e0c3b5d99192a619224438671ac1cd48d6a41d
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
f52b2b58-2e5f-11e5-9284-b827eb9e62be
hello.java
f525b1f0-2e5f-11e5-9284-b827eb9e62be
f52b2b58-2e5f-11e5-9284-b827eb9e62be
hello.java
f52b2b58-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>f525b1f0-2e5f-11e5-9284-b827eb9e62be <add>f52b2b58-2e5f-11e5-9284-b827eb9e62be