lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
9cb2704217e2083c20258d1cbf209024dcb421e1
0
chrishantha/msf4j,chrishantha/msf4j,arunasujith/msf4j,thusithathilina/msf4j,callkalpa/product-mss,chrishantha/msf4j,arunasujith/msf4j,bsenduran/product-mss,thusithathilina/msf4j,sameera-jayasoma/product-mss,sameera-jayasoma/product-mss,tikaa/msf4j,sameera-jayasoma/product-mss,wso2/msf4j,callkalpa/product-mss,arunasujit...
/* * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
core/src/main/java/org/wso2/msf4j/internal/swagger/SwaggerDefinitionService.java
/* * Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.ap...
Added message when a 404 is sent
core/src/main/java/org/wso2/msf4j/internal/swagger/SwaggerDefinitionService.java
Added message when a 404 is sent
<ide><path>ore/src/main/java/org/wso2/msf4j/internal/swagger/SwaggerDefinitionService.java <ide> } <ide> } <ide> return (msf4JBeanConfig == null) ? <del> Response.status(Response.Status.NOT_FOUND).build() : <add> Response.status(Response.Status.NOT_FOUND). <add>...
Java
apache-2.0
d18301cb1379250113946826e65919d7577563d6
0
GaryWKeim/ehcache3,ljacomet/ehcache3,wantstudy/ehcache3,lorban/ehcache3,jhouserizer/ehcache3,rkavanap/ehcache3,AbfrmBlr/ehcache3,lorban/ehcache3,292388900/ehcache3,CapeSepias/ehcache3,cljohnso/ehcache3,ehcache/ehcache3,ljacomet/ehcache3,chrisdennis/ehcache3,palmanojkumar/ehcache3,aurbroszniowski/ehcache3,mingyaaaa/ehca...
/* * Copyright Terracotta, 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 ...
impl/src/main/java/org/ehcache/internal/store/OnHeapStore.java
/* * Copyright Terracotta, 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 ...
Issue #31 introduced method to deal with null producing Function and BiFunction
impl/src/main/java/org/ehcache/internal/store/OnHeapStore.java
Issue #31 introduced method to deal with null producing Function and BiFunction
<ide><path>mpl/src/main/java/org/ehcache/internal/store/OnHeapStore.java <ide> return map.compute(key, new BiFunction<K, ValueHolder<V>, ValueHolder<V>>() { <ide> @Override <ide> public ValueHolder<V> apply(final K k, final ValueHolder<V> vValueHolder) { <del> return new OnHeapStoreValueHolder<V>...
Java
mit
90f300ed875cece84e320bab5a9e730c9b6f20e2
0
TheBrownMotie/finite-byte-field,TheBrownMotie/finite-byte-field
package com.nickww.finitefield; import static com.nickww.finitefield.FiniteByteField.*; import java.util.Arrays; /** * This class represents a 2d matrix of bytes, which exist in the finite field GF(2<sup>8</sup>). Instances of this * class are immutable and thread-safe. * * @author Nick Wuensch */ pu...
src/main/java/com/nickww/finitefield/FiniteByteFieldMatrix.java
package com.nickww.finitefield; import static com.nickww.finitefield.FiniteByteField.*; import java.util.Arrays; /** * This class represents a 2d matrix of bytes, which exist in the finite field GF(2<sup>8</sup>). Instances of this * class are immutable and thread-safe. * * @author Nick Wuensch */ pu...
Refactor: housekeeping - fewer braces
src/main/java/com/nickww/finitefield/FiniteByteFieldMatrix.java
Refactor: housekeeping - fewer braces
<ide><path>rc/main/java/com/nickww/finitefield/FiniteByteFieldMatrix.java <ide> if(row != deletedRow) <ide> { <ide> for(int col = 0; col < numCols(); col++) <del> { <ide> if(col != deletedCol) <del> { <del> minor[minorRow][minorCol] = data[row][col]; <del> minorCol++; <del> } <del> ...
JavaScript
bsd-2-clause
5b391e94e40ec041b6bd4b3a506f708fd45978eb
0
CIDARLAB/3DuF,CIDARLAB/3DuF
var RoundedRectLine = function(params){ let start = params["start"]; let end = params["end"]; let color = params["color"]; let width = params["width"]; let baseColor = params["baseColor"]; let startPoint = new paper.Point(start[0], start[1]); let endPoint = new paper.Point(end[0], end[1]); ...
src/app/view/render2D/primitiveSets2D/basic2D.js
var RoundedRectLine = function(params){ let start = params["start"]; let end = params["end"]; let color = params["color"]; let width = params["width"]; let baseColor = params["baseColor"]; let startPoint = new paper.Point(start[0], start[1]); let endPoint = new paper.Point(end[0], end[1]); ...
Fix for diamond chamber checkbox
src/app/view/render2D/primitiveSets2D/basic2D.js
Fix for diamond chamber checkbox
<ide><path>rc/app/view/render2D/primitiveSets2D/basic2D.js <ide> let orientation = params["orientation"]; <ide> let color = params["color"]; <ide> let p0, p1, p2, p3, p4, p5; <del> if (orientation == "V"){ <add> if (orientation == "H"){ <add> p0 = [px - l/2, py - cw/2]; <add> p1 = [px -...
JavaScript
mit
a57416c36b5604b84336ddbbaa78a2eff6c13bd7
0
mrbigmouth/acgn-stock,silentvow/acgn-stock,mrbigmouth/acgn-stock,silentvow/acgn-stock
import { _ } from 'meteor/underscore'; import { Meteor } from 'meteor/meteor'; import { resourceManager } from '/server/imports/threading/resourceManager'; import { dbFoundations } from '/db/dbFoundations'; import { dbLog } from '/db/dbLog'; import { dbCompanies } from '/db/dbCompanies'; import { dbCompanyArchive } fr...
server/foundation.js
import { _ } from 'meteor/underscore'; import { Meteor } from 'meteor/meteor'; import { resourceManager } from '/server/imports/threading/resourceManager'; import { dbFoundations } from '/db/dbFoundations'; import { dbLog } from '/db/dbLog'; import { dbCompanies } from '/db/dbCompanies'; import { dbCompanyArchive } fr...
修正新創成功時新公司缺少資料的問題,並在插入前進行驗證
server/foundation.js
修正新創成功時新公司缺少資料的問題,並在插入前進行驗證
<ide><path>erver/foundation.js <ide> candidateList.push(foundationData.manager); <ide> } <ide> <del> companiesBulk.insert(dbCompanies.simpleSchema().clean({ <del> _id: companyId, <add> const voteList = candidateList.map(() => { <add> return []; <add> }); <add> <add> const companySchema = dbCompanies.si...
Java
apache-2.0
fc1c1a3ee2088f232fce16aeec6e6a88db684254
0
lovepoem/dubbo,bpzhang/dubbo,lovepoem/dubbo,wuwen5/dubbo,fengyie007/dubbo,bpzhang/dubbo,bpzhang/dubbo,fengyie007/dubbo,wuwen5/dubbo,wuwen5/dubbo,fengyie007/dubbo,lovepoem/dubbo
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
dubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Add test cases with # in the parameters for URLTest (#7767)
dubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java
Add test cases with # in the parameters for URLTest (#7767)
<ide><path>ubbo-common/src/test/java/org/apache/dubbo/common/URLTest.java <ide> @Test <ide> public void test_windowAbsolutePathBeginWithSlashIsValid() throws Exception { <ide> final String osProperty = System.getProperties().getProperty("os.name"); <del> if (!osProperty.toLowerCase().contains("wi...
Java
apache-2.0
3aed35ea9c77a7a627bab933d299e3f9d912f07d
0
apache/pdfbox,apache/pdfbox
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
pdfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
PDFBOX-4892: remove exception that isn't thrown git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1892785 13f79535-47bb-0310-9956-ffa450edef68
pdfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java
PDFBOX-4892: remove exception that isn't thrown
<ide><path>dfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java <ide> /** <ide> * Instantiate a new PDFTextStripper object. <ide> */ <del> public PDFMarkedContentExtractor() throws IOException <add> public PDFMarkedContentExtractor() <ide> { <ide> this(null); <ide> ...
Java
bsd-3-clause
b338dfdf8981df9ba4ea2f1601bc40ed5cb63f68
0
inadco/protobuf-java-format
package com.googlecode.protobuf.format; /* Copyright (c) 2009, Orbitz World Wide 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 copy...
src/main/java/com/googlecode/protobuf/format/JsonFormat.java
package com.googlecode.protobuf.format; /* Copyright (c) 2009, Orbitz World Wide 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 copy...
revert to use default bytestring conversion for non-id fields
src/main/java/com/googlecode/protobuf/format/JsonFormat.java
revert to use default bytestring conversion for non-id fields
<ide><path>rc/main/java/com/googlecode/protobuf/format/JsonFormat.java <ide> if(IDUtil.isValidID(byteString)){ <ide> generator.print(IDUtil.bytes2HexString(byteString.toByteArray())); <ide> }else{ <del> generator.print(bytesToHexString((ByteString) ...
Java
apache-2.0
3bc47873f155b31a222cbe4cbf57ca478feb2c55
0
mashrin/processing.py,jdf/processing.py,mashrin/processing.py,jdf/processing.py,mashrin/processing.py,Luxapodular/processing.py,tildebyte/processing.py,tildebyte/processing.py,jdf/processing.py,tildebyte/processing.py,Luxapodular/processing.py,Luxapodular/processing.py
/* * Copyright 2010 Jonathan Feinberg * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
src/jycessing/Runner.java
/* * Copyright 2010 Jonathan Feinberg * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
turn cleanup back on
src/jycessing/Runner.java
turn cleanup back on
<ide><path>rc/jycessing/Runner.java <ide> Py.initPython(); <ide> final InteractiveConsole interp = new InteractiveConsole(); <ide> <add> // This hack seems to be necessary in order to redirect stdout for unit <add> // tests <ide> interp.setOut(System.out); <ide> <ide> // ...
Java
mit
d0f46992616d91cb6ff3a7d30c79f7abc7cdeacd
0
msigwart/fakeload
package com.martensigwart.fakeload; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; final class MemorySimulator extends AbstractLoadSimulator { private static final Logger log = LoggerFactory.getLogger(MemorySimulator.class); private static final...
src/main/java/com/martensigwart/fakeload/MemorySimulator.java
package com.martensigwart.fakeload; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List; public final class MemorySimulator extends AbstractLoadSimulator { private static final Logger log = LoggerFactory.getLogger(MemorySimulator.class); private stati...
added access modifier
src/main/java/com/martensigwart/fakeload/MemorySimulator.java
added access modifier
<ide><path>rc/main/java/com/martensigwart/fakeload/MemorySimulator.java <ide> import java.util.List; <ide> <ide> <del>public final class MemorySimulator extends AbstractLoadSimulator { <add>final class MemorySimulator extends AbstractLoadSimulator { <ide> <ide> private static final Logger log = LoggerFactory.get...
Java
apache-2.0
8fb0abb0edf696a8c606f990c95fd6786893bbcb
0
PkayJava/fintech,PkayJava/fintech,PkayJava/fintech
package com.angkorteam.fintech.installation; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.List; import java.util.Map; import java.util.UUID; import org.apache.commons.lang3.StringUtil...
src/test/java/com/angkorteam/fintech/installation/JUnitData.java
package com.angkorteam.fintech.installation; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.List; import java.util.Map; import java.util.UUID; import org.apache.commons.lang3.StringUtil...
setupAccountingRule
src/test/java/com/angkorteam/fintech/installation/JUnitData.java
setupAccountingRule
<ide><path>rc/test/java/com/angkorteam/fintech/installation/JUnitData.java <ide> <ide> import com.angkorteam.fintech.Constants; <ide> import com.angkorteam.fintech.IMifos; <add>import com.angkorteam.fintech.Session; <ide> import com.angkorteam.fintech.dto.Dropdown; <ide> import com.angkorteam.fintech.dto.constant.Tell...
Java
apache-2.0
6a6bb48840aa0043200a5d9f6fffea47aea1a8db
0
mohanaraosv/commons-cli,apache/commons-cli,mohanaraosv/commons-cli,pplatek/commons-cli,pplatek/commons-cli,apache/commons-cli,pplatek/commons-cli,apache/commons-cli,apache/commons-cli,pplatek/commons-cli,mohanaraosv/commons-cli,mohanaraosv/commons-cli
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
src/test/org/apache/commons/cli/ApplicationTest.java
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Removing the duplication 'version' option as pointed out by Andrew Kutz git-svn-id: c795571ee9b9ed630ea84edf5ecdcef3ba4f5328@651842 13f79535-47bb-0310-9956-ffa450edef68
src/test/org/apache/commons/cli/ApplicationTest.java
Removing the duplication 'version' option as pointed out by Andrew Kutz
<ide><path>rc/test/org/apache/commons/cli/ApplicationTest.java <ide> options.addOption( "quiet", false, "be extra quiet" ); <ide> options.addOption( "verbose", false, "be extra verbose" ); <ide> options.addOption( "debug", false, "print debug information" ); <del> options.addOption( "vers...
Java
bsd-3-clause
887f36a798d8636d8b5b4f3482680d24cdd0f1cb
0
DataBiosphere/terra-common-lib,DataBiosphere/terra-common-lib,databiosphere/terra-common-lib
package bio.terra.common.tracing; import io.opencensus.contrib.http.servlet.OcHttpServletFilter; import io.opencensus.contrib.spring.aop.CensusSpringAspect; import io.opencensus.exporter.trace.stackdriver.StackdriverTraceConfiguration; import io.opencensus.exporter.trace.stackdriver.StackdriverTraceExporter; import io...
src/main/java/bio/terra/common/tracing/TracingConfig.java
package bio.terra.common.tracing; import io.opencensus.contrib.http.servlet.OcHttpServletFilter; import io.opencensus.contrib.spring.aop.CensusSpringAspect; import io.opencensus.exporter.trace.stackdriver.StackdriverTraceConfiguration; import io.opencensus.exporter.trace.stackdriver.StackdriverTraceExporter; import io...
PF-279 Don't fail on re-registration of StackdriverTraceExporter. (#29) In client tests, the StackdriverTraceExporter can be registered multiple times by multiple instances TracingConfig bean. This is ok in testing. This is hard to reproduce in terra-common-lib because we don't yet have any google credentials to allo...
src/main/java/bio/terra/common/tracing/TracingConfig.java
PF-279 Don't fail on re-registration of StackdriverTraceExporter. (#29)
<ide><path>rc/main/java/bio/terra/common/tracing/TracingConfig.java <ide> // We do not want to prevent servers from starting up if there is an error exporting traces. <ide> logger.error( <ide> "Unable to register StackdriverTraceExporter. Traces will not be exported.", e); <add> } catch...
Java
mit
0e8af191af5bd827292c14ade40f65c5ead77d3d
0
MarkEWaite/git-plugin,martinda/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin,MarkEWaite/git-plugin,jenkinsci/git-plugin,martinda/git-plugin,MarkEWaite/git-plugin,v1v/git-plugin,v1v/git-plugin,v1v/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin
package hudson.plugins.git; import com.cloudbees.plugins.credentials.Credentials; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.cloudbees.plugins.credentials.CredentialsScope; import com.cloudbees.plugins.credentials.CredentialsStore; import com.cloudbees.plugins.credentials.SystemCredential...
src/test/java/hudson/plugins/git/GitSCMTest.java
package hudson.plugins.git; import com.cloudbees.plugins.credentials.Credentials; import com.cloudbees.plugins.credentials.CredentialsProvider; import com.cloudbees.plugins.credentials.CredentialsScope; import com.cloudbees.plugins.credentials.CredentialsStore; import com.cloudbees.plugins.credentials.SystemCredential...
Add issue annotation for JENKINS-22009
src/test/java/hudson/plugins/git/GitSCMTest.java
Add issue annotation for JENKINS-22009
<ide><path>rc/test/java/hudson/plugins/git/GitSCMTest.java <ide> * @throws Exception <ide> */ <ide> @Test <add> @Issue("JENKINS-22009") <ide> public void testPolling_environmentValueInBranchSpec() throws Exception { <ide> // create parameterized project with environment value in branch spec...
Java
mit
b4039558b7143b076a072dc5b814a15591ec30d7
0
pebble-bike/PebbleBike-AndroidApp,pebble-bike/PebbleBike-AndroidApp,ventoo-bike/Ventoo-AndroidApp,jay3/Ventoo-AndroidApp,team-mount-ventoux/PebbleVentoo-AndroidApp,jay3/Ventoo-AndroidApp,team-mount-ventoux/PebbleVentoo-AndroidApp,ventoo-bike/Ventoo-AndroidApp
package com.njackson; import android.app.ActivityManager; import android.app.AlertDialog; import android.app.Dialog; import android.app.PendingIntent; import android.content.*; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import ...
src/com/njackson/MainActivity.java
package com.njackson; import android.app.ActivityManager; import android.app.AlertDialog; import android.app.Dialog; import android.app.PendingIntent; import android.content.*; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import ...
Correct types for initial values => avoid logs
src/com/njackson/MainActivity.java
Correct types for initial values
<ide><path>rc/com/njackson/MainActivity.java <ide> data[0] += (byte) (0 * 8); <ide> data[0] += (byte) ((version % 4) * 16); <ide> <del> data[1] = (byte) ((int) Math.ceil(intent.getFloatExtra("ACCURACY", 0))); <del> data[2] = (byte) (((int) (Math.floor(100 * in...
Java
apache-2.0
3443a0f844ed08fe0656de66375bd1f319ab181a
0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
package ca.corefacility.bioinformatics.irida.web.controller; import ca.corefacility.bioinformatics.irida.exceptions.user.UserNotFoundException; import ca.corefacility.bioinformatics.irida.model.Project; import ca.corefacility.bioinformatics.irida.model.User; import ca.corefacility.bioinformatics.irida.model.enums.Orde...
src/main/java/ca/corefacility/bioinformatics/irida/web/controller/UsersController.java
package ca.corefacility.bioinformatics.irida.web.controller; import ca.corefacility.bioinformatics.irida.exceptions.user.UserNotFoundException; import ca.corefacility.bioinformatics.irida.model.Project; import ca.corefacility.bioinformatics.irida.model.User; import ca.corefacility.bioinformatics.irida.model.enums.Orde...
Link to the project controller for project links instead of to the user controller.
src/main/java/ca/corefacility/bioinformatics/irida/web/controller/UsersController.java
Link to the project controller for project links instead of to the user controller.
<ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/web/controller/UsersController.java <ide> User u = userService.getUserByUsername(username); <ide> ProjectCollectionResource resources = new ProjectCollectionResource(); <ide> Collection<Project> projects = projectService.ge...
Java
lgpl-2.1
ee3a0d79b1618c1c5b9a7aef6e8ce621fc50e58d
0
skyvers/wildcat,skyvers/wildcat,skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/wildcat
package org.skyve.impl.backup; import java.io.File; import java.io.FileReader; import java.math.BigDecimal; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.Time; import java.sql.Timestamp; import java.sql.Types; import java.util.Collection; import java.util.Map; im...
skyve-ext/src/main/java/org/skyve/impl/backup/RestoreJob.java
package org.skyve.impl.backup; import java.io.File; import java.io.FileReader; import java.math.BigDecimal; import java.sql.Connection; import java.sql.Date; import java.sql.PreparedStatement; import java.sql.Time; import java.sql.Timestamp; import java.sql.Types; import java.util.Collection; import java.util.Map; im...
Change Restore notifications broadcast to all users.
skyve-ext/src/main/java/org/skyve/impl/backup/RestoreJob.java
Change Restore notifications broadcast to all users.
<ide><path>kyve-ext/src/main/java/org/skyve/impl/backup/RestoreJob.java <ide> return; <ide> } <ide> <add> EXT.push(new PushMessage().growl(MessageSeverity.info, "System Restore in progress - system unavailable until restore is complete.")); <add> <ide> String extractDirName = selectedBackupName.substring(0...
Java
apache-2.0
1251b7ff1a25a3bb8a9d78adc3ea0289523df44d
0
nverwer/cocooncomponents,hhv/cocooncomponents
package org.apache.cocoon.components.cron; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.io.xml.DomDriver; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.O...
src/org/apache/cocoon/components/cron/DequeueCronJob.java
package org.apache.cocoon.components.cron; import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.io.xml.DomDriver; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.O...
Improved docs and a little code.
src/org/apache/cocoon/components/cron/DequeueCronJob.java
Improved docs and a little code.
<ide><path>rc/org/apache/cocoon/components/cron/DequeueCronJob.java <ide> import java.util.concurrent.Executors; <ide> import java.util.concurrent.Future; <ide> import java.util.concurrent.TimeUnit; <add>import java.util.concurrent.TimeoutException; <ide> import java.util.logging.Level; <ide> import java.util.logging.L...
Java
apache-2.0
d3fefc9e1a0a69443fd8f79dcf84708a606ac16d
0
nicolargo/intellij-community,mglukhikh/intellij-community,ibinti/intellij-community,orekyuu/intellij-community,amith01994/intellij-community,ibinti/intellij-community,ernestp/consulo,FHannes/intellij-community,orekyuu/intellij-community,muntasirsyed/intellij-community,lucafavatella/intellij-community,hurricup/intellij-...
/* * Copyright 2000-2011 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/testFramework/src/com/intellij/testFramework/LeakHunter.java
/* * Copyright 2000-2011 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
ignore exceptions while print diag
platform/testFramework/src/com/intellij/testFramework/LeakHunter.java
ignore exceptions while print diag
<ide><path>latform/testFramework/src/com/intellij/testFramework/LeakHunter.java <ide> String place = leaked instanceof Project ? PlatformTestCase.getCreationPlace((Project)leaked) : ""; <ide> System.out.println("LEAK: hash: "+System.identityHashCode(leaked) + "; place: "+ place); <ide> ...
Java
apache-2.0
8145cdc615c79e4d44a7143030297ce7c493179d
0
willkara/sakai,joserabal/sakai,frasese/sakai,joserabal/sakai,rodriguezdevera/sakai,ouit0408/sakai,willkara/sakai,OpenCollabZA/sakai,zqian/sakai,rodriguezdevera/sakai,frasese/sakai,OpenCollabZA/sakai,joserabal/sakai,zqian/sakai,willkara/sakai,Fudan-University/sakai,zqian/sakai,rodriguezdevera/sakai,rodriguezdevera/sakai...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License...
calendar/calendar-impl/impl/src/java/org/sakaiproject/calendar/impl/readers/IcalendarReader.java
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2007, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License...
SAK-30877 Get activity title from external calendars (#2463)
calendar/calendar-impl/impl/src/java/org/sakaiproject/calendar/impl/readers/IcalendarReader.java
SAK-30877 Get activity title from external calendars (#2463)
<ide><path>alendar/calendar-impl/impl/src/java/org/sakaiproject/calendar/impl/readers/IcalendarReader.java <ide> private static Logger M_log = LoggerFactory.getLogger(IcalendarReader.class); <ide> private Map<String, String> defaultHeaderMap = getDefaultColumnMap(); <ide> <add> private static final String TITLE_PRO...
Java
mpl-2.0
35593a9b49c6be3d0c8ae3d5f8bf8f52e1d294a8
0
choreos/choreos_middleware,choreos/enactment_engine,choreos/enactment_engine,choreos/choreos_middleware,choreos/enactment_engine,choreos/enactment_engine,choreos/choreos_middleware
package eu.choreos.monitoring.platform.daemon; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.*; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; import com.sun.org.apache.bcel.internal.generic.NEW; ...
ThresholdEvaluationDaemon/src/test/java/eu/choreos/monitoring/platform/daemon/ThresholdTest.java
package eu.choreos.monitoring.platform.daemon; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.*; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; import com.sun.org.apache.bcel.internal.generic.NEW; ...
Removed unnecessary invocation of shell scripts in test class
ThresholdEvaluationDaemon/src/test/java/eu/choreos/monitoring/platform/daemon/ThresholdTest.java
Removed unnecessary invocation of shell scripts in test class
<ide><path>hresholdEvaluationDaemon/src/test/java/eu/choreos/monitoring/platform/daemon/ThresholdTest.java <ide> <ide> Threshold threshold; <ide> <del> String pwd; <del> <del> String hostname; <del> <del> private ShellHandler shellHandler = new ShellHandler(); <del> <ide> @Before <ide> public void setUp() throws C...
Java
apache-2.0
44c133b69fc17c74fefe2a7edd7bb251119e24d9
0
AechPro/Machine-Learning,AechPro/Machine-Learning
NEAT/NEAT/Population/Phenotype.java
package NEAT.Population; import java.awt.Color; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.File; import java.util.ArrayList; import javax.imageio.ImageIO; import NEAT.Display.DisplayObject; import NEAT.Genes.*; import NEAT.util.SortingUnit; import NEAT.util.XORTester...
Delete Phenotype.java
NEAT/NEAT/Population/Phenotype.java
Delete Phenotype.java
<ide><path>EAT/NEAT/Population/Phenotype.java <del>package NEAT.Population; <del> <del>import java.awt.Color; <del>import java.awt.Graphics2D; <del>import java.awt.image.BufferedImage; <del>import java.io.File; <del>import java.util.ArrayList; <del> <del>import javax.imageio.ImageIO; <del> <del>import NEAT.Display.Disp...
Java
apache-2.0
d9bae1d54415b80baed608d68df833fbc38f83f5
0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
package org.slc.sli.modeling.xmi.reader; import java.io.Closeable; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import o...
sli/modeling/xmi/src/test/java/org/slc/sli/modeling/xmi/reader/XmiReaderTest.java
package org.slc.sli.modeling.xmi.reader; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Matchers.any; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mocki...
Formatting.
sli/modeling/xmi/src/test/java/org/slc/sli/modeling/xmi/reader/XmiReaderTest.java
Formatting.
<ide><path>li/modeling/xmi/src/test/java/org/slc/sli/modeling/xmi/reader/XmiReaderTest.java <ide> package org.slc.sli.modeling.xmi.reader; <del> <del>import static org.junit.Assert.assertEquals; <del>import static org.junit.Assert.assertFalse; <del>import static org.junit.Assert.assertTrue; <del>import static org.mocki...
Java
epl-1.0
30b26a37e6093db0563327c47e4826c59e6fb36b
0
cdealti/kura,markoer/kura,ctron/kura,ctron/kura,markcullen/kura_Windows,nicolatimeus/kura,ymai/kura,amitjoy/kura,MMaiero/kura,markcullen/kura_Windows,darionct/kura,gavinying/kura,amitjoy/kura,unverbraucht/kura,amitjoy/kura,rohitdubey12/kura,cdealti/kura,cdealti/kura,rohitdubey12/kura,markoer/kura,ctron/kura,ymai/kura,m...
/** * Copyright (c) 2011, 2015 Eurotech and/or its affiliates * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * ...
kura/org.eclipse.kura.core.deployment/src/main/java/org/eclipse/kura/core/deployment/CloudDeploymentHandlerV2.java
/** * Copyright (c) 2011, 2015 Eurotech and/or its affiliates * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * ...
Removed unwanted debug code. Signed-off-by: MMaiero <2b73509565f5b07fd88cb0c94e2832558b2a0b6e@eurotech.com>
kura/org.eclipse.kura.core.deployment/src/main/java/org/eclipse/kura/core/deployment/CloudDeploymentHandlerV2.java
Removed unwanted debug code.
<ide><path>ura/org.eclipse.kura.core.deployment/src/main/java/org/eclipse/kura/core/deployment/CloudDeploymentHandlerV2.java <ide> m_installImplementation.setDpaConfPath(m_dpaConfPath); <ide> m_installImplementation.setDeploymentAdmin(m_deploymentAdmin); <ide> m_installImplementation.sendInstallConfirmations(); <...
JavaScript
mit
43b08df3b318c66c370317d7524314489c85153a
0
jmptrader/formula.js,darioajr/formula.js,zp-j/formula.js,GerHobbelt/formula.js,fashionsun/formula.js
// Copyright (c) 2012 Sutoiku, Inc. // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
lib/formula.js
// Copyright (c) 2012 Sutoiku, Inc. // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
check for isNaN too
lib/formula.js
check for isNaN too
<ide><path>ib/formula.js <ide> value === '#DIV/0!' || <ide> value === '#NUM!' || <ide> value === '#NAME?' || <del> value === '#NULL!'; <add> value === '#NULL!' || <add> isNaN(value); <ide> }; <ide> <ide> Formula.ISERROR = function (value) {
Java
mpl-2.0
ed95229714ed11360066d7525605a6a03f753283
0
richardwilkes/gcs,richardwilkes/gcs
/* * Copyright ©1998-2021 by Richard A. Wilkes. All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, version 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/. * * This Source Code Form is "Incompat...
bundler/bundler/Bundler.java
/* * Copyright ©1998-2021 by Richard A. Wilkes. All rights reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, version 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/. * * This Source Code Form is "Incompat...
Potential fix for #387 - disable DirectDraw3D on Windows Some Windows installations behaved poorly with this enabled
bundler/bundler/Bundler.java
Potential fix for #387 - disable DirectDraw3D on Windows
<ide><path>undler/bundler/Bundler.java <ide> case WINDOWS -> { <ide> args.add("--java-options"); <ide> args.add("-Dsun.java2d.dpiaware=false"); <add> args.add("--java-options"); <add> args.add("-Dsun.java2d.d3d=false"); <ide> if (!noInstaller) { <ide> ...
JavaScript
mit
29b7bc48a74a46fb78dc80b1b91fda71a68838bb
0
forfuturellc/mau
/** * The MIT License (MIT) * * Copyright (c) 2017 GochoMugo <mugo@forfuture.co.ke> * Copyright (c) 2017 Forfuture LLC <we@forfuture.co.ke> */ // built-in modules const assert = require("assert"); // installed modules const Debug = require("debug"); // own modules const QueryController = require("./query-con...
lib/form.js
/** * The MIT License (MIT) * * Copyright (c) 2017 GochoMugo <mugo@forfuture.co.ke> * Copyright (c) 2017 Forfuture LLC <we@forfuture.co.ke> */ // built-in modules const assert = require("assert"); // installed modules const Debug = require("debug"); // own modules const QueryController = require("./query-con...
lib/form: Allow numbers as answers/text to queries Feature: This is important as it allows choice IDs to be specified as numbers.
lib/form.js
lib/form: Allow numbers as answers/text to queries
<ide><path>ib/form.js <ide> /** <ide> * Process a message. <ide> * @param {Session} session Session to be used in this context <del> * @param {String|Null} text Text of the message <add> * @param {String|Number|Null} text Text of the message <ide> * @param {Object} ref Reference <ide> ...
JavaScript
mit
de1d771a8a3b253ec287a1102c0f0ad07e4dfe1d
0
networked-aframe/networked-aframe,haydenjameslee/networked-aframe,networked-aframe/networked-aframe,haydenjameslee/networked-aframe
/* global AFRAME, NAF, THREE */ var deepEqual = require('../DeepEquals'); var InterpolationBuffer = require('buffered-interpolation'); var DEG2RAD = THREE.Math.DEG2RAD; var OBJECT3D_COMPONENTS = ['position', 'rotation', 'scale']; function defaultRequiresUpdate() { let cachedData = null; return (newData) => { ...
src/components/networked.js
/* global AFRAME, NAF, THREE */ var deepEqual = require('../DeepEquals'); var InterpolationBuffer = require('buffered-interpolation'); var DEG2RAD = THREE.Math.DEG2RAD; var OBJECT3D_COMPONENTS = ['position', 'rotation', 'scale']; function defaultRequiresUpdate() { let cachedData = null; return (newData) => { ...
Persistent entities should never result in isFirstSyncs
src/components/networked.js
Persistent entities should never result in isFirstSyncs
<ide><path>rc/components/networked.js <ide> syncData.persistent = data.persistent; <ide> syncData.parent = this.getParentId(); <ide> syncData.components = components; <del> syncData.isFirstSync = !!isFirstSync; <add> syncData.isFirstSync = !data.persistent && !!isFirstSync; <ide> return syncData; ...
Java
apache-2.0
a173b385473844b62c4793f42471f5586040304c
0
before/quality-check
/******************************************************************************* * Copyright 2013 André Rouél and Dominik Seichter * * 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 * *...
modules/quality-check/src/main/java/net/sf/qualitycheck/Check.java
/******************************************************************************* * Copyright 2013 André Rouél and Dominik Seichter * * 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 * *...
Removed NOSONAR checks on "notEquals" methods. Not needed
modules/quality-check/src/main/java/net/sf/qualitycheck/Check.java
Removed NOSONAR checks on "notEquals" methods. Not needed
<ide><path>odules/quality-check/src/main/java/net/sf/qualitycheck/Check.java <ide> * if both argument values are not equal <ide> */ <ide> @Throws(IllegalEqualException.class) <del> public static boolean notEquals(@Nonnull final boolean expected, @Nonnull final boolean check) { // NOSONAR <del> // Sona...
JavaScript
mit
37abbac3fc5ea3ec6391f03e52c95e3dde555731
0
panpawn/Pokemon-Showdown,panpawn/Gold-Server,Git-Worm/City-PS,panpawn/Pokemon-Showdown,panpawn/Gold-Server,panpawn/Gold-Server,Git-Worm/City-PS
/* Emoticons Plugin * This is a chat-plugin for Emoticons * You will need a line in parser to actually * parse this so that it works. (See command-parser.js) * Credits: panpawn, jd */ var fs = require('fs'); var serialize = require('node-serialize'); var emotes = {}; if (typeof Gold === 'undefined') global.Go...
chat-plugins/emoticons.js
/* Emoticons Plugin * This is a chat-plugin for Emoticons * You will need a line in parser to actually * parse this so that it works. (See command-parser.js) * Credits: panpawn, jd */ var fs = require('fs'); var path = require('path'); var serialize = require('node-serialize'); var emotes = {}; if (typeof Gol...
Emoticon refactor
chat-plugins/emoticons.js
Emoticon refactor
<ide><path>hat-plugins/emoticons.js <ide> */ <ide> <ide> var fs = require('fs'); <del>var path = require('path'); <ide> var serialize = require('node-serialize'); <ide> var emotes = {}; <ide> <ide> '<img src="' + self.chatEmotes[match] + '" title="' + match + '"/>' : <ide> match; <ide> }); <add> }, <add> c...
Java
bsd-3-clause
4c603bbc583999490a08c6d181d68f719df79db4
0
NCIP/c3pr,NCIP/c3pr,NCIP/c3pr
package edu.duke.cabig.c3pr.service.impl; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import edu.duke.cabig.c3pr.constants.NotificationEventTypeEnum; import edu.duke.cabig.c3pr.rules.exception.RuleException; import ...
codebase/projects/rules/src/java/edu/duke/cabig/c3pr/service/impl/RulesDelegationServiceImpl.java
package edu.duke.cabig.c3pr.service.impl; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import edu.duke.cabig.c3pr.constants.NotificationEventTypeEnum; import edu.duke.cabig.c3pr.rules.exception.RuleException; import ...
CPR-73, CPR-74:Notification Use cases
codebase/projects/rules/src/java/edu/duke/cabig/c3pr/service/impl/RulesDelegationServiceImpl.java
CPR-73, CPR-74:Notification Use cases
<ide><path>odebase/projects/rules/src/java/edu/duke/cabig/c3pr/service/impl/RulesDelegationServiceImpl.java <ide> objList.add(event); <ide> <ide> try{ <del> if(event.equals(NotificationEventTypeEnum.STUDY_STATUS_CHANGED_EVENT) || <del> event.equals(NotificationEventTypeEnum.STUDY_SITE_STATUS_CHANGED_EVENT...
Java
apache-2.0
4b1656f1dcb5d3fc91f8698fafd5e8c596c25a73
0
parlaylabs/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,gpolitis/jitsi-videobridge,jitsi/jitsi-videobridge,davidertel/jitsi-videobridge,jitsi/jitsi-videobridge,parlaylabs/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,parlaylabs/jitsi-videobridge,parlaylab...
/* * Copyright @ 2015 Atlassian Pty 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 ag...
src/main/java/org/jitsi/videobridge/Videobridge.java
/* * Copyright @ 2015 Atlassian Pty 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 ag...
Fix style issues
src/main/java/org/jitsi/videobridge/Videobridge.java
Fix style issues
<ide><path>rc/main/java/org/jitsi/videobridge/Videobridge.java <ide> <ide> if (channel instanceof VideoChannel) <ide> { <del> VideoChannel videoChannel = (VideoChannel)channel; <del> vi...
Java
bsd-3-clause
8dc386ccf4f78df46fbeaea777427c3a88617cb3
0
credentials/irma_verification_common,credentials/irma_api_common
/* * DisclosureProofRequest.java * * Copyright (c) 2015, Sietse Ringers, Radboud University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must reta...
src/main/java/org/irmacard/api/common/disclosure/DisclosureProofRequest.java
/* * DisclosureProofRequest.java * * Copyright (c) 2015, Sietse Ringers, Radboud University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must reta...
Fixed bug where a disclosure request with the same attribute in two seperate disjunctions could be incorrectly marked as not-valid after a proof session.
src/main/java/org/irmacard/api/common/disclosure/DisclosureProofRequest.java
Fixed bug where a disclosure request with the same attribute in two seperate disjunctions could be incorrectly marked as not-valid after a proof session.
<ide><path>rc/main/java/org/irmacard/api/common/disclosure/DisclosureProofRequest.java <ide> result.setStatus(DisclosureProofResult.Status.INVALID); <ide> return result; <ide> } <del> <del> for (AttributeIdentifier ai : foundAttrs.keySet()) { <del> // For each of the disclosed attributes in this proof, see i...
Java
apache-2.0
dc1d9f0141cca1f6c08ab63a616efd5047f8d3e1
0
eFaps/eFapsApp-Payroll
/* * Copyright 2003 - 2014 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/payroll/reports/PositionAnalyzeReport_Base.java
/* * Copyright 2003 - 2014 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 ...
- adding missing null handling
src/main/efaps/ESJP/org/efaps/esjp/payroll/reports/PositionAnalyzeReport_Base.java
- adding missing null handling
<ide><path>rc/main/efaps/ESJP/org/efaps/esjp/payroll/reports/PositionAnalyzeReport_Base.java <ide> map.put(CIPayroll.DocumentAbstract.CrossTotal.name, multi.getSelect(selCrossTotal)); <ide> map.put(CIPayroll.DocumentAbstract.AmountCost.name, multi.getSelect(selAmountCost)...
Java
agpl-3.0
27ff62335ac5111a8f1f125a100bf73a1d220a5a
0
opencadc/uws
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2009. (c) 2009. * Government of Canada ...
projects/cadcUWS/src/ca/nrc/cadc/uws/server/SyncServlet.java
/* ************************************************************************ ******************* CANADIAN ASTRONOMY DATA CENTRE ******************* ************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES ************** * * (c) 2009. (c) 2009. * Government of Canada ...
added config option to immediately exec a sync job when created, default is redirect fixed NPE caused by empty subject in JobDAO git-svn-id: 311fcc5b8b03427d323cee07bbb9e5a14d8d22e9@1270 728ff76a-78ac-11de-a72b-d90af8dea425
projects/cadcUWS/src/ca/nrc/cadc/uws/server/SyncServlet.java
added config option to immediately exec a sync job when created, default is redirect fixed NPE caused by empty subject in JobDAO
<ide><path>rojects/cadcUWS/src/ca/nrc/cadc/uws/server/SyncServlet.java <ide> private JobManager jobManager; <ide> private JobPersistence jobPersistence; <ide> private Class jobRunnerClass; <add> private boolean execOnGET = false; <add> private boolean execOnPOST = false; <ide> <ide> @Override <id...
Java
apache-2.0
5c49e37a29e3f09cf27aa6256eeebae8fac58414
0
wwzhe/dataworks-zeus,wwzhe/dataworks-zeus,wwzhe/dataworks-zeus,ctripcorp/dataworks-zeus,sdgdsffdsfff/dataworks-zeus,wwzhe/dataworks-zeus,sdgdsffdsfff/dataworks-zeus,sdgdsffdsfff/dataworks-zeus,ctripcorp/dataworks-zeus,ctripcorp/dataworks-zeus,ctripcorp/dataworks-zeus,wwzhe/dataworks-zeus,sdgdsffdsfff/dataworks-zeus,ctr...
package com.taobao.zeus.web; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServle...
web/src/main/java/com/taobao/zeus/web/UserServlet.java
package com.taobao.zeus.web; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServle...
add user manager2
web/src/main/java/com/taobao/zeus/web/UserServlet.java
add user manager2
<ide><path>eb/src/main/java/com/taobao/zeus/web/UserServlet.java <ide> "\r\n 用户账号:"+newUser.getUid()+ <ide> "\r\n 用户姓名:"+newUser.getName()+ <ide> "\r\n 用户邮箱:"+newUser.getEmail()+ <del> "\r\n 请确认,另外请开通Hive账号和权限。谢谢!"+ <add> "\r\n 请确认,另外请开通Hive账号和权限。谢谢! "+ <ide> ...
Java
lgpl-2.1
47dc4e375e4b876deb3bb687084c3c4f5e08033a
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/src/com/exedio/cope/Pattern.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...
fix api doc git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@2630 e7d4fc99-c606-0410-b9bf-843393a9eab7
lib/src/com/exedio/cope/Pattern.java
fix api doc
<ide><path>ib/src/com/exedio/cope/Pattern.java <ide> <ide> /** <ide> * Here you can do additional initialization not yet done in the constructor. <del> * In this method you can call methods {@link getType()} and {@link getName()} <add> * In this method you can call methods {@link #getType()} and {@link #getName(...
Java
unlicense
fcaf27639da46b4646fcb59c08cacd67249381d1
0
D-Inc/EnderIO,HenryLoenwind/EnderIO,SleepyTrousers/EnderIO
package crazypants.enderio.config; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Locale; import com.enderio.core.common.event.ConfigFileChangedEvent; import com.enderio.core.common.vecmath.VecmathUtil; import crazypants...
src/main/java/crazypants/enderio/config/Config.java
package crazypants.enderio.config; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Locale; import com.enderio.core.common.event.ConfigFileChangedEvent; import com.enderio.core.common.vecmath.VecmathUtil; import crazypants...
Remvoed config setting that was moved to endercore ages ago
src/main/java/crazypants/enderio/config/Config.java
Remvoed config setting that was moved to endercore ages ago
<ide><path>rc/main/java/crazypants/enderio/config/Config.java <ide> <ide> public static int recipeLevel = 2; <ide> public static boolean addPeacefulRecipes = false; <del> public static boolean allowExternalTickSpeedup = true; <ide> public static boolean createSyntheticRecipes = true; <ide> <ide> public stati...
JavaScript
mit
b298b9dd4307339c558e9aed38eaa23b746835f1
0
heytrav/nodepp
var moment = require('moment'); var AMQP = require('amqp-as-promised'); var Dispatcher = require('./dispatcher-es6'); var nconf = require('./utilities/config.js').getConfig(); var logger = require('./utilities/logging.js').getLogger(nconf); var processId = process.pid; var registry = nconf.get('registries')[0]; logge...
lib/rabbit-epp.js
var moment = require('moment'); var AMQP = require('amqp-as-promised'); var Dispatcher = require('./dispatcher-es6'); var nconf = require('./utilities/config.js').getConfig(); var logger = require('./utilities/logging.js').getLogger(nconf); var processId = process.pid; var registry = nconf.get('registries')[0]; logge...
Exit with an error if the amqp connection goes away
lib/rabbit-epp.js
Exit with an error if the amqp connection goes away
<ide><path>ib/rabbit-epp.js <ide> logger.debug("Connecting to AMQP server", rabbitConnection); <ide> var amqpConnection = new AMQP(rabbitConnection); <ide> amqpConnection.errorHandler = (error) => { <del> logger.error(error); <add> logger.error("In errorHandler", error); <add> process.exit(0); <ide> }; <ide> amq...
JavaScript
mpl-2.0
9cae39965871a9c5b57013bedf975ecd737e7096
0
gladly-team/tab,gladly-team/tab,gladly-team/tab
/* eslint-env jest */ import React from 'react' import { shallow } from 'enzyme' import toJson from 'enzyme-to-json' import { isSearchPageEnabled } from 'js/utils/feature-flags' import { goTo, dashboardURL } from 'js/navigation/navigation' jest.mock('js/utils/feature-flags') jest.mock('js/navigation/navigation'...
web/src/js/components/Search/__tests__/SearchPageComponent.test.js
/* eslint-env jest */ import React from 'react' import { shallow } from 'enzyme' import toJson from 'enzyme-to-json' import { isSearchPageEnabled } from 'js/utils/feature-flags' import { goTo, dashboardURL } from 'js/navigation/navigation' jest.mock('js/utils/feature-flags') jest.mock('js/navigation/navigation'...
Fix tests when using withStyles HOC
web/src/js/components/Search/__tests__/SearchPageComponent.test.js
Fix tests when using withStyles HOC
<ide><path>eb/src/js/components/Search/__tests__/SearchPageComponent.test.js <ide> const mockProps = getMockProps() <ide> shallow( <ide> <SearchPageComponent {...mockProps} /> <del> ) <add> ).dive() <ide> }) <ide> <ide> it('renders no DOM elements when the search page feature is not enabled', (...
Java
apache-2.0
f6eabce3992662273c75eec0fe0f3e2896b347fa
0
lstephen/esms-ai,lstephen/esms-ai
package com.ljs.ifootballmanager.ai.selection; import com.google.common.base.Function; import com.google.common.collect.Ordering; import com.ljs.ifootballmanager.ai.formation.Formation; import com.ljs.ifootballmanager.ai.player.Player; import com.ljs.ifootballmanager.ai.player.Squad; import com.ljs.ifootballmanager.ai...
src/main/java/com/ljs/ifootballmanager/ai/selection/RestPlan.java
package com.ljs.ifootballmanager.ai.selection; import com.google.common.base.Function; import com.google.common.collect.Ordering; import com.ljs.ifootballmanager.ai.formation.Formation; import com.ljs.ifootballmanager.ai.player.Player; import com.ljs.ifootballmanager.ai.player.Squad; import com.ljs.ifootballmanager.ai...
Correct bug in reset plan
src/main/java/com/ljs/ifootballmanager/ai/selection/RestPlan.java
Correct bug in reset plan
<ide><path>rc/main/java/com/ljs/ifootballmanager/ai/selection/RestPlan.java <ide> out -> { <ide> Player in = getSubstituteFor(out); <ide> w.format( <del> "SUB %s %s %s IF SCORE <= 3%n", <add> "SUB %s %s %s IF SCORE <= -3%n", <ide> ...
Java
epl-1.0
552d2b182ae798174179404a52686cfa5d2b8c8b
0
debrief/debrief,debrief/debrief,alastrina123/debrief,pecko/debrief,pecko/debrief,theanuradha/debrief,pecko/debrief,alastrina123/debrief,pecko/debrief,theanuradha/debrief,alastrina123/debrief,alastrina123/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,pecko/debrief,alastrina123/debri...
/** * */ package org.mwc.debrief.core.creators.shapes; import java.awt.Color; import Debrief.Wrappers.LabelWrapper; import MWC.GUI.*; import MWC.GUI.Shapes.PlainShape; import MWC.GenericData.*; /** * @author ian.mayo */ public class InsertLabel extends CoreInsertShape { /** get a plottable object * * @pa...
trunk/org.mwc.debrief.core/src/org/mwc/debrief/core/creators/shapes/InsertLabel.java
/** * */ package org.mwc.debrief.core.creators.shapes; import java.awt.Color; import org.mwc.cmap.core.CorePlugin; import org.mwc.cmap.core.operations.DebriefActionWrapper; import org.mwc.cmap.plotViewer.actions.CoreEditorAction; import Debrief.Tools.Palette.CreateLabel; import Debrief.Wrappers.LabelWrapper; impo...
Refactor, so that user can select target layer git-svn-id: d2601f1668e3cd2de409f5c059006a6eeada0abf@1439 cb33b658-6c9e-41a7-9690-cba343611204
trunk/org.mwc.debrief.core/src/org/mwc/debrief/core/creators/shapes/InsertLabel.java
Refactor, so that user can select target layer
<ide><path>runk/org.mwc.debrief.core/src/org/mwc/debrief/core/creators/shapes/InsertLabel.java <ide> <ide> import java.awt.Color; <ide> <del>import org.mwc.cmap.core.CorePlugin; <del>import org.mwc.cmap.core.operations.DebriefActionWrapper; <del>import org.mwc.cmap.plotViewer.actions.CoreEditorAction; <del> <del>impo...
Java
apache-2.0
b453df53d107d981ff7da9cc513849dbd3975459
0
treasure-data/td-jdbc
package com.treasure_data.jdbc; import java.io.InputStream; import java.io.Reader; import java.math.BigDecimal; import java.net.URL; import java.sql.Array; import java.sql.Blob; import java.sql.Clob; import java.sql.Date; import java.sql.NClob; import java.sql.Ref; import java.sql.ResultSet; import java.sql.ResultSetM...
src/main/java/com/treasure_data/jdbc/TDResultSetBase.java
package com.treasure_data.jdbc; import java.io.InputStream; import java.io.Reader; import java.math.BigDecimal; import java.net.URL; import java.sql.Array; import java.sql.Blob; import java.sql.Clob; import java.sql.Date; import java.sql.NClob; import java.sql.Ref; import java.sql.ResultSet; import java.sql.ResultSetM...
fixed a bug: RJDBC doesn't work because MTM exception occurs
src/main/java/com/treasure_data/jdbc/TDResultSetBase.java
fixed a bug: RJDBC doesn't work because MTM exception occurs
<ide><path>rc/main/java/com/treasure_data/jdbc/TDResultSetBase.java <ide> import java.util.List; <ide> import java.util.Map; <ide> <add>import org.msgpack.type.BooleanValue; <add>import org.msgpack.type.NumberValue; <ide> import org.msgpack.type.Value; <ide> <ide> /** <ide> throw new SQLException("Method not ...
Java
apache-2.0
fc3eefad503a2cca4796703ff7debf9d2055682b
0
sankarh/hive,b-slim/hive,sankarh/hive,alanfgates/hive,b-slim/hive,nishantmonu51/hive,lirui-apache/hive,anishek/hive,anishek/hive,alanfgates/hive,b-slim/hive,sankarh/hive,b-slim/hive,anishek/hive,b-slim/hive,jcamachor/hive,nishantmonu51/hive,nishantmonu51/hive,jcamachor/hive,nishantmonu51/hive,sankarh/hive,vineetgarg02/...
/* * 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 ...
ql/src/java/org/apache/hadoop/hive/ql/stats/fs/FSStatsAggregator.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
HIVE-21312: FSStatsAggregator::connect is slow (Rajesh Balamohan, reviewed by Zoltan Haindrich)
ql/src/java/org/apache/hadoop/hive/ql/stats/fs/FSStatsAggregator.java
HIVE-21312: FSStatsAggregator::connect is slow (Rajesh Balamohan, reviewed by Zoltan Haindrich)
<ide><path>l/src/java/org/apache/hadoop/hive/ql/stats/fs/FSStatsAggregator.java <ide> import java.io.IOException; <ide> import java.util.ArrayList; <ide> import java.util.HashMap; <add>import java.util.LinkedList; <ide> import java.util.List; <ide> import java.util.Map; <add>import java.util.concurrent.ExecutionExcepti...
Java
bsd-3-clause
22cd5b0e30b10bde610c8a977c7b925bca8973e1
0
evestera/dhis2-android-sdk,Kolbeinsvik/dhis2-android-sdk,arthurgwatidzo/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
/* * Copyright (c) 2015, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
app/src/main/java/org/hisp/dhis/android/sdk/utils/services/ProgramIndicatorService.java
/* * Copyright (c) 2015, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
Removed dead code
app/src/main/java/org/hisp/dhis/android/sdk/utils/services/ProgramIndicatorService.java
Removed dead code
<ide><path>pp/src/main/java/org/hisp/dhis/android/sdk/utils/services/ProgramIndicatorService.java <ide> if(programIndicator == null) { <ide> return null; <ide> } <add> <ide> Double value = getValue(programInstance, null, programIndicator); <ide> <ide> if (value != nu...
Java
apache-2.0
9266549b26662bcc8121f49e89581844f5e408d1
0
google/dagger,dushmis/dagger,cgruber/dagger,cgruber/dagger,google/dagger,ze-pequeno/dagger,dushmis/dagger,google/dagger,ze-pequeno/dagger,google/dagger,ze-pequeno/dagger,ze-pequeno/dagger,cgruber/dagger
/* * Copyright (C) 2015 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
java/dagger/internal/codegen/ProducerFromProviderCreationExpression.java
/* * Copyright (C) 2015 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Use TypeNames.PRODUCER instead of ClassName.get(Producer.class). RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=195251609
java/dagger/internal/codegen/ProducerFromProviderCreationExpression.java
Use TypeNames.PRODUCER instead of ClassName.get(Producer.class).
<ide><path>ava/dagger/internal/codegen/ProducerFromProviderCreationExpression.java <ide> <ide> @Override <ide> public Optional<ClassName> alternativeFrameworkClass() { <del> return Optional.of(ClassName.get(Producer.class)); <add> return Optional.of(TypeNames.PRODUCER); <ide> } <ide> <ide> // TODO(ronsh...
Java
apache-2.0
58f1a70d28a3255ec19506b5970d0358de3d0826
0
Silvermedia/unitils
unitils-io/src/main/java/org/unitils/io/IoModule.java
/* * Copyright 2011, Unitils.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Renaming IoModule to IOModule
unitils-io/src/main/java/org/unitils/io/IoModule.java
Renaming IoModule to IOModule
<ide><path>nitils-io/src/main/java/org/unitils/io/IoModule.java <del>/* <del> * Copyright 2011, Unitils.org <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the License. <del> * You may obtain a copy of the License at <del> * <d...
Java
apache-2.0
78bb3ca304bfc5eb8e3166afdc7a87c61967a1f9
0
torquebox/torquebox-release,torquebox/torquebox,torquebox/torquebox-release,ksw2599/torquebox,vaskoz/torquebox,mje113/torquebox,samwgoldman/torquebox,mje113/torquebox,vaskoz/torquebox,mje113/torquebox,mje113/torquebox,torquebox/torquebox-release,torquebox/torquebox,samwgoldman/torquebox,vaskoz/torquebox,ksw2599/torqueb...
/* * Copyright 2008-2011 Red Hat, Inc, and individual contributors. * * This 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 ver...
components/base/base-core/src/main/java/org/torquebox/interp/core/RubyRuntimeFactoryImpl.java
/* * Copyright 2008-2011 Red Hat, Inc, and individual contributors. * * This 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 ver...
Catch errors on runtime initialization to prevent PoolManager#waitForMinimumFill() from looping forever [TORQUE-371]
components/base/base-core/src/main/java/org/torquebox/interp/core/RubyRuntimeFactoryImpl.java
Catch errors on runtime initialization to prevent PoolManager#waitForMinimumFill() from looping forever [TORQUE-371]
<ide><path>omponents/base/base-core/src/main/java/org/torquebox/interp/core/RubyRuntimeFactoryImpl.java <ide> } <ide> <ide> performRuntimeInitialization( runtime ); <del> return runtime; <add> } catch (Exception ex) { <add> log.error( "Failed to initialize runtime: ...
JavaScript
mpl-2.0
d5e0d6965ea68e998f6fca35964ea6cbef50c98c
0
pmkary/braver,diasdavid/browser-laptop,darkdh/browser-laptop,pmkary/braver,jonathansampson/browser-laptop,Sh1d0w/browser-laptop,pmkary/braver,willy-b/browser-laptop,manninglucas/browser-laptop,Sh1d0w/browser-laptop,timborden/browser-laptop,dcposch/browser-laptop,manninglucas/browser-laptop,manninglucas/browser-laptop,d...
var VersionInfo = require('./lib/versionInfo') var execute = require('./lib/execute') const isWindows = process.platform === 'win32' const isDarwin = process.platform === 'darwin' const arch = 'x64' const buildDir = 'Brave-' + process.platform + '-' + arch var appIcon if (isWindows) { appIcon = 'res/app.ico' } else...
tools/buildPackage.js
var VersionInfo = require('./lib/versionInfo') var execute = require('./lib/execute') const isWindows = process.platform === 'win32' const isDarwin = process.platform === 'darwin' const arch = 'x64' const buildDir = 'Brave-' + process.platform + '-' + arch var appIcon if (isWindows) { appIcon = 'res/app.ico' } else...
Fix Windows including dist inside of it Auditors: da39a3ee5e6b4b0d3255bfef95601890afd80709@aekeus
tools/buildPackage.js
Fix Windows including dist inside of it
<ide><path>ools/buildPackage.js <ide> if (isWindows) { <ide> cmds = cmds.concat([ <ide> '(if exist ' + buildDir + ' rmdir /s /q ' + buildDir + ')', <del> '(if exist dist\*.dmg del /q dist\*.dmg)', <del> '(if exist dist\*.nupkg del /q dist\*.nupkg)', <del> '(if exist dist\*.exe del /q dist\*.exe)', <del> ...
Java
apache-2.0
4f351ff8f7b065d5875bfcee8e02b76c06b1e274
0
rkboyce/DomeoClient,rkboyce/DomeoClient,rkboyce/DomeoClient
package org.mindinformatics.gwt.domeo.plugins.annotation.persistence.service; import org.mindinformatics.gwt.domeo.model.persistence.ontologies.IDomeoOntology; import org.mindinformatics.gwt.domeo.plugins.annotation.persistence.model.JsAnnotationSetSummary; import org.mindinformatics.gwt.domeo.plugins.annotation.persi...
src/org/mindinformatics/gwt/domeo/plugins/annotation/persistence/service/AnnotationPersistenceServiceFacade.java
package org.mindinformatics.gwt.domeo.plugins.annotation.persistence.service; import org.mindinformatics.gwt.domeo.model.persistence.ontologies.IDomeoOntology; import org.mindinformatics.gwt.domeo.plugins.annotation.persistence.model.JsAnnotationSetSummary; import org.mindinformatics.gwt.domeo.plugins.annotation.persi...
test function for new json string with new field HGNCGene
src/org/mindinformatics/gwt/domeo/plugins/annotation/persistence/service/AnnotationPersistenceServiceFacade.java
test function for new json string with new field HGNCGene
<ide><path>rc/org/mindinformatics/gwt/domeo/plugins/annotation/persistence/service/AnnotationPersistenceServiceFacade.java <ide> <ide> <ide> String json = "[{\"pav:createdWith\":\"urn:domeo:software:id:Domeo-2.0alpha-040\",\"ao:item\":[{\"pav:createdWith\":\"urn:domeo:software:id:Domeo-2.0alpha-040\",\"rdfs:lab...
JavaScript
mit
3bec1670a60f048eb203eb7c776859a6b86cc98b
0
wancharle/winston,pantheon-systems/winston,megastef/winston,unlucio/winston,whismat/winston,alinex/winston,tobli/winston,get-trucked/winston,jjmleiro/winston,z-10/winston,aquavitae/winston,psquickitjayant/winston,winstonjs/winston,thaliproject/winston,modulexcite/winston,paulhroth/winston,uber/winston,SmartNode-es/wins...
var assert = require('assert'), winston = require('../../lib/winston'), helpers = require('../helpers'); module.exports = function (transport, options) { var logger = transport instanceof winston.Logger ? transport : new winston.Logger({ transports: [ new transport(options) ...
test/transports/transport.js
var assert = require('assert'), winston = require('../../lib/winston'), helpers = require('../helpers'); module.exports = function (transport, options) { var logger = transport instanceof winston.Logger ? transport : new winston.Logger({ transports: [ new transport(options) ...
[test] more transport query tests.
test/transports/transport.js
[test] more transport query tests.
<ide><path>est/transports/transport.js <ide> } <ide> ), <ide> 'the query() method': { <del> 'topic': function (logger) { <del> if (!transport.query) return; <del> var cb = this.callback; <del> logger.log('info', 'hello world', {}, function () { <del> logger.query({}, cb)...
Java
apache-2.0
1f7fc3482396893e0c2b3c85f6c63fd6183defdc
0
ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop
package it.unibz.inf.ontop.spec.mapping.transformer.impl; /* * #%L * ontop-reformulation-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
mapping/core/src/main/java/it/unibz/inf/ontop/spec/mapping/transformer/impl/MappingDataTypeCompletion.java
package it.unibz.inf.ontop.spec.mapping.transformer.impl; /* * #%L * ontop-reformulation-core * %% * Copyright (C) 2009 - 2014 Free University of Bozen-Bolzano * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
Update MappingDataTypeCompletion.java Better solution by incrementing counter.
mapping/core/src/main/java/it/unibz/inf/ontop/spec/mapping/transformer/impl/MappingDataTypeCompletion.java
Update MappingDataTypeCompletion.java
<ide><path>apping/core/src/main/java/it/unibz/inf/ontop/spec/mapping/transformer/impl/MappingDataTypeCompletion.java <ide> .getFunctionSymbol()); <ide> RelationDefinition td = metadata.getRelation(tableId); <ide> <del> // fabad (4 Oct 2017) Quick fix if there are constants in arg...
Java
epl-1.0
56f21aed305af2a5c0deb010916722d79349df18
0
Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1
/*********************************************************************** * Copyright (c) 2009 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/ForeignHTMLRegionLayout.java
/*********************************************************************** * Copyright (c) 2009 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * ...
Fixed One more empty page shows for attached report 63143
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/ForeignHTMLRegionLayout.java
Fixed One more empty page shows for attached report 63143
<ide><path>ngine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/ForeignHTMLRegionLayout.java <ide> if ( aHeight + parent.getAbsoluteBP( ) > context.getMaxBP( ) ) <ide> { <ide> parent.autoPageBreak( ); <add> // The RootArea's autoPageBreak() will update the children....
Java
apache-2.0
67a9006153330c8169c2269276b011fe5a72f00f
0
jiman94/BroadleafCommerce-BroadleafCommerce2014,jiman94/BroadleafCommerce-BroadleafCommerce2014,arshadalisoomro/BroadleafCommerce,wenmangbo/BroadleafCommerce,liqianggao/BroadleafCommerce,gengzhengtao/BroadleafCommerce,lgscofield/BroadleafCommerce,passion1014/metaworks_framework,caosg/BroadleafCommerce,caosg/BroadleafCo...
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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/licens...
core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/payment/service/OrderToPaymentRequestDTOServiceImpl.java
/* * #%L * BroadleafCommerce Framework * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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/licens...
BroadleafCommerce/BroadleafCommerce#485 - need to add email address to Customer on RequestDTO for anonymous users for Cybesource integration
core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/payment/service/OrderToPaymentRequestDTOServiceImpl.java
BroadleafCommerce/BroadleafCommerce#485 - need to add email address to Customer on RequestDTO for anonymous users for Cybesource integration
<ide><path>ore/broadleaf-framework/src/main/java/org/broadleafcommerce/core/payment/service/OrderToPaymentRequestDTOServiceImpl.java <ide> } <ide> } <ide> <add> String orderEmail = (customer.getEmailAddress() == null)? order.getEmailAddress() : customer.getEmailAddress(); <add> <ide> ...
JavaScript
mit
a70641463ad7ec035bf10560da39bc85d27208bb
0
synzen/Discord.RSS,synzen/Discord.RSS
const mongoose = require('mongoose') const Version = require('./common/Version.js') const schema = new mongoose.Schema({ _id: String, value: mongoose.Schema.Types.Mixed }, { minimize: false }) schema.add(Version) exports.schema = schema /** @type {import('mongoose').Model} */ exports.Model = null
src/models/KeyValue.js
const mongoose = require('mongoose') const Version = require('./common/Version.js') const schema = new mongoose.Schema({ _id: String, value: mongoose.Schema.Types.Mixed }) schema.add(Version) exports.schema = schema /** @type {import('mongoose').Model} */ exports.Model = null
Fix incomplete keyvalues stored
src/models/KeyValue.js
Fix incomplete keyvalues stored
<ide><path>rc/models/KeyValue.js <ide> const schema = new mongoose.Schema({ <ide> _id: String, <ide> value: mongoose.Schema.Types.Mixed <add>}, { <add> minimize: false <ide> }) <ide> <ide> schema.add(Version)
JavaScript
mit
2a7db09a4db669f9344220d01d1a24e956ce4503
0
fk/gatsby,ChristopherBiscardi/gatsby,gatsbyjs/gatsby,fk/gatsby,gatsbyjs/gatsby,mingaldrichgan/gatsby,gatsbyjs/gatsby,0x80/gatsby,fk/gatsby,ChristopherBiscardi/gatsby,mingaldrichgan/gatsby,gatsbyjs/gatsby,mingaldrichgan/gatsby,0x80/gatsby,gatsbyjs/gatsby,ChristopherBiscardi/gatsby,ChristopherBiscardi/gatsby,0x80/gatsby,...
require(`v8-compile-cache`) const fs = require(`fs`) const path = require(`path`) const dotenv = require(`dotenv`) const FriendlyErrorsWebpackPlugin = require(`friendly-errors-webpack-plugin`) const { store } = require(`../redux`) const { actions } = require(`../redux/actions`) const debug = require(`debug`)(`gatsby:w...
packages/gatsby/src/utils/webpack.config.js
require(`v8-compile-cache`) const fs = require(`fs`) const path = require(`path`) const dotenv = require(`dotenv`) const FriendlyErrorsWebpackPlugin = require(`friendly-errors-webpack-plugin`) const { store } = require(`../redux`) const { actions } = require(`../redux/actions`) const debug = require(`debug`)(`gatsby:w...
Update SSL for FriendlyErrorsWebpackPlugin (#6066)
packages/gatsby/src/utils/webpack.config.js
Update SSL for FriendlyErrorsWebpackPlugin (#6066)
<ide><path>ackages/gatsby/src/utils/webpack.config.js <ide> clearConsole: false, <ide> compilationSuccessInfo: { <ide> messages: [ <del> `You can now view your site in the browser running at http://${ <add> `You can now view your site in the browser ru...
Java
apache-2.0
4fa0aa261b6c54826c2d5e9837240431e2af0b87
0
slipstream/SlipStreamServer,slipstream/SlipStreamServer,slipstream/SlipStreamServer,slipstream/SlipStreamServer
package com.sixsq.slipstream.run; /* * +=================================================================+ * SlipStream Server (WAR) * ===== * Copyright (C) 2013 SixSq Sarl (sixsq.com) * ===== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
jar-service/src/main/java/com/sixsq/slipstream/run/RunNodeResource.java
package com.sixsq.slipstream.run; /* * +=================================================================+ * SlipStream Server (WAR) * ===== * Copyright (C) 2013 SixSq Sarl (sixsq.com) * ===== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
Improved error handling
jar-service/src/main/java/com/sixsq/slipstream/run/RunNodeResource.java
Improved error handling
<ide><path>ar-service/src/main/java/com/sixsq/slipstream/run/RunNodeResource.java <ide> private void deleteNodeInstancesInTransaction(Representation entity) throws Exception { <ide> EntityManager em = PersistenceUtil.createEntityManager(); <ide> EntityTransaction transaction = em.getTransaction(); <add> <ide> Ru...
Java
apache-2.0
b8a53172fd70875c9e52bd3e47bcaadb882dac22
0
kermitt2/grobid,kermitt2/grobid,kermitt2/grobid,kermitt2/grobid,kermitt2/grobid,kermitt2/grobid
package org.grobid.core.visualization; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonGenerator; import com.google.common.collect.Multimap; import net.sf.saxon.trans.XPathException; import org.apache.commons.lang3.StringUtils; import org.apache.pdfbox.cos.COSArray; import org.apac...
grobid-core/src/main/java/org/grobid/core/visualization/CitationsVisualizer.java
package org.grobid.core.visualization; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonGenerator; import com.google.common.collect.Multimap; import net.sf.saxon.trans.XPathException; import org.apache.commons.lang3.StringUtils; import org.apache.pdfbox.cos.COSArray; import org.apac...
use https:// in links (not http://) Former-commit-id: 6a0dd1cc182ef81b1505eb83096b5ae110dbdc06
grobid-core/src/main/java/org/grobid/core/visualization/CitationsVisualizer.java
use https:// in links (not http://)
<ide><path>robid-core/src/main/java/org/grobid/core/visualization/CitationsVisualizer.java <ide> // by default we put the existing url, doi or arXiv link <ide> BiblioItem biblio = cit.getResBib(); <ide> if (!StringUtils.isEmpty(biblio.getDOI())) { <del> ...
Java
mit
2eb766de22af4f4e7d65c0f317225f5e3995ceaf
0
honorem/spring-session-cassandra
/* * The MIT License * * Copyright 2016 honorem. * * 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,...
src/main/java/com/github/honorem/spring/session/cassandra/CassandraSession.java
/* * The MIT License * * Copyright 2016 honorem. * * 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,...
fix nullpointer on getAttribute
src/main/java/com/github/honorem/spring/session/cassandra/CassandraSession.java
fix nullpointer on getAttribute
<ide><path>rc/main/java/com/github/honorem/spring/session/cassandra/CassandraSession.java <ide> <ide> @Override <ide> public <T> T getAttribute(String attributeName) { <del> if (!this.data.containsKey(attributeName)) { <add> if (this.data == null || !this.data.containsKey(attributeName)) { <ide> ...
Java
mit
error: pathspec 'app/src/main/java/com/nestedworld/nestedworld/Fragment/Base/BaseFragment.java' did not match any file(s) known to git
3c5a6b13de1df7ceccc8bf2367339e63bee23e21
1
NestedWorld/NestedWorld-Android
package com.nestedworld.nestedworld.Fragment.Base; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import butterknife.ButterKnife; public abstract class BaseFragm...
app/src/main/java/com/nestedworld/nestedworld/Fragment/Base/BaseFragment.java
add baseFragment
app/src/main/java/com/nestedworld/nestedworld/Fragment/Base/BaseFragment.java
add baseFragment
<ide><path>pp/src/main/java/com/nestedworld/nestedworld/Fragment/Base/BaseFragment.java <add>package com.nestedworld.nestedworld.Fragment.Base; <add> <add>import android.os.Bundle; <add>import android.support.annotation.Nullable; <add>import android.support.v4.app.Fragment; <add>import android.view.LayoutInflater; <add...
JavaScript
agpl-3.0
bbd8a306d7363d913981ae6e4c837f11b39e26cd
0
sociam/indx,sociam/indx,sociam/indx
/* jshint undef: true, strict:false, trailing:false, unused:false */ /* global Backbone, angular, jQuery, _, chrome, console */ (function() { var server; var DEFAULT_URL = 'https://indx.local:8211'; var GEO_ENABLE = false; localStorage.indx_url = localStorage.indx_url || DEFAULT_URL; var setError...
plugins/chrome-webjournal/js/background.js
/* jshint undef: true, strict:false, trailing:false, unused:false */ /* global Backbone, angular, jQuery, _, chrome, console */ (function() { var server; var DEFAULT_URL = 'https://indx.local:8211'; var GEO_ENABLE = false; localStorage.indx_url = localStorage.indx_url || DEFAULT_URL; var setError...
watcher yo
plugins/chrome-webjournal/js/background.js
watcher yo
<ide><path>lugins/chrome-webjournal/js/background.js <ide> var watcher = get_watcher(), guid = utils.guid(), old_store = get_store(); <ide> var sa = function(f) { utils.safeApply($scope, f); }; <ide> var logged_dudes = []; <add> $scope.durations = []; <ide> win...
JavaScript
mit
c3ed74ddd25f5b43577b33d2955bdb199d5435f7
0
misterfifths/jutil,misterfifths/jutil
#!/usr/bin/env node ;(function() { "use strict"; var defaultConfig = { // All files with a .js extension in these directories will be loaded // before evaulating the input. moduleDirectories: ['~/.jutil/modules'], // Controls spacing in pretty-printed output (when using the default // prettyPr...
jutil.js
#!/usr/bin/env node ;(function() { "use strict"; var defaultConfig = { // All files with a .js extension in these directories will be loaded // before evaulating the input. moduleDirectories: ['~/.jutil/modules'], // Controls spacing in pretty-printed output (when using the default // prettyPr...
Add header and footer options to jformat
jutil.js
Add header and footer options to jformat
<ide><path>util.js <ide> position: 1, <ide> required: true, <ide> help: 'The format string to use. Tokens are of the form %property or %{expression}. (Required)' <add> }, <add> header: { <add> abbr: 'H', <add> ...
Java
apache-2.0
d1833f3a6108f64e2e06ddd4de0fa565156d1b46
0
spennihana/h2o-3,michalkurka/h2o-3,kyoren/https-github.com-h2oai-h2o-3,jangorecki/h2o-3,spennihana/h2o-3,spennihana/h2o-3,jangorecki/h2o-3,h2oai/h2o-dev,jangorecki/h2o-3,kyoren/https-github.com-h2oai-h2o-3,h2oai/h2o-3,madmax983/h2o-3,pchmieli/h2o-3,h2oai/h2o-3,kyoren/https-github.com-h2oai-h2o-3,kyoren/https-github.com...
package hex.deeplearning; import hex.*; import hex.quantile.Quantile; import hex.quantile.QuantileModel; import hex.schemas.DeepLearningModelV3; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import water.*; import water.api.ModelSchema; import water.exceptions.H2OIllegalArg...
h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java
package hex.deeplearning; import hex.*; import hex.quantile.Quantile; import hex.quantile.QuantileModel; import hex.schemas.DeepLearningModelV3; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; import water.*; import water.api.ModelSchema; import water.exceptions.H2OIllegalArg...
Fix IDEA warnings.
h2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java
Fix IDEA warnings.
<ide><path>2o-algos/src/main/java/hex/deeplearning/DeepLearningModel.java <ide> * 3) variable importances (TwoDimTable) <ide> */ <ide> public static class DeepLearningModelOutput extends Model.Output { <del> <del> /** <del> * For autoencoder, there's no response. <del> * Otherwise, there's 1 response...
Java
epl-1.0
cbe5801849a2443a32bbe59941b2cc464547baa2
0
OndraZizka/windup,mareknovotny/windup,Ladicek/windup,windup/windup-sample-apps,windup/windup-legacy,bradsdavis/windup,jsight/windup,Ladicek/windup,Maarc/windup,jsight/windup,lincolnthree/windup,johnsteele/windup,johnsteele/windup,Ladicek/windup,windup/windup,johnsteele/windup,d-s/windup,windup/windup,d-s/windup,Maarc/w...
package org.jboss.windup.graph; import java.io.File; import java.util.UUID; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @Named("windup-context") @ApplicationScoped public class WindupCo...
engine/graph/api/src/main/java/org/jboss/windup/graph/WindupContext.java
package org.jboss.windup.graph; import java.io.File; import java.util.UUID; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; import org.apache.commons.io.FileUtils; import org.jboss.windup.graph.GraphContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @Named("windup-contex...
Avoid initializing directories in proxies
engine/graph/api/src/main/java/org/jboss/windup/graph/WindupContext.java
Avoid initializing directories in proxies
<ide><path>ngine/graph/api/src/main/java/org/jboss/windup/graph/WindupContext.java <ide> import javax.inject.Named; <ide> <ide> import org.apache.commons.io.FileUtils; <del>import org.jboss.windup.graph.GraphContext; <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> <ide> @Named("windup-conte...
JavaScript
mit
85265daf0e03940d987f1d7723bfa2a90bbea2d2
0
onsetsu/bloob,onsetsu/bloob,onsetsu/bloob
module.exports = function (config) { config.set({ basePath : './', frameworks: ['jasmine'], files: [ 'lib/**/*.js', 'test/spec/*.js' ], exclude: [ 'test/karma.conf.js' ], browsers : ['PhantomJS'], reporters : ['spec', 'coverage', 'html'], preprocessors: { 'lib/...
test/karma.conf.js
module.exports = function (config) { config.set({ basePath : './', frameworks: ['jasmine'], files: [ 'lib/*.js', 'test/spec/*.js' ], exclude: [ 'test/karma.conf.js' ], browsers : ['PhantomJS'], reporters : ['spec', 'coverage', 'html'], preprocessors: { '../src/...
Corrected preprocessor path
test/karma.conf.js
Corrected preprocessor path
<ide><path>est/karma.conf.js <ide> basePath : './', <ide> frameworks: ['jasmine'], <ide> files: [ <del> 'lib/*.js', <add> 'lib/**/*.js', <ide> 'test/spec/*.js' <ide> ], <ide> exclude: [ <ide> browsers : ['PhantomJS'], <ide> reporters : ['spec', 'coverage', 'html'], <ide> prep...
Java
epl-1.0
8e7e7d00f8b7f41c1ba9f224e2ce60fd3ad56d21
0
Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. All rights reserved. This program and * the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 which accompanies this distribution, and is available a...
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. All rights reserved. This program and * the accompanying materials are made available under the terms of the Eclipse * Public License v1.0 which accompanies this distribution, and is available a...
CheckIn:Ted16002--Project 1119: POJO Data source failed to use relative path jar/class folder in report library
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java
CheckIn:Ted16002--Project 1119: POJO Data source failed to use relative path jar/class folder in report library
<ide><path>I/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java <ide> Map appContext = new HashMap( ); <ide> appContext.put( DataEngine.MEMORY_DATA_SET_CACHE, <ide> new Integer( ( (DataSetHandle) getContainer( ).getModel( ) ).ge...
Java
lgpl-2.1
error: pathspec 'src/polyglot/visit/ExtensionCleaner.java' did not match any file(s) known to git
ab47d3df0ea5a2d0aa633a7cc87e7ae4cd0b9067
1
liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,xcv58/polyglot,xcv58/polyglot,blue-systems-group/project.maybe.polyglot,xcv58/polyglot,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,liujed/polyglot-eclipse,liujed/polyglot-eclipse,xcv58/polyglot,blue-systems-group/project.maybe.polyg...
package polyglot.visit; import polyglot.ast.*; import polyglot.types.*; import polyglot.frontend.ExtensionInfo; import polyglot.util.*; import polyglot.types.Package; import java.util.*; /** * This visitor overwrites all extension object refs with null, * sets delegate object refs to point back to the node, * and...
src/polyglot/visit/ExtensionCleaner.java
Visitor to strip extension-specific information from an AST. Based on the visitor in JMatch.
src/polyglot/visit/ExtensionCleaner.java
Visitor to strip extension-specific information from an AST. Based on the visitor in JMatch.
<ide><path>rc/polyglot/visit/ExtensionCleaner.java <add>package polyglot.visit; <add> <add>import polyglot.ast.*; <add>import polyglot.types.*; <add>import polyglot.frontend.ExtensionInfo; <add>import polyglot.util.*; <add>import polyglot.types.Package; <add> <add>import java.util.*; <add> <add>/** <add> * This visitor...
JavaScript
mit
305c38edd27a3a1e55a9a2afb8ff88842bcdee18
0
t-kelly/slate,t-kelly/slate
/** * Variant Selection scripts * ------------------------------------------------------------------------------ * * Handles change events from the variant inputs in any `cart/add` forms that may * exist. Also updates the master select and triggers updates when the variants * price or image changes. * * @names...
src/scripts/slate/variants.js
/** * Variant Selection scripts * ------------------------------------------------------------------------------ * * Handles change events from the variant inputs in any `cart/add` forms that may * exist. Also updates the master select and triggers updates when the variants * price or image changes. * * @names...
fixes master select not updating (#44)
src/scripts/slate/variants.js
fixes master select not updating (#44)
<ide><path>rc/scripts/slate/variants.js <ide> * @param {variant} variant - Currently selected variant <ide> */ <ide> _updateMasterSelect: function(variant) { <del> var $originalSelector = $(this.originalSelectorId, this.$container); <del> <del> if (!variant) { <del> return; <del> } ...
Java
agpl-3.0
a51b532da699adb081c6e9393e83558c05e288a7
0
smith750/kfs,ua-eas/kfs-devops-automation-fork,kuali/kfs,bhutchinson/kfs,ua-eas/kfs,ua-eas/kfs,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/kfs,UniversityOfHawaii/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,kuali/...
/* * Copyright 2007 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by app...
work/src/org/kuali/kfs/sys/KFSConstants.java
/* * Copyright 2007 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by app...
change "bypass" into "bypassed"
work/src/org/kuali/kfs/sys/KFSConstants.java
change "bypass" into "bypassed"
<ide><path>ork/src/org/kuali/kfs/sys/KFSConstants.java <ide> public static final String UPDATE = "update"; <ide> public static final String DELETE = "delete"; <ide> public static final String SELECT = "select"; <del> public static final String BYPASS = "bypass"; <add> public static...
JavaScript
mit
70b5ac3917089d64235e930e1a6c5d100ab61a35
0
midler/configs
'use strict'; var gulp = require('gulp'); // var svgmin = require('gulp-svgmin'); var imgmin = require('gulp-imagemin'); // var hb = require('gulp-hb'); var less = require('gulp-less'); var pleeease = require('gulp-pleeease'); var rename = require('gulp-rename'); var plumber = require('gulp-plumber'); var browserSync =...
Gulpfile.js
'use strict'; var gulp = require('gulp'); // var svgmin = require('gulp-svgmin'); // var imgmin = require('gulp-imagemin'); // var hb = require('gulp-hb'); var less = require('gulp-less'); var pleeease = require('gulp-pleeease'); var rename = require('gulp-rename'); var plumber = require('gulp-plumber'); var browserSy...
Image optimization, fonts replace, stylus
Gulpfile.js
Image optimization, fonts replace, stylus
<ide><path>ulpfile.js <ide> 'use strict'; <del> <ide> var gulp = require('gulp'); <ide> // var svgmin = require('gulp-svgmin'); <del>// var imgmin = require('gulp-imagemin'); <add>var imgmin = require('gulp-imagemin'); <ide> // var hb = require('gulp-hb'); <ide> var less = require('gulp-less'); <ide> var pleeease = req...
JavaScript
agpl-3.0
84b970eb34a65591b1cc3adf1c904456513e5bb7
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
5ee6f5ae-2e65-11e5-9284-b827eb9e62be
helloWorld.js
5ee182b8-2e65-11e5-9284-b827eb9e62be
5ee6f5ae-2e65-11e5-9284-b827eb9e62be
helloWorld.js
5ee6f5ae-2e65-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>5ee182b8-2e65-11e5-9284-b827eb9e62be <add>5ee6f5ae-2e65-11e5-9284-b827eb9e62be
JavaScript
mit
e705c4df03c79eff9e0281bce1719e0a42306b41
0
iosonofabio/hivwholeweb,iosonofabio/hivwholeweb,iosonofabio/hivwholeweb,iosonofabio/hivwholeweb
function emptyTree(id, keepData) { var svg = d3.select('#'+id); svg.selectAll("*").remove(); if ((typeof(keepData) == "undefined") | (!keepData)) svg.datum(null); } /* * Plot phylogenetic trees with radial or rectangular representation * Author: Fabio Zanini */ // NOTE: this function is ready for callbacks, ...
app/hiv/static/js/trees.js
function emptyTree(id, keepData) { var svg = d3.select('#'+id); svg.selectAll("*").remove(); if ((typeof(keepData) == "undefined") | (!keepData)) svg.datum(null); } /* * Plot phylogenetic trees with radial or rectangular representation * Author: Fabio Zanini */ // NOTE: this function is ready for callbacks, ...
Bugfix in transition in tree.js
app/hiv/static/js/trees.js
Bugfix in transition in tree.js
<ide><path>pp/hiv/static/js/trees.js <ide> .attr("cx", t.x) <ide> .attr("cy", t.y) <ide> .attr("r", 8) <del> .transition() <del> .duration(400); <ide> tip.show(d); <ide> } <ide...
Java
bsd-3-clause
4c82f710ca94af11d71c9cb74141a628e908be2f
0
frc4343/max2014
/* * FRC Team 4343 * Visit us at www.4343.ca */ package ca._4343.max3.commandGroups.autonomous.hot; import ca._4343.RobotConstants; import ca._4343.max3.commands.camera.WaitForHot; import ca._4343.max3.commands.drivetrain.DriveForward; import ca._4343.max3.commands.drivetrain.TurnLeft; import ca._4343.max...
src/ca/_4343/max3/commandGroups/autonomous/hot/DoubleBallRightSequence.java
/* * FRC Team 4343 * Visit us at www.4343.ca */ package ca._4343.max3.commandGroups.autonomous.hot; import ca._4343.RobotConstants; import ca._4343.max3.commands.camera.WaitForHot; import ca._4343.max3.commands.drivetrain.DriveForward; import ca._4343.max3.commands.drivetrain.TurnLeft; import ca._4343.max...
Forgot a addparallel for autonomous
src/ca/_4343/max3/commandGroups/autonomous/hot/DoubleBallRightSequence.java
Forgot a addparallel for autonomous
<ide><path>rc/ca/_4343/max3/commandGroups/autonomous/hot/DoubleBallRightSequence.java <ide> addSequential(new FireAndReloadSequence()); <ide> addSequential(new RetractArm()); <ide> addSequential(new TurnRight(), RobotConstants.AUTONOMOUS_TURN_DURATION); <del> addSequential...
Java
mit
cb73527bf121bc73f9adfec72edc13fb5a5be4e2
0
bmaxwell921/PixHellRedux
package com.phr.main.systems; import com.artemis.ComponentMapper; import com.artemis.Entity; import com.artemis.Filter; import com.artemis.systems.EntityProcessingSystem; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.Rectangle; import com.phr.main.PixHellGame; import com.phr.main.components.DimensionComp; ...
core/src/com/phr/main/systems/EntityRemoveSys.java
package com.phr.main.systems; import com.artemis.ComponentMapper; import com.artemis.Entity; import com.artemis.Filter; import com.artemis.systems.EntityProcessingSystem; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.math.Rectangle; import com.phr.main.PixHellGame; import com.phr.main.components.DimensionComp; ...
Removed debugging code
core/src/com/phr/main/systems/EntityRemoveSys.java
Removed debugging code
<ide><path>ore/src/com/phr/main/systems/EntityRemoveSys.java <ide> if (!inBounds(pc, dc)) { <ide> e.deleteFromWorld(); <ide> <del> Gdx.app.log("Entity Remove", "Removed entity from the game"); <add>// Gdx.app.log("Entity Remove", "Removed entity from the game"); <ide> } <ide> } <ide>
Java
mit
a5a66f9f118473b977f7bf4b4ba02d3e32282e7f
0
DemigodsRPG/Demigods3
package com.censoredsoftware.Demigods.Engine.Listener; import java.util.ArrayList; import java.util.List; import org.bukkit.*; import org.bukkit.block.Block; import org.bukkit.entity.Item; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.e...
core/src/com/censoredsoftware/Demigods/Engine/Listener/BlockListener.java
package com.censoredsoftware.Demigods.Engine.Listener; import java.util.ArrayList; import java.util.List; import org.bukkit.*; import org.bukkit.block.Block; import org.bukkit.entity.Item; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.e...
Turn off annoying message, for now.
core/src/com/censoredsoftware/Demigods/Engine/Listener/BlockListener.java
Turn off annoying message, for now.
<ide><path>ore/src/com/censoredsoftware/Demigods/Engine/Listener/BlockListener.java <ide> */ <ide> if(ZoneAPI.enterZoneAltar(to, from) && !TrackedLocation.hasWarp(ZoneAPI.zoneAltar(to), TrackedPlayer.getTracked(player).getCurrent())) // TODO This is an annoying message. <ide> { <del> player.sendMessage(ChatCol...
JavaScript
agpl-3.0
2764a4ff1daa57da2b99a191b4d84e257d0051a5
0
flamingo-geocms/flamingo,B3Partners/flamingo,B3Partners/flamingo,B3Partners/flamingo,B3Partners/flamingo,mvdstruijk/flamingo,flamingo-geocms/flamingo,flamingo-geocms/flamingo,mvdstruijk/flamingo,flamingo-geocms/flamingo,mvdstruijk/flamingo,mvdstruijk/flamingo
/** * @class * @constructor * @description A drawable vector layer */ Ext.define("viewer.viewercontroller.openlayers.OpenLayersVectorLayer",{ extend: "viewer.viewercontroller.controller.VectorLayer", point:null, line:null, polygon:null, drawFeatureControls:null, modifyFeature:null, enab...
common/viewercontroller/OpenLayers/OpenLayersVectorLayer.js
/** * @class * @constructor * @description A drawable vector layer */ Ext.define("viewer.viewercontroller.openlayers.OpenLayersVectorLayer",{ extend: "viewer.viewercontroller.controller.VectorLayer", point:null, line:null, polygon:null, drawFeatureControls:null, modifyFeature:null, enab...
Styles in vectorlayers in OL are missing: todo added
common/viewercontroller/OpenLayers/OpenLayersVectorLayer.js
Styles in vectorlayers in OL are missing: todo added
<ide><path>ommon/viewercontroller/OpenLayers/OpenLayersVectorLayer.js <ide> openLayersLayer: "viewer.viewercontroller.openlayers.OpenLayersLayer" <ide> }, <ide> constructor : function (config){ <add> // TODO make styles work in openlayersvectorlayers <ide> delete config.style; <ide> ...
JavaScript
mit
b706a0881e8dfe13dfb77230079a7b4a46296b1d
0
backend-br/backend-br.github.io,backend-br/backend-br.github.io
const generateLabels = labels => { labels = Array.isArray(labels) ? labels : [labels] labels = labels.filter(label => label.length) labels = labels.map(label => `<li>${label}</li>`) labels = labels.join('') if (!labels.length) { return '' } return ` <ul class="jobs--flags"> ${labels} ...
themes/backendbrasil/assets/js/jobs.js
const generateLabels = labels => { labels = Array.isArray(labels) ? labels : [labels] labels = labels.filter(label => label.length) labels = labels.map(label => `<li>${label}</li>`) labels = labels.join('') if (!labels.length) { return '' } return ` <ul class="jobs--flags"> ${labels} ...
slice title
themes/backendbrasil/assets/js/jobs.js
slice title
<ide><path>hemes/backendbrasil/assets/js/jobs.js <ide> <ide> return '' <ide> } <add> <add>const jobTitle = title => title.slice ? title.slice(0, 60) : title; <ide> <ide> const generateJob = ({ id, url, title, labels, location }) => ` <ide> <article <ide> data-title="${title.replace(/^\[(.*?)\]\s?/g, '')}" <i...
Java
apache-2.0
c06a3d49e980df5d7b24d80ec360e70475f81757
0
clumsy/intellij-community,ibinti/intellij-community,blademainer/intellij-community,michaelgallacher/intellij-community,semonte/intellij-community,wreckJ/intellij-community,izonder/intellij-community,Lekanich/intellij-community,samthor/intellij-community,da1z/intellij-community,pwoodworth/intellij-community,fengbaicanhe...
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-impl/src/com/intellij/concurrency/JobLauncherImpl.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
allow to fork on two cores (virtualized environments often offer as many)
platform/platform-impl/src/com/intellij/concurrency/JobLauncherImpl.java
allow to fork on two cores (virtualized environments often offer as many)
<ide><path>latform/platform-impl/src/com/intellij/concurrency/JobLauncherImpl.java <ide> // supply our own indicator even if we haven't given one - to support cancellation <ide> final ProgressIndicator wrapper = progress == null ? new ProgressIndicatorBase() : new SensitiveProgressWrapper(progress); <ide> <del...
Java
apache-2.0
bdeffa4b24f00a6b18cca6550963ff199b48e19d
0
grgrzybek/karaf,grgrzybek/karaf,grgrzybek/karaf
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
shell/commands/src/main/java/org/apache/karaf/shell/commands/impl/CompletionAction.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
[KARAF-2496] Improvements on the shell:completion command git-svn-id: 71d8a689455c5fbb0f077bc40adcfc391e14cb9d@1530935 13f79535-47bb-0310-9956-ffa450edef68
shell/commands/src/main/java/org/apache/karaf/shell/commands/impl/CompletionAction.java
[KARAF-2496] Improvements on the shell:completion command
<ide><path>hell/commands/src/main/java/org/apache/karaf/shell/commands/impl/CompletionAction.java <ide> /** <ide> * Command to change the completion mode while using the shell console. <ide> */ <del>@Command(scope = "shell", name = "completion", description = "Change the completion mode on the current console session...
Java
apache-2.0
a1a4e0b623b69ad0f092019e5b213f8da1ddd1c6
0
ORRTIZ/omultisafepay
/******************************************************************************* * (C) Copyright 2015 Somonar B.V. * Licensed under the Apache License under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at...
src/com/somonar/payment/omultisafepay/MultiSafepayClient.java
/******************************************************************************* * (C) Copyright 2015 Somonar B.V. * Licensed under the Apache License 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...
fixed typo
src/com/somonar/payment/omultisafepay/MultiSafepayClient.java
fixed typo
<ide><path>rc/com/somonar/payment/omultisafepay/MultiSafepayClient.java <ide> public static final String resource = "AccountingUiLabels"; <ide> public static final String resourceErr = "AccountingErrorUiLabels"; <ide> public static final String commonResource = "CommonUiLabels"; <del> public static final...
Java
apache-2.0
e327e2e8ad1ac14093f6ced3692fe356758945cd
0
bluekeyes/sshj,Juraldinio/sshj,Boris-de/sshj,joprsal/sshj,hierynomus/sshj,juddgaddie/sshj,cloudera/sshj,hierynomus/sshj
/* * Copyright 2010 Shikhar Bhushan * * 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...
src/main/java/net/schmizz/sshj/common/StreamCopier.java
/* * Copyright 2010 Shikhar Bhushan * * 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...
no need to copy
src/main/java/net/schmizz/sshj/common/StreamCopier.java
no need to copy
<ide><path>rc/main/java/net/schmizz/sshj/common/StreamCopier.java <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.OutputStream; <del>import java.util.Arrays; <ide> <ide> public class StreamCopier <ide> extends Thread { <ide> } <ide> <ide> public static ErrorCal...
Java
lgpl-2.1
72fbd4718a39d058ae17ba450a8bac01bd4f39cb
0
pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
xwiki-chart/xwiki-chart-renderer/src/test/java/org/xwiki/chart/DefaultChartGeneratorTest.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
Convert tests to JUnit 4 git-svn-id: d23d7a6431d93e1bdd218a46658458610974b053@35719 f329d543-caf0-0310-9063-dda96c69346f
xwiki-chart/xwiki-chart-renderer/src/test/java/org/xwiki/chart/DefaultChartGeneratorTest.java
Convert tests to JUnit 4
<ide><path>wiki-chart/xwiki-chart-renderer/src/test/java/org/xwiki/chart/DefaultChartGeneratorTest.java <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <add>import org.junit.Assert; <add>import org.junit.Test; <ide> import org.xwiki.chart.internal.DefaultChartGenerator; <ide> import org.xwiki.chart.m...
Java
bsd-3-clause
9474eee0aac0f42a93e2526d6fd3a2c24c18b380
0
uw-dims/tupelo,uw-dims/tupelo,uw-dims/tupelo,uw-dims/tupelo,uw-dims/tupelo
/** * Copyright © 2015, University of Washington * 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,...
logging/src/main/java/edu/uw/apl/tupelo/logging/LogMonLayout.java
/** * Copyright © 2015, University of Washington * 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,...
Update the AMQP log format
logging/src/main/java/edu/uw/apl/tupelo/logging/LogMonLayout.java
Update the AMQP log format
<ide><path>ogging/src/main/java/edu/uw/apl/tupelo/logging/LogMonLayout.java <ide> */ <ide> <ide> public class LogMonLayout extends Layout { <add> private final UUID uuid; <ide> <add> static private final String ISO8601 = "yyyy-MM-dd'T'HH:mm:ss.SSS000XXX"; <add> <add> static private String HOSTNAME = "UNKNOW...
Java
apache-2.0
882ab889621b587eea5e6a5d845e68db208a1e49
0
btmura/rbb
package com.btmura.android.reddit.widget; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Rect; import android.graphics.RectF; import android.text.BoringLayout; import android.te...
src/com/btmura/android/reddit/widget/ThingView.java
package com.btmura.android.reddit.widget; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Rect; import android.graphics.RectF; import android.text.BoringLayout; import android.te...
Some unimportant refactoring in ThingView
src/com/btmura/android/reddit/widget/ThingView.java
Some unimportant refactoring in ThingView
<ide><path>rc/com/btmura/android/reddit/widget/ThingView.java <ide> private Layout createLinkTitleLayout(int width) { <ide> CharSequence truncated = TextUtils.ellipsize(linkTitle, <ide> TEXT_PAINTS[THING_LINK_TITLE], width, TruncateAt.END); <del> return new StaticLayout(truncated, TEX...
JavaScript
mit
6480232c4840f62e94463f4287f70d10351d92c0
0
rabchev/web-terminal,rabchev/web-terminal,rabchev/web-terminal
/*jslint plusplus: true, devel: true, nomen: true, vars: true, node: true, indent: 4, maxerr: 50 */ /*global require, exports, module */ var io = require("socket.io"), send = require("send"), connect = require("connect"), path = require("path"), exec = require('child_p...
lib/shell.js
/*jslint plusplus: true, devel: true, nomen: true, vars: true, node: true, indent: 4, maxerr: 50 */ /*global require, exports, module */ var io = require("socket.io"), send = require("send"), connect = require("connect"), path = require("path"), exec = require('child_p...
Terminal fixes
lib/shell.js
Terminal fixes
<ide><path>ib/shell.js <ide> <ide> exec(command, function (error, stdout, stderr) { <ide> if (error) { <del> console.log("error: "); <del> console.log(error); <add> console.log(stderr); <add> callBack(stderr); <...
Java
lgpl-2.1
2b601404e42293694e9c6fc4d653f960633274af
0
yuan39/TuxGuitar,yuan39/TuxGuitar,yuan39/TuxGuitar,yuan39/TuxGuitar,yuan39/TuxGuitar
/* * Created on 30-nov-2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package org.herac.tuxguitar.gui.editors.tab; import java.util.Iterator; import java.util.List; import org.herac.tuxguitar.gui.TuxGuitar; import org.herac.tuxgui...
TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/Caret.java
/* * Created on 30-nov-2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package org.herac.tuxguitar.gui.editors.tab; import java.util.Iterator; import java.util.List; import org.herac.tuxguitar.gui.TuxGuitar; import org.herac.tuxgui...
git-svn-id: https://tuxguitar.svn.sourceforge.net/svnroot/tuxguitar/trunk@66 e5ace225-184b-0410-aeed-e0aa2ff36a70
TuxGuitar/src/org/herac/tuxguitar/gui/editors/tab/Caret.java
<ide><path>uxGuitar/src/org/herac/tuxguitar/gui/editors/tab/Caret.java <ide> <ide> public synchronized void goToTickPosition(){ <ide> long start = MidiTickUtil.getStart(TuxGuitar.instance().getPlayer().getTickPosition()); <del> if(!getSongManager().isAtPosition(this.selectedMeasure.getHeader(),sta...
Java
apache-2.0
92e6ab6f2caa3bffe32f59b25c17158ebc83474c
0
apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj
uimaj-core/src/main/java/org/apache/uima/cas/impl/AnnotStream.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")...
[UIMA-5115] delete unused trial class accidentally checked in git-svn-id: 2a54995f166126d351a7f865b2a601044a84628f@1763204 13f79535-47bb-0310-9956-ffa450edef68
uimaj-core/src/main/java/org/apache/uima/cas/impl/AnnotStream.java
[UIMA-5115] delete unused trial class accidentally checked in
<ide><path>imaj-core/src/main/java/org/apache/uima/cas/impl/AnnotStream.java <del>/* <del> * Licensed to the Apache Software Foundation (ASF) under one <del> * or more contributor license agreements. See the NOTICE file <del> * distributed with this work for additional information <del> * regarding copyright ownership...
Java
agpl-3.0
132ecc9ac3e152e3adabf6926afe433300ab2bdf
0
bitsquare/bitsquare,bitsquare/bitsquare
/* * This file is part of Bisq. * * Bisq 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 later version. * * Bisq is distributed in the ...
cli/src/main/java/bisq/cli/CliMain.java
/* * This file is part of Bisq. * * Bisq 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 later version. * * Bisq is distributed in the ...
Adjust CliMain's createoffer for BSQ swaps
cli/src/main/java/bisq/cli/CliMain.java
Adjust CliMain's createoffer for BSQ swaps
<ide><path>li/src/main/java/bisq/cli/CliMain.java <ide> out.println(client.getMethodHelp(method)); <ide> return; <ide> } <add> var isSwap = opts.getIsSwap(); <ide> var paymentAcctId = opts.getPaymentAccountId(); <...
JavaScript
mit
61f2f0d4661979c9f7d3a9bf41658ef99cc86063
0
c2gconsulting/bp-core,c2gconsulting/bp-core,c2gconsulting/bp-core,c2gconsulting/bp-core,c2gconsulting/bp-core
import _ from 'underscore'; import moment from 'moment'; let littleHelpers = { paddArrayWithZeros: function(array, fullLengthWithZeros) { let lengthOfArray = array.length for(let i = 0; i < fullLengthWithZeros - lengthOfArray; i++) { array.push(0) } } } let getEmployeedEm...
main/app/server/methods/payruns.js
import _ from 'underscore'; import moment from 'moment'; let littleHelpers = { paddArrayWithZeros: function(array, fullLengthWithZeros) { let lengthOfArray = array.length for(let i = 0; i < fullLengthWithZeros - lengthOfArray; i++) { array.push(0) } } } let getEmployeedEm...
converting project and cost center payments for sap integration
main/app/server/methods/payruns.js
converting project and cost center payments for sap integration
<ide><path>ain/app/server/methods/payruns.js <ide> //-- <ide> //--Time recording things <ide> const projectsPayDetails = <del> getFractionForCalcProjectsPayValue(businessId, period.month, period.year, x._id) <add> getFractionForCalcP...
JavaScript
mit
6488814d722bfed88cbc1c0f921bf4e23af21640
0
GrapeSalad/scrabble01,GrapeSalad/scrabble01,aglines-epicodus/scrabble01,aglines-epicodus/scrabble01
var initialBag = JSON.parse(bag); // console.log(initialBag); // test dictionary var dictionary = ["cat", "tree", "rain", "wind"]; function Bag() { this.bagTiles = initialBag; }; function Game() { this.board = []; this.currentPlayer = ""; }; function Player(name, rack) { this.name = name; this.score = 0...
js/scripts.js
var initialBag = JSON.parse(bag); // console.log(initialBag); // test dictionary var dictionary = ["cat", "tree", "rain", "wind"]; function Bag() { this.bagTiles = initialBag; }; function Game() { this.board = []; this.currentPlayer = ""; }; function Player(name, rack) { this.name = name; this.score = 0...
add line to resolve conflict
js/scripts.js
add line to resolve conflict
<ide><path>s/scripts.js <ide> if (checkVerticalPosition()) { <ide> completeVerticalWord(this.currentPlayer.partialWord); <ide> } <del> if ( checkValidWord(this.currentPlayer.completeWord) <add> if ( checkValidWord(this.currentPlayer.completeWord)) { <add> countScore(); <add> } <ide> } <ide> }; /...
JavaScript
mit
1cc6a0f8141b7dd860b03e29fcfe4e5585da8257
0
dschalk/monads-for-functional-javascript,dschalk/monads-for-functional-javascript,dschalk/JS-monads-stable,dschalk/JS-monads-stable
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
client/dist/bundle.js
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
Modified some code
client/dist/bundle.js
Modified some code
<ide><path>lient/dist/bundle.js <ide> <ide> var fibsMonad = (0, _dom.h)('pre', ' var fibsMonad = new MonadState(\'fibsMonad\', [0, 1, 3, [0,1]], [0,1], fibs_state ) \n\n var fibs_state = function fibs_state(ar) {\n var a = ar.slice();\n while (a[3].length < a[2]) {\n a = [a[1], a[0] + a[1], a[2], a[3].c...
JavaScript
mit
5e03e932b2c4404de2fd8d17995a829801466acd
0
bcopeland/xwordjs,bcopeland/xwordjs
// @flow import React, { Component } from 'react'; import Modal from 'react-modal'; import FileInput from './FileInput.js'; import Server from './Server.js'; import Cell from './Cell.js'; import Clues from './Clues.js'; import Loading from './Loading.js'; import {TimerState, Timer} from './Timer.js'; import { Route, Sw...
src/Xword.js
// @flow import React, { Component } from 'react'; import Modal from 'react-modal'; import FileInput from './FileInput.js'; import Server from './Server.js'; import Cell from './Cell.js'; import Clues from './Clues.js'; import Loading from './Loading.js'; import {TimerState, Timer} from './Timer.js'; import { Route, Sw...
ui: check only against xwordjs container for scroll checks The xword-grid div never moves with the scrollpane so clipping against it doesn't work correctly. This fixes scroll jank except on the bottom-most row where the characters are slightly larger than the enclosing cell.
src/Xword.js
ui: check only against xwordjs container for scroll checks
<ide><path>rc/Xword.js <ide> e = document.getElementById("cell_" + cell_id); <ide> if (e) { <ide> var rect = e.getBoundingClientRect(); <del> var pelem = e.parentElement; <del> var needsScroll = false; <del> <del> while (pelem) { <del> var prect = pelem.getBoundingClientRect(); <del>...
Java
apache-2.0
cd728418c4e39a8f601b661dd5ebcca6e526d116
0
igniterealtime/Openfire,guusdk/Openfire,GregDThomas/Openfire,akrherz/Openfire,GregDThomas/Openfire,guusdk/Openfire,igniterealtime/Openfire,guusdk/Openfire,GregDThomas/Openfire,akrherz/Openfire,GregDThomas/Openfire,igniterealtime/Openfire,igniterealtime/Openfire,guusdk/Openfire,akrherz/Openfire,GregDThomas/Openfire,akrh...
/* * Copyright (C) 2004-2008 Jive Software. 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 require...
xmppserver/src/main/java/org/jivesoftware/openfire/sasl/SaslServerPlainImpl.java
/* * Copyright (C) 2004-2008 Jive Software. 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 require...
fix NPE (Line: password = tokens.nextToken(); - nextToken() will throw an Exception if no further element is available) - could happen if client will send wrong data or abort connection?
xmppserver/src/main/java/org/jivesoftware/openfire/sasl/SaslServerPlainImpl.java
fix NPE (Line: password = tokens.nextToken(); - nextToken() will throw an Exception if no further element is available) - could happen if client will send wrong data or abort connection?
<ide><path>mppserver/src/main/java/org/jivesoftware/openfire/sasl/SaslServerPlainImpl.java <ide> <ide> import java.nio.charset.StandardCharsets; <ide> import java.util.Map; <add>import java.util.NoSuchElementException; <ide> import java.util.StringTokenizer; <ide> import java.io.IOException; <ide> import javax.securit...
Java
apache-2.0
6ba4e503fdf935e2e06556474069f1fd0af060d1
0
gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-...
atlas-dao/src/test/java/uk/ac/ebi/gxa/dao/AtlasDAOTestCase.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-...
Adjusting HSQL sequences so that they would not clash with the existing data
atlas-dao/src/test/java/uk/ac/ebi/gxa/dao/AtlasDAOTestCase.java
Adjusting HSQL sequences so that they would not clash with the existing data
<ide><path>tlas-dao/src/test/java/uk/ac/ebi/gxa/dao/AtlasDAOTestCase.java <ide> " LANGUAGE JAVA\n" + <ide> " EXTERNAL NAME 'CLASSPATH:uk.ac.ebi.gxa.dao.AtlasDAOTestCase.wmConcat'"); <ide> <del> runStatement(conn, "CREATE SEQUENCE A2_ARRAYDESIGN_SEQ"); <del> ...
Java
apache-2.0
2f24d55e875d85536c6afec5cf2a3d52a06f3ad9
0
troels/nz-presto,troels/nz-presto,troels/nz-presto,troels/nz-presto,troels/nz-presto
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
presto-main/src/main/java/com/facebook/presto/sql/FunctionInvoker.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Unify ExpressionInterpreter.invoke and FunctionInvoker code FunctionInvoker missed code handling InstanceFactory, as well as single-method interface needed for lambdas.
presto-main/src/main/java/com/facebook/presto/sql/FunctionInvoker.java
Unify ExpressionInterpreter.invoke and FunctionInvoker code
<ide><path>resto-main/src/main/java/com/facebook/presto/sql/FunctionInvoker.java <ide> import java.lang.invoke.MethodHandle; <ide> import java.util.ArrayList; <ide> import java.util.Arrays; <del>import java.util.Iterator; <ide> import java.util.List; <add>import java.util.Optional; <ide> <del>import static com.google....
Java
mit
51d31b3d7bca19b0099a8f8058149a9a445339b6
0
t28hub/DraggableView
package com.t28.draggableview; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.LinearLayoutManager; import android.view.Menu; import android.view.MenuItem; import android.view.View; import com.t28.draggable...
example/src/main/java/com/t28/draggableview/MainActivity.java
package com.t28.draggableview; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.support.v7.widget.GridLayoutManager; import android.view.Menu; import android.view.MenuItem; import android.view.View; import com.t28.draggablelistview.DraggableListView; import java.util.Arrays; ...
水平方向のグリッドに変更
example/src/main/java/com/t28/draggableview/MainActivity.java
水平方向のグリッドに変更
<ide><path>xample/src/main/java/com/t28/draggableview/MainActivity.java <ide> import android.os.Bundle; <ide> import android.support.v7.app.ActionBarActivity; <ide> import android.support.v7.widget.GridLayoutManager; <add>import android.support.v7.widget.LinearLayoutManager; <ide> import android.view.Menu; <ide> import...
Java
apache-2.0
83f1e1ff08d7d910b7d34d1f954a28aca6caea9e
0
cloudiator/lance,cloudiator/lance
/* * Copyright (c) 2014-2015 University of Ulm * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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...
client/src/main/java/de/uniulm/omi/cloudiator/lance/client/LifecycleClient.java
/* * Copyright (c) 2014-2015 University of Ulm * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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...
Set socket timeout for RMI
client/src/main/java/de/uniulm/omi/cloudiator/lance/client/LifecycleClient.java
Set socket timeout for RMI
<ide><path>lient/src/main/java/de/uniulm/omi/cloudiator/lance/client/LifecycleClient.java <ide> import de.uniulm.omi.cloudiator.lance.lca.registry.RegistrationException; <ide> import de.uniulm.omi.cloudiator.lance.lca.registry.RegistryFactory; <ide> <add>import java.io.IOException; <add>import java.net.ServerSocket; <...
Java
mit
992f596d9f65dc89e6b7f4756d082d9a87b63824
0
mevdschee/tqdev-metrics
package com.tqdev.metrics.jdbc; import static org.assertj.core.api.Assertions.assertThat; import java.sql.PreparedStatement; import java.sql.SQLException; import org.junit.Before; import org.junit.Test; public class InstrumentedDataSourceTest extends InstrumentedDataSourceTestBase { @Before public void initializ...
metrics-jdbc/src/test/java/com/tqdev/metrics/jdbc/InstrumentedDataSourceTest.java
package com.tqdev.metrics.jdbc; import static org.assertj.core.api.Assertions.assertThat; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import org.junit.Before; import org.junit.Test; public class InstrumentedDataSourceTest extends InstrumentedDataSourceTestBase { @Be...
Improve tests
metrics-jdbc/src/test/java/com/tqdev/metrics/jdbc/InstrumentedDataSourceTest.java
Improve tests
<ide><path>etrics-jdbc/src/test/java/com/tqdev/metrics/jdbc/InstrumentedDataSourceTest.java <ide> import static org.assertj.core.api.Assertions.assertThat; <ide> <ide> import java.sql.PreparedStatement; <del>import java.sql.ResultSet; <ide> import java.sql.SQLException; <ide> <ide> import org.junit.Before; <ide> St...
Java
agpl-3.0
25a17271bdb2a8aa91e481eaf804a4e15e436388
0
chris-dvdb/dvdb.de
package de.dvdb.infrastructure.amazon; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import javax.ejb.Stateless; import javax.ejb.TransactionAttri...
dvdb-ejb/src/main/java/de/dvdb/infrastructure/amazon/AmazonServiceImpl.java
package de.dvdb.infrastructure.amazon; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import javax.ejb.Stateless; import javax.ejb.TransactionAttri...
more fixes
dvdb-ejb/src/main/java/de/dvdb/infrastructure/amazon/AmazonServiceImpl.java
more fixes
<ide><path>vdb-ejb/src/main/java/de/dvdb/infrastructure/amazon/AmazonServiceImpl.java <ide> } catch (Exception e) { <ide> log.error("Error accessing Amazon Webservice for fetching a price " <ide> + e); <add> e.printStackTrace(); <ide> } <ide> return null; <ide> }
JavaScript
apache-2.0
c91f74755d5d64370bdfe1dbef8736a6bc68c0ff
0
pattisdr/osf.io,felliott/osf.io,icereval/osf.io,binoculars/osf.io,chennan47/osf.io,sloria/osf.io,felliott/osf.io,brianjgeiger/osf.io,saradbowman/osf.io,baylee-d/osf.io,CenterForOpenScience/osf.io,leb2dg/osf.io,chennan47/osf.io,CenterForOpenScience/osf.io,leb2dg/osf.io,pattisdr/osf.io,aaxelb/osf.io,TomBaxter/osf.io,icer...
/** * Fangorn: Defining Treebeard options for OSF. * For Treebeard and _item API's check: https://github.com/caneruguz/treebeard/wiki */ 'use strict'; var $ = require('jquery'); var m = require('mithril'); var URI = require('URIjs'); var Raven = require('raven-js'); var Treebeard = require('treebeard'); var moment...
website/static/js/fangorn.js
/** * Fangorn: Defining Treebeard options for OSF. * For Treebeard and _item API's check: https://github.com/caneruguz/treebeard/wiki */ 'use strict'; var $ = require('jquery'); var m = require('mithril'); var URI = require('URIjs'); var Raven = require('raven-js'); var Treebeard = require('treebeard'); var moment...
Do not inherit previous move statuses
website/static/js/fangorn.js
Do not inherit previous move statuses
<ide><path>ebsite/static/js/fangorn.js <ide> <ide> tb.syncFileMoveCache = tb.syncFileMoveCache || {}; <ide> tb.syncFileMoveCache[folder.data.provider] = tb.syncFileMoveCache[folder.data.provider] || {}; <del> tb.moveStates = tb.moveStates || []; <add> tb.moveStates = []; <ide> <ide> if (toMove.ready...