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
bsd-3-clause
977751c41656e8d25ebe5237fc9e96779140b5fc
0
svn2github/semanticvectors,tuxdna/semanticvectors-googlecode,svn2github/semanticvectors,tuxdna/semanticvectors-googlecode,svn2github/semanticvectors,tuxdna/semanticvectors-googlecode,tuxdna/semanticvectors-googlecode,svn2github/semanticvectors
/** Copyright (c) 2008, University of Pittsburgh 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 ...
src/pitt/search/semanticvectors/TermTermVectorsFromLucene.java
/** Copyright (c) 2008, University of Pittsburgh 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 ...
Add a constructor that takes the additional parameters dimension and positionalmethod, making the constructor completely independent from Flags. git-svn-id: 08ea2b8556b98ff0c759f891b20f299445ddff2f@390 483481f0-a63c-0410-a8a8-396719eec1a4
src/pitt/search/semanticvectors/TermTermVectorsFromLucene.java
Add a constructor that takes the additional parameters dimension and positionalmethod, making the constructor completely independent from Flags.
<ide><path>rc/pitt/search/semanticvectors/TermTermVectorsFromLucene.java <ide> package pitt.search.semanticvectors; <ide> <ide> import java.util.Arrays; <del>import java.util.Hashtable; <ide> import java.util.Enumeration; <ide> import java.util.Random; <ide> import java.io.File; <ide> import java.io.IOException; <del>...
Java
apache-2.0
831201224a63bd8152bb9e8703cefe2d2aefe486
0
openanalytics/shinyproxy,openanalytics/shinyproxy,openanalytics/shinyproxy,openanalytics/shinyproxy
/** * ShinyProxy * * Copyright (C) 2016-2017 Open Analytics * * =========================================================================== * * This program is free software: you can redistribute it and/or modify * it under the terms of the Apache License as published by * The Apache Software Foundation, eithe...
src/main/java/eu/openanalytics/services/DockerService.java
/** * ShinyProxy * * Copyright (C) 2016-2017 Open Analytics * * =========================================================================== * * This program is free software: you can redistribute it and/or modify * it under the terms of the Apache License as published by * The Apache Software Foundation, eithe...
Rename name-networking to internal-networking I'm planning to add support for Kubernetes, and I don't think I'll be using the name based DNS system for that. I think it's better to describe this option as internal networking, which describes the what instead of the how.
src/main/java/eu/openanalytics/services/DockerService.java
Rename name-networking to internal-networking
<ide><path>rc/main/java/eu/openanalytics/services/DockerService.java <ide> throw new ShinyProxyException("Cannot start container: user " + userName + " already has a running proxy"); <ide> } <ide> <del> boolean nameNetworking = "true".equals(environment.getProperty("shiny.proxy.docker.name-networking")); <del>...
Java
mit
9345678127487d1a166bb0527f013d19976466f8
0
conveyal/datatools-manager,conveyal/datatools-manager,conveyal/datatools-manager,conveyal/datatools-manager
package com.conveyal.datatools.manager.models; import com.conveyal.datatools.editor.datastore.FeedTx; import com.conveyal.datatools.editor.datastore.GlobalTx; import com.conveyal.datatools.editor.datastore.VersionedDataStore; import com.conveyal.datatools.manager.DataManager; import com.conveyal.datatools.manager.auth...
src/main/java/com/conveyal/datatools/manager/models/FeedSource.java
package com.conveyal.datatools.manager.models; import com.conveyal.datatools.editor.datastore.FeedTx; import com.conveyal.datatools.editor.datastore.GlobalTx; import com.conveyal.datatools.editor.datastore.VersionedDataStore; import com.conveyal.datatools.manager.DataManager; import com.conveyal.datatools.manager.auth...
compute hash on and delete newGtfsFile in FeedSource.fetch
src/main/java/com/conveyal/datatools/manager/models/FeedSource.java
compute hash on and delete newGtfsFile in FeedSource.fetch
<ide><path>rc/main/java/com/conveyal/datatools/manager/models/FeedSource.java <ide> import com.conveyal.datatools.manager.auth.Auth0UserProfile; <ide> import com.conveyal.datatools.manager.jobs.NotifyUsersForSubscriptionJob; <ide> import com.conveyal.datatools.manager.persistence.DataStore; <add>import com.conveyal.dat...
Java
apache-2.0
e67e58f6182319a923cd43461340bfc76149a31a
0
zimingd/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,Sage-Bionetworks/Synapse...
package org.sagebionetworks.table.cluster; import static org.sagebionetworks.repo.model.table.TableConstants.ROW_ID; import static org.sagebionetworks.repo.model.table.TableConstants.ROW_VERSION; import java.sql.Connection; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLExcep...
lib/lib-table-cluster/src/main/java/org/sagebionetworks/table/cluster/TableIndexDAOImpl.java
package org.sagebionetworks.table.cluster; import static org.sagebionetworks.repo.model.table.TableConstants.ROW_ID; import static org.sagebionetworks.repo.model.table.TableConstants.ROW_VERSION; import java.sql.Connection; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLExcep...
handle more than 64 columns for admin api
lib/lib-table-cluster/src/main/java/org/sagebionetworks/table/cluster/TableIndexDAOImpl.java
handle more than 64 columns for admin api
<ide><path>ib/lib-table-cluster/src/main/java/org/sagebionetworks/table/cluster/TableIndexDAOImpl.java <ide> } <ide> for (String index : indexes) { <ide> try { <del> template.update("alter table " + SQLUtils.getTableNameForId(tableId, TableType.INDEX) + " add " <del> + index); <add> template.update("a...
JavaScript
mit
57819540edf7fac7f80975c1910865692479cf2e
0
jordanco/drafter-frontend,jordanco/drafter-frontend,jordanco/drafter-frontend
import React, { Component } from 'react'; import { connect } from 'react-redux'; //import EmailReply from '../../components/email/reply'; import { sendEmail, changeEmailContent } from '../../actions/email/reply'; class EmailReply extends Component { onEmailChange(event) { this.props.onEmailChange(event.t...
src/app/containers/email/functionalities.js
import React, { Component } from 'react'; import { connect } from 'react-redux'; //import EmailReply from '../../components/email/reply'; import { sendEmail, changeEmailContent } from '../../actions/email/reply'; class EmailReply extends Component { onEmailChange(event) { this.props.onEmailChange(event.t...
send im
src/app/containers/email/functionalities.js
send im
<ide><path>rc/app/containers/email/functionalities.js <ide> // this.props.emailMsg.showLoader = false; <ide> // } <ide> <del> componentDidUpdate(){ <del> console.log("This update called props: ", this.props); <del> } <add> // componentDidUpdate(){ <add> // console.log("This update called p...
Java
apache-2.0
78c56fcdd73a73b3b6b1d0476e83721549b526d9
0
caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap
/* * Copyright © 2015-2016 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/services/ProgramLifecycleService.java
/* * Copyright © 2015-2016 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
CDAP-5574 dont log unnknown program type for custom action and webapp
cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/services/ProgramLifecycleService.java
CDAP-5574 dont log unnknown program type for custom action and webapp
<ide><path>dap-app-fabric/src/main/java/co/cask/cdap/internal/app/services/ProgramLifecycleService.java <ide> } <ide> } <ide> break; <add> case CUSTOM_ACTION: <add> case WEBAPP: <add> // no-op <add> break; <ide> default: <ide> ...
Java
apache-2.0
a5d6a9b78988f67e2adca7a90a56397c8b459418
0
kaaholst/android-squeezer
/* * Copyright (c) 2011 Kurt Aaholst <kaaholst@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Squeezer/src/main/java/uk/org/ngo/squeezer/model/JiveItem.java
/* * Copyright (c) 2011 Kurt Aaholst <kaaholst@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Removed custom node & reset archive weight
Squeezer/src/main/java/uk/org/ngo/squeezer/model/JiveItem.java
Removed custom node & reset archive weight
<ide><path>queezer/src/main/java/uk/org/ngo/squeezer/model/JiveItem.java <ide> public static final JiveItem EXTRAS = new JiveItem("extras", "home", R.string.EXTRAS, 50, Window.WindowStyle.HOME_MENU); <ide> public static final JiveItem SETTINGS = new JiveItem("settings", "home", R.string.SETTINGS, 1005, Window.W...
JavaScript
mit
4baf5749775c742de13485c1a0d8bd35ab321f0f
0
Jokero/transformer-chain
var validateValue = require('./validateValue'); /** * @param {*} value * @param {Object} config * @param {String[]} path * @param {Object} originalObject * * @returns {Promise} */ module.exports = function validateProperty(value, config, path, originalObject) { var promise; var validators = c...
lib/plugins/validate/validateProperty.js
var validateValue = require('./validateValue'); /** * @param {*} value * @param {Object} config * @param {String[]} path * @param {Object} originalObject * * @returns {Promise} */ module.exports = function validateProperty(value, config, path, originalObject) { var promise; var validators = c...
more compact
lib/plugins/validate/validateProperty.js
more compact
<ide><path>ib/plugins/validate/validateProperty.js <ide> var validators = config.validators; <ide> <ide> if (config.properties instanceof Object) { <del> validators = Object.assign({}, config.validators); <del> validators.type = 'object'; <add> validators = Object.assign({ type: 'obje...
Java
apache-2.0
6bfd682d15dd0eac77d7119a0f8dbe30bc0691bc
0
gpndata/cattle,yasker/cattle,stresler/cattle,kaos/cattle,stresler/cattle,yasker/cattle,rancherio/cattle,dx9/cattle,cjellick/cattle,sonchang/cattle,cjellick/cattle,imikushin/cattle,vincent99/cattle,cloudnautique/cloud-cattle,ubiquityhosting/rancher_cattle,rancherio/cattle,stresler/cattle,willseward/cattle,ubiquityhostin...
package io.cattle.platform.async.retry.impl; import io.cattle.platform.async.retry.CancelRetryException; import io.cattle.platform.async.retry.Retry; import io.cattle.platform.async.retry.RetryTimeoutService; import io.cattle.platform.async.utils.TimeoutException; import io.cattle.platform.util.concurrent.DelayedObjec...
code/framework/async/src/main/java/io/cattle/platform/async/retry/impl/RetryTimeoutServiceImpl.java
package io.cattle.platform.async.retry.impl; import io.cattle.platform.async.retry.CancelRetryException; import io.cattle.platform.async.retry.Retry; import io.cattle.platform.async.retry.RetryTimeoutService; import io.cattle.platform.util.concurrent.DelayedObject; import java.util.concurrent.DelayQueue; import java....
[async] wrong exception being thrown
code/framework/async/src/main/java/io/cattle/platform/async/retry/impl/RetryTimeoutServiceImpl.java
[async] wrong exception being thrown
<ide><path>ode/framework/async/src/main/java/io/cattle/platform/async/retry/impl/RetryTimeoutServiceImpl.java <ide> import io.cattle.platform.async.retry.CancelRetryException; <ide> import io.cattle.platform.async.retry.Retry; <ide> import io.cattle.platform.async.retry.RetryTimeoutService; <add>import io.cattle.platfo...
JavaScript
isc
ba87a49c1d4903e49496d866f283c057ef153974
0
dmmn/dlib,damienmortini/dlib
import WebSocket from "../utils/WebSocket.js"; import Keyboard from "../input/Keyboard.js"; import GUIInput from "./GUIInput.js"; let staticGUI; // STYLES let style = document.createElement("style"); document.head.appendChild(style); style.sheet.insertRule(` dlib-gui { display: block; position: absolute; ...
gui/GUI.js
import WebSocket from "../utils/WebSocket.js"; import Keyboard from "../input/Keyboard.js"; import GUIInput from "./GUIInput.js"; let staticGUI; // STYLES let style = document.createElement("style"); document.head.appendChild(style); style.sheet.insertRule(` dlib-gui { display: block; position: absolute; ...
add static update method to GUI
gui/GUI.js
add static update method to GUI
<ide><path>ui/GUI.js <ide> return staticGUI.open; <ide> } <ide> <add> static get update() { <add> return staticGUI.update; <add> } <add> <ide> static set serverUrl(value) { <ide> GUI._addStatic(); <ide> staticGUI.serverUrl = value;
Java
mpl-2.0
d38e186479299481ed28167662d8bfd6a79d78aa
0
trevorbernard/jeromq,zeromq/jeromq,zeromq/jeromq,c-rack/jeromq,fredoboulo/jeromq,fredoboulo/jeromq,trevorbernard/jeromq
/* Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2007-2009 iMatix Corporation Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
src/main/java/zmq/StreamEngine.java
/* Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2007-2009 iMatix Corporation Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
Fix issue #122 - handshake now uses ByteBuffer accessor methods directly
src/main/java/zmq/StreamEngine.java
Fix issue #122 - handshake now uses ByteBuffer accessor methods directly
<ide><path>rc/main/java/zmq/StreamEngine.java <ide> // We have received at least one byte from the peer. <ide> // If the first byte is not 0xff, we know that the <ide> // peer is using unversioned protocol. <del> if (greeting.array () [0] != -1) <add> if ((gr...
Java
mit
error: pathspec 'src/main/java/org/concurrent/sync/UsingLatches.java' did not match any file(s) known to git
2ecfe68d8a810aee05d37d4f49a1405475b8ad0f
1
zoopaper/java-concurrent,zoopaper/concurrent-programming
package org.concurrent.sync; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; /** * Latches are used to delay the progress of threads until it reach a terminal * state * * Most common implementatio...
src/main/java/org/concurrent/sync/UsingLatches.java
UsingLatches
src/main/java/org/concurrent/sync/UsingLatches.java
UsingLatches
<ide><path>rc/main/java/org/concurrent/sync/UsingLatches.java <add>package org.concurrent.sync; <add> <add>import java.util.concurrent.CountDownLatch; <add>import java.util.concurrent.ExecutorService; <add>import java.util.concurrent.Executors; <add>import java.util.concurrent.TimeUnit; <add> <add>/** <add> * Latches a...
Java
apache-2.0
887007265dc622483bde29279a8a1ebd2ddb80af
0
MCGallaspy/selenium,MCGallaspy/selenium,jabbrwcky/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,lukeis/selenium,jerome-jacob/selenium,dbo/selenium,mojwang/selenium,MCGallaspy/selenium,sag-enorman/selenium,sag-enorman/selenium,uchida/selenium,dbo/selenium,clavery/selenium,stupidnetizen/selenium,knorrium/selenium,rple...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
java/client/src/org/openqa/selenium/htmlunit/HtmlUnitWebElement.java
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
HtmlUnit: Determining visibility does not require javascript in general Signed-off-by: Alexei Barantsev <43b279716aaa7fd6f8dba4d5726b262d181ac789@gmail.com>
java/client/src/org/openqa/selenium/htmlunit/HtmlUnitWebElement.java
HtmlUnit: Determining visibility does not require javascript in general
<ide><path>ava/client/src/org/openqa/selenium/htmlunit/HtmlUnitWebElement.java <ide> public boolean isDisplayed() { <ide> assertElementNotStale(); <ide> <del> if (!parent.isJavascriptEnabled()) { <del> return true; <del> } <del> <ide> return element.isDisplayed(); <ide> } <ide>
Java
apache-2.0
10e4a48b5d83e7a426f47376a26e39b5dad059f5
0
merlimat/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,merlimat/pulsar,massakam/pulsar,massakam/pulsar,yahoo/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,yahoo/pulsar,merlimat/pulsar,massakam/pulsar
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentDispatcher.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...
[cleanup] [broker] Delete duplicate method definitions (#15613)
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentDispatcher.java
[cleanup] [broker] Delete duplicate method definitions (#15613)
<ide><path>ulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentDispatcher.java <ide> package org.apache.pulsar.broker.service.nonpersistent; <ide> <ide> import java.util.List; <del>import java.util.concurrent.CompletableFuture; <ide> import org.apache.bookkeeper.mledger.Entry; <ide> ...
Java
apache-2.0
631d79274b514d8f65722d31a77d4ccd164e1a92
0
Sage-Bionetworks/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,Sage-Bio...
package org.sagebionetworks.repo.web; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Pattern; impo...
services/repository/src/main/java/org/sagebionetworks/repo/web/UrlHelpers.java
package org.sagebionetworks.repo.web; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Pattern; impo...
Better URL names
services/repository/src/main/java/org/sagebionetworks/repo/web/UrlHelpers.java
Better URL names
<ide><path>ervices/repository/src/main/java/org/sagebionetworks/repo/web/UrlHelpers.java <ide> /** <ide> * For trash can APIs. <ide> */ <del> public static final String TRASHCAN = "/trash"; <add> public static final String TRASHCAN = "/trashcan"; <ide> <ide> /** <ide> * Moves an entity to the trash can.
Java
mit
bc0429a3f85a5bcd903d3c705e29e608625ec4c7
0
nilsschmidt1337/ldparteditor,nilsschmidt1337/ldparteditor
/* MIT - License Copyright (c) 2012 - this year, Nils Schmidt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
src/org/nschmidt/ldparteditor/shells/editor3d/Editor3DWindow.java
/* MIT - License Copyright (c) 2012 - this year, Nils Schmidt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
Prepared fix for issue #139.
src/org/nschmidt/ldparteditor/shells/editor3d/Editor3DWindow.java
Prepared fix for issue #139.
<ide><path>rc/org/nschmidt/ldparteditor/shells/editor3d/Editor3DWindow.java <ide> loadSelectorSettings(); <ide> vm.selector(sels); <ide> vm.syncWithTextEditors(true); <add> return; <ide> } <ide> ...
Java
apache-2.0
b89635527319718e2f3b3bf2bf4b725c9b988dbb
0
markzhai/init
package cn.zhaiyifan.init; import android.content.Context; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * <p>Entry to add, start and manage init flow.</p> * Created by mark.zhai on 2015/10/2. */ public class In...
init/src/main/java/cn/zhaiyifan/init/Init.java
package cn.zhaiyifan.init; import android.content.Context; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * <p>Entry to add, start and manage init flow.</p> * Created by mark.zhai on 2015/10/2. */ public class In...
Add api to clear flow.
init/src/main/java/cn/zhaiyifan/init/Init.java
Add api to clear flow.
<ide><path>nit/src/main/java/cn/zhaiyifan/init/Init.java <ide> LogImpl.setLogProxy(logProxy); <ide> } <ide> <add> /** <add> * Add flow to let Init manage. <add> * <add> * @param flow flow which unique name <add> */ <ide> public static void addFlow(Flow flow) { <ide> sFlowMap....
JavaScript
mit
9d13309b40456fc242e3f15df6179220a6995e87
0
calmm-js/kral-todomvc,calmm-js/kral-todomvc
import Atom from "./kefir.atom" import K, {bind, classes} from "./kefir.react.html" import Kefir from "kefir" import L from "partial.lenses" import R from "ramda" import React from "react" import ReactDOM from "react-dom" const hash = Kefir.fromEvents(window, "hashchange") .merge(Kefir.constant(0)).toProp...
src/todomvc.js
import Atom from "./kefir.atom" import K, {bind, classes} from "./kefir.react.html" import Kefir from "kefir" import L from "partial.lenses" import R from "ramda" import React from "react" import ReactDOM from "react-dom" const hash = Kefir.fromEvents(window, "hashchange") .merge(Kefir.constant(0)).toProp...
Must allow for undefined.
src/todomvc.js
Must allow for undefined.
<ide><path>rc/todomvc.js <ide> .map(() => window.location.hash) <ide> <ide> const TodoItem = ({model, editing = Atom(false)}) => <del> <K.li {...classes(K(model, m => m.completed && "completed"), <add> <K.li {...classes(K(model, m => m && m.completed && "completed"), <ide> K(editing,...
JavaScript
mit
3a23ddeeaae4d52f3ae04a58e64b74f5d52bde1e
0
loiralae/WaterlooHacks-Winter-2016-v2,uptownhr/real-estate,nehiljain/rhime,vymarkov/hackathon-starter,jnaulty/brigadehub,ColdMonkey/vcoin,itsmomito/gitfood,jochan/mddb,yhnavein/express-starter,bowdenk7/express-typescript-starter,ak-zul/hackathon-starter,ak-zul/hackathon-starter,EvelynSun/fcc-vote1,CAYdenberg/wikode,aji...
var secrets = require('../config/secrets'); var nodemailer = require("nodemailer"); var smtpTransport = nodemailer.createTransport('SMTP', { // service: 'Mailgun', // auth: { // user: secrets.mailgun.login, // pass: secrets.mailgun.password // } service: 'SendGrid', auth: { user: secrets.sendgrid.us...
controllers/contact.js
var secrets = require('../config/secrets'); var nodemailer = require("nodemailer"); var smtpTransport = nodemailer.createTransport('SMTP', { // service: 'Mailgun', // auth: { // user: secrets.mailgun.login, // pass: secrets.mailgun.password // } service: 'SendGrid', auth: { user: secrets.sendgrid.us...
Updated contact form mail options
controllers/contact.js
Updated contact form mail options
<ide><path>ontrollers/contact.js <ide> var name = req.body.name; <ide> var body = req.body.message; <ide> var to = 'your@email.com'; <del> var subject = 'API Example | Contact Form'; <add> var subject = 'Contact Form | Hackathon Starter'; <ide> <ide> var mailOptions = { <ide> to: to, <ide> from: from...
Java
apache-2.0
9f914a37e3f0a2d234cc43cfadd124986a19865c
0
rvesse/airline,rvesse/airline
package com.github.rvesse.airline.help; import javax.inject.Inject; import com.github.rvesse.airline.Arguments; import com.github.rvesse.airline.Command; import com.github.rvesse.airline.Option; import com.github.rvesse.airline.help.cli.CliCommandGroupUsageGenerator; import com.github.rvesse.airline.help.cli.CliComma...
lib/src/main/java/com/github/rvesse/airline/help/Help.java
package com.github.rvesse.airline.help; import javax.inject.Inject; import com.github.rvesse.airline.Arguments; import com.github.rvesse.airline.Command; import com.github.rvesse.airline.Option; import com.github.rvesse.airline.help.cli.CliCommandGroupUsageGenerator; import com.github.rvesse.airline.help.cli.CliComma...
Further improve Help class - More overloads for `Help.help()` - Add hidden `--include-hidden` option which does what it says on the tin
lib/src/main/java/com/github/rvesse/airline/help/Help.java
Further improve Help class
<ide><path>ib/src/main/java/com/github/rvesse/airline/help/Help.java <ide> <ide> @Arguments <ide> public List<String> command = newArrayList(); <del> <del> @Option(name = "--include-hidden", description = "When set the help output will include hidden commands and options") <add> <add> @Option(name = ...
Java
apache-2.0
7d7279ac000f8ad65b19eb680939727440a5c0d4
0
joakimkistowski/HTTP-Load-Generator
/** * Copyright 2017 Joakim von Kistowski * * 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 applicabl...
tools.descartes.dlim.httploadgenerator/src/main/java/tools/descartes/dlim/httploadgenerator/runner/Director.java
/** * Copyright 2017 Joakim von Kistowski * * 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 applicabl...
removed manual enter press
tools.descartes.dlim.httploadgenerator/src/main/java/tools/descartes/dlim/httploadgenerator/runner/Director.java
removed manual enter press
<ide><path>ools.descartes.dlim.httploadgenerator/src/main/java/tools/descartes/dlim/httploadgenerator/runner/Director.java <ide> <ide> if (file != null && outName != null && !outName.isEmpty()) { <ide> Director director = new Director(generatorAddress.split(":")[0].trim()); <del> director.process(file, outNa...
Java
mit
d623dd57ab5fc01a58f26d10a4d2453f2956aa85
0
jenkinsci/git-plugin,jacob-keller/git-plugin,jenkinsci/git-plugin,MarkEWaite/git-plugin,v1v/git-plugin,MarkEWaite/git-plugin,MarkEWaite/git-plugin,jacob-keller/git-plugin,jacob-keller/git-plugin,martinda/git-plugin,v1v/git-plugin,MarkEWaite/git-plugin,v1v/git-plugin,martinda/git-plugin,jenkinsci/git-plugin,jenkinsci/gi...
/* * The MIT License * * Copyright (c) 2013-2017, CloudBees, Inc., Stephen Connolly, Amadeus IT Group. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including ...
src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java
/* * The MIT License * * Copyright (c) 2013-2017, CloudBees, Inc., Stephen Connolly, Amadeus IT Group. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including ...
Annotate Probe.create(head, @NonNull revision) The revision argument to TelescopingSCMProbe is annotated as @NonNull, so the method that passes it to TelescopingSCMProbe should also be annotated @NonNull. To see the findbugs warning before this change: mvn clean -Dtest=KilnGitTest install
src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java
Annotate Probe.create(head, @NonNull revision)
<ide><path>rc/main/java/jenkins/plugins/git/AbstractGitSCMSource.java <ide> @NonNull <ide> @Override <ide> public SCMSourceCriteria.Probe create(@NonNull SCMHead head, <del> ...
JavaScript
apache-2.0
32ca42f57332daa3ead84e69ae3a9286569eb157
0
apuckey/thalassa-aqueduct,apuckey/thalassa-aqueduct,PearsonEducation/thalassa-aqueduct
var assert = require('assert') , Hapi = require('hapi'); var Api = module.exports = function (opts) { if (typeof opts !== 'object') opts = {}; assert(opts.data, 'opts.data required'); assert(opts.haproxyManager, 'opts.haproxyManager required'); this.data = opts.data; this.haproxyManager = opts.haproxyMana...
lib/Api.js
var assert = require('assert') , Hapi = require('Hapi'); var Api = module.exports = function (opts) { if (typeof opts !== 'object') opts = {}; assert(opts.data, 'opts.data required'); assert(opts.haproxyManager, 'opts.haproxyManager required'); this.data = opts.data; this.haproxyManager = opts.haproxyMana...
fixed chase issue on hapi require
lib/Api.js
fixed chase issue on hapi require
<ide><path>ib/Api.js <ide> var assert = require('assert') <del> , Hapi = require('Hapi'); <add> , Hapi = require('hapi'); <ide> <ide> var Api = module.exports = function (opts) { <ide> if (typeof opts !== 'object') opts = {};
Java
apache-2.0
2b97e5c6a9bf4cebfa5f97cd3c197aaee5a94977
0
fabric8io/kubernetes-client,fabric8io/kubernetes-client,fabric8io/kubernetes-client
/** * Copyright (C) 2015 Red Hat, 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 ...
kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/Quantity.java
/** * Copyright (C) 2015 Red Hat, 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 ...
Remove lombok annotations from Quantity class Signed-off-by: Stanislav Knot <c0ed4ca9e1b6b0dbf3dab3ad1bdaf3d2c985e8b1@redhat.com>
kubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/Quantity.java
Remove lombok annotations from Quantity class
<ide><path>ubernetes-model-generator/kubernetes-model-core/src/main/java/io/fabric8/kubernetes/api/model/Quantity.java <ide> import com.fasterxml.jackson.databind.annotation.JsonSerialize; <ide> import io.sundr.builder.annotations.Buildable; <ide> import io.sundr.builder.annotations.Inline; <del>import lombok.EqualsAnd...
Java
apache-2.0
d89d9ccc058372948a776ba6cf81866512c22163
0
gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
indexbuilder/src/main/java/uk/ac/ebi/gxa/index/builder/service/GeneAtlasIndexBuilderService.java
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
Forgot about this non-de add, now removed git-svn-id: 410459702e6123a874d92574e1336b0959d85891@13835 2913f559-6b04-0410-9a09-c530ee9f5186
indexbuilder/src/main/java/uk/ac/ebi/gxa/index/builder/service/GeneAtlasIndexBuilderService.java
Forgot about this non-de add, now removed
<ide><path>ndexbuilder/src/main/java/uk/ac/ebi/gxa/index/builder/service/GeneAtlasIndexBuilderService.java <ide> efoupdn.put(acc, new UpDnSet()); <ide> } <ide> if (isNo) { <del> efoupdn.get(acc).no.add(experimentId); <add> ...
Java
mit
eeb4aa9ad103d31fada299cab38237a38d604274
0
wizzardo/Tools,wizzardo/Tools
package com.wizzardo.tools.json; import org.junit.Assert; import org.junit.Test; /** * Created by wizzardo on 14.09.15. */ public class JsonParseBytesTest { static class TestBinder implements JsonBinder { Object value; @Override public void add(Object value) { this.value = v...
src/test/java/com/wizzardo/tools/json/JsonParseBytesTest.java
package com.wizzardo.tools.json; import org.junit.Assert; import org.junit.Test; /** * Created by wizzardo on 14.09.15. */ public class JsonParseBytesTest { static class TestBinder implements JsonBinder { Object value; @Override public void add(Object value) { this.value = v...
improve tests
src/test/java/com/wizzardo/tools/json/JsonParseBytesTest.java
improve tests
<ide><path>rc/test/java/com/wizzardo/tools/json/JsonParseBytesTest.java <ide> data = "12345]".getBytes(); <ide> JsonUtils.parseNumber(binder, data, 0, data.length, new NumberParsingContext()); <ide> Assert.assertEquals(12345l, binder.value); <add> <add> data = "123456\n".getBytes(); <add>...
Java
apache-2.0
06a81988d3fa7fd5828cb9f4e67432e23b1af21b
0
lookout/commons-compress,mohanaraosv/commons-compress,apache/commons-compress,mohanaraosv/commons-compress,apache/commons-compress,lookout/commons-compress,krosenvold/commons-compress,mohanaraosv/commons-compress,krosenvold/commons-compress,apache/commons-compress,krosenvold/commons-compress,lookout/commons-compress
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.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...
emptyFiles and antiItems bitsets only iterate over entries without streams git-svn-id: fb13a56e2874bbe7f090676f40e1dce4dcf67111@1534210 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java
emptyFiles and antiItems bitsets only iterate over entries without streams
<ide><path>rc/main/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFile.java <ide> <ide> private void writeFileEmptyFiles(final DataOutput header) throws IOException { <ide> boolean hasEmptyFiles = false; <del> for (final SevenZArchiveEntry entry : files) { <del> if (!en...
JavaScript
mpl-2.0
efb6c91b1f50c19018f452261b183899f40bbe46
0
beloitcollegecomputerscience/OED,OpenEnergyDashboard/OED,beloitcollegecomputerscience/OED,beloitcollegecomputerscience/OED,OpenEnergyDashboard/OED,beloitcollegecomputerscience/OED,OpenEnergyDashboard/OED,OpenEnergyDashboard/OED
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import _ from 'lodash'; import * as groupsActions from '../actions/groups'; /** * @typedef {Object} State~Gr...
src/client/app/reducers/groups.js
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import _ from 'lodash'; import * as groupsActions from '../actions/groups'; /** * @typedef {Object} State~Gr...
Replace todo comment in `reducers/groups.js` Replace Paul's todo with a comment specifically about the relevant bug.
src/client/app/reducers/groups.js
Replace todo comment in `reducers/groups.js`
<ide><path>rc/client/app/reducers/groups.js <ide> isFetching: true <ide> }; <ide> case groupsActions.RECEIVE_GROUPS_DETAILS: { <del> // add new fields to each group object: <del> // isFetching flag for each group <del> // arrays to store the IDs of child groups and Meters. We get all other data from othe...
Java
apache-2.0
8979556456014d5dd8990380b3ce31a83fbec6c1
0
gamerson/liferay-blade-cli,gamerson/liferay-blade-cli,gamerson/liferay-blade-cli
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
cli/src/test/java/com/liferay/blade/cli/BladeTest.java
/** * Copyright (c) 2000-present Liferay, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
BLADE-380 remove chaining
cli/src/test/java/com/liferay/blade/cli/BladeTest.java
BLADE-380 remove chaining
<ide><path>li/src/test/java/com/liferay/blade/cli/BladeTest.java <ide> settingsFile = new File(workspaceDir, ".blade/settings.properties"); <ide> } <ide> else { <del> settingsFile = _settingsDir.resolve("settings.properties").toFile(); <add> Path settingsPath = _settingsDir.resolve("settings.properties"); <a...
Java
apache-2.0
23f5c0756a6fa440038c0544255e8db62164e620
0
ExplorViz/ExplorViz,ExplorViz/ExplorViz,ExplorViz/ExplorViz,ExplorViz/ExplorViz
package explorviz.server.util; import java.io.*; import java.nio.charset.StandardCharsets; import java.nio.file.*; import java.text.SimpleDateFormat; import java.util.*; import javax.xml.bind.DatatypeConverter; import org.apache.commons.codec.binary.Base64; import org.json.*; import org.zeroturnaround.zip.ZipUtil; ...
src/explorviz/server/util/JSONServiceImpl.java
package explorviz.server.util; import java.io.*; import java.nio.charset.StandardCharsets; import java.nio.file.*; import java.text.SimpleDateFormat; import java.util.*; import javax.xml.bind.DatatypeConverter; import org.apache.commons.codec.binary.Base64; import org.json.*; import org.zeroturnaround.zip.ZipUtil; ...
validate before saving
src/explorviz/server/util/JSONServiceImpl.java
validate before saving
<ide><path>rc/explorviz/server/util/JSONServiceImpl.java <ide> final long timestamp = new Date().getTime(); <ide> jsonObj.put("lastModified", timestamp); <ide> <del> final String filename = jsonObj.getString("filename"); <del> final Path experimentFolder = Paths.get(EXP_FOLDER + File.separator + filename); <del>...
JavaScript
bsd-3-clause
94c1e1535d66838106472d6623b24ac8df81179e
0
nteract/nteract,jdetle/nteract,temogen/nteract,captainsafia/nteract,captainsafia/nteract,jdfreder/nteract,nteract/composition,captainsafia/nteract,captainsafia/nteract,jdetle/nteract,nteract/nteract,jdfreder/nteract,0u812/nteract,rgbkrk/nteract,nteract/composition,rgbkrk/nteract,temogen/nteract,nteract/nteract,nteract/...
import { createStore, applyMiddleware } from 'redux'; import { reduxObservable } from 'redux-observable'; import rootReducer from '../reducers'; import * as constants from '../constants'; import { setBackwardCheckpoint } from '../actions'; const triggerUndo = store => next => action => { console.log('triggerUndo');...
src/notebook/store/index.js
import { createStore, applyMiddleware } from 'redux'; import { reduxObservable } from 'redux-observable'; // import createLogger from 'redux-logger'; import rootReducer from '../reducers'; // const logger = createLogger(); const exposeState = store => next => action => { return next(Object.assign({}, action, { ...
Added triggerUndo middleware
src/notebook/store/index.js
Added triggerUndo middleware
<ide><path>rc/notebook/store/index.js <ide> import { createStore, applyMiddleware } from 'redux'; <ide> import { reduxObservable } from 'redux-observable'; <del>// import createLogger from 'redux-logger'; <ide> import rootReducer from '../reducers'; <ide> <del>// const logger = createLogger(); <add>import * as constan...
Java
agpl-3.0
9c5b77c96053dc4ad58d4c41e70a2c632f4a1dbd
0
flybird119/voltdb,flybird119/voltdb,zuowang/voltdb,migue/voltdb,creative-quant/voltdb,flybird119/voltdb,zuowang/voltdb,wolffcm/voltdb,migue/voltdb,kumarrus/voltdb,flybird119/voltdb,creative-quant/voltdb,migue/voltdb,migue/voltdb,creative-quant/voltdb,kumarrus/voltdb,simonzhangsm/voltdb,paulmartel/voltdb,wolffcm/voltdb,...
/* This file is part of VoltDB. * Copyright (C) 2008-2013 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
src/frontend/org/voltdb/Buckets.java
/* This file is part of VoltDB. * Copyright (C) 2008-2013 VoltDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any la...
For ENG-5256, add a precondition check to prevent more partitions then tokens
src/frontend/org/voltdb/Buckets.java
For ENG-5256, add a precondition check to prevent more partitions then tokens
<ide><path>rc/frontend/org/voltdb/Buckets.java <ide> } <ide> <ide> public void addPartitions(int partitionCount) { <add> //Can't have more partitions than tokens <add> Preconditions.checkArgument(m_tokenCount > m_partitionTokens.size() + partitionCount); <ide> TreeSet<LoadPair> loadSet = ...
JavaScript
mit
36bd65e7825ee7ba3f38ca24c08ea31e08e977d8
0
Jean1715/alien_invaders
var AlienFlock = function AlienFlock() { this.invulnrable = true; this.dx = 10; this.dy = 0; this.hit = 1; this.lastHit = 0; this.speed = 10; /* controls speed of enemy attacking and moving*/ this.draw = function() {}; this.die = function() { if(Game.board.nextLevel()) { Game.loadBoard(new Game...
js/game.js
var AlienFlock = function AlienFlock() { this.invulnrable = true; this.dx = 10; this.dy = 0; this.hit = 1; this.lastHit = 0; this.speed = 10; /* controls speed of enemy attacking and moving*/ this.draw = function() {}; this.die = function() { if(Game.board.nextLevel()) { Game.loadBoard(new Game...
Fixed alien's sprite missile to work
js/game.js
Fixed alien's sprite missile to work
<ide><path>s/game.js <ide> <ide> Alien.prototype.fireSometimes = function() { <ide> if(Math.random()*100 < 10) /*How often aliens fire*/ { <del> this.board.addSprite('missile',this.x + this.w/2 - Sprites.map.missile.w/2, <add> this.board.addSprite('missile2',this.x + this.w/2 - Sprites.map.missile...
JavaScript
mit
2a7fd49f5af327c7b034af2ba88c249f3f4030c9
0
scottwernervt/ember-cli-group-by,scottwernervt/ember-cli-group-by
module.exports = { root: true, parserOptions: { ecmaVersion: 2017, sourceType: 'module' }, extends: [ 'eslint:recommended', 'plugin:ember/recommended' ], env: { browser: true }, rules: { 'ember/no-observers': 0 } };
.eslintrc.js
module.exports = { root: true, parserOptions: { ecmaVersion: 2017, sourceType: 'module' }, extends: [ 'eslint:recommended', 'plugin:ember/recommended', ], env: { browser: true }, rules: { 'ember/no-observers': 0, } };
Remove trailing commas
.eslintrc.js
Remove trailing commas
<ide><path>eslintrc.js <ide> }, <ide> extends: [ <ide> 'eslint:recommended', <del> 'plugin:ember/recommended', <add> 'plugin:ember/recommended' <ide> ], <ide> env: { <ide> browser: true <ide> }, <ide> rules: { <del> 'ember/no-observers': 0, <add> 'ember/no-observers': 0 <ide> } <ide> }...
Java
apache-2.0
769a08937b1beac1841bea84390ccfba83fab51e
0
srbala/kaptcha,codenon/kaptcha,yojeajie/kaptcha,widenerc/kaptcha,linvar/kaptcha,JRed1989/kaptcha,seastar-ss/kaptcha,dudw/kaptcha,alpapad/kaptcha,hwajdrv/kaptcha,jamespatriot/kaptcha,siamcomm/kaptcha,tx1103mark/kaptcha,derrick-hoh/kaptcha,njucsxj/kaptcha,abcijkxyz/kaptcha,Pankajpatelletsnurture/kaptcha,rockzeng/kaptcha,...
package com.google.code.kaptcha.text.impl; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.font.FontRenderContext; import java.awt.font.GlyphVector; import java.awt.image.BufferedImage; import java.util.Random; import com.google.code.kaptcha.tex...
src/java/com/google/code/kaptcha/text/impl/DefaultWordRenderer.java
package com.google.code.kaptcha.text.impl; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.font.FontRenderContext; import java.awt.font.GlyphVector; import java.awt.image.BufferedImage; import java.util.Random; import com.google.code.kaptcha.tex...
fixes issue #56 suggested patch : slightly better centering on DefaultWordRenderer.java
src/java/com/google/code/kaptcha/text/impl/DefaultWordRenderer.java
fixes issue #56
<ide><path>rc/java/com/google/code/kaptcha/text/impl/DefaultWordRenderer.java <ide> FontRenderContext frc = g2D.getFontRenderContext(); <ide> Random random = new Random(); <ide> <del> int startPosX = width / (2 + word.length()); <ide> int startPosY = (height - fontSize) / 5 + fontSize; <ide> <ide> char[] wor...
JavaScript
epl-1.0
50297f6efebd6a6038bfa367575c745e40a45352
0
git497/pdf-pin,git497/pdf-pin
!function t(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("bundle",[],r):"object"==typeof exports?exports.bundle=r():e.bundle=r()}(this,function(){return function(t){function e(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return...
dist/bundle.min.js
!function t(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("bundle",[],r):"object"==typeof exports?exports.bundle=r():e.bundle=r()}(this,function(){return function(t){function e(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return...
update bundle
dist/bundle.min.js
update bundle
<ide><path>ist/bundle.min.js <ide> * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> <ide> * @license MIT <ide> */ <del>var K=r(40),Q=r(41),$=r(13);e.Buffer=a,e.SlowBuffer=v,e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:i(),e.kMaxLength=n(),a...
Java
apache-2.0
f30733667087ba25baf00d80b39a851c7d540cff
0
wbowling/elasticsearch,Ansh90/elasticsearch,mgalushka/elasticsearch,ThalaivaStars/OrgRepo1,gingerwizard/elasticsearch,nrkkalyan/elasticsearch,ImpressTV/elasticsearch,alexkuk/elasticsearch,Kakakakakku/elasticsearch,andrejserafim/elasticsearch,javachengwc/elasticsearch,kevinkluge/elasticsearch,hirdesh2008/elasticsearch,s...
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
src/main/java/org/elasticsearch/action/termvector/TransportSingleShardMultiTermsVectorAction.java
/* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you may...
If there is an exception that indicates that the shard isn't available then the exception should bubble up to the TransportShardSingleOperationAction class, so the shard level request can be retried on a different shard. (multi term vector api)
src/main/java/org/elasticsearch/action/termvector/TransportSingleShardMultiTermsVectorAction.java
If there is an exception that indicates that the shard isn't available then the exception should bubble up to the TransportShardSingleOperationAction class, so the shard level request can be retried on a different shard. (multi term vector api)
<ide><path>rc/main/java/org/elasticsearch/action/termvector/TransportSingleShardMultiTermsVectorAction.java <ide> <ide> import org.elasticsearch.ElasticSearchException; <ide> import org.elasticsearch.ExceptionsHelper; <add>import org.elasticsearch.action.support.TransportActions; <ide> import org.elasticsearch.action....
Java
apache-2.0
1cf0fedd902a523f2970757f248b589d278b9f25
0
johannilsson/sthlmtraveling,johannilsson/sthlmtraveling
/* * Copyright (C) 2013 Johan Nilsson <http://markupartist.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
sthlmtraveling/src/main/java/com/markupartist/sthlmtraveling/ViewOnMapActivity.java
/* * Copyright (C) 2013 Johan Nilsson <http://markupartist.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Change error logging
sthlmtraveling/src/main/java/com/markupartist/sthlmtraveling/ViewOnMapActivity.java
Change error logging
<ide><path>thlmtraveling/src/main/java/com/markupartist/sthlmtraveling/ViewOnMapActivity.java <ide> Planner.getInstance().addIntermediateStops( <ide> ViewOnMapActivity.this, trip, journeyQuery); <ide> } catch (IOException e) { <del> Log....
Java
apache-2.0
c39a453fc0b9b8acf4c8ef43dc643f06d845d893
0
vase4kin/TeamCityApp,vase4kin/TeamCityApp,vase4kin/TeamCityApp
/* * Copyright 2016 Andrey Tolpeev * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
app/src/androidTest/java/com/github/vase4kin/teamcityapp/runbuild/view/RunBuildActivityTest.java
/* * Copyright 2016 Andrey Tolpeev * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Add UI tests on run build with custom params
app/src/androidTest/java/com/github/vase4kin/teamcityapp/runbuild/view/RunBuildActivityTest.java
Add UI tests on run build with custom params
<ide><path>pp/src/androidTest/java/com/github/vase4kin/teamcityapp/runbuild/view/RunBuildActivityTest.java <ide> import com.github.vase4kin.teamcityapp.dagger.modules.Mocks; <ide> import com.github.vase4kin.teamcityapp.dagger.modules.RestApiModule; <ide> import com.github.vase4kin.teamcityapp.helper.CustomActivityTestR...
Java
bsd-3-clause
2b358ea030c00545a7142e0cfd69f53100711237
0
brackeen/Scared,brackeen/Scared,FirstRound/InnoGame,FirstRound/InnoGame
package com.brackeen.scared; import com.brackeen.app.App; import com.brackeen.app.BitmapFont; import com.brackeen.app.view.Button; import com.brackeen.app.view.Label; import com.brackeen.app.view.Scene; import com.brackeen.app.view.View; import java.awt.Color; import java.awt.event.KeyEvent; import java.awt.event.Key...
src/main/java/com/brackeen/scared/ConsoleScene.java
package com.brackeen.scared; import com.brackeen.app.App; import com.brackeen.app.BitmapFont; import com.brackeen.app.view.Button; import com.brackeen.app.view.Label; import com.brackeen.app.view.Scene; import com.brackeen.app.view.View; import java.awt.Color; import java.awt.event.KeyEvent; import java.awt.event.KeyL...
Add command history
src/main/java/com/brackeen/scared/ConsoleScene.java
Add command history
<ide><path>rc/main/java/com/brackeen/scared/ConsoleScene.java <ide> import com.brackeen.app.view.Label; <ide> import com.brackeen.app.view.Scene; <ide> import com.brackeen.app.view.View; <add> <ide> import java.awt.Color; <ide> import java.awt.event.KeyEvent; <ide> import java.awt.event.KeyListener; <add>import java.ut...
Java
apache-2.0
e05a07027541e52a162ad599e5f32ae276ec436c
0
porcelli-forks/guvnor,baldimir/guvnor,baldimir/guvnor,droolsjbpm/guvnor,porcelli-forks/guvnor,etirelli/guvnor,cristianonicolai/guvnor,kiereleaseuser/guvnor,hxf0801/guvnor,cristianonicolai/guvnor,wmedvede/guvnor,adrielparedes/guvnor,nmirasch/guvnor,hxf0801/guvnor,nmirasch/guvnor,psiroky/guvnor,baldimir/guvnor,hxf0801/gu...
/* * Copyright 2011 JBoss 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 wri...
guvnor-webapp-drools/src/test/java/org/drools/guvnor/server/files/ActionAPIServletTest.java
/* * Copyright 2011 JBoss 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 wri...
remove unneeded rulesRepository.logout()
guvnor-webapp-drools/src/test/java/org/drools/guvnor/server/files/ActionAPIServletTest.java
remove unneeded rulesRepository.logout()
<ide><path>uvnor-webapp-drools/src/test/java/org/drools/guvnor/server/files/ActionAPIServletTest.java <ide> res ); <ide> assertEquals( 200, <ide> res.status ); <del> rulesRepository.logout(); <ide> } <ide> <ide> @Test <ide> res ); <...
Java
bsd-3-clause
b02452ca53e1a4226d1ac460dedbb4578a4ffb67
0
salesforcefuel/fuel-java,gutsy/fuel-java,salesforcefuel/FuelSDK-Java,salesforce-marketingcloud/FuelSDK-Java,viadeo/fuel-java
// // This file is part of the Fuel Java SDK. // // Copyright (C) 2013, 2014 ExactTarget, Inc. // All rights reserved. // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without restrictio...
src/main/java/com/exacttarget/fuelsdk/ETDataExtension.java
// // This file is part of the Fuel Java SDK. // // Copyright (C) 2013, 2014 ExactTarget, Inc. // All rights reserved. // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without restrictio...
Added for completeness: insert(List<ETDataExtension> rows); update(List<ETDataExtension> rows); delete(List<ETDataExtension> rows);
src/main/java/com/exacttarget/fuelsdk/ETDataExtension.java
Added for completeness:
<ide><path>rc/main/java/com/exacttarget/fuelsdk/ETDataExtension.java <ide> "ID", "Fields" <ide> }) <ide> public class ETDataExtension extends ETSoapObject { <add> private static Logger logger = Logger.getLogger(ETDataExtension.class); <add> <ide> @ExternalName("id") <ide> @InternalName("objectID") <ide> ...
Java
apache-2.0
error: pathspec 'src/test/java/edu/brandeis/cs/steele/wn/browser/PreferencesManagerTest.java' did not match any file(s) known to git
3052914e4fb7725b66ae67ba29236f981c48bd23
1
nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni
package edu.brandeis.cs.steele.wn.browser; import junit.framework.JUnit4TestAdapter; import org.junit.*; import static org.junit.Assert.*; import java.io.*; import java.util.*; import java.util.prefs.*; public class PreferencesManagerTest { /** * Normally <code>ignore</code> this test so we don't clear the user...
src/test/java/edu/brandeis/cs/steele/wn/browser/PreferencesManagerTest.java
test/learn preferences git-svn-id: 0f0e769425a95b277772daee6ac27d370147d87f@308 158bccb4-7c0b-4fb3-968f-7c40bf2d9062
src/test/java/edu/brandeis/cs/steele/wn/browser/PreferencesManagerTest.java
test/learn preferences
<ide><path>rc/test/java/edu/brandeis/cs/steele/wn/browser/PreferencesManagerTest.java <add>package edu.brandeis.cs.steele.wn.browser; <add> <add>import junit.framework.JUnit4TestAdapter; <add>import org.junit.*; <add>import static org.junit.Assert.*; <add> <add>import java.io.*; <add>import java.util.*; <add>import jav...
Java
apache-2.0
29421bc12f5d549068ab9a030e8e2d9b958989a1
0
sotorrent/so-posthistory-extractor
package de.unitrier.st.soposthistory.gt; import de.unitrier.st.soposthistory.version.PostVersionList; import org.apache.commons.csv.*; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Path...
src/de/unitrier/st/soposthistory/gt/MetricComparisonManager.java
package de.unitrier.st.soposthistory.gt; import de.unitrier.st.soposthistory.version.PostVersionList; import org.apache.commons.csv.*; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Path...
Add TODO
src/de/unitrier/st/soposthistory/gt/MetricComparisonManager.java
Add TODO
<ide><path>rc/de/unitrier/st/soposthistory/gt/MetricComparisonManager.java <ide> for (int postHistoryId : postHistoryIdsForPost) { <ide> csvPrinter.printRecord( <ide> name, <add> // TODO: This is not correct, we need the method n...
JavaScript
mit
2d36db534de2f7895dafa4085fe07387db7cb81d
0
lumpy-brontosaurus/chatnow,Ronll/chatnow,Ronll/chatnow,joksina/chatnow,joksina/chatnow,lumpy-brontosaurus/chatnow
var app = angular.module('geoChat', ['ui.router', 'ngCookies', 'ngResource', 'ngSanitize','btford.socket-io']) .value('nickName', username); var access_token; var username; function statusChangeCallback(response) { if (response.status === 'connected') { FB.api('/me', function(response) { console....
client/app/app.js
var app = angular.module('geoChat', ['ui.router', 'ngCookies', 'ngResource', 'ngSanitize','btford.socket-io']) .value('nickName', username); var access_token; var username; function statusChangeCallback(response) { if (response.status === 'connected') { FB.api('/me', function(response) { console....
some changes
client/app/app.js
some changes
<ide><path>lient/app/app.js <ide> username = response.name; <ide> }); <ide> } <del> $scope.nickName = username; <add> $scope.nickName = nickName; <ide> $scope.messageLog = ''; <ide> $scope.sendMessage = function() { <ide> var match = $scope.message.match('^\/nick (.*)');
Java
apache-2.0
f02c4f2cd4550b63920b7021f0a35e9f0aba7acd
0
tetrapods/core,tetrapods/core,tetrapods/core,tetrapods/core,tetrapods/core
package io.tetrapod.core; import static io.tetrapod.protocol.core.Core.*; import static io.tetrapod.protocol.core.CoreContract.*; import io.netty.buffer.ByteBuf; import io.netty.channel.*; import io.netty.channel.socket.SocketChannel; import io.netty.handler.codec.LengthFieldBasedFrameDecoder; import io.netty.util.Ref...
Tetrapod-Core/src/io/tetrapod/core/WireSession.java
package io.tetrapod.core; import static io.tetrapod.protocol.core.Core.*; import static io.tetrapod.protocol.core.CoreContract.*; import io.netty.buffer.ByteBuf; import io.netty.channel.*; import io.netty.channel.socket.SocketChannel; import io.netty.handler.codec.LengthFieldBasedFrameDecoder; import io.netty.util.Ref...
decorate requests in comms logs with from information to make them easier to interpret in isolation
Tetrapod-Core/src/io/tetrapod/core/WireSession.java
decorate requests in comms logs with from information to make them easier to interpret in isolation
<ide><path>etrapod-Core/src/io/tetrapod/core/WireSession.java <ide> if (req != null) { <ide> req.read(reader); <ide> if (!commsLogIgnore(req)) <del> logged = commsLog("%s [%d] <- %s", this, header.requestId, req.dump()); <add> logged = commsLog("%s [%d] <- ...
JavaScript
mit
d5d68fcc51d0c2268319e6e8f0e9a7c514e8cd80
0
zuzak/dbot,zuzak/dbot
var js = function(dbot) { var dbot = dbot; var commands = { '~js': function(data, params) { var q = data.message.valMatch(/^~js (.*)/, 2); if(data.user == dbot.admin) { dbot.say(data.channel, eval(q[1])); } } }; return { 'onLo...
modules/js.js
var js = function(dbot) { var dbot = dbot; var commands = { '~js': function(data, params) { var q = data.message.valMatch(/^~js (.*)/, 2); dbot.say(data.channel, eval(q[1])); } }; return { 'onLoad': function() { return commands; } ...
only admin can run js
modules/js.js
only admin can run js
<ide><path>odules/js.js <ide> var commands = { <ide> '~js': function(data, params) { <ide> var q = data.message.valMatch(/^~js (.*)/, 2); <del> dbot.say(data.channel, eval(q[1])); <add> if(data.user == dbot.admin) { <add> dbot.say(data.channel, eval(q[1])); <...
Java
apache-2.0
6fcd5308f9dfc74a405ebd74aa19a16926264aae
0
fl4via/xnio,dmlloyd/xnio,stuartwdouglas/xnio,panossot/xnio,kabir/xnio,panossot/xnio,xnio/xnio,fl4via/xnio,kabir/xnio,xnio/xnio
/* * JBoss, Home of Professional Open Source. * Copyright 2012 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
nio-impl/src/main/java/org/xnio/nio/NioXnioWorker.java
/* * JBoss, Home of Professional Open Source. * Copyright 2012 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
Fix thread name
nio-impl/src/main/java/org/xnio/nio/NioXnioWorker.java
Fix thread name
<ide><path>io-impl/src/main/java/org/xnio/nio/NioXnioWorker.java <ide> boolean ok = false; <ide> try { <ide> for (int i = 0; i < threadCount; i++) { <del> final WorkerThread workerThread = new WorkerThread(this, xnio.mainSelectorCreator.open(), String.format("%s read-%d", work...
Java
bsd-3-clause
95d3f99b40e1bf9b82a1fa39357d70a306144266
0
Jakegogo/concurrent,Jakegogo/concurrent
package utils.typesafe.extended; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; /** * 线程安全的Actor * <br/>支持多个对象操作的顺序执行,可并发提交。与提交线程的关系是同步或异步 * <br/>序列执行子类型 * <br/>需要...
concur/src-utils/utils/typesafe/extended/MultiSafeActor.java
package utils.typesafe.extended; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; /** * 线程安全的Actor * <br/>支持多个对象操作的顺序执行,可并发提交。与提交线程的关系是同步或异步 * <br/>序列执行子类型 * <br/>需要...
新增PromiseActor
concur/src-utils/utils/typesafe/extended/MultiSafeActor.java
新增PromiseActor
<ide><path>oncur/src-utils/utils/typesafe/extended/MultiSafeActor.java <ide> <ide> private ExecutorService executorService; <ide> <add> /** <add> * 构造方法 <add> * @param executorService 线程池 <add> * @param promiseable 线程安全的操作组 <add> */ <add> public MultiSafeActor(ExecutorService executorService, Promiseable<?> prom...
Java
apache-2.0
ce7a5636aed9229bbd5bb6e009f5b14bdb908b51
0
BuddhistDigitalResourceCenter/xmltoldmigration,BuddhistDigitalResourceCenter/xmltoldmigration
package io.bdrc.xmltoldmigration; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.jena.datatypes.xsd.XSDDatatype; import org.apa...
src/main/java/io/bdrc/xmltoldmigration/CUDLTransfer.java
package io.bdrc.xmltoldmigration; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.jena.datatypes.xsd.XSDDatatype; import org.apa...
fix a few IDs
src/main/java/io/bdrc/xmltoldmigration/CUDLTransfer.java
fix a few IDs
<ide><path>rc/main/java/io/bdrc/xmltoldmigration/CUDLTransfer.java <ide> final Model workModel = ModelFactory.createDefaultModel(); <ide> final List<Resource> res = new ArrayList<>(); <ide> CommonMigration.setPrefixes(workModel); <del> String rid="W0CDL0"+line[0]; <del> Resource wo...
Java
bsd-3-clause
d03d0939b6e402701080c3b4637e73f727391f86
0
provegard/tinyws
package com.programmaticallyspeaking.tinyws; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.nio.charset.StandardCharsets...
src/main/java/com/programmaticallyspeaking/tinyws/Server.java
package com.programmaticallyspeaking.tinyws; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.net.SocketException; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; import java.nio.charset.StandardCharsets...
Forgot to include the headers with a 400 response
src/main/java/com/programmaticallyspeaking/tinyws/Server.java
Forgot to include the headers with a 400 response
<ide><path>rc/main/java/com/programmaticallyspeaking/tinyws/Server.java <ide> Map<String, String> headers = new HashMap<String, String>() {{ <ide> put("Sec-WebSocket-Version", Integer.toString(SupportedVersion)); <ide> }}; <del> sendResponse(400, "Bad Request", Collect...
JavaScript
mit
14b28b3f9e7cb9089cd832714b55ae22d3e0edb8
0
zettajs/zetta-device
var EventEmitter = require('events').EventEmitter; var uuid = require('node-uuid'); var streams = require('zetta-streams'); var ObjectStream = streams.ObjectStream; var BinaryStream = streams.BinaryStream; var ConsumerStream = streams.ConsumerStream; var Device = module.exports = function Device() { this.id = uuid....
device.js
var EventEmitter = require('events').EventEmitter; var uuid = require('node-uuid'); var streams = require('zetta-streams'); var ObjectStream = streams.ObjectStream; var BinaryStream = streams.BinaryStream; var ConsumerStream = streams.ConsumerStream; var Device = module.exports = function Device() { this.id = uuid....
Moved handler call to after stream is disabled
device.js
Moved handler call to after stream is disabled
<ide><path>evice.js <ide> } <ide> var Type = (options.binary) ? BinaryStream : ObjectStream; <ide> var stream = this._createStream(queueName, Type); <del> handler.call(this, stream); <ide> <ide> if(options.disable) { <ide> this.disableStream(queueName); <ide> } <ide> <add> handler.call(this, stream)...
Java
bsd-3-clause
bc8078ef8e5e3150bf794a4ce91304c4c7ab1425
0
broadinstitute/gatk-protected,broadinstitute/gatk-protected,broadinstitute/gatk-protected,broadinstitute/gatk-protected,broadinstitute/gatk-protected,broadinstitute/gatk-protected
package org.broadinstitute.hellbender.tools.walkers.mutect; import htsjdk.samtools.SAMSequenceDictionary; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.variantcontext.VariantContextBuilder; import htsjdk.variant.variantcontext.writer.VariantContextWriter; import org.broadinstitute.barclay....
src/main/java/org/broadinstitute/hellbender/tools/walkers/mutect/Mutect2.java
package org.broadinstitute.hellbender.tools.walkers.mutect; import htsjdk.samtools.SAMSequenceDictionary; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.variantcontext.VariantContextBuilder; import htsjdk.variant.variantcontext.writer.VariantContextWriter; import org.broadinstitute.barclay....
Update MuTect2 documentation about not computing obvious germline variants
src/main/java/org/broadinstitute/hellbender/tools/walkers/mutect/Mutect2.java
Update MuTect2 documentation about not computing obvious germline variants
<ide><path>rc/main/java/org/broadinstitute/hellbender/tools/walkers/mutect/Mutect2.java <ide> /** <ide> * Call somatic SNPs and indels via local re-assembly of haplotypes <ide> * <del> * <p>Mutect2 is a somatic SNP and indel caller that combines the DREAM challenge-winning somatic genotyping engine of the original Mu...
Java
mit
7ccb1909b7b6a2362aba7aa782a4cf36009583ac
0
OpenWeen/OpenWeen.Droid
package moe.tlaster.openween.activity; import android.app.Activity; import android.app.ActivityOptions; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7....
app/src/main/java/moe/tlaster/openween/activity/UserActivity.java
package moe.tlaster.openween.activity; import android.app.Activity; import android.app.ActivityOptions; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v7....
fix #6
app/src/main/java/moe/tlaster/openween/activity/UserActivity.java
fix #6
<ide><path>pp/src/main/java/moe/tlaster/openween/activity/UserActivity.java <ide> } <ide> <ide> private void initMenu() { <del> if (mUser.getID() == StaticResource.getUid()) mMenu.clear(); <add> if (mUser.getID() == StaticResource.getUid()) { <add> mMenu.clear(); <add> retur...
JavaScript
bsd-2-clause
55bd53e3dae690f99658a1adeb28acbfcb7a6057
0
mcanthony/RiverTrail,mcanthony/RiverTrail,mcanthony/RiverTrail
/* * Copyright (c) 2011, Intel Corporation * 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...
jslib/ParallelArray.js
/* * Copyright (c) 2011, Intel Corporation * 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...
fixes issue #20: properly handle new argument order to scan
jslib/ParallelArray.js
fixes issue #20: properly handle new argument order to scan
<ide><path>slib/ParallelArray.js <ide> this.data[i] = new ParallelArray(values[i]); <ide> } else { <ide> this.data[i] = values[i]; <del> /** <del> this.shape = this.shape.push(values[i].length); <del> ...
Java
mit
error: pathspec 'src/powers/At_Will.java' did not match any file(s) known to git
f8df3d570d4d02757f2c4c758d8ccf8efe00885a
1
42mileslong/dnd-4e-simulator
package powers; /** * @author Rafi Long */ public class At_Will { }
src/powers/At_Will.java
Created At Will class
src/powers/At_Will.java
Created At Will class
<ide><path>rc/powers/At_Will.java <add>package powers; <add> <add>/** <add> * @author Rafi Long <add> */ <add>public class At_Will { <add>}
Java
agpl-3.0
error: pathspec 'src/test/java/com/akiban/server/test/it/qp/Sort_MixedColumnTypesIT.java' did not match any file(s) known to git
e4f0b01185ad096e6f473ffd92442a3301a307b1
1
jaytaylor/sql-layer,shunwang/sql-layer-1,wfxiang08/sql-layer-1,ngaut/sql-layer,ngaut/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,wfxiang08/sql-layer-1,relateiq/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,relateiq/sql-layer,shunwang/sql-layer-1,relateiq/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql-lay...
/** * END USER LICENSE AGREEMENT (“EULA”) * * READ THIS AGREEMENT CAREFULLY (date: 9/13/2011): * http://www.akiban.com/licensing/20110913 * * BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING * ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS * AGREEMENT IS ENFOR...
src/test/java/com/akiban/server/test/it/qp/Sort_MixedColumnTypesIT.java
adding a test which sorts with different column types.
src/test/java/com/akiban/server/test/it/qp/Sort_MixedColumnTypesIT.java
adding a test which sorts with different column types.
<ide><path>rc/test/java/com/akiban/server/test/it/qp/Sort_MixedColumnTypesIT.java <add>/** <add> * END USER LICENSE AGREEMENT (“EULA”) <add> * <add> * READ THIS AGREEMENT CAREFULLY (date: 9/13/2011): <add> * http://www.akiban.com/licensing/20110913 <add> * <add> * BY INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWA...
Java
epl-1.0
5e8d7d42d87de4eebf4e4104dd76e6922d751627
0
sunix/che,ollie314/che,Patricol/che,TypeFox/che,TypeFox/che,gazarenkov/che-sketch,gazarenkov/che-sketch,jonahkichwacoders/che,stour/che,cemalkilic/che,sudaraka94/che,kaloyan-raev/che,akervern/che,stour/che,sleshchenko/che,cemalkilic/che,kaloyan-raev/che,snjeza/che,slemeur/che,cdietrich/che,lehmanju/che,davidfestal/che,...
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * 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 ...
core/commons/che-core-commons-lang/src/main/java/org/eclipse/che/commons/lang/IoUtil.java
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * 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 ...
Closing prevous connection if redirect (#1314) CODENVY-538:Closing previous connection if redirect Signed-off-by: Vitaly Parfonov <3980a3d6ad736918e593101a7ff03dfd34097f49@codenvy.com>
core/commons/che-core-commons-lang/src/main/java/org/eclipse/che/commons/lang/IoUtil.java
Closing prevous connection if redirect (#1314)
<ide><path>ore/commons/che-core-commons-lang/src/main/java/org/eclipse/che/commons/lang/IoUtil.java <ide> if (redirect) { <ide> String newUrl = conn.getHeaderField("Location"); <ide> // open the new connection again <del> http = (HttpURLConnecti...
Java
mit
16f141afd1a3ff5a566ca49011e95a7e83214264
0
plume-lib/plume-util
// If you edit this file, you must also edit its tests. // For tests of this and the entire plume package, see class TestPlume. package org.plumelib.util; import static java.nio.charset.StandardCharsets.UTF_8; import static java.nio.file.StandardOpenOption.APPEND; import static java.nio.file.StandardOpenOption.CREATE...
src/main/java/org/plumelib/util/UtilPlume.java
// If you edit this file, you must also edit its tests. // For tests of this and the entire plume package, see class TestPlume. package org.plumelib.util; import static java.nio.charset.StandardCharsets.UTF_8; import static java.nio.file.StandardOpenOption.APPEND; import static java.nio.file.StandardOpenOption.CREATE...
Prevent infinite loop
src/main/java/org/plumelib/util/UtilPlume.java
Prevent infinite loop
<ide><path>rc/main/java/org/plumelib/util/UtilPlume.java <ide> * Return the number of times the second string appears in the first. <ide> * <ide> * @param s string to search in <del> * @param sub string to search for <add> * @param sub non-empty string to search for <ide> * @return number of times the s...
JavaScript
cc0-1.0
41e496bc20c83865a1662180b9525bc958d07655
0
iterami/common,iterami/common,iterami/common
'use strict'; // Required args: todo, url function core_ajax(args){ args = core_args({ 'args': args, 'defaults': { 'data': null, 'readyState': 4, 'status': 200, 'type': 'GET', }, }); let ajax = new XMLHttpRequest(); ajax.onreadystatechange = function()...
js/core.js
'use strict'; // Required args: todo, url function core_ajax(args){ args = core_args({ 'args': args, 'defaults': { 'data': null, 'readyState': 4, 'status': 200, 'type': 'GET', }, }); let ajax = new XMLHttpRequest(); ajax.onreadystatechange = function()...
added settings save button, improved settings reset button clarity
js/core.js
added settings save button, improved settings reset button clarity
<ide><path>s/core.js <ide> + '<div id=core-menu-info></div><hr>' <ide> + '<span id=core-menu-tabs></span>' <ide> + '<div id=core-menu-tabcontent></div>' <del> + '<input id=settings-reset type=button value="Reset Settings">', <add> + '<input id=settings-reset type=button v...
Java
mit
a97e71c69edc2cb9e9efa15ff73b898cebabc5c9
0
sdl/Testy,sdl/Testy,sdl/Testy,sdl/Testy
package com.sdl.weblocator.extjs; import com.extjs.selenium.button.Button; import com.extjs.selenium.conditions.MessageBoxSuccessCondition; import com.extjs.selenium.form.TextField; import com.extjs.selenium.grid.GridPanel; import com.extjs.selenium.tab.TabPanel; import com.extjs.selenium.window.MessageBox; im...
src/test/functional/java/com/sdl/weblocator/extjs/DeployTesty.java
package com.sdl.weblocator.extjs; import com.extjs.selenium.button.Button; import com.extjs.selenium.conditions.MessageBoxSuccessCondition; import com.extjs.selenium.form.TextField; import com.extjs.selenium.grid.GridPanel; import com.extjs.selenium.tab.TabPanel; import com.extjs.selenium.window.MessageBox; im...
fix new nexus url
src/test/functional/java/com/sdl/weblocator/extjs/DeployTesty.java
fix new nexus url
<ide><path>rc/test/functional/java/com/sdl/weblocator/extjs/DeployTesty.java <ide> <ide> @Test(dependsOnMethods = "deployOnJenkins") <ide> public void loginAsAdminSDLNexus() { <del> driver.get("http://cfg-mgmt-server:8081/nexus/index.html#view-repositories;oss-sonatype-snapshots"); <add> driver.g...
JavaScript
apache-2.0
eeb01563f8b64974b8f75185db2c5c380da0380c
0
matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,aperezdc/matrix-react-sdk,aperezdc/matrix-react-sdk,aperezdc/matrix-react-sdk,aperezdc/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk
/* Copyright 2015, 2016 OpenMarket 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://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
src/components/views/dialogs/EncryptedEventDialog.js
/* Copyright 2015, 2016 OpenMarket 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://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
add dialog keyboard shortcuts. download keys on demand
src/components/views/dialogs/EncryptedEventDialog.js
add dialog keyboard shortcuts. download keys on demand
<ide><path>rc/components/views/dialogs/EncryptedEventDialog.js <ide> componentWillMount: function() { <ide> var client = MatrixClientPeg.get(); <ide> client.on("deviceVerificationChanged", this.onDeviceVerificationChanged); <add> <add> client.downloadKeys([this.props.event.getSender()], true)...
Java
apache-2.0
2fd4dcade876dc11a65da6f4f873d235c4037a49
0
apucher/pinot,linkedin/pinot,linkedin/pinot,linkedin/pinot,fx19880617/pinot-1,tkao1000/pinot,linkedin/pinot,izzizz/pinot,Hanmourang/Pinot,pinotlytics/pinot,sajavadi/pinot,linkedin/pinot,tkao1000/pinot,izzizz/pinot,tkao1000/pinot,sajavadi/pinot,apucher/pinot,apucher/pinot,sajavadi/pinot,izzizz/pinot,sajavadi/pinot,izziz...
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
pinot-hadoop/src/main/java/com/linkedin/pinot/hadoop/job/mapper/HadoopSegmentCreationMapReduceJob.java
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
Adding postfix config segment.name.postfix to hadoop segment creation job configs.
pinot-hadoop/src/main/java/com/linkedin/pinot/hadoop/job/mapper/HadoopSegmentCreationMapReduceJob.java
Adding postfix config segment.name.postfix to hadoop segment creation job configs.
<ide><path>inot-hadoop/src/main/java/com/linkedin/pinot/hadoop/job/mapper/HadoopSegmentCreationMapReduceJob.java <ide> import org.codehaus.jackson.map.ObjectMapper; <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <del>import org.stringtemplate.v4.compiler.STParser.list_return; <ide> <ide> import c...
Java
apache-2.0
021c90a99e65efa90f74d82ff5fb44c165e88b65
0
eFaps/eFapsApp-Commons
/* * Copyright 2003 - 2015 The eFaps Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
src/main/efaps/ESJP/org/efaps/esjp/erp/util/ERP.java
/* * Copyright 2003 - 2015 The eFaps Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
Change default value
src/main/efaps/ESJP/org/efaps/esjp/erp/util/ERP.java
Change default value
<ide><path>rc/main/efaps/ESJP/org/efaps/esjp/erp/util/ERP.java <ide> public static final StringSysConfAttribute COMPANY_ESTABLECIMIENTO = new StringSysConfAttribute() <ide> .sysConfUUID(SYSCONFUUID) <ide> .key(BASE + "CompanyEstablecimiento") <del> .default...
Java
mit
error: pathspec 'JavaMain/src/com/dw/leetcode/Clone_Graph_133.java' did not match any file(s) known to git
5f135fe2280242eb875c0f53be3576168c694397
1
emacslisp/Java,emacslisp/Java,emacslisp/Java,emacslisp/Java
package com.dw.leetcode; import java.util.*; //@todo: finish clone graph with 133 public class Clone_Graph_133 { static class UndirectedGraphNode { int label; List<UndirectedGraphNode> neighbors; UndirectedGraphNode(int x) { label = x; neighbors = new ArrayList<UndirectedGraphNode>(); } }; pub...
JavaMain/src/com/dw/leetcode/Clone_Graph_133.java
add 133 clone graph
JavaMain/src/com/dw/leetcode/Clone_Graph_133.java
add 133 clone graph
<ide><path>avaMain/src/com/dw/leetcode/Clone_Graph_133.java <add>package com.dw.leetcode; <add> <add>import java.util.*; <add> <add>//@todo: finish clone graph with 133 <add> <add>public class Clone_Graph_133 { <add> static class UndirectedGraphNode { <add> int label; <add> List<UndirectedGraphNode> neighbors; <add> ...
Java
apache-2.0
434c8f8211e9415984fe0fa89d7d7ce2d915e986
0
drinkjava2/jSQLBox
/* * Copyright (C) 2016 Yong Zhu. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by * applicable law or agreed to in writing,...
jsqlbox/src/main/java/com/github/drinkjava2/jtinynet/parser/SimpleExpressionParser.java
/* * Copyright (C) 2016 Yong Zhu. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by * applicable law or agreed to in writing,...
work on simple parser
jsqlbox/src/main/java/com/github/drinkjava2/jtinynet/parser/SimpleExpressionParser.java
work on simple parser
<ide><path>sqlbox/src/main/java/com/github/drinkjava2/jtinynet/parser/SimpleExpressionParser.java <ide> */ <ide> package com.github.drinkjava2.jtinynet.parser; <ide> <add>import java.util.ArrayList; <add>import java.util.HashMap; <ide> import java.util.List; <add>import java.util.Map; <add>import java.util.Set; <ide>...
Java
apache-2.0
a7328a6f657796602ef2a6d35ddd9d9ad9e2da6f
0
google/closure-compiler,monetate/closure-compiler,monetate/closure-compiler,google/closure-compiler,nawawi/closure-compiler,ChadKillingsworth/closure-compiler,nawawi/closure-compiler,google/closure-compiler,google/closure-compiler,nawawi/closure-compiler,nawawi/closure-compiler,monetate/closure-compiler,ChadKillingswor...
/* * Copyright 2020 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
src/com/google/javascript/jscomp/serialization/ColorDeserializer.java
/* * Copyright 2020 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Clean up proto enum handling now that J2CL protos have an UNRECOGNIZED value PiperOrigin-RevId: 355005704
src/com/google/javascript/jscomp/serialization/ColorDeserializer.java
Clean up proto enum handling now that J2CL protos have an UNRECOGNIZED value
<ide><path>rc/com/google/javascript/jscomp/serialization/ColorDeserializer.java <ide> <ide> ImmutableMap<NativeType, Color> nativeColors = <ide> stream(NativeType.values()) <del> .filter((nativeType) -> nativeTypeToColor(nativeType) != null) <add> // The UNRECOGNIZED type is added by ...
Java
apache-2.0
c52601d5aeca852c6cd1d68827961a2de347ab00
0
opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
form/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/list/FileListUploadPanel.java
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
corrigindo validação de tipos
form/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/list/FileListUploadPanel.java
corrigindo validação de tipos
<ide><path>orm/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/list/FileListUploadPanel.java <ide> import org.apache.wicket.request.http.flow.AbortWithHttpErrorCodeException; <ide> import org.apache.wicket.request.resource.PackageResourceReference; <ide> import org.opensingular.form.SIList; <add>imp...
Java
bsd-3-clause
abaaf83477f4890be6fcfa62500182d7d44be43a
0
Team997Coders/2017SteamBot2,Team997Coders/2017SteamBot2
package org.usfirst.frc.team997.robot; import org.usfirst.frc.team997.robot.commands.DriveToAngle; import org.usfirst.frc.team997.robot.commands.DriveToggle; import org.usfirst.frc.team997.robot.commands.Shoot; import org.usfirst.frc.team997.robot.commands.ShootSpinner; import org.usfirst.frc.team997.robot.subsystems....
src/org/usfirst/frc/team997/robot/Robot.java
package org.usfirst.frc.team997.robot; import org.usfirst.frc.team997.robot.commands.DriveToAngle; import org.usfirst.frc.team997.robot.commands.DriveToggle; import org.usfirst.frc.team997.robot.commands.Shoot; import org.usfirst.frc.team997.robot.commands.ShootSpinner; import org.usfirst.frc.team997.robot.subsystems....
Add averageCurrent(int[] ports)
src/org/usfirst/frc/team997/robot/Robot.java
Add averageCurrent(int[] ports)
<ide><path>rc/org/usfirst/frc/team997/robot/Robot.java <ide> return -1; <ide> } <ide> return x; <del> <add> } <add> <add> public static double averageCurrent(int[] ports) { <add> double result = 0; <add> if (ports.length != 0) { <add> for (int i = 0; i != ports.length; ++i) { <add> result += pdp.getCu...
Java
lgpl-2.1
2610401e1fcf2e1106ea0d8dd41fba3ae5b5d014
0
tgvaughan/beast2,tgvaughan/beast2,Anaphory/beast2,tgvaughan/beast2,tgvaughan/beast2,Anaphory/beast2,CompEvol/beast2,CompEvol/beast2,CompEvol/beast2,Anaphory/beast2,CompEvol/beast2,Anaphory/beast2
package beast.util; import static beast.util.OutputUtils.format; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import beast.app.BEASTVersion; import bea...
src/beast/util/LogAnalyser.java
package beast.util; import static beast.util.OutputUtils.format; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PrintStream; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import beast.app.BEASTVersion; import bea...
initialise quiet flag to false in LogAnalysers, closes #542
src/beast/util/LogAnalyser.java
initialise quiet flag to false in LogAnalysers, closes #542
<ide><path>rc/beast/util/LogAnalyser.java <ide> // process args <ide> int burninPercentage = BURN_IN_PERCENTAGE; <ide> boolean oneLine = false; <del> boolean quiet = true; <add> boolean quiet = false; <ide> List<String> files = new Arr...
Java
mit
f5de59a86c609950ab23e3dd6e469933d068cddd
0
iwanbolzern/connect-four
package prg2.connectfour; import java.awt.Dimension; import javax.swing.*; import prg2.connectfour.logic.Color; import prg2.connectfour.logic.bot.GameTheory; import prg2.connectfour.ui.HomeScreen; import prg2.connectfour.ui.PlayGround; import prg2.connectfour.ui.PlayGroundSizeDialog; import prg2.connectfour.ui.Searc...
src/main/java/prg2/connectfour/ConnectFour.java
package prg2.connectfour; import java.awt.Dimension; import javax.swing.*; import prg2.connectfour.logic.Color; import prg2.connectfour.logic.bot.GameTheory; import prg2.connectfour.ui.HomeScreen; import prg2.connectfour.ui.PlayGround; import prg2.connectfour.ui.PlayGroundSizeDialog; import prg2.connectfour.ui.Searc...
prefered size fixed
src/main/java/prg2/connectfour/ConnectFour.java
prefered size fixed
<ide><path>rc/main/java/prg2/connectfour/ConnectFour.java <ide> JFrame mainFrame = new ConnectFour(); <ide> mainFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); <ide> mainFrame.setTitle("Connect four - Have fun"); <add> mainFrame.setPreferredSize(new Dimension(800, 600)); <i...
JavaScript
lgpl-2.1
fc3c52ebf4113eb0d1ff04b4c21a0b4f1e9cda71
0
FernCreek/tinymce,tinymce/tinymce,FernCreek/tinymce,TeamupCom/tinymce,tinymce/tinymce,tinymce/tinymce,FernCreek/tinymce,TeamupCom/tinymce
asynctest( 'EventRegistryTest', [ 'ephox.agar.alien.Truncate', 'ephox.agar.api.Assertions', 'ephox.agar.api.Chain', 'ephox.agar.api.GeneralSteps', 'ephox.agar.api.Logger', 'ephox.agar.api.Pipeline', 'ephox.agar.api.Step', 'ephox.agar.api.UiFinder', 'ephox.alloy.events.EventRegi...
src/test/js/browser/events/EventRegistryTest.js
asynctest( 'EventRegistryTest', [ 'ephox.agar.api.Pipeline', 'ephox.agar.api.RawAssertions', 'ephox.agar.api.Step', 'ephox.alloy.events.EventRegistry', 'ephox.compass.Arr', 'ephox.numerosity.api.JSON', 'ephox.peanut.Fun', 'ephox.sugar.api.Element', 'ephox.sugar.api.Html', '...
VAN-1: Assertions for EventRegistry
src/test/js/browser/events/EventRegistryTest.js
VAN-1: Assertions for EventRegistry
<ide><path>rc/test/js/browser/events/EventRegistryTest.js <ide> 'EventRegistryTest', <ide> <ide> [ <add> 'ephox.agar.alien.Truncate', <add> 'ephox.agar.api.Assertions', <add> 'ephox.agar.api.Chain', <add> 'ephox.agar.api.GeneralSteps', <add> 'ephox.agar.api.Logger', <ide> 'ephox.agar.api.Pipeli...
Java
apache-2.0
fff19bc2221d4ebd59f2934d8daeb3a0993169b3
0
rouazana/james,aduprat/james,aduprat/james,chibenwa/james,rouazana/james,rouazana/james,aduprat/james,chibenwa/james,chibenwa/james,chibenwa/james,rouazana/james,aduprat/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 ...
smtpserver-function/src/main/java/org/apache/james/smtpserver/mina/SMTPIoHandler.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 ...
Only write error back to client if the session is still connected git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@900564 13f79535-47bb-0310-9956-ffa450edef68
smtpserver-function/src/main/java/org/apache/james/smtpserver/mina/SMTPIoHandler.java
Only write error back to client if the session is still connected
<ide><path>mtpserver-function/src/main/java/org/apache/james/smtpserver/mina/SMTPIoHandler.java <ide> logger.error("Caught exception: " + session.getCurrentWriteMessage(), <ide> exception); <ide> <del> session.write(new SMTPResponse(SMTPRetCode.LOCAL_ERROR, "Unable to process smt...
Java
lgpl-2.1
4c0b6fac4db43eccde09177da6e86cbe7230dd9c
0
exedio/copernica,exedio/copernica,exedio/copernica
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
lib/hsqldbsrc/com/exedio/cope/HsqldbDatabase.java
/* * Copyright (C) 2004-2005 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
make extractConstraintName more defensive, preparation for prepared statements git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@3707 e7d4fc99-c606-0410-b9bf-843393a9eab7
lib/hsqldbsrc/com/exedio/cope/HsqldbDatabase.java
make extractConstraintName more defensive, preparation for prepared statements
<ide><path>ib/hsqldbsrc/com/exedio/cope/HsqldbDatabase.java <ide> return false; <ide> } <ide> <del> private final String extractConstraintName(final SQLException e, final int vendorCode, final String start, final char end) <add> private final String extractConstraintName(final SQLException e, final int vendorCode, ...
Java
apache-2.0
30ac2a53fc5fc3de69d07787d149e237a651b77e
0
synthetichealth/synthea,synthetichealth/synthea,synthetichealth/synthea
package org.mitre.synthea.helpers; import com.fasterxml.jackson.databind.MappingIterator; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import com.fasterxml.jackson.dataformat.csv.CsvSchema.ColumnType; import java.io.IOException; import java.util.Collect...
src/main/java/org/mitre/synthea/helpers/SimpleCSV.java
package org.mitre.synthea.helpers; import com.fasterxml.jackson.databind.MappingIterator; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import com.fasterxml.jackson.dataformat.csv.CsvSchema.ColumnType; import java.io.IOException; import java.util.Collect...
Remove whitespace.
src/main/java/org/mitre/synthea/helpers/SimpleCSV.java
Remove whitespace.
<ide><path>rc/main/java/org/mitre/synthea/helpers/SimpleCSV.java <ide> <ide> MappingIterator<LinkedHashMap<String, String>> it = mapper.readerFor(LinkedHashMap.class) <ide> .with(schema).readValues(csvData); <del> <ide> <ide> return it.readAll(); <ide> }
Java
agpl-3.0
cacb032fc46d76632d0384fe235c37c47e899291
0
mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud
package org.cryptonit.cloud.timestamping; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.Context; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.R...
src/main/java/org/cryptonit/cloud/timestamping/Application.java
package org.cryptonit.cloud.timestamping; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.core.Context; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.Response; import org.bouncycastle.tsp.TSPException; import ...
Add content types to POST
src/main/java/org/cryptonit/cloud/timestamping/Application.java
Add content types to POST
<ide><path>rc/main/java/org/cryptonit/cloud/timestamping/Application.java <ide> <ide> import java.io.IOException; <ide> import javax.servlet.http.HttpServletRequest; <add>import javax.ws.rs.Consumes; <ide> import javax.ws.rs.POST; <ide> import javax.ws.rs.Path; <add>import javax.ws.rs.Produces; <ide> import javax.ws.r...
Java
apache-2.0
8b216bb87c7760439f76cdd1366c87d8461a851c
0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jdisc.http.server.jetty; import com.google.inject.AbstractModule; import com.google.inject.Module; import com.yahoo.container.logging.ConnectionLog; import com.yahoo.container.loggin...
container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jdisc.http.server.jetty; import com.google.inject.AbstractModule; import com.google.inject.Module; import com.yahoo.container.logging.ConnectionLog; import com.yahoo.container.loggin...
Use BlockingQueueRequestLog
container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java
Use BlockingQueueRequestLog
<ide><path>ontainer-core/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java <ide> } <ide> <ide> @Test <del> public void requireThatRequestIsTrackedInAccessLog() throws IOException { <del> InMemoryRequestLog requestLogMock = new InMemoryRequestLog(); <add> public void requireThatRe...
Java
apache-2.0
5d421a4002ecf90d5ecef834eb806d0ee34f54a4
0
qtproject/qtqa-gerrit,WANdisco/gerrit,joshuawilson/merrit,joshuawilson/merrit,MerritCR/merrit,joshuawilson/merrit,gerrit-review/gerrit,joshuawilson/merrit,MerritCR/merrit,joshuawilson/merrit,MerritCR/merrit,GerritCodeReview/gerrit,gerrit-review/gerrit,qtproject/qtqa-gerrit,MerritCR/merrit,qtproject/qtqa-gerrit,WANdisco...
// Copyright (C) 2015 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 ...
gerrit-extension-api/src/main/java/com/google/gerrit/extensions/api/groups/Groups.java
// Copyright (C) 2015 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 ...
Groups: Add missing fluent setter ListRequest#withOwned Change-Id: Ibb50df85f82bbbb4f7d6fb1d6794519160b5f7db
gerrit-extension-api/src/main/java/com/google/gerrit/extensions/api/groups/Groups.java
Groups: Add missing fluent setter ListRequest#withOwned
<ide><path>errit-extension-api/src/main/java/com/google/gerrit/extensions/api/groups/Groups.java <ide> return this; <ide> } <ide> <add> public ListRequest withOwned(boolean owned) { <add> this.owned = owned; <add> return this; <add> } <add> <ide> public ListRequest withLimit(int limit) { ...
JavaScript
mit
50c193f170d4f148ec91f4b44bc60713279d0498
0
ARCANESOFT/foundation-assets,ARCANESOFT/foundation-assets
'use strict'; /* -------------------------------------------------------------------------- * Gulp libs * -------------------------------------------------------------------------- */ var gulp = require('gulp'), concat = require('gulp-concat'), less = require('gulp-less'), minifyCss = ...
gulpfile.js
'use strict'; /* -------------------------------------------------------------------------- * Gulp libs * -------------------------------------------------------------------------- */ var gulp = require('gulp'), concat = require('gulp-concat'), less = require('gulp-less'), minifyCss = ...
Updating gulpfile.js
gulpfile.js
Updating gulpfile.js
<ide><path>ulpfile.js <ide> dirs.src + '/js/vendors/bootstrap-datepicker-fix.js', <ide> dirs.src + '/js/vendors/bootstrap3-wysihtml5.all.js', <ide> dirs.bower + '/slimScroll/jquery.slimscroll.js', <del> dirs.bower + '/fastclick/lib/fastclick.js' <add> dirs.bower + '/fastclick/l...
Java
apache-2.0
61433e690ec10deff1a684199b2ba43ee985c46b
0
netzwerg/paleo
/* * Copyright 2016 Rahel Lüthy * * 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...
paleo-io/src/jmh/java/ch/netzwerg/paleo/io/ParserBenchmarks.java
/* * Copyright 2016 Rahel Lüthy * * 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...
#17: Measure average execution time in ms
paleo-io/src/jmh/java/ch/netzwerg/paleo/io/ParserBenchmarks.java
#17: Measure average execution time in ms
<ide><path>aleo-io/src/jmh/java/ch/netzwerg/paleo/io/ParserBenchmarks.java <ide> import java.io.File; <ide> import java.io.FileReader; <ide> import java.io.IOException; <add>import java.util.concurrent.TimeUnit; <ide> <ide> @Warmup(iterations = 1) <ide> @Measurement(iterations = 1) <del>@BenchmarkMode(Mode.Throughput)...
Java
mit
57b16dcf545d5078fc46313201aef8d93d8b8823
0
markovandooren/chameleon
package org.aikodi.chameleon.support.input; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.StringBufferInputStream; import java.util.HashSet; import java.util.List; import java.util.Set; import org.aikodi.chameleon.core.document.Document; import org.aikodi.chameleon.core.e...
src/org/aikodi/chameleon/support/input/ModelFactoryUsingANTLR3.java
package org.aikodi.chameleon.support.input; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.StringBufferInputStream; import java.util.HashSet; import java.util.List; import java.util.Set; import org.aikodi.chameleon.core.document.Document; import org.aikodi.chameleon.core.e...
Propagate the runtime exception
src/org/aikodi/chameleon/support/input/ModelFactoryUsingANTLR3.java
Propagate the runtime exception
<ide><path>rc/org/aikodi/chameleon/support/input/ModelFactoryUsingANTLR3.java <ide> parser.compilationUnit(); <ide> } catch (RecognitionException e) { <ide> throw new ParseException(e,cu); <del> } catch (Throwable t) { <add> } catch(RuntimeException e) { <add> throw e; <add> } <add> catch (Throwable t) ...
Java
apache-2.0
377554104b263ee3632cdf61e52a975b2572a80b
0
apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
sharding-core/src/test/java/io/shardingsphere/core/keygen/UUIDKeyGeneratorTest.java
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
ADD assertSetProperties()
sharding-core/src/test/java/io/shardingsphere/core/keygen/UUIDKeyGeneratorTest.java
ADD assertSetProperties()
<ide><path>harding-core/src/test/java/io/shardingsphere/core/keygen/UUIDKeyGeneratorTest.java <ide> <ide> import org.junit.Test; <ide> <add>import java.util.Properties; <add> <ide> import static org.hamcrest.CoreMatchers.is; <ide> import static org.junit.Assert.assertThat; <ide> <ide> <ide> @Test <ide> ...
Java
apache-2.0
04e36262d21d674456cbc69946f70be2b65ddb49
0
jaeksoft/opensearchserver,jaeksoft/opensearchserver
/* * Copyright 2017-2018 Emmanuel Keller / Jaeksoft * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless requ...
src/main/java/com/jaeksoft/opensearchserver/services/JwtUsersService.java
/* * Copyright 2017-2018 Emmanuel Keller / Jaeksoft * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless requ...
Fix URI redirection issue
src/main/java/com/jaeksoft/opensearchserver/services/JwtUsersService.java
Fix URI redirection issue
<ide><path>rc/main/java/com/jaeksoft/opensearchserver/services/JwtUsersService.java <ide> import java.net.URI; <ide> import java.text.ParseException; <ide> import java.util.Date; <del>import java.util.Map; <ide> import java.util.Objects; <ide> import java.util.UUID; <del>import java.util.concurrent.ConcurrentHashMap; <...
Java
lgpl-2.1
f3be5f6b15ef1c69ab91993cae2df6b59e688a62
0
evolvedmicrobe/beast-mcmc,luminwin/beast-mcmc,JifengJiang/beast-mcmc,JifengJiang/beast-mcmc,luminwin/beast-mcmc,danieljue/beast-mcmc,luminwin/beast-mcmc,luminwin/beast-mcmc,evolvedmicrobe/beast-mcmc,evolvedmicrobe/beast-mcmc,JifengJiang/beast-mcmc,evolvedmicrobe/beast-mcmc,danieljue/beast-mcmc,danieljue/beast-mcmc,Jife...
/* * DiscreteStatistics.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modif...
src/dr/stats/DiscreteStatistics.java
/* * DiscreteStatistics.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modif...
comment addition
src/dr/stats/DiscreteStatistics.java
comment addition
<ide><path>rc/dr/stats/DiscreteStatistics.java <ide> * <ide> * @param q quantile (0 <= q <= 1) <ide> * @param x discrete distribution (an unordered list of numbers) <add> * @param count use only first count entries in x <ide> * <ide> * @return q-th quantile <ide> */
Java
apache-2.0
51bab2de7a3be286f211550c67b11dca90879c72
0
Valkryst/Schillsaver
package model; import com.valkryst.VMVC.Settings; import com.valkryst.VMVC.model.Model; import javafx.application.Platform; import javafx.scene.control.Tab; import javafx.scene.control.TextArea; import lombok.Getter; import lombok.Setter; import misc.BlockSize; import misc.FrameDimension; import misc.FrameRate; import...
src/model/MainModel.java
package model; import com.valkryst.VMVC.Settings; import com.valkryst.VMVC.model.Model; import javafx.scene.control.Tab; import javafx.scene.control.TextArea; import lombok.Getter; import lombok.Setter; import misc.Job; import org.apache.commons.io.FilenameUtils; import org.apache.logging.log4j.LogManager; import org....
Partially implements ffmpeg encoding.
src/model/MainModel.java
Partially implements ffmpeg encoding.
<ide><path>rc/model/MainModel.java <ide> <ide> import com.valkryst.VMVC.Settings; <ide> import com.valkryst.VMVC.model.Model; <add>import javafx.application.Platform; <ide> import javafx.scene.control.Tab; <ide> import javafx.scene.control.TextArea; <ide> import lombok.Getter; <ide> import lombok.Setter; <add>import m...
Java
apache-2.0
c667e8f5a4c55206af6ebab1317abb2cfa014856
0
cscorley/solr-only-mirror,cscorley/solr-only-mirror,cscorley/solr-only-mirror
package org.apache.solr.cloud; /** * 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...
core/src/java/org/apache/solr/cloud/ZkController.java
package org.apache.solr.cloud; /** * 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...
SOLR-3080: separate sync for publishing coreStates git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1293391 13f79535-47bb-0310-9956-ffa450edef68
core/src/java/org/apache/solr/cloud/ZkController.java
SOLR-3080: separate sync for publishing coreStates
<ide><path>ore/src/java/org/apache/solr/cloud/ZkController.java <ide> public final static String CONFIGNAME_PROP="configName"; <ide> <ide> private Map<String, CoreState> coreStates = null; <add> private long coreStatesVersion; // bumped by 1 each time we serialize coreStates... sync on coreStates <add> private ...
JavaScript
agpl-3.0
11426c148c4d257a8c2a2e8539457eb4c5d02801
0
chamerling/rse-chamerling,chamerling/rse-chamerling,heroandtn3/openpaas-esn,heroandtn3/openpaas-esn,heroandtn3/openpaas-esn
'use strict'; /* global chai: false */ var expect = chai.expect; describe('The Domain Angular module', function() { beforeEach(angular.mock.module('esn.domain')); describe('domainAPI service', function() { describe('inviteUsers() method', function() { beforeEach(angular.mock.inject(function(domainAPI...
test/unit-frontend/modules/domain.js
'use strict'; /* global chai: false */ var expect = chai.expect; describe('The Domain Angular module', function() { beforeEach(angular.mock.module('esn.domain')); describe('domainAPI service', function() { describe('inviteUsers() method', function() { beforeEach(angular.mock.inject(function(domainAPI...
OR-202 Push more email in the test
test/unit-frontend/modules/domain.js
OR-202 Push more email in the test
<ide><path>est/unit-frontend/modules/domain.js <ide> })); <ide> <ide> it('should send a POST to /domains/:uuid/invitations', function() { <del> var users = ['foo@bar.com']; <add> var users = ['foo@bar.com', 'baz@bar.com', 'qux@bar.com', 'yolo@bar.com']; <ide> this.$httpBackend.expectP...
JavaScript
mit
af1e8a3c644a2f56d4ecb52f65d0aaf62a3f27d6
0
BrowserSync/browser-sync-client
var gulp = require("gulp"); var karma = require('gulp-karma'); var jshint = require('gulp-jshint'); var contribs = require('gulp-contribs'); var browserify = require('gulp-browserify'); var uglify = require('gulp-uglify'); var through2 = require('through2'); var rename = require('gulp-rename'...
gulpfile.js
var gulp = require("gulp"); var karma = require('gulp-karma'); var jshint = require('gulp-jshint'); var contribs = require('gulp-contribs'); var browserify = require('gulp-browserify'); var uglify = require('gulp-uglify'); var through2 = require('through2'); var rename = require('gulp-rename'...
Add building to CI
gulpfile.js
Add building to CI
<ide><path>ulpfile.js <ide> gulp.watch(["lib/*.js", "test/client-new/**/*.js"], ['build-dist']); <ide> }); <ide> <del>gulp.task('default', ["lint-lib", "lint-test", "test"]); <add>gulp.task('default', ["lint-lib", "lint-test", "build-dist", "test"]);
Java
apache-2.0
c7c76d7924c15331248af07aa76bb06e63cdbe8d
0
mwaylabs/relution-jenkins-plugin,mwaylabs/relution-jenkins-plugin,jenkinsci/relution-plugin,mwaylabs/relution-jenkins-plugin
/* * Copyright (c) 2013-2014 M-Way Solutions GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
relution-publisher/src/main/java/org/jenkinsci/plugins/relution_publisher/configuration/jobs/ArtifactPublisher.java
/* * Copyright (c) 2013-2014 M-Way Solutions GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
Add the supported DH key pair size in bits to the debug log output. This adds log entries that show whether a key pair size of 1024, 2048 and 4096 bits for DiffieHellman is supported by the current platform and Java VM. For example, if a key pair size of 2048 bits is unsupported and the store's SSL certificate uses a ...
relution-publisher/src/main/java/org/jenkinsci/plugins/relution_publisher/configuration/jobs/ArtifactPublisher.java
Add the supported DH key pair size in bits to the debug log output.
<ide><path>elution-publisher/src/main/java/org/jenkinsci/plugins/relution_publisher/configuration/jobs/ArtifactPublisher.java <ide> import org.kohsuke.stapler.DataBoundConstructor; <ide> <ide> import java.io.IOException; <add>import java.security.AlgorithmParameterGenerator; <ide> import java.security.NoSuchAlgorithmE...
Java
mit
1af5a485c9dfdc1b3c951d66cddcec9cdc884037
0
CS2103AUG2016-W15-C3/main
package seedu.taskell.logic.parser; import static seedu.taskell.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.taskell.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import static seedu.taskell.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLAYED_INDEX; import java.util.*; import java.util....
src/main/java/seedu/taskell/logic/parser/Parser.java
package seedu.taskell.logic.parser; import static seedu.taskell.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.taskell.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import static seedu.taskell.commons.core.Messages.MESSAGE_INVALID_TASK_DISPLAYED_INDEX; import java.util.*; import java.util....
refactor
src/main/java/seedu/taskell/logic/parser/Parser.java
refactor
<ide><path>rc/main/java/seedu/taskell/logic/parser/Parser.java <ide> import seedu.taskell.logic.commands.list.ListDateCommand; <ide> import seedu.taskell.logic.commands.list.ListDoneCommand; <ide> import seedu.taskell.logic.commands.list.ListPriorityCommand; <add>import seedu.taskell.model.History; <add>import seedu.ta...
Java
apache-2.0
c5087dfced44d3555edf01fc41d5a68504c475c4
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2016, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
server/src/main/java/org/spine3/server/BoundedContext.java
/* * Copyright 2016, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Remove completed TODO.
server/src/main/java/org/spine3/server/BoundedContext.java
Remove completed TODO.
<ide><path>erver/src/main/java/org/spine3/server/BoundedContext.java <ide> * If `true` the bounded context serves many organizations. <ide> */ <ide> private final boolean multitenant; <del> //TODO:2016-01-16:alexander.yevsyukov: Set all passed storages multitenant too. <del> // Or require storageFac...
JavaScript
mit
1cddd0a4dc0537bc0ce20eeb1b61cd0968129059
0
NiklasGollenstede/es6lib
(function(global) { 'use strict'; /* globals URL, location, */ // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. const document = typeof window !== 'undefined' && global.nav...
require.js
(function(global) { 'use strict'; /* globals URL, location, */ // This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. const document = typeof window !== 'undefined' && global.nav...
require.js: add serveContentScripts option
require.js
require.js: add serveContentScripts option
<ide><path>equire.js <ide> <ide> const document = typeof window !== 'undefined' && global.navigator && global.document; <ide> const importScripts = typeof window === 'undefined' && typeof navigator === 'object' && typeof global.importScripts === 'function'; <del>const webExt = document && !document.currentScript && !i...
Java
apache-2.0
2451364be0b2ad5bc56c2296a51ba157e19b2998
0
bkromhout/Minerva
package com.bkromhout.minerva; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.AppCompatActivity; import android.support.v7.view.ActionMode; import android.support.v7.widget.ButtonBarLayout; import android.suppo...
app/src/main/java/com/bkromhout/minerva/TaggingActivity.java
package com.bkromhout.minerva; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.AppCompatActivity; import android.support.v7.view.ActionMode; import android.support.v7.widget.ButtonBarLayout; import android.suppo...
Stay consistent when renaming
app/src/main/java/com/bkromhout/minerva/TaggingActivity.java
Stay consistent when renaming
<ide><path>pp/src/main/java/com/bkromhout/minerva/TaggingActivity.java <ide> @OnClick(R.id.save) <ide> void onSaveButtonClicked() { <ide> // Use the two lists to get deltas, then use them to figure out which tags were added and which were removed. <del> Patch<String> patch = DiffUtils.diff(taggin...
Java
apache-2.0
6d911c44b3979159fea32b11ab0fabaa49bf46e2
0
jguerinet/android-utils,jguerinet/android-utils,jguerinet/Suitcase,jguerinet/Suitcase
/* * Copyright 2017 Julien Guerinet * * 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/guerinet/utils/Utils.java
/* * Copyright 2016 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Added method to generate a UUID
library/src/main/java/com/guerinet/utils/Utils.java
Added method to generate a UUID
<ide><path>ibrary/src/main/java/com/guerinet/utils/Utils.java <ide> /* <del> * Copyright 2016 Julien Guerinet <add> * Copyright 2017 Julien Guerinet <ide> * <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> import ja...
Java
bsd-3-clause
1d770852eb72c3ee1190dc68dc568f17704c6de8
0
ndexbio/ndex-rest,ndexbio/ndex-rest,ndexbio/ndex-rest,ndexbio/ndex-rest
package org.ndexbio.rest.services; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.HttpURLConnection; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.List; i...
src/main/java/org/ndexbio/rest/services/NetworkAService.java
package org.ndexbio.rest.services; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.net.HttpURLConnection; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; import java.util.List; i...
Refactoring: using NdexProvenaceEventType.
src/main/java/org/ndexbio/rest/services/NetworkAService.java
Refactoring: using NdexProvenaceEventType.
<ide><path>rc/main/java/org/ndexbio/rest/services/NetworkAService.java <ide> import org.ndexbio.model.network.query.EdgeCollectionQuery; <ide> import org.ndexbio.model.object.Membership; <ide> import org.ndexbio.model.object.NdexPropertyValuePair; <add>import org.ndexbio.model.object.NdexProvenanceEventType; <ide> impo...
Java
apache-2.0
a7d30136a24cfb6e70269e1612ed6d3598c03d12
0
ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,McLeodMoores/starling,nssales/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,jero...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.payments.method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import or...
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/interestrate/payments/method/CouponONCompoundedDiscountingMethod.java
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.payments.method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import or...
PLAT-4732: Changing PV01 calculation of BRL Pre-DI swaps with the new adjoint sensitivity formulae
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/interestrate/payments/method/CouponONCompoundedDiscountingMethod.java
PLAT-4732: Changing PV01 calculation of BRL Pre-DI swaps with the new adjoint sensitivity formulae
<ide><path>rojects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/interestrate/payments/method/CouponONCompoundedDiscountingMethod.java <ide> for (int i = 0; i < coupon.getFixingPeriodAccrualFactors().length; i++) { <ide> discountFactorStart[i] = forwardCurve.getDiscountFactor(coupon.getFixingPe...
Java
mit
19571b85e7c32862ccf9d608433c2773e236ef3c
0
IamWaffle/CryptoWatch
package cryptowatch; import com.eclipsesource.json.Json; import com.eclipsesource.json.JsonArray; import com.eclipsesource.json.JsonValue; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.Objects; import ...
src/cryptowatch/Market.java
package cryptowatch; import com.eclipsesource.json.Json; import com.eclipsesource.json.JsonArray; import com.eclipsesource.json.JsonValue; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.Objects; import ...
Reorganize strings and arrays
src/cryptowatch/Market.java
Reorganize strings and arrays
<ide><path>rc/cryptowatch/Market.java <ide> import org.apache.commons.io.IOUtils; <ide> <ide> public class Market { <del> static String rawBittrex; <add> static JsonArray arrayBittrex; <ide> <ide> public static void startTimer(){ <ide> Timer timer = new Timer(); <ide> URLConn...
Java
mit
error: pathspec 'AIC_InvertedIndex/src/com/aic/keywordanalysis/CountryNametoCountryCode.java' did not match any file(s) known to git
9045cad4a27e17a9e176a599f744067ad6e777f1
1
lokresh88/TwitterTigers,lokresh88/TwitterTigers,lokresh88/TwitterTigers
package com.aic.keywordanalysis; import java.util.ArrayList; import java.util.HashMap; public class CountryNametoCountryCode { static HashMap<String,String> NametoCode = new HashMap<String, String>(); // ArrayList<String> Country = new ArrayList<String>(); // ArrayList<String> Code = new ArrayList<String>(); public...
AIC_InvertedIndex/src/com/aic/keywordanalysis/CountryNametoCountryCode.java
Check in for CountryName to Country Code
AIC_InvertedIndex/src/com/aic/keywordanalysis/CountryNametoCountryCode.java
Check in for CountryName to Country Code
<ide><path>IC_InvertedIndex/src/com/aic/keywordanalysis/CountryNametoCountryCode.java <add>package com.aic.keywordanalysis; <add>import java.util.ArrayList; <add>import java.util.HashMap; <add>public class CountryNametoCountryCode { <add> static HashMap<String,String> NametoCode = new HashMap<String, String>(); <add>//...
Java
apache-2.0
2963d59ed21de246390426cbdb57c160a4f65303
0
JingchengDu/hbase,JingchengDu/hbase,ndimiduk/hbase,Apache9/hbase,mahak/hbase,mahak/hbase,ndimiduk/hbase,vincentpoon/hbase,ChinmaySKulkarni/hbase,ultratendency/hbase,francisliu/hbase,bijugs/hbase,vincentpoon/hbase,ndimiduk/hbase,HubSpot/hbase,ChinmaySKulkarni/hbase,bijugs/hbase,gustavoanatoly/hbase,bijugs/hbase,Eshcar/h...
/** * * 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"); ...
hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.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"); ...
HBASE-15229 Canary Tools should not call System.Exit on error (Vishal Khandelwal)
hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
HBASE-15229 Canary Tools should not call System.Exit on error (Vishal Khandelwal)
<ide><path>base-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java <ide> if (this.failOnError && monitor.hasError()) { <ide> monitorThread.interrupt(); <ide> if (monitor.initialized) { <del> System.exit(monitor.errorCode); <add> return mon...
Java
mit
577d96d2826d2823798e130f5cabe17a7dd1fcfb
0
markenwerk/java-commons-iterators
/* * Copyright (c) 2016 Torsten Krause, Markenwerk GmbH * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, m...
src/main/java/net/markenwerk/commons/iterators/RemoveHandlerIterator.java
/* * Copyright (c) 2016 Torsten Krause, Markenwerk GmbH * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, m...
ficed javadoc
src/main/java/net/markenwerk/commons/iterators/RemoveHandlerIterator.java
ficed javadoc
<ide><path>rc/main/java/net/markenwerk/commons/iterators/RemoveHandlerIterator.java <ide> * The {@link Handler} to be used. <ide> * <ide> * @throws IllegalArgumentException <del> * If the given {@link Iterator} is {@literal null}. <add> * If the given {@link Iterator} is {@li...