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
apache-2.0
ec6bd4351cd9f2e062440ce73be0781aea35f899
0
vipshop/Saturn,vipshop/Saturn,vipshop/Saturn,vipshop/Saturn,vipshop/Saturn
package com.vip.saturn.job.executor; import com.google.common.base.Strings; import com.vip.saturn.job.basic.JobRegistry; import com.vip.saturn.job.basic.JobScheduler; import com.vip.saturn.job.basic.JobTypeManager; import com.vip.saturn.job.basic.ShutdownHandler; import com.vip.saturn.job.basic.TimeoutScheduler...
saturn-core/src/main/java/com/vip/saturn/job/executor/SaturnExecutor.java
package com.vip.saturn.job.executor; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import java.util.Set; import java.util.concurrent.ExecutorService; import java.util....
add log when executor starts up.
saturn-core/src/main/java/com/vip/saturn/job/executor/SaturnExecutor.java
add log when executor starts up.
<ide><path>aturn-core/src/main/java/com/vip/saturn/job/executor/SaturnExecutor.java <ide> package com.vip.saturn.job.executor; <del> <del>import java.text.SimpleDateFormat; <del>import java.util.Date; <del>import java.util.Iterator; <del>import java.util.List; <del>import java.util.Map; <del>import java.util.Map.Entry;...
Java
apache-2.0
ce0a1c9d2d50f1a82e2b15700a89861bb1455ea7
0
henrichg/PhoneProfilesPlus
package sk.henrichg.phoneprofilesplus; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Handler; import android.os.PowerManager; public class TimeChangedReceiver extends BroadcastReceiver { public TimeChangedReceiver() { } @Overrid...
phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/TimeChangedReceiver.java
package sk.henrichg.phoneprofilesplus; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Handler; import android.os.PowerManager; public class TimeChangedReceiver extends BroadcastReceiver { public TimeChangedReceiver() { } @Overrid...
Do not restart events with unblock on time change. (3)
phoneProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/TimeChangedReceiver.java
Do not restart events with unblock on time change. (3)
<ide><path>honeProfilesPlus/src/main/java/sk/henrichg/phoneprofilesplus/TimeChangedReceiver.java <ide> //dataWrapper.restartEventsWithRescan(false, false, false, false); <ide> if (forceRestart) { <ide> if (!DataWrapper.getIsManualProfileActivation(false/*, appContext*/)) <del> ...
Java
apache-2.0
error: pathspec 'com/github/nbgl/gui/JGameArena.java' did not match any file(s) known to git
746a756103e0b88d0e0e665036d5a1ea9783eb07
1
StJohnMmc/NBGL
/* * JGameArena.java * * * *(c)Copyright - 2015 *...
com/github/nbgl/gui/JGameArena.java
Create JGameArena.java
com/github/nbgl/gui/JGameArena.java
Create JGameArena.java
<ide><path>om/github/nbgl/gui/JGameArena.java <add>/* <add>* JGameArena.java * <add>* * <add>*(c)Copyright - 2015 ...
Java
apache-2.0
f8c6898f6f4a8c4dda8fbb3482be71cfec601cae
0
SynBioDex/libSBOLj
core2/src/main/java/org/sbolstandard/core2/EDAMOntology.java
package org.sbolstandard.core2; import java.io.IOException; import java.io.InputStreamReader; import java.net.URI; //import java.util.HashMap; //import java.util.Map; import java.util.ArrayList; import java.util.List; import org.oboparser.obo.OBOOntology; import org.oboparser.obo.OBOParser; import org.oboparser.obo.O...
Resolved conflicts.
core2/src/main/java/org/sbolstandard/core2/EDAMOntology.java
Resolved conflicts.
<ide><path>ore2/src/main/java/org/sbolstandard/core2/EDAMOntology.java <del>package org.sbolstandard.core2; <del> <del>import java.io.IOException; <del>import java.io.InputStreamReader; <del>import java.net.URI; <del>//import java.util.HashMap; <del>//import java.util.Map; <del>import java.util.ArrayList; <del>import j...
Java
bsd-3-clause
c58ec64964854a371626e9b79b83ec7786bc3f26
0
YamStranger/jcabi-aether,krzyk/jcabi-aether,pombredanne/jcabi-aether
/** * Copyright (c) 2012-2013, JCabi.com * 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 list of condition...
src/main/java/com/jcabi/aether/Classpath.java
/** * Copyright (c) 2012-2013, JCabi.com * 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 list of condition...
closes #229
src/main/java/com/jcabi/aether/Classpath.java
closes #229
<ide><path>rc/main/java/com/jcabi/aether/Classpath.java <ide> * {@inheritDoc} <ide> */ <ide> @Override <del> @Cacheable(forever = true) <ide> public String toString() { <ide> return StringUtils.join(this.roots(), "\n"); <ide> } <ide> */ <ide> @SuppressWarnings("PMD.AvoidInstant...
Java
apache-2.0
fac80101c08fb6cfa8553cd16089c41ac6e1cd6e
0
maltieri/docusign-restclient,maltieri/docusign-restclient,maltieri/docusign-restclient
/******************************************************************************* * Copyright 2012 Technology Blueprint Ltd * * 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/uk/co/techblue/docusign/client/dto/SignatureRequest.java
/******************************************************************************* * Copyright 2012 Technology Blueprint Ltd * * 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:...
Added property to enforce signer visibility
src/main/java/uk/co/techblue/docusign/client/dto/SignatureRequest.java
Added property to enforce signer visibility
<ide><path>rc/main/java/uk/co/techblue/docusign/client/dto/SignatureRequest.java <ide> /** The status. */ <ide> @JsonProperty("status") <ide> private Status status; <add> <add> /** The enforce signer visibility. */ <add> @JsonProperty <add> private Boolean enforceSignerVisibility; <ide> <ide> /*...
Java
apache-2.0
062e203db3e2dfcc29df8fb60fc5ba4d854d1415
0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE...
tools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE...
Fix usage of the console in background
tools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java
Fix usage of the console in background
<ide><path>ools/src/main/java/com/orientechnologies/orient/console/OConsoleDatabaseApp.java <ide> int result = 0; <ide> <ide> try { <add> final OConsoleDatabaseApp console = new OConsoleDatabaseApp(args); <add> <ide> boolean tty = false; <ide> try { <del> if (setTerminalToCBreak()) <add...
JavaScript
apache-2.0
cc7175a315a682917a48e4146ba5d8a7bac66d42
0
radgrad/radgrad,radgrad/radgrad,radgrad/radgrad
import { Meteor } from 'meteor/meteor'; import { Accounts } from 'meteor/accounts-base'; import { Roles } from 'meteor/alanning:roles'; import { _ } from 'meteor/erasaur:meteor-lodash'; import { AdvisorLogs } from '../log/AdvisorLogCollection'; import { AcademicYearInstances } from '../degree-plan/AcademicYearInstanceC...
app/imports/api/user/UserCollection.js
import { Meteor } from 'meteor/meteor'; import { Accounts } from 'meteor/accounts-base'; import { Roles } from 'meteor/alanning:roles'; import { _ } from 'meteor/erasaur:meteor-lodash'; import { AdvisorLogs } from '../log/AdvisorLogCollection'; import { AcademicYearInstances } from '../degree-plan/AcademicYearInstanceC...
Added profile iterator methods
app/imports/api/user/UserCollection.js
Added profile iterator methods
<ide><path>pp/imports/api/user/UserCollection.js <ide> } <ide> <ide> /** <del> * Runs find on the Users collection. <add> * Runs find on all the Profile collections, fetches the associated documents, and returns an array containing all <add> * of the matches. <ide> * @see {@link http://docs.meteor.com/#/f...
Java
mit
c6873d041cc8c12fb27aac6fd392b057beb81944
0
jacobhong/jReddit,snkas/jReddit,jReddit/jReddit,sfat/jReddit,Murtaza0xFF/jReddit
package com.github.jreddit.action; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.json.simple.JSONObject; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import static org.junit.Assert.assertEquals; import co...
src/test/java/com/github/jreddit/action/SubmitActionsTest.java
package com.github.jreddit.action; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.json.simple.JSONObject; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import static org.junit.Assert.assertEquals; import co...
Use assertFalse/assertTrue in SubmitActionsTest as suggested by @sfat, replaced assertEquals(res, false); with assertFalse(res);
src/test/java/com/github/jreddit/action/SubmitActionsTest.java
Use assertFalse/assertTrue in SubmitActionsTest
<ide><path>rc/test/java/com/github/jreddit/action/SubmitActionsTest.java <ide> import java.io.ByteArrayOutputStream; <ide> import java.io.PrintStream; <ide> import org.apache.http.HttpResponse; <add>import static org.junit.Assert.assertFalse; <add>import static org.junit.Assert.assertTrue; <ide> <ide> public class Sub...
Java
apache-2.0
3291065e196151728aa4344e8db8c814fb084c8b
0
sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt
/* * JavaSMT is an API wrapper for a collection of SMT solvers. * This file is part of JavaSMT. * * Copyright (C) 2007-2018 Dirk Beyer * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
src/org/sosy_lab/java_smt/test/ModelTest.java
/* * JavaSMT is an API wrapper for a collection of SMT solvers. * This file is part of JavaSMT. * * Copyright (C) 2007-2018 Dirk Beyer * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
more model-tests
src/org/sosy_lab/java_smt/test/ModelTest.java
more model-tests
<ide><path>rc/org/sosy_lab/java_smt/test/ModelTest.java <ide> fail(); <ide> } <ide> } <add> <add> @Test <add> public void testGetSmallIntegers1() throws SolverException, InterruptedException { <add> evaluateInModel( <add> imgr.equal(imgr.makeVariable("x"), imgr.makeNumber(10)), <add> imgr...
Java
epl-1.0
b5084eb51ffdb2a3bd9bed7294afc941a733a693
0
flomotlik/junit,UnimibSoftEngCourse1516/lab2-es3-f.spinardi,feisuo/junit,jordancheah/junit,UnimibSoftEngCourse1516/lab2-es3-f.spinardi,dvberkel/junit,UnimibSoftEngCourse1516/lab2-es3-m.polonioli,ashleyfrieze/junit,UrsMetz/junit,UnimibSoftEngCourse1516/lab2-es3-a.tundo,remus32/junit,UnimibSoftEngCourse1516/lab2-es3-m.ve...
package org.junit.experimental.categories; import java.util.ArrayList; import java.util.List; import org.junit.internal.Classes; import org.junit.runner.FilterFactory; import org.junit.runner.FilterFactoryParams; import org.junit.runner.manipulation.Filter; /** * Implementation of FilterFactory for Categ...
src/main/java/org/junit/experimental/categories/CategoryFilterFactory.java
package org.junit.experimental.categories; import java.util.ArrayList; import java.util.List; import org.junit.internal.Classes; import org.junit.runner.FilterFactory; import org.junit.runner.FilterFactoryParams; import org.junit.runner.manipulation.Filter; /** * Implementation of FilterFactory for Categ...
JavaDoc fixed.
src/main/java/org/junit/experimental/categories/CategoryFilterFactory.java
JavaDoc fixed.
<ide><path>rc/main/java/org/junit/experimental/categories/CategoryFilterFactory.java <ide> abstract class CategoryFilterFactory implements FilterFactory { <ide> /** <ide> * Creates a {@link org.junit.experimental.categories.Categories.CategoryFilter} given a <del> * ${FilterFactoryParams} argument. <add> ...
Java
bsd-3-clause
fc4662b0cffd1ba6cdca16d5c9bfc917089a66e4
0
dcarroll/Analytics-Cloud-Dataset-Utils,dcarroll/Analytics-Cloud-Dataset-Utils,dcarroll/Analytics-Cloud-Dataset-Utils,dcarroll/Analytics-Cloud-Dataset-Utils
/* * Copyright (c) 2014, salesforce.com, inc. * 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 c...
src/main/java/com/sforce/dataset/loader/file/schema/ext/ExternalFileSchema.java
/* * Copyright (c) 2014, salesforce.com, inc. * 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 c...
Fixed bug in dev name length calculation
src/main/java/com/sforce/dataset/loader/file/schema/ext/ExternalFileSchema.java
Fixed bug in dev name length calculation
<ide><path>rc/main/java/com/sforce/dataset/loader/file/schema/ext/ExternalFileSchema.java <ide> int index = 1; <ide> while(true) <ide> { <del> newName = devNames.get(i) + index; <add> int maxLength = 40 - (index+"").length(); <add> if(devNames.get(i).length()>maxLength) <add> { <add> ne...
Java
mit
6e7dc396b816f4a21a65a40707d160e8aa925a96
0
McJty/RFTools
package mcjty.rftools.blocks.shaper; import mcjty.lib.container.DefaultSidedInventory; import mcjty.lib.container.InventoryHelper; import mcjty.lib.entity.GenericTileEntity; import mcjty.lib.network.Argument; import mcjty.lib.tools.ItemStackTools; import mcjty.rftools.blocks.builder.BuilderSetup; import mcjty.rftools....
src/main/java/mcjty/rftools/blocks/shaper/ScannerTileEntity.java
package mcjty.rftools.blocks.shaper; import mcjty.lib.container.DefaultSidedInventory; import mcjty.lib.container.InventoryHelper; import mcjty.lib.entity.GenericTileEntity; import mcjty.lib.network.Argument; import mcjty.lib.tools.ItemStackTools; import mcjty.rftools.blocks.builder.BuilderSetup; import mcjty.rftools....
The scanner works with the modifier item
src/main/java/mcjty/rftools/blocks/shaper/ScannerTileEntity.java
The scanner works with the modifier item
<ide><path>rc/main/java/mcjty/rftools/blocks/shaper/ScannerTileEntity.java <ide> import mcjty.rftools.blocks.builder.BuilderSetup; <ide> import mcjty.rftools.items.builder.ShapeCardItem; <ide> import mcjty.rftools.items.modifier.ModifierEntry; <add>import mcjty.rftools.items.modifier.ModifierFilterOperation; <ide> impo...
Java
lgpl-2.1
4ff13215667ca1577523be1306bad7c76b523518
0
lucee/Lucee,lucee/Lucee,lucee/Lucee,lucee/Lucee
/** * Copyright (c) 2014, the Railo Company Ltd. * Copyright (c) 2015, Lucee Assosication Switzerland * * 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...
core/src/main/java/lucee/runtime/tag/FileTag.java
/** * Copyright (c) 2014, the Railo Company Ltd. * Copyright (c) 2015, Lucee Assosication Switzerland * * 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...
fix javadoc typo
core/src/main/java/lucee/runtime/tag/FileTag.java
fix javadoc typo
<ide><path>ore/src/main/java/lucee/runtime/tag/FileTag.java <ide> } <ide> <ide> /** <del> * rreturn fileItem matching to filefiled definition or throw an exception <add> * return fileItem matching to filefield definition or throw an exception <ide> * <ide> * @return FileItem <ide> * @throws ApplicationExcep...
Java
apache-2.0
7f33d7052eda5f88ef7b1f10bd1223881c8a47bc
0
hippoz/ogop-lseb
package moc.ogop.ahsp.net.client.nio; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.Nio...
src/main/java/moc/ogop/ahsp/net/client/nio/NioClientDelegate.java
package moc.ogop.ahsp.net.client.nio; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.Nio...
change the client event loop
src/main/java/moc/ogop/ahsp/net/client/nio/NioClientDelegate.java
change the client event loop
<ide><path>rc/main/java/moc/ogop/ahsp/net/client/nio/NioClientDelegate.java <ide> */ <ide> public class NioClientDelegate<I> extends AbstractClientDelegate { <ide> <del> final static EventLoopGroup nioEventLoop = new NioEventLoopGroup(5, new DefaultThreadFactory("NioClient", true)); <del> <ide> private final C...
JavaScript
mit
1a73dea8be19440ea662b1fb4eff440fed46535b
0
RobertoMalatesta/envisionjs,HumbleSoftware/envisionjs,notepad104/envisionjs,bigspotteddog/envisionjs,notepad104/envisionjs,RobertoMalatesta/envisionjs,notepad104/envisionjs,RobertoMalatesta/envisionjs,HumbleSoftware/envisionjs,bigspotteddog/envisionjs
/** * Child Class * * Defines a visualization child. * * Options: * height - Integer * width - Integer * flotr - A set of flotr options */ (function () { var V = humblevis, CN_CHILD = 'humble-vis-child', T_CHILD = '<div class="' + CN_CHILD + '"></div>'; function Child (options) { option...
js/Child.js
/** * Child Class * * Defines a visualization child. * * Options: * height - Integer * width - Integer * flotr - A set of flotr options */ (function () { var V = humblevis, CN_CHILD = 'humble-vis-child', T_CHILD = '<div class="' + CN_CHILD + '"></div>'; function Child (options) { option...
Fixed extra comma.
js/Child.js
Fixed extra comma.
<ide><path>s/Child.js <ide> <ide> this.container = element; <ide> bonzo(element).append(this.node); <del> <del> }, <add> } <ide> }; <ide> <ide> V.Child = Child;
JavaScript
mit
62d9a539ac214c9e40134a87260769f784a68f5d
0
JosephClay/signal-js
import fs from 'fs'; import path from 'path'; import webpack from 'webpack'; import { format } from 'date-fns'; import TerserPlugin from 'terser-webpack-plugin'; import CompressionPlugin from 'compression-webpack-plugin'; const pkg = JSON.parse(fs.readFileSync('./package.json')); export default { entry: './src/index...
webpack.config.js
import fs from 'fs'; import path from 'path'; import webpack from 'webpack'; import { format } from 'date-fns'; import TerserPlugin from 'terser-webpack-plugin'; import CompressionPlugin from 'compression-webpack-plugin'; const pkg = JSON.parse(fs.readFileSync('./package.json')); export default { entry: './src/index...
webpack: update compression settings
webpack.config.js
webpack: update compression settings
<ide><path>ebpack.config.js <ide> }, <ide> }), <ide> new CompressionPlugin({ <del> filename({ path, query }) { <del> return `${path}.gz${query}`; <add> filename({ filename }) { <add> return `${filename}.gz`; <ide> }, <ide> }) <ide> ]
Java
apache-2.0
error: pathspec 'JavaLab/workspaceEclipseNew/JunitPreparation/src/project/PorteMonnaie.java' did not match any file(s) known to git
33182b98f8961361e7adef7f095885744dbcaf1f
1
geekdos/Personal_Labs,geekdos/Personal_Labs,geekdos/Personal_Labs,geekdos/Personal_Labs,geekdos/Personal_Labs,geekdos/Personal_Labs,geekdos/Personal_Labs
package project; import java.util.HashMap; public class PorteMonnaie { HashMap<String, Integer> contenu; public PorteMonnaie() { this.contenu = new HashMap<String, Integer>(); } public HashMap<String, Integer> getContenu() { return contenu; } public void setContenu(HashMap<String, Integer> contenu) {...
JavaLab/workspaceEclipseNew/JunitPreparation/src/project/PorteMonnaie.java
Troisième partie : un porte-monnaie
JavaLab/workspaceEclipseNew/JunitPreparation/src/project/PorteMonnaie.java
Troisième partie : un porte-monnaie
<ide><path>avaLab/workspaceEclipseNew/JunitPreparation/src/project/PorteMonnaie.java <add>package project; <add> <add>import java.util.HashMap; <add> <add>public class PorteMonnaie { <add> HashMap<String, Integer> contenu; <add> <add> <add> <add> public PorteMonnaie() { <add> this.contenu = new HashMap<String, Integ...
Java
apache-2.0
e15572045e5851c2f3ae4541191566e79509134b
0
mosoft521/wicket,mosoft521/wicket,astrapi69/wicket,bitstorm/wicket,aldaris/wicket,selckin/wicket,aldaris/wicket,mosoft521/wicket,klopfdreh/wicket,dashorst/wicket,klopfdreh/wicket,astrapi69/wicket,freiheit-com/wicket,aldaris/wicket,AlienQueen/wicket,AlienQueen/wicket,topicusonderwijs/wicket,selckin/wicket,selckin/wicket...
/* * 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 ...
wicket/src/main/java/wicket/Application.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 ...
let listeners decide how equals is implemented instead of always using instance identity git-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@509086 13f79535-47bb-0310-9956-ffa450edef68
wicket/src/main/java/wicket/Application.java
let listeners decide how equals is implemented instead of always using instance identity
<ide><path>icket/src/main/java/wicket/Application.java <ide> <ide> for (IComponentInstantiationListener element : componentInstantiationListeners) <ide> { <del> if (listener == element) <add> if (listener.equals(element)) <ide> { <ide> return; <ide> }
Java
apache-2.0
866c90c18028fa0ee860d4b6b75aeda53c581b04
0
dylanht/titan,kalatestimine/titan,nvoron23/titan,jankotek/titan,evanv/titan,hortonworks/titan,anuragkh/titan,amcp/titan,elubow/titan,xlcupid/titan,samanalysis/titan,xlcupid/titan,xlcupid/titan,ThiagoGarciaAlves/titan,banjiewen/titan,jamestyack/titan,fengshao0907/titan,kangkot/titan,elkingtonmcb/titan,ThiagoGarciaAlves/...
package com.thinkaurelius.titan.diskstorage.solr; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; import com.google.common.collect.Sets; import com.thinkaurelius.titan.core.Order; import com.thinkaurelius.titan.core.TitanElement; import com.thinkaurelius.titan.core.attribute.*; impo...
titan-solr/src/main/java/com/thinkaurelius/titan/diskstorage/solr/SolrIndex.java
package com.thinkaurelius.titan.diskstorage.solr; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; import com.google.common.collect.Sets; import com.thinkaurelius.titan.core.Order; import com.thinkaurelius.titan.core.TitanElement; import com.thinkaurelius.titan.core.attribute.*; impo...
renamed core => collection throughout index
titan-solr/src/main/java/com/thinkaurelius/titan/diskstorage/solr/SolrIndex.java
renamed core => collection throughout index
<ide><path>itan-solr/src/main/java/com/thinkaurelius/titan/diskstorage/solr/SolrIndex.java <ide> <ide> private static final Logger logger = LoggerFactory.getLogger(SolrIndex.class); <ide> <del> private static final String CORE_PARAM = "collection"; <add> private static final String COLLECTION_PARAM = "colle...
Java
epl-1.0
2e26cc882b4fc6a7ce7c157cef34f42195e04c81
0
mischwarz/Weasis,mischwarz/Weasis
/******************************************************************************* * Copyright (c) 2010 Nicolas Roduit. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/display/PresetWindowLevel.java
/******************************************************************************* * Copyright (c) 2010 Nicolas Roduit. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
Fix wrong default W/L with VOI LUT sequence
weasis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/display/PresetWindowLevel.java
Fix wrong default W/L with VOI LUT sequence
<ide><path>easis-dicom/weasis-dicom-codec/src/main/java/org/weasis/dicom/codec/display/PresetWindowLevel.java <ide> private final Float level; <ide> private final LutShape shape; <ide> <del> <ide> public PresetWindowLevel(String name, Float window, Float level, LutShape shape) { <ide> <ide> if (...
Java
apache-2.0
e2a7f24cd69bfecc0885babdb9e0947ae6a4119d
0
vaskaloidis/va-isaac-gui,DongwonChoi/ISAAC,Apelon-VA/va-isaac-gui,Apelon-VA/va-isaac-gui,Apelon-VA/ISAAC,vaskaloidis/va-isaac-gui,Apelon-VA/ISAAC,Apelon-VA/ISAAC,DongwonChoi/ISAAC,DongwonChoi/ISAAC
/** * Copyright Notice * * This is a work of the U.S. Government and is not subject to copyright * protection in the United States. Foreign copyrights may apply. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
otf-util/src/main/java/gov/va/isaac/search/CompositeSearchResult.java
/** * Copyright Notice * * This is a work of the U.S. Government and is not subject to copyright * protection in the United States. Foreign copyrights may apply. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
add a TODO
otf-util/src/main/java/gov/va/isaac/search/CompositeSearchResult.java
add a TODO
<ide><path>tf-util/src/main/java/gov/va/isaac/search/CompositeSearchResult.java <ide> protected CompositeSearchResult(ComponentVersionBI matchingComponent, float score) { <ide> this.matchingComponents.add(matchingComponent); <ide> this.bestScore = score; <add> //TODO fix this - this tosses a null ptr if the searc...
Java
apache-2.0
1c9af4fb2f5409ecf2859b690111fa3b8b29d3ca
0
mikeb01/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,mikeb01/Aeron,real-logic/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron
package io.aeron.cluster; import io.aeron.Aeron; import io.aeron.CommonContext; import io.aeron.cluster.client.AeronCluster; import io.aeron.cluster.service.ClientSession; import io.aeron.cluster.service.ClusteredServiceContainer; import io.aeron.driver.MediaDriver; import io.aeron.driver.ThreadingMode; import io.aero...
aeron-cluster/src/test/java/io/aeron/cluster/MultipleClusteredServicesTest.java
package io.aeron.cluster; import io.aeron.Aeron; import io.aeron.CommonContext; import io.aeron.cluster.client.AeronCluster; import io.aeron.cluster.service.ClientSession; import io.aeron.cluster.service.ClusteredServiceContainer; import io.aeron.driver.MediaDriver; import io.aeron.driver.ThreadingMode; import io.aero...
[Java] Check interrupt status in loops.
aeron-cluster/src/test/java/io/aeron/cluster/MultipleClusteredServicesTest.java
[Java] Check interrupt status in loops.
<ide><path>eron-cluster/src/test/java/io/aeron/cluster/MultipleClusteredServicesTest.java <ide> while (client.offer(new ExpandableArrayBuffer(100), 0, 100) < 0) <ide> { <ide> Thread.yield(); <add> TestUtil.checkInterruptedStatus(); <ide> } <ide> <ide> ...
JavaScript
mit
error: pathspec 'nodelistener.js' did not match any file(s) known to git
78236cda136fc3a0ef7a1e5c60c9ea89f21253c1
1
dkazmer/nodeListener
/*global window:false, console:false, document:false, event:false, jQuery:false */ /*********************************************************************************** author: Daniel Kazmer - http://webshifted.com created: 03.08.2017 version: 1.0.0 Do something when a specific element changes the DOM tree where spe...
nodelistener.js
adding main plugin file
nodelistener.js
adding main plugin file
<ide><path>odelistener.js <add>/*global window:false, console:false, document:false, event:false, jQuery:false */ <add> <add>/*********************************************************************************** <add> <add>author: Daniel Kazmer - http://webshifted.com <add>created: 03.08.2017 <add>version: 1.0.0 <add> <...
Java
apache-2.0
49349f0f28b35b0bb7b07ddb6c665f4b3dca5045
0
androidx/media,google/ExoPlayer,ened/ExoPlayer,ened/ExoPlayer,amzn/exoplayer-amazon-port,google/ExoPlayer,ened/ExoPlayer,amzn/exoplayer-amazon-port,google/ExoPlayer,amzn/exoplayer-amazon-port,androidx/media,androidx/media
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Do not hold a codec in OnFrameRenderedListener Doing so prevent Codec which is a big object with JNI to be garbage collected. As the codec can not be hold in the listener, there is no way to call release, as it must be called on the same codec. As a result the release method is also removed. The downside is that at r...
library/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java
Do not hold a codec in OnFrameRenderedListener
<ide><path>ibrary/core/src/main/java/com/google/android/exoplayer2/video/MediaCodecVideoRenderer.java <ide> clearReportedVideoSize(); <ide> clearRenderedFirstFrame(); <ide> frameReleaseTimeHelper.disable(); <del> releaseOnFrameRenderedListener(); <add> tunnelingOnFrameRenderedListener = null; <ide> ...
Java
apache-2.0
ac68f24512dc123a197cf49e9116afcfa3f786f9
0
apache/cassandra,blambov/cassandra,tjake/cassandra,jrwest/cassandra,tjake/cassandra,mike-tr-adamson/cassandra,apache/cassandra,tjake/cassandra,adelapena/cassandra,mike-tr-adamson/cassandra,mike-tr-adamson/cassandra,instaclustr/cassandra,blambov/cassandra,adelapena/cassandra,adelapena/cassandra,tjake/cassandra,apache/ca...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
test/distributed/org/apache/cassandra/distributed/impl/Instance.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 ...
Call only LoggingSupportFactory in Instance instead ThreadAwareSecurityManager to fix SSTableIdGenerationTest This relates especially to CASSANDRA-17948. In CassandraDaemon, this is called via ThreadAwareSecurityManager.install() but we do not need that whole body of the method to be executed because it also installs ...
test/distributed/org/apache/cassandra/distributed/impl/Instance.java
Call only LoggingSupportFactory in Instance instead ThreadAwareSecurityManager to fix SSTableIdGenerationTest
<ide><path>est/distributed/org/apache/cassandra/distributed/impl/Instance.java <ide> import org.apache.cassandra.schema.MigrationCoordinator; <ide> import org.apache.cassandra.schema.Schema; <ide> import org.apache.cassandra.schema.SchemaConstants; <del>import org.apache.cassandra.security.ThreadAwareSecurityManager; <...
Java
apache-2.0
edb67fd70e80e209263c2fc9b3ddac87542bc737
0
ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf
/* * $Log: XmlValidatorBaseXerces26.java,v $ * Revision 1.14 2012-03-19 11:01:38 europe\m168309 * avoid log4j warning "No appenders could be found for logger" * * Revision 1.13 2012/03/16 15:35:44 Jaco de Groot <jaco.de.groot@ibissource.org> * Michiel added EsbSoapValidator and WsdlXmlValidator, made WSDL's a...
JavaSource/nl/nn/adapterframework/util/XmlValidatorBaseXerces26.java
/* * $Log: XmlValidatorBaseXerces26.java,v $ * Revision 1.13 2012-03-16 15:35:44 m00f069 * Michiel added EsbSoapValidator and WsdlXmlValidator, made WSDL's available for all adapters and did a bugfix on XML Validator where it seems to be dependent on the order of specified XSD's * * Revision 1.12 2011/12/15 09:...
avoid log4j warning "No appenders could be found for logger"
JavaSource/nl/nn/adapterframework/util/XmlValidatorBaseXerces26.java
avoid log4j warning "No appenders could be found for logger"
<ide><path>avaSource/nl/nn/adapterframework/util/XmlValidatorBaseXerces26.java <ide> /* <ide> * $Log: XmlValidatorBaseXerces26.java,v $ <del> * Revision 1.13 2012-03-16 15:35:44 m00f069 <add> * Revision 1.14 2012-03-19 11:01:38 europe\m168309 <add> * avoid log4j warning "No appenders could be found for logger" <ad...
JavaScript
mit
32357772a020b620a1036f5f6a30597dddd3bc81
0
GridSound/gs-ui-components,GridSound/gs-ui-components
"use strict"; class gsuiPatternroll { constructor( cb ) { const root = gsuiPatternroll.template.cloneNode( true ), blcManager = new gsuiBlocksManager( root, { getData: () => this.data.blocks, blockDOMChange: this._blockDOMChange.bind( this ), managercallMoving: ( blcsMap, wIncr, trIncr ) => this.onch...
gsuiPatternroll/gsuiPatternroll.js
"use strict"; class gsuiPatternroll { constructor( cb ) { const root = gsuiPatternroll.template.cloneNode( true ), blcManager = new gsuiBlocksManager( root, { getData: () => this.data.blocks, blockDOMChange: this._blockDOMChange.bind( this ), managercallMoving: ( blcsMap, wIncr, trIncr ) => this.onch...
gsuiPatternroll: remove some action code
gsuiPatternroll/gsuiPatternroll.js
gsuiPatternroll: remove some action code
<ide><path>suiPatternroll/gsuiPatternroll.js <ide> }; <ide> <ide> this.data = this._proxyCreate(); <del> this._idMax = 0; <ide> this._rowsByTrackId = new Map(); <ide> blcManager.__sideContent.append( this._uiTracklist.rootElement ); <ide> blcManager.__rowsContainer.ondrop = this._drop.bind( this ); <ide> ...
Java
apache-2.0
00df99e821801c4a0ad761c5a1b7f2fe335abece
0
huitseeker/nd4j,deeplearning4j/nd4j,deeplearning4j/nd4j,ambraspace/nd4j,ambraspace/nd4j,gagatust/nd4j,huitseeker/nd4j,gagatust/nd4j,smarthi/nd4j,smarthi/nd4j
package org.nd4j.parameterserver.distributed.transport; import io.aeron.Aeron; import io.aeron.FragmentAssembler; import io.aeron.Publication; import io.aeron.Subscription; import io.aeron.driver.MediaDriver; import io.aeron.logbuffer.Header; import lombok.Getter; import lombok.NonNull; import lombok.extern.slf4j.Slf4...
nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/transport/BaseTransport.java
package org.nd4j.parameterserver.distributed.transport; import io.aeron.Aeron; import io.aeron.FragmentAssembler; import io.aeron.Publication; import io.aeron.Subscription; import io.aeron.driver.MediaDriver; import io.aeron.logbuffer.Header; import lombok.Getter; import lombok.NonNull; import lombok.extern.slf4j.Slf4...
no need to sleep on sendMessage
nd4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/transport/BaseTransport.java
no need to sleep on sendMessage
<ide><path>d4j-parameter-server-parent/nd4j-parameter-server-node/src/main/java/org/nd4j/parameterserver/distributed/transport/BaseTransport.java <ide> // TODO: check, if current role is Shard itself, in this case we want to modify command queue directly, to reduce network load <ide> // ...
Java
mit
98837c00fccd7d7f3689485236ad13725293f07e
0
PLOS/wombat,PLOS/wombat,PLOS/wombat,PLOS/wombat
/* * $HeadURL$ * $Id$ * Copyright (c) 2006-2013 by Public Library of Science http://plos.org http://ambraproject.org * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/...
src/main/java/org/ambraproject/wombat/controller/SearchController.java
/* * $HeadURL$ * $Id$ * Copyright (c) 2006-2013 by Public Library of Science http://plos.org http://ambraproject.org * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/...
DPRO-1102: refactor parseJournals
src/main/java/org/ambraproject/wombat/controller/SearchController.java
DPRO-1102: refactor parseJournals
<ide><path>rc/main/java/org/ambraproject/wombat/controller/SearchController.java <ide> * @param site the site the request is associated with <ide> * @param journalParams journal keys passed as URL parameters, if any <ide> * @param unformattedQuery the value of the unformattedQuery param (used in advanced...
JavaScript
mit
9c3ca97834cfbd67dfdfc1bb864a6946b4083f48
0
UziTech/context-git
/** @babel */ import fs from "fs"; import path from "path"; import {promisify} from "promisificator"; export default { /** * Remove selected files where a parent folder is also selected and group by parent folder. * @param {Object[]} cwdDirs The result of getDirectories() * @return {Object} Keys will be cwds...
lib/helper.js
/** @babel */ import fs from "fs"; import path from "path"; import {promisify} from "promisificator"; export default { /** * Remove selected files where a parent folder is also selected and group by parent folder. * @param {Object[]} cwdDirs The result of getDirectories() * @return {Object} Keys will be cwds...
lint: fix no-prototype-builtins
lib/helper.js
lint: fix no-prototype-builtins
<ide><path>ib/helper.js <ide> cwdDirs.forEach(cwdFile => { <ide> const isInSelectedDir = dirs.some(dir => (cwdFile.filePath !== dir && cwdFile.filePath.startsWith(dir))); <ide> if (!isInSelectedDir) { <del> if (!files.hasOwnProperty(cwdFile.cwd)) { <add> if (!(cwdFile.cwd in files)) { <ide> files[cwd...
Java
apache-2.0
03b8ee4703d783d7ec894fd6ebb6f0df71af1f5c
0
webfirmframework/wff,webfirmframework/wff
/* * Copyright 2014-2018 Web Firm Framework * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Style.java
/* * Copyright 2014-2018 Web Firm Framework * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
Minor code optimization
wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Style.java
Minor code optimization
<ide><path>ffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Style.java <ide> "value can not start with : (colon) or end with ; (semicolon)"); <ide> } <ide> <del> final boolean addToAttributeValueMap = addToAttributeValueMap(cssName, <del> cssVa...
Java
apache-2.0
6c013bda9c1b314cc3105c749244ea8cafc95df4
0
omkarudipi/java-client-api,marklogic/java-client-api,supriyantomaftuh/java-client-api,omkarudipi/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,supriyantomaftuh/java-client-api,omkarudipi/java-client-api,supriyantomaftuh/java-client-api,supriyantomaftuh/java-client-api,omk...
package com.marklogic.client.functionaltest; import static org.junit.Assert.*; import java.io.FileInputStream; import java.util.ArrayList; import java.util.List; import javax.swing.text.html.FormSubmitEvent; import org.json.JSONException; import org.junit.After; import org.junit.AfterClass; import org...
test-complete/src/test/java/com/marklogic/client/functionaltest/TestJSResourceExtensions.java
package com.marklogic.client.functionaltest; import static org.junit.Assert.*; import java.io.FileInputStream; import java.util.ArrayList; import java.util.List; import javax.swing.text.html.FormSubmitEvent; import org.json.JSONException; import org.junit.After; import org.junit.AfterClass; import org...
updated as per issue 212
test-complete/src/test/java/com/marklogic/client/functionaltest/TestJSResourceExtensions.java
updated as per issue 212
<ide><path>est-complete/src/test/java/com/marklogic/client/functionaltest/TestJSResourceExtensions.java <ide> public TestJSExtension(DatabaseClient client) { <ide> super(); <ide> // a Resource Manager must be initialized by a Database Client <del> client.init(NAME, this, ExtensionMetadata.JAVASCRIPT); <add> ...
Java
apache-2.0
7e0363a7e20310ea55f8ee320ac7645b3b5628f3
0
vgomezASC/CodeU-Summer-2017,vgomezASC/CodeU-Summer-2017
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
src/codeu/chat/common/Message.java
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
Fix some bugs.
src/codeu/chat/common/Message.java
Fix some bugs.
<ide><path>rc/codeu/chat/common/Message.java <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.OutputStream; <del>import java.util.Comparator; <ide> import java.util.UUID; <ide> <ide> import codeu.chat.util.Serializer;
Java
apache-2.0
error: pathspec 'src/test/java/com/fishercoder/_92Test.java' did not match any file(s) known to git
7205330a6f7f02d8d1c1fe6a35f88b8e71cdbb82
1
fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode
package com.fishercoder; import com.fishercoder.common.classes.ListNode; import com.fishercoder.solutions._92; import org.junit.BeforeClass; import org.junit.Test; import java.util.Arrays; import static org.junit.Assert.assertEquals; public class _92Test { private static _92.Solution1 solution1; private sta...
src/test/java/com/fishercoder/_92Test.java
add test for 92
src/test/java/com/fishercoder/_92Test.java
add test for 92
<ide><path>rc/test/java/com/fishercoder/_92Test.java <add>package com.fishercoder; <add> <add>import com.fishercoder.common.classes.ListNode; <add>import com.fishercoder.solutions._92; <add>import org.junit.BeforeClass; <add>import org.junit.Test; <add> <add>import java.util.Arrays; <add> <add>import static org.junit.A...
Java
apache-2.0
19a9537ec6053afc7dc9e337b854e8c277650e7d
0
p120ph37/missing-link
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and condi...
src/test/org/missinglink/http/client/HttpClientUriTest.java
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and condi...
unit test for issue #36
src/test/org/missinglink/http/client/HttpClientUriTest.java
unit test for issue #36
<ide><path>rc/test/org/missinglink/http/client/HttpClientUriTest.java <ide> Assert.assertEquals("http://host/context/longer/", client.getUri()); <ide> client = HttpClient.uri("http://host/context/longer/file.html").toHttpClient(); <ide> Assert.assertEquals("http://host/context/longer/file.html", client.getU...
Java
epl-1.0
fc64c7dd81abd875eb4c9a54db33c863a22d215e
0
Beluk/portfolio,cmaoling/portfolio,simpsus/portfolio,simpsus/portfolio,buchen/portfolio,cmaoling/portfolio,Beluk/portfolio,simpsus/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,buchen/portfolio,buchen/portfolio,Beluk/portfolio,cmaoling/portfolio,cmaoling/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,buchen/...
package name.abuchen.portfolio.model; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.UUID; import name.abuchen.portfolio.model.Classification.Assignment; public class Taxonomy { pu...
name.abuchen.portfolio/src/name/abuchen/portfolio/model/Taxonomy.java
package name.abuchen.portfolio.model; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.UUID; import name.abuchen.portfolio.model.Classification.Assignment; public class Taxonomy { pu...
Fixed NPE when copying classifications Issue: #483
name.abuchen.portfolio/src/name/abuchen/portfolio/model/Taxonomy.java
Fixed NPE when copying classifications
<ide><path>ame.abuchen.portfolio/src/name/abuchen/portfolio/model/Taxonomy.java <ide> public Taxonomy copy() <ide> { <ide> Taxonomy copy = new Taxonomy(this.name); <del> copy.setDimensions(new ArrayList<>(this.dimensions)); <add> if (this.dimensions != null) <add> copy.setDimens...
Java
agpl-3.0
d8fc2067ab9224d7c2f968160707e4b76f3d3fa0
0
SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart
/* * RESTHeart Security * * Copyright (C) SoftInstigate Srl * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
security/src/main/java/org/restheart/security/Configuration.java
/* * RESTHeart Security * * Copyright (C) SoftInstigate Srl * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Improve log error message for wrong proxy pass of 'restheart' proxy
security/src/main/java/org/restheart/security/Configuration.java
Improve log error message for wrong proxy pass of 'restheart' proxy
<ide><path>ecurity/src/main/java/org/restheart/security/Configuration.java <ide> <ide> if (listOfProxyPass.isEmpty() <ide> || !(listOfProxyPass.get(0) instanceof String)) { <del> throw new ConfigurationException("Wrong proxy pass ULR " <add> throw new Confi...
Java
apache-2.0
2efd285ca50013d4cc36bbb6a67dce1ff9ea995a
0
realityforge/arez,realityforge/arez,realityforge/arez
package arez; import arez.spy.ComputeCompletedEvent; import arez.spy.ComputeStartedEvent; import arez.spy.ObserverDisposedEvent; import arez.spy.ReactionCompletedEvent; import arez.spy.ReactionStartedEvent; import java.util.ArrayList; import java.util.HashSet; import java.util.Objects; import java.util.stream.Collecto...
core/src/main/java/arez/Observer.java
package arez; import arez.spy.ComputeCompletedEvent; import arez.spy.ComputeStartedEvent; import arez.spy.ObserverDisposedEvent; import arez.spy.ReactionCompletedEvent; import arez.spy.ReactionStartedEvent; import java.util.ArrayList; import java.util.HashSet; import java.util.Objects; import java.util.stream.Collecto...
Simplify code. Complexity no longer required with the latest architecture
core/src/main/java/arez/Observer.java
Simplify code. Complexity no longer required with the latest architecture
<ide><path>ore/src/main/java/arez/Observer.java <ide> <ide> boolean isComputedValue() <ide> { <del> /* <del> * We do not use "null != _derivedValue" as it is called from constructor of observable <del> * prior to assigning it to _derivedValue. However it is only called if Arez.shouldEnforceTransactionTy...
Java
agpl-3.0
30a4edbdbcd2b77f773857111278835644f43d20
0
rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,tdefilip/opennms,rdkgit/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,aihua/opennms,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,tdefilip/opennms,aihua/opennms,roskens/opennms-pre-github,tdefilip/openn...
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(R) is...
features/topology-map/org.opennms.features.topology.app/src/main/java/org/opennms/features/topology/app/internal/jung/D3TopoLayout.java
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(R) is...
update layout
features/topology-map/org.opennms.features.topology.app/src/main/java/org/opennms/features/topology/app/internal/jung/D3TopoLayout.java
update layout
<ide><path>eatures/topology-map/org.opennms.features.topology.app/src/main/java/org/opennms/features/topology/app/internal/jung/D3TopoLayout.java <ide> //initialize the weights <ide> for(V v : getGraph().getVertices()) { <ide> VertexData vData = getVertexData(v); <del> vData.setWe...
Java
lgpl-2.1
b47146e3b0b4942e5227e38803ab378c94b57b90
0
kevin-chen-hw/LDAE,kevin-chen-hw/LDAE
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2008-2011, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. *...
com.huawei.soa.ldae/src/ldae/java/org/hibernate/action/internal/CollectionUpdateAction.java
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2008-2011, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. *...
use PartitionInfoService to replace PartitionIntegrationFactory
com.huawei.soa.ldae/src/ldae/java/org/hibernate/action/internal/CollectionUpdateAction.java
use PartitionInfoService to replace PartitionIntegrationFactory
<ide><path>om.huawei.soa.ldae/src/ldae/java/org/hibernate/action/internal/CollectionUpdateAction.java <ide> import org.hibernate.pretty.MessageHelper; <ide> <ide> import com.huawei.soa.ldae.partition.PartitionInfo; <add>import com.huawei.soa.ldae.partition.PartitionInfoServices; <ide> import com.huawei.soa.ldae.partit...
JavaScript
mit
aea93fdcf48c4e37d4196db2530eed46c1f29d83
0
Keyang/node-csvtojson,Keyang/node-csvtojson
module.exports = { "name": "jsonarray", "processSafe":true, "regExp": /^\*jsonarray\*/, "parserFunc": function parser_jsonarray (params) { var fieldStr = params.head.replace(this.regExp, ""); var headArr = fieldStr.split('.'); var pointer = params.resultRow; while (headArr.length > 1) { ...
libs/core/defaultParsers/parser_jsonarray.js
module.exports = { "name": "jsonarray", "processSafe":true, "regExp": /^\*jsonarray\*/, "parserFunc": function parser_jsonarray (params) { var fieldStr = params.head.replace(this.regExp, ""); var headArr = (params.config && params.config.noNesting === true) ? [fieldStr] : fieldStr.split('.'); ...
Reverted applying --noNesting to classic 'jsonarray' parser.
libs/core/defaultParsers/parser_jsonarray.js
Reverted applying --noNesting to classic 'jsonarray' parser.
<ide><path>ibs/core/defaultParsers/parser_jsonarray.js <ide> "regExp": /^\*jsonarray\*/, <ide> "parserFunc": function parser_jsonarray (params) { <ide> var fieldStr = params.head.replace(this.regExp, ""); <del> var headArr = (params.config && params.config.noNesting === true) ? [fieldStr] : fieldStr.split('....
Java
mpl-2.0
78eb6f599a7a6cbd7090eb884e2f7479901e200e
0
msteinhoff/hello-world
5fb5357d-cb8e-11e5-88b6-00264a111016
src/main/java/HelloWorld.java
5fa6ec94-cb8e-11e5-88c7-00264a111016
Did ANOTHER thing
src/main/java/HelloWorld.java
Did ANOTHER thing
<ide><path>rc/main/java/HelloWorld.java <del>5fa6ec94-cb8e-11e5-88c7-00264a111016 <add>5fb5357d-cb8e-11e5-88b6-00264a111016
Java
mit
d99ba39c33b9c1dc0aed647726e0c28f4aa11dcf
0
CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab
package org.xcolab.portlets.proposals.permissions; import javax.portlet.PortletRequest; import com.liferay.portal.model.MembershipRequestConstants; import org.xcolab.portlets.proposals.utils.ProposalsActions; import com.ext.portlet.contests.ContestStatus; import com.ext.portlet.model.ContestPhase; import com.liferay...
portlets/proposals-portlet/src/main/java/org/xcolab/portlets/proposals/permissions/ProposalsPermissions.java
package org.xcolab.portlets.proposals.permissions; import javax.portlet.PortletRequest; import com.liferay.portal.model.MembershipRequestConstants; import org.xcolab.portlets.proposals.utils.ProposalsActions; import com.ext.portlet.contests.ContestStatus; import com.ext.portlet.model.ContestPhase; import com.liferay...
added contest scope to fellow and judge permissions
portlets/proposals-portlet/src/main/java/org/xcolab/portlets/proposals/permissions/ProposalsPermissions.java
added contest scope to fellow and judge permissions
<ide><path>ortlets/proposals-portlet/src/main/java/org/xcolab/portlets/proposals/permissions/ProposalsPermissions.java <ide> } <ide> <ide> public boolean getCanFellowActions() { <del> return permissionChecker.hasPermission(scopeGroupId, portletId, primKey, ProposalsActions.CAN_FELLOW_ACTIONS); <add> ...
JavaScript
mit
fd57cb0b3b49fed9bb66a00832307f6fa051ea8d
0
webgme/webgme-domain-tools,webgme/webgme-domain-tools,webgme/webgme-domain-tools
/* * Copyright (C) 2014 Vanderbilt University, All rights reserved. * * Author: Robert Kereskenyi * Dana Zhang */ "use strict"; define(['js/Widgets/DiagramDesigner/Connection', 'js/Constants'], function (Connection, CONSTANTS) { var NetLabelConnection; NetLabelConnection = function (ob...
src/widgets/NetLabel/NetLabelConnection.js
/* * Copyright (C) 2014 Vanderbilt University, All rights reserved. * * Author: Robert Kereskenyi * Dana Zhang */ "use strict"; define(['js/Widgets/DiagramDesigner/Connection', 'js/Constants'], function (Connection, CONSTANTS) { var NetLabelConnection; NetLabelConnection = function (ob...
GH-18 Offsetting the ports a bit to clean up model
src/widgets/NetLabel/NetLabelConnection.js
GH-18 Offsetting the ports a bit to clean up model
<ide><path>rc/widgets/NetLabel/NetLabelConnection.js <ide> dstLabel = netLabel.clone(), <ide> dstID = self._generateHash(self.dstID), <ide> dstLabelID = 'L' + dstID,//self.id <del> OFFSET = 5, <add> OFFSET = self.dstText.length >= 11 ? 60 : 20, <ide> ...
JavaScript
mpl-2.0
22d504b614d084ad9c1eb68e1c46a1d37f86f560
0
dethe/drawingboard,dethe/drawingboard
/* globals dom file KellyColorPicker palettes toDataURL canvas saveAs saveBlob GIF*/ const mouse = {}; const DEG = 180 / Math.PI; const degrees = rads => rads * DEG; const radians = degs => degs / DEG; const ZOOMIN = 1.2; const ZOOMOUT = 1 / ZOOMIN; let currentColor = '#000000'; let currentFrameDelay = 30; // mi...
js/script.js
/* globals dom file KellyColorPicker palettes toDataURL canvas saveAs saveBlob GIF*/ const mouse = {}; const DEG = 180 / Math.PI; const degrees = rads => rads * DEG; const radians = degs => degs / DEG; const ZOOMIN = 1.2; const ZOOMOUT = 1 / ZOOMIN; let currentColor = '#000000'; let currentFrameDelay = 30; // mi...
���� Checkpoint ./js/script.js:739936/124
js/script.js
���� Checkpoint ./js/script.js:739936/124
<ide><path>s/script.js <ide> }); <ide> animationToImages().forEach(img => gif.addFrame(img)); <ide> gif.on('finished', function(blob) { <del> window.open(URL.createObjectURL(blob)); <add> console.log('gif completed'); <add> saveBlob(blob, 'animation.gif'); <ide> }); <del> <del>gif.render();} <add> gif...
Java
lgpl-2.1
518ee4a3a73a15d0f828176936854e6e15d9cd32
0
harvard-lts/fits,harvard-lts/fits
/********************************************************************** * Copyright (c) 2009 by the President and Fellows of Harvard College * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
src/edu/harvard/hul/ois/fits/XmlContentConverter.java
/********************************************************************** * Copyright (c) 2009 by the President and Fellows of Harvard College * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Found...
fixed bug when converting to document md and page count is null
src/edu/harvard/hul/ois/fits/XmlContentConverter.java
fixed bug when converting to document md and page count is null
<ide><path>rc/edu/harvard/hul/ois/fits/XmlContentConverter.java <ide> <ide> switch (fitsElem) { <ide> case pageCount: <del> dm.docMD.setPageCount (intValue); <add> if(intValue != null) <add> dm.docMD.setPageCount (intValue)...
Java
apache-2.0
8150cf84b2f34eac46ba3c193c2c138259baec23
0
apache/syncope,apache/syncope,ilgrosso/syncope,ilgrosso/syncope,tmess567/syncope,apache/syncope,ilgrosso/syncope,nscendoni/syncope,nscendoni/syncope,ilgrosso/syncope,tmess567/syncope,nscendoni/syncope,nscendoni/syncope,tmess567/syncope,apache/syncope,tmess567/syncope
/* * 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 ...
client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/AbstractBaseResource.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 ...
[SYNCOPE-927] Captcha check improved
client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/AbstractBaseResource.java
[SYNCOPE-927] Captcha check improved
<ide><path>lient/enduser/src/main/java/org/apache/syncope/client/enduser/resources/AbstractBaseResource.java <ide> } <ide> <ide> protected final boolean captchaCheck(final String enteredCaptcha, final Object currentCaptcha) { <del> String toCheck = currentCaptcha.toString(); <add> <ide> return S...
Java
apache-2.0
ea74565b5e0095f2b99be8431a683fab3442c275
0
sankarh/hive,anishek/hive,jcamachor/hive,lirui-apache/hive,sankarh/hive,jcamachor/hive,lirui-apache/hive,nishantmonu51/hive,lirui-apache/hive,nishantmonu51/hive,vineetgarg02/hive,vineetgarg02/hive,anishek/hive,nishantmonu51/hive,nishantmonu51/hive,anishek/hive,jcamachor/hive,lirui-apache/hive,lirui-apache/hive,anishek/...
/* * 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 ...
storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.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 ...
HIVE-23295 : Possible NPE when on getting predicate literal list when dynamic values are not available (Attila Magyar via Jason Dere) Signed-off-by: Ashutosh Chauhan <c5d41606feead64bfdd91acad8ffb47026db2f38@apache.org>
storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java
HIVE-23295 : Possible NPE when on getting predicate literal list when dynamic values are not available (Attila Magyar via Jason Dere)
<ide><path>torage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java <ide> import java.util.ArrayDeque; <ide> import java.util.ArrayList; <ide> import java.util.Arrays; <add>import java.util.Collections; <ide> import java.util.Deque; <ide> import java.util.HashMap; <ide> import java.util.HashSet; <i...
Java
mit
59eff3b3652b8e38897e3882cbb46efbaadd5acf
0
servicosgoval/portal-de-servicos,servicosgovbr/portal-de-servicos,servicosgovbr/portal-de-servicos,servicosgoval/portal-de-servicos,servicosgovbr/portal-de-servicos,servicosgoval/portal-de-servicos,servicosgoval/portal-de-servicos,servicosgoval/portal-de-servicos,servicosgoval/portal-de-servicos,servicosgovbr/portal-de...
package br.gov.servicos.orgao; import br.gov.servicos.Main; import br.gov.servicos.config.PortalDeServicosIndex; import br.gov.servicos.v3.schema.Orgao; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
src/test/java/br/gov/servicos/orgao/OrgaoControllerIntegrationTest.java
package br.gov.servicos.orgao; import br.gov.servicos.Main; import br.gov.servicos.v3.schema.Orgao; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test...
limpa base antes de rodar teste
src/test/java/br/gov/servicos/orgao/OrgaoControllerIntegrationTest.java
limpa base antes de rodar teste
<ide><path>rc/test/java/br/gov/servicos/orgao/OrgaoControllerIntegrationTest.java <ide> package br.gov.servicos.orgao; <ide> <ide> import br.gov.servicos.Main; <add>import br.gov.servicos.config.PortalDeServicosIndex; <ide> import br.gov.servicos.v3.schema.Orgao; <add>import org.junit.Before; <ide> import org.junit.Te...
Java
apache-2.0
6ea98f73492b65ff0c0c1e20646f70a295c1a034
0
ekux44/HueMore,ekux44/LampShade
package com.kuxhausen.huemore; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.content.res.Configuration; import android.nfc.NfcAdapter; import android.os.Bundle; import android.preference.PreferenceManager; import android.support...
app/src/com/kuxhausen/huemore/MainActivity.java
package com.kuxhausen.huemore; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.content.res.Configuration; import android.nfc.NfcAdapter; import android.os.Bundle; import android.preference.PreferenceManager; import android.support...
reorganized MainActivity to issolate billing and app initialization
app/src/com/kuxhausen/huemore/MainActivity.java
reorganized MainActivity to issolate billing and app initialization
<ide><path>pp/src/com/kuxhausen/huemore/MainActivity.java <ide> private MainActivity m; <ide> Inventory lastQuerriedInventory; <ide> public GetBulbList.OnBulbListReturnedListener bulbListenerFragment; <del> private NfcAdapter nfcAdapter; <ide> <ide> public void setBulbListenerFragment(GetBulbList.OnBulbListReturn...
Java
apache-2.0
1b03f3e9c9c2f48c295362ced1cf2aa3f6403020
0
criccomini/ezdb
package ezdb.lsmtree; import java.io.File; import java.io.IOException; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import ezdb.Db; import ezdb.RangeTable; import ezdb.Table; import ezdb.comparator.ComparableComparator; import ezdb.serde.Serde; import ezdb.serde.VoidSerde; public clas...
ezdb-lsmtree/src/main/java/ezdb/lsmtree/EzLsmTreeDb.java
package ezdb.lsmtree; import java.io.File; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import ezdb.Db; import ezdb.RangeTable; import ezdb.Table; import ezdb.comparator.ComparableComparator; import ezdb.serde.Serde; import ezdb.serde.VoidSerde; public class EzLsmTreeDb implements Db<...
tests green now
ezdb-lsmtree/src/main/java/ezdb/lsmtree/EzLsmTreeDb.java
tests green now
<ide><path>zdb-lsmtree/src/main/java/ezdb/lsmtree/EzLsmTreeDb.java <ide> package ezdb.lsmtree; <ide> <ide> import java.io.File; <add>import java.io.IOException; <ide> import java.util.Comparator; <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> @Override <ide> public void deleteTable(final String ta...
JavaScript
mit
67724b05d47488a70915de90870fa799099f7d12
0
alexn1/qforms,alexn1/qforms,alexn1/qforms
'use strict'; module.exports = DataSource; var util = require('util'); var Model = require('../Model'); var Application = require('../Application/Application'); var Page = require('../Page/Page'); var Form = require('../Form/Form'); util.inherits(DataSource, Model); ////////////////////////////...
engine/backend/viewer/Model/DataSource/DataSource.js
'use strict'; module.exports = DataSource; var util = require('util'); var Model = require('../Model'); var Application = require('../Application/Application'); var Page = require('../Page/Page'); var Form = require('../Form/Form'); util.inherits(DataSource, Model); ////////////////////////////...
data source key columns check
engine/backend/viewer/Model/DataSource/DataSource.js
data source key columns check
<ide><path>ngine/backend/viewer/Model/DataSource/DataSource.js <ide> DataSource.prototype.init = function(callback) { <ide> var self = this; <ide> DataSource.super_.prototype.init.call(this, function() { <add> if (self.data.keyColumns === undefined || Object.keys(self.data.keyColumns).length === 0) { <ad...
JavaScript
isc
aba7e46d17973c7f256e6e9bd067bbb0e3b004dd
0
hola/hola_player
'use strict'; var videojs = window.videojs = require('video.js'); require('./css/videojs.css'); // auto injected var mime = require('./mime.js'); var util = require('./util.js'); var id3 = require('./id3.js'); var hlsjs_source_handler = require('@hola.org/hap.js/lib/hola_videojs_hls.js'); var flashls_source_handler = r...
src/hola_player.js
'use strict'; var videojs = window.videojs = require('video.js'); require('./css/videojs.css'); // auto injected var mime = require('./mime.js'); var util = require('./util.js'); var id3 = require('./id3.js'); var hlsjs_source_handler = require('@hola.org/hap.js/lib/hola_videojs_hls.js'); var flashls_source_handler = r...
take localization strings from spark.player.strings, add force_language option
src/hola_player.js
take localization strings from spark.player.strings, add force_language option
<ide><path>rc/hola_player.js <ide> var url = require('url'); <ide> var map = require('lodash/map'); <ide> var pick = require('lodash/pick'); <add>var omit = require('lodash/omit'); <ide> <ide> (function(){ <ide> hlsjs_source_handler.attach(); <ide> } <ide> <ide> function set_defaults(element, opt){ <del> if (h...
Java
apache-2.0
ba75e27f6e922ceb649360ff5626d79c759d88ca
0
BCjwhisenant/android-player-samples,BrightcoveOS/android-player-samples
package com.brightcove.player.samples.thumbnail; import android.os.Bundle; import android.util.Log; import com.brightcove.player.edge.Catalog; import com.brightcove.player.edge.VideoListener; import com.brightcove.player.event.EventEmitter; import com.brightcove.player.mediacontroller.ThumbnailComponent; import com.b...
brightcove-exoplayer/ThumbnailScrubberSampleApp/src/main/java/com/brightcove/player/samples/thumbnail/MainActivity.java
package com.brightcove.player.samples.thumbnail; import android.os.Bundle; import android.util.Log; import com.brightcove.player.edge.Catalog; import com.brightcove.player.edge.VideoListener; import com.brightcove.player.event.EventEmitter; import com.brightcove.player.mediacontroller.ThumbnailComponent; import com.b...
Updated the sample and code doc - Delivery Rule no longer needed
brightcove-exoplayer/ThumbnailScrubberSampleApp/src/main/java/com/brightcove/player/samples/thumbnail/MainActivity.java
Updated the sample and code doc - Delivery Rule no longer needed
<ide><path>rightcove-exoplayer/ThumbnailScrubberSampleApp/src/main/java/com/brightcove/player/samples/thumbnail/MainActivity.java <ide> import com.brightcove.player.event.EventEmitter; <ide> import com.brightcove.player.mediacontroller.ThumbnailComponent; <ide> import com.brightcove.player.model.Video; <del>import com....
Java
apache-2.0
006a3fa91fd7a3bc4895188b4b569c1835ed53a7
0
EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci
package uk.ac.ebi.spot.goci.curation.controller; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.apache.poi.openxml4j.exceptions.InvalidOperationException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.sp...
goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/AssociationController.java
package uk.ac.ebi.spot.goci.curation.controller; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.apache.poi.openxml4j.exceptions.InvalidOperationException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.sp...
Added further comments
goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/AssociationController.java
Added further comments
<ide><path>oci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/AssociationController.java <ide> <ide> } <ide> <del> /* Approve snp associations */ <del> // Approve a SNP association <add> <add> // Approve a single SNP association <ide> @RequestMapping(value = "associat...
Java
apache-2.0
98eee3b34ec729adce35e8814d56fe0967bf16af
0
rozza/mongo-java-driver,jsonking/mongo-java-driver,PSCGroup/mongo-java-driver,jyemin/mongo-java-driver,jsonking/mongo-java-driver,kay-kim/mongo-java-driver,rozza/mongo-java-driver,jyemin/mongo-java-driver,gianpaj/mongo-java-driver
/* * Copyright (c) 2008-2014 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
driver-core/src/main/com/mongodb/connection/CommandResultCallback.java
/* * Copyright (c) 2008-2014 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Catch decoding errors in CommandResultCallback
driver-core/src/main/com/mongodb/connection/CommandResultCallback.java
Catch decoding errors in CommandResultCallback
<ide><path>river-core/src/main/com/mongodb/connection/CommandResultCallback.java <ide> if (!ProtocolHelper.isCommandOk(response)) { <ide> callback.onResult(null, ProtocolHelper.getCommandFailureException(response, getServerAddress())); <ide> } else { <del> callback...
Java
apache-2.0
36a47f3611b2d062347f6b5660d4c761b320a6b8
0
rhuss/fabric8,EricWittmann/fabric8,dhirajsb/fabric8,EricWittmann/fabric8,sobkowiak/fabric8,KurtStam/fabric8,rajdavies/fabric8,chirino/fabric8v2,chirino/fabric8v2,rhuss/fabric8,sobkowiak/fabric8,EricWittmann/fabric8,zmhassan/fabric8,zmhassan/fabric8,dhirajsb/fabric8,christian-posta/fabric8,christian-posta/fabric8,christ...
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat 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/licenses/LICENSE-2.0 * * Unless required b...
fabric8-maven-plugin/src/main/java/io/fabric8/maven/JsonMojo.java
/** * Copyright 2005-2015 Red Hat, Inc. * * Red Hat 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/licenses/LICENSE-2.0 * * Unless required b...
fixes #4788 so that we can configure the project to remove the version label from the generated service selector if need be
fabric8-maven-plugin/src/main/java/io/fabric8/maven/JsonMojo.java
fixes #4788 so that we can configure the project to remove the version label from the generated service selector if need be
<ide><path>abric8-maven-plugin/src/main/java/io/fabric8/maven/JsonMojo.java <ide> @Parameter(property = "fabric8.defaultPersistentVolumeClaimRequestsStorage", defaultValue = "20") <ide> private String defaultPersistentVolumeClaimRequestsStorage; <ide> <add> /** <add> * Should we remove the version label...
JavaScript
mit
3c4db791297ecc41e51fce179b6ae7ff0cedd48f
0
nypublicradio/nypr-account-settings,nypublicradio/nypr-account-settings
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; import { startMirage } from 'dummy/initializers/ember-cli-mirage'; import wait from 'ember-test-helpers/wait'; import sinon from 'sinon'; moduleForComponent('nypr-account-forms/verify', 'Integration | Component | nyp...
tests/integration/components/nypr-account-forms/verify-test.js
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; import { startMirage } from 'dummy/initializers/ember-cli-mirage'; import wait from 'ember-test-helpers/wait'; import sinon from 'sinon'; moduleForComponent('nypr-account-forms/verify', 'Integration | Component | nyp...
Test authorize header is added to request
tests/integration/components/nypr-account-forms/verify-test.js
Test authorize header is added to request
<ide><path>ests/integration/components/nypr-account-forms/verify-test.js <ide> integration: true, <ide> beforeEach() { <ide> this.server = startMirage(); <del> this.session = { authorize(_, callback) { callback('Authorization', 'foo'); } }; <add> this.session = { authorize(_, callback) { callback('authori...
Java
apache-2.0
b520672541a53bc37020955def75ee49de4be199
0
cstamas/orientdb,orientechnologies/orientdb,joansmith/orientdb,orientechnologies/orientdb,sanyaade-g2g-repos/orientdb,wouterv/orientdb,joansmith/orientdb,mbhulin/orientdb,tempbottle/orientdb,wyzssw/orientdb,giastfader/orientdb,cstamas/orientdb,mbhulin/orientdb,wouterv/orientdb,rprabhat/orientdb,mmacfadden/orientdb,intf...
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
core/src/main/java/com/orientechnologies/orient/core/metadata/OMetadata.java
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
https://github.com/nuvolabase/orientdb/issues/1225 create OTrigger class
core/src/main/java/com/orientechnologies/orient/core/metadata/OMetadata.java
https://github.com/nuvolabase/orientdb/issues/1225
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/metadata/OMetadata.java <ide> schema.create(); <ide> indexManager.create(); <ide> functionLibrary.create(); <add> security.createClassTrigger(); <ide> } <ide> <ide> public OSchema getSchema() {
JavaScript
mit
265dd5d5c7f09300ecdb62b125aebb4bacb578f8
0
weswigham/tempo-whats-up
var aspectRatio = 4; WinJS.Application.onready = function() { WinJS.UI.processAll(document.body).done(function() { var textInputBinding = WinJS.Binding.as({ text: "What are you working on?" }); var textOutput = document.querySelector(".primary-text-binding"); var container = document.query...
js/main.js
var aspectRatio = 4; WinJS.Application.onready = function() { WinJS.UI.processAll(document.body).done(function() { var textInputBinding = WinJS.Binding.as({ text: "What are you working on?" }); var textOutput = document.querySelector(".primary-text-binding"); var container = document.query...
fixes focusing more
js/main.js
fixes focusing more
<ide><path>s/main.js <ide> <ide> var textOutput = document.querySelector(".primary-text-binding"); <ide> var container = document.querySelector(".container"); <add> var hiddenText = document.querySelector(".textarea"); <ide> <ide> function onTextChanged(newValue, oldValue) { <ide> ...
Java
apache-2.0
97b768021e0485ce7b2c70e37b59044164115abc
0
aduprat/james,chibenwa/james,aduprat/james,rouazana/james,chibenwa/james,aduprat/james,rouazana/james,aduprat/james,chibenwa/james,rouazana/james,chibenwa/james,rouazana/james
/* * 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 ...
sandbox/james-jcr/src/main/java/org/apache/james/jcr/AvalonJCRMailRepository.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 ...
james-jcr: No need to hardcode the "jcr" URL scheme. git-svn-id: 88158f914d5603334254b4adf21dfd50ec107162@538886 13f79535-47bb-0310-9956-ffa450edef68
sandbox/james-jcr/src/main/java/org/apache/james/jcr/AvalonJCRMailRepository.java
james-jcr: No need to hardcode the "jcr" URL scheme.
<ide><path>andbox/james-jcr/src/main/java/org/apache/james/jcr/AvalonJCRMailRepository.java <ide> <ide> String path = <ide> configuration.getAttribute("destinationURL", "james:repository"); <del> if (path.startsWith("jcr://")) { <del> path = path.substring("jcr://".length()); <add...
Java
epl-1.0
872c4d4dff133bee1640ccc545b53cdc71893aaf
0
Wire82/org.openhab.binding.heos,Wire82/org.openhab.binding.heos
/** * Copyright (c) 2014-2016 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
src/main/java/org/openhab/binding/heos/handler/HeosBridgeHandler.java
/** * Copyright (c) 2014-2016 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
Structural Changes; Removal of Groups added Start Procedure updated to reflect waiting time during first heos connections
src/main/java/org/openhab/binding/heos/handler/HeosBridgeHandler.java
Structural Changes; Removal of Groups added
<ide><path>rc/main/java/org/openhab/binding/heos/handler/HeosBridgeHandler.java <ide> <ide> import static org.openhab.binding.heos.HeosBindingConstants.*; <ide> <add>import java.util.Collection; <ide> import java.util.HashMap; <ide> <add>import org.eclipse.smarthome.config.discovery.DiscoveryListener; <add>import or...
Java
apache-2.0
1209460b3486194592e7632f7c4ada497ab43fa0
0
OpenHFT/Chronicle-Core
package net.openhft.chronicle.core.internal.threads; import net.openhft.chronicle.core.Jvm; import net.openhft.chronicle.core.OS; import net.openhft.chronicle.core.threads.InterruptedRuntimeException; import net.openhft.chronicle.core.threads.ThreadLock; import net.openhft.chronicle.core.values.LongValue; import java...
src/main/java/net/openhft/chronicle/core/internal/threads/VanillaThreadLock.java
package net.openhft.chronicle.core.internal.threads; import net.openhft.chronicle.core.Jvm; import net.openhft.chronicle.core.OS; import net.openhft.chronicle.core.threads.InterruptedRuntimeException; import net.openhft.chronicle.core.threads.ThreadLock; import net.openhft.chronicle.core.values.LongValue; import java...
Fixed VanillaThreadLockTest causing link errors #326
src/main/java/net/openhft/chronicle/core/internal/threads/VanillaThreadLock.java
Fixed VanillaThreadLockTest causing link errors #326
<ide><path>rc/main/java/net/openhft/chronicle/core/internal/threads/VanillaThreadLock.java <ide> <ide> import java.io.File; <ide> <add>@Deprecated(/* to be removed in x.24 */) <ide> public class VanillaThreadLock implements ThreadLock { <ide> static final Metrics METRICS = new Metrics(); <ide> private static ...
JavaScript
isc
052abeaaddf42fe4b5c3a22cf604ded1b5238c45
0
michaelwoodson/woverlay,michaelwoodson/woverlay
'use strict'; const DEFAULT_SECONDS_TO_WAIT = 10; module.exports = waitFor; function waitFor(assertion, secondsToWait = DEFAULT_SECONDS_TO_WAIT) { return new Promise((resolve, reject) => { let counter = 0; if (assertion()) { resolve(); } else { let handle = setInterval(() => { if (assertion()) { ...
test/lib/wait.for.js
'use strict'; const DEFAULT_SECONDS_TO_WAIT = 10; module.exports = waitFor; function waitFor(assertion, secondsToWait = DEFAULT_SECONDS_TO_WAIT) { return new Promise((resolve, reject) => { let counter = 0; let handle = setInterval(() => { if (assertion()) { resolve(); clearInterval(handle); } else...
Check assertion before waiting.
test/lib/wait.for.js
Check assertion before waiting.
<ide><path>est/lib/wait.for.js <ide> function waitFor(assertion, secondsToWait = DEFAULT_SECONDS_TO_WAIT) { <ide> return new Promise((resolve, reject) => { <ide> let counter = 0; <del> let handle = setInterval(() => { <del> if (assertion()) { <del> resolve(); <del> clearInterval(handle); <del> } else if (...
Java
mit
error: pathspec 'src/com/jcwhatever/bukkit/generic/utils/ArrayUtils.java' did not match any file(s) known to git
17d9715f67a05fbbdcc69d148a0ba5dab2ced4a1
1
JCThePants/NucleusFramework,JCThePants/NucleusFramework
/* * This file is part of GenericsLib for Bukkit, licensed under the MIT License (MIT). * * Copyright (c) JCThePants (www.jcwhatever.com) * * 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 Softw...
src/com/jcwhatever/bukkit/generic/utils/ArrayUtils.java
add ArrayUtils
src/com/jcwhatever/bukkit/generic/utils/ArrayUtils.java
add ArrayUtils
<ide><path>rc/com/jcwhatever/bukkit/generic/utils/ArrayUtils.java <add>/* <add> * This file is part of GenericsLib for Bukkit, licensed under the MIT License (MIT). <add> * <add> * Copyright (c) JCThePants (www.jcwhatever.com) <add> * <add> * Permission is hereby granted, free of charge, to any person obtaining a copy ...
Java
apache-2.0
219431c99dbba8164dccfb110ea482bb246f6fdb
0
GerritCodeReview/plugins_branch-network,GerritCodeReview/plugins_branch-network
// Copyright (C) 2012 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
src/main/java/com/googlesource/gerrit/plugins/branchnetwork/data/GitCommitCacheRefresh.java
// Copyright (C) 2012 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Remove unnecessary LocalDiskRepositoryManager refresh The GitRepositoryManager implementation should be responsible for its own internal caches (if any). Here LocalDiskRepositoryManager already knows it created a new repository and has already updated its cached list information, before firing the event the plugin is ...
src/main/java/com/googlesource/gerrit/plugins/branchnetwork/data/GitCommitCacheRefresh.java
Remove unnecessary LocalDiskRepositoryManager refresh
<ide><path>rc/main/java/com/googlesource/gerrit/plugins/branchnetwork/data/GitCommitCacheRefresh.java <ide> import com.google.common.cache.LoadingCache; <ide> import com.google.gerrit.extensions.events.GitReferenceUpdatedListener; <ide> import com.google.gerrit.extensions.events.NewProjectCreatedListener; <del>import c...
Java
epl-1.0
5674935432da793708e8d7484c3ee61be6dc3c34
0
zsmartsystems/com.zsmartsystems.zigbee
/** * Copyright (c) 2016-2019 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
com.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/app/seclient/ZclKeyEstablishmentClient.java
/** * Copyright (c) 2016-2019 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
Reset CBKE when restarted after previous failure (#923) Signed-off-by: Chris Jackson <711c73f64afdce07b7e38039a96d2224209e9a6c@cd-jackson.com>
com.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/app/seclient/ZclKeyEstablishmentClient.java
Reset CBKE when restarted after previous failure (#923)
<ide><path>om.zsmartsystems.zigbee/src/main/java/com/zsmartsystems/zigbee/app/seclient/ZclKeyEstablishmentClient.java <ide> return false; <ide> } <ide> <del> if (state != KeyEstablishmentState.UNINITIALISED) { <add> if (state == KeyEstablishmentState.FAILED) { <add> logger....
Java
apache-2.0
5f25a1edc6a67b4c22235acab6cda5afd13bc7c1
0
chrisrhoden/PlayerHater,PRX/PlayerHater
package org.prx.android.playerhater; import java.io.FileDescriptor; import java.io.IOException; import android.app.Activity; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.media.AudioManager; import android.media.MediaPlay...
src/org/prx/android/playerhater/PlaybackService.java
package org.prx.android.playerhater; import java.io.FileDescriptor; import java.io.IOException; import android.app.Activity; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.media.AudioManager; import android.media.MediaPlay...
updating so that progress updater thread does not run when the audio is paused or stopped
src/org/prx/android/playerhater/PlaybackService.java
updating so that progress updater thread does not run when the audio is paused or stopped
<ide><path>rc/org/prx/android/playerhater/PlaybackService.java <ide> <ide> public boolean pause() throws IllegalStateException { <ide> mediaPlayer.pause(); <del> mNotificationHandler.stopNotification(); <add> mNotificationHandler.stopNotification(); <add> if (updateProgressThread != null && updateProgressThrea...
Java
epl-1.0
1b14e22106dc2af8030ffa9c0734ed95584cd1a6
0
owntracks/android,owntracks/android,owntracks/android
package org.owntracks.android.ui.preferences; import android.app.Fragment; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceCategory; import android.preference.PreferenceF...
project/app/src/main/java/org/owntracks/android/ui/preferences/PreferencesFragment.java
package org.owntracks.android.ui.preferences; import android.app.Fragment; import android.content.Intent; import android.content.pm.PackageManager; import android.net.Uri; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceCategory; import android.preference.PreferenceF...
Removed preferences for foreground/background locator accuracy. Now using fixed accuracy for all modes
project/app/src/main/java/org/owntracks/android/ui/preferences/PreferencesFragment.java
Removed preferences for foreground/background locator accuracy.
<ide><path>roject/app/src/main/java/org/owntracks/android/ui/preferences/PreferencesFragment.java <ide> <ide> private void populateScreenReporting(PreferenceScreen screen) { <ide> addToolbar(screen); <del> addSwitchPreference(screen, Preferences.Keys.PUB, R.string.preferencesBackgroundUpdates, R.str...
Java
apache-2.0
c906fb3691a4b22c0d368400f8cf7c468946c835
0
MatthewTamlin/AndroidUtilities
/* * Copyright 2016 Matthew Tamlin * * 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 ...
library/src/main/java/com/matthewtamlin/android_utilities/library/views/SquareImageView.java
/* * Copyright 2016 Matthew Tamlin * * 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 ...
Changed superclass to app compat version
library/src/main/java/com/matthewtamlin/android_utilities/library/views/SquareImageView.java
Changed superclass to app compat version
<ide><path>ibrary/src/main/java/com/matthewtamlin/android_utilities/library/views/SquareImageView.java <ide> <ide> import android.content.Context; <ide> import android.content.res.TypedArray; <add>import android.support.v7.widget.AppCompatImageView; <ide> import android.util.AttributeSet; <ide> import android.widget.I...
Java
apache-2.0
c4e6f37697c0c6eac89732da5dce0ae5a0245fe1
0
phax/ph-as4,phax/ph-as4
package com.helger.as4.CEF; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import javax.mail.Multipart; import javax.mail.internet.MimeMessage; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.apache.http.NoHttpResponseExce...
ph-as4-server-webapp-demo/src/test/java/com/helger/as4/CEF/AS4eSENSCEFOneWayTest.java
package com.helger.as4.CEF; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import javax.mail.Multipart; import javax.mail.internet.MimeMessage; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.apache.http.entity.StringEntit...
Timeout for retry test
ph-as4-server-webapp-demo/src/test/java/com/helger/as4/CEF/AS4eSENSCEFOneWayTest.java
Timeout for retry test
<ide><path>h-as4-server-webapp-demo/src/test/java/com/helger/as4/CEF/AS4eSENSCEFOneWayTest.java <ide> import javax.xml.parsers.DocumentBuilder; <ide> import javax.xml.parsers.DocumentBuilderFactory; <ide> <add>import org.apache.http.NoHttpResponseException; <ide> import org.apache.http.entity.StringEntity; <ide> impor...
Java
mit
e6f218611e2aaa5b38d27aab8d420a099a303826
0
canmogol/FatJar,canmogol/FatJar,canmogol/FatJar,canmogol/FatJar,canmogol/FatJar
package sample; import fatjar.*; import fatjar.dto.HttpMethod; import fatjar.dto.Param; import fatjar.dto.RequestKeys; import fatjar.dto.Status; import java.io.File; import java.util.*; import java.util.Date; import java.util.stream.Collectors; public class Main { public static void main(String[] args) { Main...
src/main/java/sample/Main.java
package sample; import fatjar.*; import fatjar.dto.HttpMethod; import fatjar.dto.Param; import fatjar.dto.RequestKeys; import fatjar.dto.Status; import java.io.File; import java.util.*; import java.util.Date; import java.util.stream.Collectors; public class Main { public static void main(String[] args) { Main...
jackson example added
src/main/java/sample/Main.java
jackson example added
<ide><path>rc/main/java/sample/Main.java <ide> }); <ide> res.write(); <ide> }) <add> .get("/toJackson", (req, res) -> { <add> JSON.create(JSON.Type.JacksonJSON).toJson(new MyPOJO("jack", 11)).ifPresent(res::setContent); <add> res.write(); <add> }) <add> .get("/fromJackson", (req, res) -> { <...
JavaScript
mit
0d0bfb1d5729a60ea0a9d9602d7634c802b37b18
0
ryantomlinson/hubot-scripts,jankowiakmaria/hubot-scripts,arcaartem/hubot-scripts,opentable/hubot-scripts
// Description: // Show current reviews api status page // // Dependencies: // None // // Configuration: // None // // Commands: // hubot status <application> <monitor> [<server>] - Returns the current state of the given application // hubot status show aliases - List all aliases // hubot status set alias <...
src/scripts/api-status.js
// Description: // Show current reviews api status page // // Dependencies: // None // // Configuration: // None // // Commands: // hubot status <application> <monitor> [<server>] - Returns the current state of the given application // hubot status show aliases - List all aliases // hubot status set alias <...
Making the request for the message body
src/scripts/api-status.js
Making the request for the message body
<ide><path>rc/scripts/api-status.js <ide> <ide> validateRequest(bits, msg, function(){ <ide> for(var i=0; i<bits.server.length; i++){ <del> sendRequest(buildUrl(bits.app, '/service-status/BuildVersion', bits.server[i]), msg, bits.server[i], function(message, servername){ <add> sendMes...
Java
lgpl-2.1
error: pathspec 'trunk/JLanguageTool/dev/de/danielnaber/languagetool/dev/Overview.java' did not match any file(s) known to git
63519373e5692fc97c100d2c98739ed42f1af72a
1
jimregan/languagetool,janissl/languagetool,meg0man/languagetool,jimregan/languagetool,jimregan/languagetool,languagetool-org/languagetool,jimregan/languagetool,janissl/languagetool,languagetool-org/languagetool,lopescan/languagetool,janissl/languagetool,jimregan/languagetool,lopescan/languagetool,lopescan/languagetool,...
/* LanguageTool, a natural language style checker * Copyright (C) 2006 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
trunk/JLanguageTool/dev/de/danielnaber/languagetool/dev/Overview.java
dev tool: list all supported languages and count their rules
trunk/JLanguageTool/dev/de/danielnaber/languagetool/dev/Overview.java
dev tool: list all supported languages and count their rules
<ide><path>runk/JLanguageTool/dev/de/danielnaber/languagetool/dev/Overview.java <add>/* LanguageTool, a natural language style checker <add> * Copyright (C) 2006 Daniel Naber (http://www.danielnaber.de) <add> * <add> * This library is free software; you can redistribute it and/or <add> * modify it under the terms of ...
JavaScript
mit
d339e5fc7f0ae98b19621f6d17a2380c12c115ee
0
othree/foxmosa-telegram-bot
var jsonfile = require('jsonfile'); var util = require('util'); var fetcher = require('fetch-er'); var token = jsonfile.readFileSync('token.json'); var chat_id = -5425916; var entrypoint = 'https://api.telegram.org/bot'; var baseurl = `${entrypoint}${token}/`; var getUpdateBase = `${baseurl}getUpdates`; var sendSt...
index.js
var jsonfile = require('jsonfile'); var util = require('util'); var fetcher = require('fetch-er'); var token = jsonfile.readFileSync('token.json'); var chat_id = -5425916; var entrypoint = 'https://api.telegram.org/bot'; var baseurl = `${entrypoint}${token}/`; var getUpdateBase = `${baseurl}getUpdates`; var sendSt...
Avoid dup message
index.js
Avoid dup message
<ide><path>ndex.js <ide> // console.log(JSON.stringify(value, null, 2)); <ide> for (let update of value.result) { <ide> if (update.update_id < lower) { continue; } <del> if (update.update_id > offset) { <add> if (update.update_id >= offset) { <ide> offset = update.update_id + 1; <ide> ...
Java
apache-2.0
7e232b3f65c00615b59d0735bbe2431e176d8659
0
josephcsible/GravityBox
/* * Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda) * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
src/com/ceco/lollipop/gravitybox/LockscreenAppBar.java
/* * Copyright (C) 2015 Peter Gregus for GravityBox Project (C3C076@xda) * 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 * * ...
Lockscreen shorcuts: initialize safe launch property at startup
src/com/ceco/lollipop/gravitybox/LockscreenAppBar.java
Lockscreen shorcuts: initialize safe launch property at startup
<ide><path>rc/com/ceco/lollipop/gravitybox/LockscreenAppBar.java <ide> mPrefs = prefs; <ide> mPm = mContext.getPackageManager(); <ide> mHandler = new Handler(); <add> mSafeLaunchEnabled = prefs.getBoolean( <add> GravityBoxSettings.PREF_KEY_LOCKSCREEN_SHORTCUT_SAFE_LAUNCH, f...
Java
apache-2.0
ed9dca060ddd0fbf2d264c0b977c5b09040bc92c
0
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
/** * 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 co...
litho-core/src/main/java/com/facebook/litho/LayoutState.java
/** * 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 co...
Prefetch display lists. Part 2. Break down `LayoutState.collectDisplayLists()` into smaller methods to reuse part of logic in `LayoutState.queueDisplayListsForPrefetch()` Summary: Refactoring `LayoutState.collectDisplayLists()` so that we can use some part of its logic in `LayoutState.queueDisplayListsForPrefetch()`. ...
litho-core/src/main/java/com/facebook/litho/LayoutState.java
Prefetch display lists. Part 2. Break down `LayoutState.collectDisplayLists()` into smaller methods to reuse part of logic in `LayoutState.queueDisplayListsForPrefetch()`
<ide><path>itho-core/src/main/java/com/facebook/litho/LayoutState.java <ide> import android.view.Window; <ide> import android.view.accessibility.AccessibilityManager; <ide> <add>import com.facebook.infer.annotation.ThreadConfined; <ide> import com.facebook.litho.animation.AnimationBinding; <ide> import com.facebook.li...
Java
mit
6d826016f05f3fe087afae88a064e0dd24dc6a85
0
yeputons/DbFall2013
package net.yeputons.cscenter.dbfall2013.util; import java.io.IOException; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.util.ArrayList; /** * Created with IntelliJ IDEA. * User: e.suvorov * Date: 11.10.13 * Time: 21:21 * To change this template use File | Settings | File Te...
src/main/java/net/yeputons/cscenter/dbfall2013/util/HugeMappedFile.java
package net.yeputons.cscenter.dbfall2013.util; import java.io.IOException; import java.nio.MappedByteBuffer; import java.nio.channels.FileChannel; import java.util.ArrayList; /** * Created with IntelliJ IDEA. * User: e.suvorov * Date: 11.10.13 * Time: 21:21 * To change this template use File | Settings | File Te...
HugeMappedFile: bugs in batch get/put were fixed
src/main/java/net/yeputons/cscenter/dbfall2013/util/HugeMappedFile.java
HugeMappedFile: bugs in batch get/put were fixed
<ide><path>rc/main/java/net/yeputons/cscenter/dbfall2013/util/HugeMappedFile.java <ide> while (i < value.length) { <ide> long startPos = position; <ide> long endPos = Math.min(startPos + value.length - i, (startPos | MAP_STEP_MSK) + 1); <del> MappedByteBuffer buf = getMap(endP...
Java
apache-2.0
50f3dec7c90cf419912faaef8ef8aead24d8c7a4
0
arteam/unitils,arteam/unitils,arteam/unitils
/* * Copyright 2006-2007, Unitils.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
src/test/java/org/unitils/dbmaintainer/script/impl/DefaultScriptSourceTest.java
/* * Copyright 2006-2007, Unitils.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Removed org.apache.commons.io.FileUtils dependencies and either replaced with 3rd party copy of unitils (copyFile) or with good enough inplace impl. of same method (deleteQuietly)
src/test/java/org/unitils/dbmaintainer/script/impl/DefaultScriptSourceTest.java
Removed org.apache.commons.io.FileUtils dependencies and either replaced with 3rd party copy of unitils (copyFile) or with good enough inplace impl. of same method (deleteQuietly)
<ide><path>rc/test/java/org/unitils/dbmaintainer/script/impl/DefaultScriptSourceTest.java <ide> <ide> import static org.junit.Assert.*; <ide> <del>import org.apache.commons.io.FileUtils; <ide> import org.junit.Before; <ide> import org.junit.Test; <ide> import org.unitils.UnitilsJUnit4; <ide> import org.unitils.dbmain...
JavaScript
agpl-3.0
ed0d9510191821ace9d9e502cf63c872a9c98a47
0
kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi
import _ from 'underscore'; import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import reactMixin from 'react-mixin'; import autoBind from 'react-autobind'; import Reflux from 'reflux'; import TagsInput from 'react-tagsinput'; import classNames from 'classnames'; import Sele...
jsapp/js/components/permissions/sharingForm.es6
import _ from 'underscore'; import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import reactMixin from 'react-mixin'; import autoBind from 'react-autobind'; import Reflux from 'reflux'; import TagsInput from 'react-tagsinput'; import classNames from 'classnames'; import Sele...
remove old form for adding permissions
jsapp/js/components/permissions/sharingForm.es6
remove old form for adding permissions
<ide><path>sapp/js/components/permissions/sharingForm.es6 <ide> class SharingForm extends React.Component { <ide> constructor(props) { <ide> super(props); <add> autoBind(this); <ide> this.state = { <del> userInputStatus: false, <del> permInput: 'view' <add> isAddUserEditorVisible: false <ide...
Java
apache-2.0
0fbbbd4e362a93dc76b073ee36d6848da86bae26
0
hohteri/xcode-maven-plugin,marcusholl/xcode-maven-plugin,marcusholl/xcode-maven-plugin,marcusholl/xcode-maven-plugin,hohteri/xcode-maven-plugin,sreedhargs89/xcode-maven-plugin,hohteri/xcode-maven-plugin,marcusholl/xcode-maven-plugin,sreedhargs89/xcode-maven-plugin,sreedhargs89/xcode-maven-plugin,sreedhargs89/xcode-mave...
/* * #%L * xcode-maven-plugin * %% * Copyright (C) 2012 SAP AG * %% * 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 ...
modules/xcode-maven-plugin/src/main/java/com/sap/prd/mobile/ios/mios/XCodeValidationCheckMojo.java
/* * #%L * xcode-maven-plugin * %% * Copyright (C) 2012 SAP AG * %% * 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 ...
Improve Logging.
modules/xcode-maven-plugin/src/main/java/com/sap/prd/mobile/ios/mios/XCodeValidationCheckMojo.java
Improve Logging.
<ide><path>odules/xcode-maven-plugin/src/main/java/com/sap/prd/mobile/ios/mios/XCodeValidationCheckMojo.java <ide> { <ide> final String verificationCheckClassName = checkDesc.getClazz(); <ide> try { <del> final Class<?> clazz = Class.forName(verificationCheckClassName, true, validationCheckRealm); <add> ...
Java
apache-2.0
19a564d1e993f4763acaed2b9912e652c965ecf0
0
cityzendata/warp10-platform,StevenLeRoux/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,cityzendata/warp10-platform,hbs/warp10-platform,hbs/warp10-platform,hbs/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,StevenLeRoux/warp10-platform
// // Copyright 2016 Cityzen Data // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
warp10/src/main/java/io/warp10/continuum/gts/FFT.java
// // Copyright 2016 Cityzen Data // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
Changed Einstein into WarpScript
warp10/src/main/java/io/warp10/continuum/gts/FFT.java
Changed Einstein into WarpScript
<ide><path>arp10/src/main/java/io/warp10/continuum/gts/FFT.java <ide> <ide> // <ide> // Do a trivial test to check if the number of values is a power of 2. <del> // This should be sufficient in the general case, i.e. GTS generated by Einstein. <add> // This should be sufficient in the general case, i...
Java
agpl-3.0
6ab21f2c0a7a5590764c765319cfa3118a2206f0
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
2fbc3bc2-2e60-11e5-9284-b827eb9e62be
hello.java
2fb6bac6-2e60-11e5-9284-b827eb9e62be
2fbc3bc2-2e60-11e5-9284-b827eb9e62be
hello.java
2fbc3bc2-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>2fb6bac6-2e60-11e5-9284-b827eb9e62be <add>2fbc3bc2-2e60-11e5-9284-b827eb9e62be
Java
mit
b6598fe298d9c579ee153b4a3e565804a52eef95
0
StenKoning/dea-code-examples,StenKoning/dea-code-examples,MartinKip/dea-code-examples,MartinKip/dea-code-examples,imacbest/dea-code-examples,dashorst/dea-code-examples,ddoa/dea-code-examples,MartinKip/dea-code-examples,ddoa/dea-code-examples,StenKoning/dea-code-examples,imacbest/dea-code-examples,MartinKip/dea-code-exa...
package nl.ica.ddoa.maven.example; import nl.ica.ddoa.sorter.client.SortService; import java.util.List; public final class SortClient { public static final int LENGTH = 10; private SortClient() {} public static void main( String[] args ) { SortClient sortClient = new SortClient(); ...
maven/SortClientApp/src/main/java/nl/ica/ddoa/maven/example/SortClient.java
package nl.ica.ddoa.maven.example; import nl.ica.ddoa.sorter.client.SortService; import java.util.List; public class SortClient { private SortClient() {} public static void main( String[] args ) { SortClient sortClient = new SortClient(); ListGenerator listGenerator = new ListGenerat...
Final class and Magic Number
maven/SortClientApp/src/main/java/nl/ica/ddoa/maven/example/SortClient.java
Final class and Magic Number
<ide><path>aven/SortClientApp/src/main/java/nl/ica/ddoa/maven/example/SortClient.java <ide> <ide> import java.util.List; <ide> <del>public class SortClient <add>public final class SortClient <ide> { <add> <add> public static final int LENGTH = 10; <add> <ide> private SortClient() <ide> {} <ide> <ide> ...
Java
apache-2.0
312ef0e53e5b8bde03695bae76f3763a96c96981
0
willr3/activemq-artemis,jmesnil/activemq-artemis,TomRoss/activemq-artemis,okalmanRH/jboss-activemq-artemis,mtaylor/activemq-artemis,rh-messaging/jboss-activemq-artemis,michaelandrepearce/activemq-artemis,mtaylor/activemq-artemis,lburgazzoli/apache-activemq-artemis,dejanb/activemq-artemis,iweiss/activemq-artemis,graben/...
/* * 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 n...
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.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 n...
Deploying instead of Trying to on logs
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
Deploying instead of Trying to on logs
<ide><path>rtemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java <ide> void serverStopped(String version, SimpleString nodeId, String uptime); <ide> <ide> @LogMessage(level = Logger.Level.INFO) <del> @Message(id = 221003, value = "Trying to deploy queue {0}", format = Me...
Java
apache-2.0
1cde5c70a7a101298836955dae85720efafe420e
0
sekikn/ambari,sekikn/ambari,radicalbit/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,sekikn/ambari,radicalbit/ambari,alexryndin/ambari,radicalbit/ambari,radicalbit/ambari,radicalbit/ambari,radicalbit/ambari,sekikn/ambar...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
ambari-server/src/main/java/org/apache/ambari/server/state/stack/LatestRepoCallable.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
AMBARI-10956. "Loading latest" log entry should include info about stack and version (dlysnichenko)
ambari-server/src/main/java/org/apache/ambari/server/state/stack/LatestRepoCallable.java
AMBARI-10956. "Loading latest" log entry should include info about stack and version (dlysnichenko)
<ide><path>mbari-server/src/main/java/org/apache/ambari/server/state/stack/LatestRepoCallable.java <ide> LOOKUP_CONNECTION_TIMEOUT, LOOKUP_READ_TIMEOUT, <ide> null, null, null); <ide> <del> LOG.info("Loading latest URL info from " + sourceUri); <add> LOG.info("Loading latest URL i...
Java
apache-2.0
ae6a32b4edc8bb23d5acbb0ddc6b32a829d1e08d
0
aseldawy/spatialhadoop,aseldawy/spatialhadoop,aseldawy/spatialhadoop,aseldawy/spatialhadoop,aseldawy/spatialhadoop,aseldawy/spatialhadoop,aseldawy/spatialhadoop,aseldawy/spatialhadoop,aseldawy/spatialhadoop
package edu.umn.cs.spatialHadoop.operations; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.HashSet; import java.util.Iterator; import java.util.Random; import java.util.Set; import java.util.Vector; import java.util.concurrent.atomic.AtomicInteger; import org.apache...
src/operations/edu/umn/cs/spatialHadoop/operations/KNN.java
package edu.umn.cs.spatialHadoop.operations; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.Iterator; import java.util.Random; import java.util.Vector; import java.util.concurrent.atomic.AtomicInteger; import org.apache.commons.logging.Log; import org.apache.commons....
Fixed a bug with KNN that generates duplicates in results
src/operations/edu/umn/cs/spatialHadoop/operations/KNN.java
Fixed a bug with KNN that generates duplicates in results
<ide><path>rc/operations/edu/umn/cs/spatialHadoop/operations/KNN.java <ide> import java.io.DataInput; <ide> import java.io.DataOutput; <ide> import java.io.IOException; <add>import java.util.HashSet; <ide> import java.util.Iterator; <ide> import java.util.Random; <add>import java.util.Set; <ide> import java.util.Vector...
Java
apache-2.0
944717975cfc397dfd482a06458810541dce92f8
0
rmetzger/flink,greghogan/flink,greghogan/flink,godfreyhe/flink,zentol/flink,aljoscha/flink,xccui/flink,zentol/flink,clarkyzl/flink,StephanEwen/incubator-flink,kl0u/flink,tillrohrmann/flink,gyfora/flink,StephanEwen/incubator-flink,rmetzger/flink,zentol/flink,wwjiang007/flink,clarkyzl/flink,xccui/flink,twalthr/flink,twal...
/* * 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 ...
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/sink/filesystem/StreamingFileSink.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 ...
[hotfix][docs] Fix typos in StreamingFileSink javadocs This closes #13819.
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/sink/filesystem/StreamingFileSink.java
[hotfix][docs] Fix typos in StreamingFileSink javadocs
<ide><path>link-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/sink/filesystem/StreamingFileSink.java <ide> // --------------------------- Sink Builders ----------------------------- <ide> <ide> /** <del> * Creates the builder for a {@code StreamingFileSink} with row-encoding format. <add> ...
Java
mpl-2.0
error: pathspec 'vcl/qa/complex/memCheck/CheckMemoryUsage.java' did not match any file(s) known to git
c2e7ae0b1f9cfca9b90255e2145982ac6a51c969
1
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
/************************************************************************* * * $RCSfile: CheckMemoryUsage.java,v $ * * $Revision: 1.2 $ * * last change: $Date: 2005-03-30 09:03:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * - ...
vcl/qa/complex/memCheck/CheckMemoryUsage.java
INTEGRATION: CWS vcl38 (1.1.6); FILE ADDED 2005/03/22 15:41:24 sg 1.1.6.1: #i44325#NEW: initial version
vcl/qa/complex/memCheck/CheckMemoryUsage.java
INTEGRATION: CWS vcl38 (1.1.6); FILE ADDED 2005/03/22 15:41:24 sg 1.1.6.1: #i44325#NEW: initial version
<ide><path>cl/qa/complex/memCheck/CheckMemoryUsage.java <add>/************************************************************************* <add> * <add> * $RCSfile: CheckMemoryUsage.java,v $ <add> * <add> * $Revision: 1.2 $ <add> * <add> * last change: $Date: 2005-03-30 09:03:39 $ <add> * <add> * The Contents of this ...
JavaScript
mit
2b4b9d84873ab1025d352e00169af7faaa3fba8f
0
iljamaas/vanilla-js-smartscroll,iljamaas/vanilla-js-smartscroll
/** * * Smartscroll * * 2014 Dreamsolution B.V., Delft, The Netherlands * */ var smartscroll = function () { 'use strict'; function createStyler(window) { var handle, // timeout handle stylers, // style create functions listeners; // resize listeners (function () ...
scroller.src.js
/** * * Smartscroll * * 2014 Dreamsolution B.V., Delft, The Netherlands * */ var smartscroll = function () { 'use strict'; function createStyler(window) { var handle, // timeout handle stylers, // style create functions listeners; // resize listeners (function () ...
also support nodes & nodelists as return value of renderfn
scroller.src.js
also support nodes & nodelists as return value of renderfn
<ide><path>croller.src.js <ide> <ide> if (!listchanged && startWith === curfirst + 1) { <ide> actualcontent.removeChild(actualcontent.firstChild); <del> actualcontent.insertAdjacentHTML('beforeend', <del> smartlist.renderItemAtPosition(curfirst + drawnum));...
JavaScript
mit
d54017ad9da7db0de404cfb86f197ed3bf702104
0
configit/ngyn
( function( angular ) { 'use strict'; /* * Applies the jQuery-based select2 to the selected element * * If a custom-rendering attribute is specified the default object structure is not used (id and text properties expected) * in favour of using the item itself. This is useful when used with input elem...
src/select2/select2.js
( function( angular ) { 'use strict'; /* * Applies the jQuery-based select2 to the selected element * * If a custom-rendering attribute is specified the default object structure is not used (id and text properties expected) * in favour of using the item itself. This is useful when used with input elem...
Ignore placeholder on empty
src/select2/select2.js
Ignore placeholder on empty
<ide><path>rc/select2/select2.js <ide> options.placeholderOption = function() { <ide> return elm.find( 'option[value=""],option[value="?"]' ); <ide> }; <del> <add> <ide> originalPlaceholderText = options.placeholderOption().text(); <ide> } <ide> <ide> ...
Java
apache-2.0
db4f55bdf9f9f0448592bd293868ff55ccbb997c
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui; import com.intellij.notification.EventLog; import com.intellij.notification.Notification; import com.intellij.notification.impl.NotificationCollector; im...
platform/platform-impl/src/com/intellij/ui/BalloonLayoutImpl.java
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui; import com.intellij.notification.EventLog; import com.intellij.notification.Notification; import com.intellij.notification.impl.NotificationCollector; im...
Fix balloon X location with new toolwindow stripes GitOrigin-RevId: 7b0f769b46a868ff561669f22acaa993d715dcbd
platform/platform-impl/src/com/intellij/ui/BalloonLayoutImpl.java
Fix balloon X location with new toolwindow stripes
<ide><path>latform/platform-impl/src/com/intellij/ui/BalloonLayoutImpl.java <ide> JComponent layeredPane = pane != null ? pane.getLayeredPane() : null; <ide> int eachColumnX = (layeredPane == null ? myLayeredPane.getWidth() : layeredPane.getX() + layeredPane.getWidth()) - 4; <ide> <add> if (pane != null && ...
Java
apache-2.0
1ec705372f659e7021c466f74a53969e77980939
0
fitermay/intellij-community,fitermay/intellij-community,apixandru/intellij-community,youdonghai/intellij-community,vvv1559/intellij-community,hurricup/intellij-community,mglukhikh/intellij-community,michaelgallacher/intellij-community,ThiagoGarciaAlves/intellij-community,vvv1559/intellij-community,mglukhikh/intellij-co...
package com.jetbrains.jsonSchema.impl; import com.intellij.json.psi.*; import com.intellij.lang.annotation.AnnotationHolder; import com.intellij.lang.annotation.AnnotationSession; import com.intellij.lang.annotation.Annotator; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Key; import ...
json/src/com/jetbrains/jsonSchema/impl/JsonBySchemaObjectAnnotator.java
package com.jetbrains.jsonSchema.impl; import com.intellij.json.psi.*; import com.intellij.lang.annotation.AnnotationHolder; import com.intellij.lang.annotation.AnnotationSession; import com.intellij.lang.annotation.Annotator; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Key; import ...
JsonBySchemaObjectAnnotator: remove unneeded logging
json/src/com/jetbrains/jsonSchema/impl/JsonBySchemaObjectAnnotator.java
JsonBySchemaObjectAnnotator: remove unneeded logging
<ide><path>son/src/com/jetbrains/jsonSchema/impl/JsonBySchemaObjectAnnotator.java <ide> import com.intellij.psi.PsiElement; <ide> import com.intellij.psi.PsiFile; <ide> import com.intellij.psi.util.PsiTreeUtil; <del>import com.intellij.util.Function; <ide> import com.intellij.util.ObjectUtils; <ide> import org.jetbrain...
Java
apache-2.0
dd91d3bce5d007e752fe20cfd3727bc1842c5fab
0
darlyhellen/oto,darlyhellen/oto,darlyhellen/oto,darlyhellen/oto,darlyhellen/oto,darlyhellen/oto,darlyhellen/oto,darlyhellen/oto
/**下午4:47:54 * @author zhangyh2 * CleanCache.java * TODO */ package com.darly.dlclent.common; import java.io.File; import java.util.ArrayList; import java.util.List; import com.darly.dlclent.R; import com.darly.dlclent.base.APPEnum; /** * @author zhangyh2 CleanCache 下午4:47:54 TODO 清理文件缓存 */ public class CleanC...
DLClent_A/src/com/darly/dlclent/common/CleanCache.java
/**下午4:47:54 * @author zhangyh2 * CleanCache.java * TODO */ package com.darly.dlclent.common; import java.io.File; import java.util.ArrayList; import java.util.List; import com.darly.dlclent.R; import com.darly.dlclent.base.APPEnum; /** * @author zhangyh2 CleanCache 下午4:47:54 TODO 清理文件缓存 */ public class CleanC...
Clear the cache, delete files, do not use clean folders, so keep the folder
DLClent_A/src/com/darly/dlclent/common/CleanCache.java
Clear the cache, delete files, do not use clean folders, so keep the folder
<ide><path>LClent_A/src/com/darly/dlclent/common/CleanCache.java <ide> } <ide> } <ide> } <del> dir.delete(); <add> if (dir.isFile()) { <add> dir.delete(); <add> } <ide> // 目录此时为空,可以删除 <ide> return true; <ide> }
Java
apache-2.0
3dfc665728e59133589fcd6137c5c63b30b78206
0
maxcom/lorsource,maxcom/lorsource,maxcom/lorsource,maxcom/lorsource
/* * Copyright 1998-2022 Linux.org.ru * 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/main/java/ru/org/linux/auth/PasswordEncoderImpl.java
/* * Copyright 1998-2016 Linux.org.ru * 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...
обработка ошибок в password encoder
src/main/java/ru/org/linux/auth/PasswordEncoderImpl.java
обработка ошибок в password encoder
<ide><path>rc/main/java/ru/org/linux/auth/PasswordEncoderImpl.java <ide> /* <del> * Copyright 1998-2016 Linux.org.ru <add> * Copyright 1998-2022 Linux.org.ru <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in compliance with the License. <ide> * ...
JavaScript
mit
0bb3468fc1ef3d46ab2c29ea25bda058a049cb69
0
Testoni/angular-input-masks,smilight/angular-input-masks,cdupoiron/angular-input-masks,neokyox/angular-input-masks,smilight/angular-input-masks,assisrafael/angular-input-masks,aktary/angular-input-masks,anisdjer/angular-input-masks,assisrafael/angular-input-masks,Testoni/angular-input-masks,pavelpykhtin/angular-input-m...
describe('ui-date-mask', function() { beforeEach(module('ui.utils.masks.global.date')); it('should throw an error if used without ng-model', function() { expect(function() { TestUtil.compile('<input ui-date-mask>'); }).toThrow(); }); it('should throw an error if moment.js is not found', function() { var ...
src/global/date/date.test.js
describe('ui-date-mask', function() { beforeEach(module('ui.utils.masks.global.date')); it('should throw an error if used without ng-model', function() { expect(function() { TestUtil.compile('<input ui-date-mask>'); }).toThrow(); }); it('should throw an error if moment.js is not found', function() { var ...
test(ui-date-mask): add tests for corner cases
src/global/date/date.test.js
test(ui-date-mask): add tests for corner cases
<ide><path>rc/global/date/date.test.js <ide> var model = input.controller('ngModel'); <ide> expect(model.$viewValue).toBe('1999-12-31'); <ide> }); <add> <add> it('should ignore non digits', function() { <add> var input = TestUtil.compile('<input ng-model="model" ui-date-mask>'); <add> var model = input.controlle...
Java
apache-2.0
64ff246c0cd574f28e4f8b40150328656726808c
0
voxeolabs/moho,voxeolabs/moho
/** * Copyright 2010-2011 Voxeo Corporation * * 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...
moho-common/src/main/java/com/voxeo/moho/common/event/MohoOutputCompleteEvent.java
/** * Copyright 2010-2011 Voxeo Corporation * * 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...
add log.
moho-common/src/main/java/com/voxeo/moho/common/event/MohoOutputCompleteEvent.java
add log.
<ide><path>oho-common/src/main/java/com/voxeo/moho/common/event/MohoOutputCompleteEvent.java <ide> public String getErrorText() { <ide> return _errorText; <ide> } <add> <add> @Override <add> public String toString() { <add> return String.format("[Event class=%s sourceClass=%s id=%s cause=%s ]", getClass(...
Java
epl-1.0
18a87a08551297d0fa5dae738b333e0ebd20a1c4
0
apetkau/blend4j,greenwoodma/blend4j,jmchilton/blend4j,greenwoodma/blend4j,jmchilton/blend4j,apetkau/blend4j
package com.github.jmchilton.blend4j.galaxy; import static org.testng.AssertJUnit.*; import com.github.jmchilton.blend4j.galaxy.beans.Workflow; import com.github.jmchilton.blend4j.galaxy.beans.WorkflowDetails; import com.github.jmchilton.blend4j.galaxy.beans.WorkflowInputDefinition; import com.github.jmchilton.blend4...
src/test/java/com/github/jmchilton/blend4j/galaxy/WorkflowsTest.java
package com.github.jmchilton.blend4j.galaxy; import static org.testng.AssertJUnit.*; import com.github.jmchilton.blend4j.galaxy.beans.Workflow; import com.github.jmchilton.blend4j.galaxy.beans.WorkflowDetails; import com.github.jmchilton.blend4j.galaxy.beans.WorkflowInputDefinition; import com.github.jmchilton.blend4...
Updated workflows test
src/test/java/com/github/jmchilton/blend4j/galaxy/WorkflowsTest.java
Updated workflows test
<ide><path>rc/test/java/com/github/jmchilton/blend4j/galaxy/WorkflowsTest.java <ide> <ide> @Test <ide> public void testRunWorkflow() throws IOException, InterruptedException { <add> ensureHasTestWorkflow1(); <add> <ide> // Find history <ide> final String historyId = TestHelpers.getTestHistoryId(instance...
Java
apache-2.0
4b2667e6decbdf4e6cd16398a443588509081cb1
0
cometd/cometd,cometd/cometd,cometd/cometd,cometd/cometd
/* * Copyright (c) 2008-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
cometd-java/cometd-java-client/src/main/java/org/cometd/client/transport/LongPollingTransport.java
/* * Copyright (c) 2008-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
Fixes #787 - BayeuxClient sends multiple Cookie headers. Coalesced all cookies in one Cookie header, per specification.
cometd-java/cometd-java-client/src/main/java/org/cometd/client/transport/LongPollingTransport.java
Fixes #787 - BayeuxClient sends multiple Cookie headers.
<ide><path>ometd-java/cometd-java-client/src/main/java/org/cometd/client/transport/LongPollingTransport.java <ide> final Request request = _httpClient.newRequest(url).method(HttpMethod.POST); <ide> request.header(HttpHeader.CONTENT_TYPE.asString(), "application/json;charset=UTF-8"); <ide> <del> ...